/* ১ লাইনে দুটি কার্ড গ্রিড লেআউট */
.ys-bulk-grid-layout {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

/* কার্ড স্টাইল */
.ys-bulk-grid-card {
  display: inline-block;
  vertical-align: top;
  width: 48%;
  margin-right: 3%;
  margin-bottom: 15px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px 10px;
  box-sizing: border-box;
  text-align: center;
}

.ys-bulk-grid-card:nth-child(2n) {
  margin-right: 0;
}

/* ইমেজ বক্স স্টাইল */
.ys-card-thumb-box {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

.ys-var-thumbnail-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: transform 0.2s ease;
  display: inline-block;
}

.ys-var-thumbnail-img:hover {
  transform: scale(1.05);
}

/* কালারের নাম */
.ys-card-info-box {
  width: 100%;
}

.ys-var-color-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ফিক্সড প্লাস-মাইনাস স্টিপার কন্টেইনার (ফ্লেক্সবক্স দিয়ে লক করা) */
.ys-qty-stepper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  max-width: 130px;
  margin: 0 auto !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  overflow: hidden;
  background: #ffffff;
}

/* প্লাস ও মাইনাস বাটন স্টাইল */
.ys-qty-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 35px !important;
  height: 35px !important;
  background: #f8fafc !important;
  color: #ff465c !important; /* আপনার ব্র্যান্ড কালার অনুযায়ী বর্ডার/টেক্সট ম্যাচিং */
  font-size: 18px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  min-height: auto !important;
  min-width: auto !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

.ys-qty-btn:hover {
  background: #f1f5f9 !important;
}

/* ইনপুট ফিল্ড বক্স */
.ys-bulk-qty-input {
  display: block !important;
  flex: 1 !important;
  width: 100% !important;
  height: 35px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: 1px solid #cbd5e1 !important;
  border-right: 1px solid #cbd5e1 !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.ys-bulk-qty-input:focus {
  outline: none !important;
  background: #ffffff !important;
}

.ys-bulk-qty-input::-webkit-outer-spin-button,
.ys-bulk-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* আউট অফ স্টক মেসেজ */
.ys-out-of-stock {
  display: block;
  font-size: 13px;
  color: #ef4444;
  font-weight: bold;
  margin-top: 5px;
}

/* অর্ডার বাটন এবং লাইভ কাউন্টার এরিয়া */
.ys-bulk-action-wrapper {
  margin-top: 25px;
  text-align: center;
  clear: both;
}

.ys-live-price-counter {
  background: #fff8f0;
  border: 1px dashed #ff901a;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.6;
}

.ys-bulk-add-to-cart-btn {
  width: 100% !important;
  padding: 14px 20px !important;
  font-size: 18px !important;
  font-weight: bold !important;
  background-color: #ff901a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  box-shadow: none !important;
}

.ys-bulk-add-to-cart-btn:hover {
  background-color: #e07b13 !important;
}

.ys-bulk-message {
  margin-top: 10px;
  font-weight: bold;
}

/* মোবাইল রেসপন্সিভনেস */
@media (max-width: 480px) {
  .ys-bulk-grid-card {
    width: 49%;
    margin-right: 2%;
    padding: 10px 5px;
  }
  .ys-bulk-grid-card:nth-child(2n) {
    margin-right: 0;
  }
  .ys-var-thumbnail-img {
    width: 70px;
    height: 70px;
  }
  .ys-qty-stepper {
    max-width: 110px;
  }
  .ys-qty-btn {
    width: 30px !important;
    height: 32px !important;
    font-size: 16px !important;
  }
  .ys-bulk-qty-input {
    height: 32px !important;
    font-size: 14px !important;
  }
}
