/* ============================================================================
   category-sidebar.css — ফাইলের মূল অংশ:
   - সাইডবার/ফিল্টার স্টাইল          (উপর থেকে শুরু)
   - প্রোডাক্ট গ্রিড ও কার্ড           (".product-grid", ".premium-card")
   - কার্ট/Send Message বাটন (fallback) (".card-actions-muslim-abaya" —
     আসল লেআউট/সাইজ shop-page.css তে, ওখানেই এডিট করুন)
   - কুইক-ভিউ পপআপ (Quick View)      (".pqv-" দিয়ে শুরু ক্লাসগুলো)
   - রেসপনসিভ/মোবাইল অ্যাডজাস্টমেন্ট  (@media কুয়েরিগুলো, সাধারণত ফাইলের শেষে)
   ============================================================================ */

/* Prevent unstyled flash before category JS renders */
html:not(.category-ready) #list {
  visibility: hidden;
  min-height: 55vh;
}

html.category-ready #list {
  visibility: visible;
}

/* Muslim Abaya category shop sidebar */
.shop-breadcrumb--desktop {
  display: none;
}

.shop-breadcrumb--mobile {
  display: flex;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(240px, 272px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.shop-main {
  min-width: 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.shop-sidebar {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  height: auto;
  max-height: none;
  overflow: visible;
}

.sidebar-home {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.sidebar-home:hover {
  opacity: 0.7;
}

.sidebar-all-category {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  margin: 0 0 8px;
}

.sidebar-all-category:hover {
  color: #000;
}

.shop-cats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e8e8e8;
}

.shop-cats a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  padding: 9px 0;
  line-height: 1.35;
  border-radius: 0;
  background: transparent;
  font-weight: 400;
  transition: color 0.15s ease;
}

.shop-cats a:hover {
  color: #000;
  background: transparent;
}

.shop-cats a.active,
.shop-cats a.sidebar-cat-link.active {
  color: #111;
  font-weight: 700;
  background: transparent;
}

.sidebar-filter-cats {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.shop-product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 18px;
}

.shop-product-list a {
  font-size: 13.5px;
  color: #444;
  text-decoration: none;
  padding: 8px 0;
  line-height: 1.35;
  font-weight: 400;
  transition: color 0.15s ease;
}

.shop-product-list a:hover {
  color: #000;
  text-decoration: none;
}

.sidebar-filter-price {
  margin-bottom: 18px;
  padding: 14px 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  box-sizing: border-box;
}

.sidebar-filter-price h4 {
  margin-bottom: 12px;
}

.sidebar-filter-colors {
  margin-bottom: 18px;
  padding: 14px 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.sidebar-filter {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8e8e8;
}

.sidebar-filter:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-filter h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}

.price-slider-wrap {
  position: relative;
  height: 28px;
  margin: 4px 0 10px;
}

.price-slider-wrap input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  margin: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
}

.price-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.price-slider-wrap input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.price-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #ddd;
  border-radius: 4px;
}

.price-track-fill {
  position: absolute;
  height: 4px;
  background: #111;
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
  gap: 8px;
}

.color-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.color-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #f3f3f3;
}

.color-filter-option:last-child {
  border-bottom: none;
}

.color-filter-check {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #111;
  cursor: pointer;
  border-radius: 2px;
}

.color-filter-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #333;
  font-weight: 400;
}

.color-filter-option:hover .color-filter-name {
  color: #000;
}

.color-filter-empty {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.shop-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid #ececec;
}

.shop-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.shop-count {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-breadcrumb {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
  padding: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.45;
  border-bottom: 1px solid #ececec;
}

.shop-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.shop-breadcrumb a:hover {
  color: #111;
  text-decoration: underline;
}

.shop-breadcrumb strong {
  color: #111;
  font-weight: 700;
}

.shop-breadcrumb span {
  color: #bbb;
}

.category-notice {
  display: none;
}

/* ----------------------------------------------------------------------
   প্রোডাক্ট গ্রিড ও কার্ড
   ---------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.premium-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}

@media (hover: hover) {
  .premium-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
    border-color: #e2e2e2;
  }
}

.premium-card.is-hidden {
  display: none;
}

.premium-card .img-wrap {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  width: 100%;
}

.premium-card .card-img-stack {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.premium-card .card-img-primary,
.premium-card .card-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-card .card-img-hover {
  opacity: 0;
  z-index: 1;
}

.premium-card .card-img-primary {
  z-index: 0;
}

@media (hover: hover) {
  .premium-card .img-wrap:hover .card-img-hover,
  .premium-card:hover .card-img-hover {
    opacity: 1;
  }

  .premium-card .img-wrap:hover .card-img-primary,
  .premium-card:hover .card-img-primary {
    transform: scale(1.04);
  }
}

.premium-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

.product-sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: auto;
  right: auto;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.88);
  color: #f5f0e6 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  font-family: "Inter", "Segoe UI", sans-serif !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
  line-height: 1.2;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  margin: 0 !important;
  width: auto !important;
  max-width: calc(100% - 16px);
  white-space: nowrap;
}

.premium-card .product-sale-badge,
.premium-card .img-wrap .product-sale-badge,
.premium-card .detail-media .product-sale-badge {
  top: 8px;
  left: 8px;
  bottom: auto;
}

.product-instock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1b7a4a;
  background: #eaf7ef;
  border: 1px solid #d3eadc;
  padding: 5px 10px;
  line-height: 1;
  border-radius: 999px;
  pointer-events: none;
}

.product-soldout-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #3a3a3a !important;
  letter-spacing: 0.16em;
}

.premium-card.is-oos .card-img-primary,
.premium-card.is-oos .detail-media img {
  opacity: 0.58;
  filter: grayscale(28%);
}

.premium-card.is-oos .muslim-abaya-btn-cart,
.premium-card.is-oos .btn-add-cart,
.premium-card.is-oos .btn-buy-now {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.premium-card .img-wrap,
button.img-wrap {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.premium-card .card-foot {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border-top: none;
}

.premium-card .card-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
}

.premium-card .card-title-btn {
  flex: 1;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.premium-card .card-title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .premium-card:hover .card-title-text {
    color: #555;
  }
}

.premium-card .card-price {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  padding: 0 0 0 8px;
  line-height: 1.2;
}

.premium-card .card-specs {
  display: none;
}

.premium-card .card-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.premium-card .card-spec-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  max-width: 100%;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  line-height: 1.25;
}

.premium-card .card-spec-k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.premium-card .card-spec-v {
  font-size: 12px;
  font-weight: 500;
  color: #333;
}

.premium-card .card-size-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.premium-card .card-size-block--abaya {
  gap: 10px;
}

.premium-card .card-size-block--abaya .card-size-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.premium-card .card-body-size-val {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #f7f7f7;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.premium-card .card-size-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.premium-card .card-size-select {
  width: 100%;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 32px 0 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 12px 8px;
  color: #111;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.premium-card .card-size-select:hover {
  border-color: #bbb;
}

.premium-card .card-size-select:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

/* ----------------------------------------------------------------------
   ★ কার্ট বাটন + Send Message বাটন — লেআউট/সাইজ shop-page.css তে!
   .card-actions-muslim-abaya এর আসল লেআউট (গ্রিড কলাম, বাটনের প্রস্থ, রং) এখানে
   না, shop-page.css ফাইলে ঠিক হয় ("body.shop-page .card-actions-muslim-abaya")
   কারণ ওই সিলেক্টরটা বেশি specific বলে সবসময় জিতে যায়। এখানে শুধু একটা
   fallback/base রাখা আছে (shop-page.css লোড না হলে)। কার্ট বাটন ছোট/বড়
   করতে বা Send Message-এর প্রস্থ পাল্টাতে চাইলে shop-page.css-এর "ORDER
   ACTIONS" সেকশনে যান, এখানে না।
   ---------------------------------------------------------------------- */
.card-actions-muslim-abaya {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 24px;
}

.shop-card-qty.ma-qty-stepper {
  display: inline-flex;
  width: 100%;
  margin-bottom: 2px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  touch-action: manipulation;
}

.shop-card-qty.ma-qty-stepper.in-cart,
.premium-card.in-cart .shop-card-qty.ma-qty-stepper {
  border-color: rgba(17, 17, 17, 0.22);
}

.shop-card-qty .ma-qty-stepper__btn {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 38px;
  background: #f7f7f7;
  font-size: 17px;
  -webkit-tap-highlight-color: transparent;
}

.shop-card-qty .ma-qty-stepper__btn:active:not(:disabled) {
  background: #111;
  color: #fff;
}

.shop-card-qty .ma-qty-stepper__value {
  flex: 1 1 auto;
  min-width: 44px;
  height: 38px;
  font-size: 15px;
  font-weight: 700;
}

.premium-card-detail .shop-card-qty.ma-qty-stepper {
  max-width: 220px;
  margin-bottom: 12px;
}

.muslim-abaya-btn-cart.is-active {
  background: #111;
  color: #fff;
  border: none;
}

.card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.muslim-abaya-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.muslim-abaya-btn-ico {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.muslim-abaya-btn-ico svg {
  width: 20px;
  height: 20px;
}

.muslim-abaya-btn-cart {
  background: #111111;
  color: #fff;
  border: none;
  gap: 8px;
  font-size: 15px;
}

.card-actions-muslim-abaya .muslim-abaya-btn-cart,
.card-actions-muslim-abaya .muslim-abaya-btn-msg {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  border: none !important;
}

.muslim-abaya-btn-cart:hover {
  background: #000;
}

.muslim-abaya-btn-buy {
  background: #111;
  color: #fff;
  border-color: #111;
  gap: 6px;
}

.muslim-abaya-btn-buy:hover {
  background: #333;
  border-color: #333;
}

.muslim-abaya-btn-msg {
  background: #4a4a4a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border: none;
}

.muslim-abaya-btn-msg:hover {
  background: #3a3a3a;
  color: #fff;
}

.card-size-mobile {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.shop-mobile-toolbar {
  display: none;
}

.shop-filter-backdrop {
  display: none;
}

.shop-filter-head {
  display: none;
}

.product-grid.product-grid-detail {
  grid-template-columns: 1fr;
  gap: 18px;
}

.premium-card-detail {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px;
  align-items: start;
}

.premium-card-detail .detail-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f4f4;
}

.premium-card-detail .detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-card-detail .detail-content h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: #111;
}

.premium-card-detail .detail-price {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  color: #111;
}

.premium-card-detail .detail-spec-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-card-detail .detail-spec-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  background: #f7f7f7;
  border-radius: 6px;
  border: 1px solid #ececec;
}

.premium-card-detail .detail-spec-k {
  flex: 0 0 72px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
}

.premium-card-detail .detail-spec-v {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  line-height: 1.4;
}

.premium-card-detail .detail-size-block {
  margin-bottom: 16px;
  max-width: 280px;
}

.premium-card-detail .detail-size-block .card-size-select {
  height: 40px;
  font-size: 14px;
}

.premium-card-detail .detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.premium-card-detail .detail-actions .msg-btn {
  border: 1px solid #111;
  background: #f5f5f5;
  color: #111;
  border-radius: 4px;
  padding: 11px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ma-shop-bag-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.ma-shop-bag-ico svg {
  display: block;
}

.premium-card-detail .detail-actions .btn-add-cart,
.premium-card-detail .detail-actions .btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
}

.premium-card-detail .detail-actions .btn-buy-now {
  background: #111;
  color: #fff;
}

.premium-card-detail .detail-actions .btn-msg {
  border-color: #ddd;
  background: #efefef;
}

.price-badge {
  display: none;
}

.cart-mini-msg {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  transition: 0.25s;
}

.cart-mini-msg.show {
  opacity: 1;
  bottom: 30px;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: #666;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
}

@media (min-width: 961px) {
  .shop-breadcrumb--desktop {
    display: flex;
  }

  .shop-breadcrumb--mobile {
    display: none;
  }

  .shop-sidebar-col {
    position: sticky;
    top: var(--site-header-h, 72px);
    align-self: start;
    z-index: 5;
    isolation: isolate;
    max-height: calc(100vh - var(--site-header-h, 72px) - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 14px 20px 16px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }

  .shop-sidebar-col .shop-breadcrumb--desktop {
    margin: 0 0 14px;
    padding: 0 0 12px;
    position: static;
    top: auto;
    z-index: auto;
    background: transparent;
    border-bottom: 1px solid #ececec;
  }

  .shop-sidebar-col .sidebar-home {
    display: none;
  }

  body.shop-page .shop-layout {
    align-items: start;
    min-height: 0;
  }

  body.shop-page:not(.shop-product-open) .shop-main {
    padding: 16px 18px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .shop-sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .product-grid {
    gap: 12px 8px;
  }
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .shop-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0 2px;
  }

  .shop-filter-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    padding: 8px 0;
    cursor: pointer;
    font-family: inherit;
  }

  .shop-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
  }

  .shop-sort-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 28px 8px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #fff;
    font-family: inherit;
    min-width: 148px;
    appearance: auto;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .shop-filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .shop-filter-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.shop-filter-open {
    overflow: hidden;
  }

  .shop-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
  }

  .shop-filter-head strong {
    font-size: 18px;
    font-weight: 700;
    color: #111;
  }

  .shop-filter-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 0 4px;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 10002;
    background: #fff;
    padding: 20px 16px 24px;
    max-height: none;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    border: none;
    border-right: 1px solid #e8e8e8;
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
  }

  .shop-main {
    width: 100%;
  }

  .shop-breadcrumb {
    margin-bottom: 10px;
  }

  .shop-top {
    margin-bottom: 14px;
  }

  .shop-title {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .premium-card .card-foot {
    padding: 16px;
  }

  .premium-card .card-meta {
    margin-bottom: 8px;
    padding-bottom: 0;
  }

  .premium-card h3 {
    font-size: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .premium-card .card-price {
    font-size: 22px;
    padding: 0;
  }

  .premium-card .card-spec-chip {
    padding: 5px 8px;
  }

  .premium-card .card-spec-v {
    font-size: 11px;
  }

  .premium-card .card-size-select {
    height: 34px;
    font-size: 12px;
  }

  .premium-card-detail {
    grid-template-columns: 1fr;
  }

  .premium-card-detail .detail-content h3 {
    font-size: 24px;
  }

  .premium-card-detail .detail-price {
    font-size: 28px;
  }

  .premium-card-detail .detail-actions {
    grid-template-columns: 1fr 1fr;
  }

  .premium-card-detail .detail-actions .btn-msg {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  .premium-card,
  .premium-card .card-foot,
  .card-actions-muslim-abaya {
    min-width: 0;
    max-width: 100%;
  }

  .premium-card .card-foot {
    padding: 14px 14px 16px;
  }

  .premium-card .card-meta {
    gap: 10px;
    align-items: flex-start;
  }

  .premium-card .card-title-text {
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: 1.35;
  }

  .premium-card .card-price {
    font-size: 20px;
  }

  .card-actions-muslim-abaya {
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .muslim-abaya-btn,
  .muslim-abaya-btn-cart,
  .muslim-abaya-btn-msg {
    font-size: 14px;
    min-height: 46px;
    height: 46px;
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .shop-sort-select {
    min-width: 120px;
    max-width: 140px;
    padding-right: 24px;
  }

  .card-actions-muslim-abaya {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .premium-card .card-foot {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .premium-card {
    height: 100%;
  }

  .premium-card .card-foot {
    flex: 1 1 auto;
  }

  .premium-card .card-meta {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
  }

  .premium-card .card-title-btn,
  .premium-card .card-title-text {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }

  .premium-card .card-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
    line-height: 1.35;
    font-size: 15px;
  }

  .premium-card .card-price {
    display: block;
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    padding: 0 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
  }
}

/* ── Product detail (Muslim Abaya inline page, not floating modal) ── */
body.pqv-open {
  overflow: hidden;
}

body.shop-product-open {
  background: #fff;
}

body.shop-product-open .wrap,
body.shop-product-open > main {
  max-width: 1280px;
}

#list.shop-product-detail {
  width: 100%;
  background: #fff;
  padding: 8px 0 48px;
  box-sizing: border-box;
}

#list.shop-product-detail .pqv-muslim-abaya {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.pqv[hidden] {
  display: none !important;
}

.pqv.pqv-overlay,
.pqv.pqv-page {
  display: none !important;
}

.pqv-full-link {
  display: none !important;
}

/* ----------------------------------------------------------------------
   কুইক-ভিউ পপআপ (Quick View) — প্রোডাক্টে ক্লিক করলে যে পপআপ খোলে
   ---------------------------------------------------------------------- */
.pqv-toolbar {
  display: none !important;
}

.pqv-float-close {
  display: none !important;
}

.pqv-float-close:hover {
  background: #fff;
}

.pqv-panel-back {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.pqv-panel-back:hover {
  color: #111;
}

.pqv-dialog {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  max-height: none;
  overflow: auto;
  background: #fff;
  border: none;
  box-shadow: none;
}

.pqv-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.pqv-body {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 48px;
  box-sizing: border-box;
}

.pqv-bottom {
  margin-top: 0;
  padding-top: 0;
  min-width: 0;
}

.pqv-bottom-main {
  min-width: 0;
}

.pqv-type-group .pqv-type-opt {
  min-height: 36px;
}

.pqv-jump-desc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.pqv-jump-desc:hover {
  color: #111;
}

.pqv-desc-rich {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.pqv-desc-rich ol {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.pqv-related {
  min-width: 0;
}

.pqv-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pqv-related-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.pqv-related-all {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pqv-related-all:hover {
  color: #444;
}

.pqv-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pqv-related-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.pqv-related-item img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: #f4f4f4;
}

.pqv-related-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.pqv-related-price {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.pqv-muslim-abaya {
  font-family: "Hind Siliguri", "Inter", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ---------- Top row: gallery (left) + info panel (right) ---------- */
.pqv-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  align-items: start;
}

#list.shop-product-detail .pqv-panel-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .pqv-top {
    grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
    column-gap: 28px;
    row-gap: 0;
  }
}

/* ---------- Bottom row: Description/Specification (left) + Related Products (right) ----------
   These used to live inside a 3rd sidebar column next to gallery/panel — Related Products was a
   tall sticky sidebar spanning the whole height, and Description was squeezed under the buy
   buttons in the middle column. Restructured so both sit in their own row below the gallery/panel,
   side by side, matching the Muslim Abaya. */
.pqv-bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  align-items: start;
  border-top: 1px solid #eee;
  padding-top: 18px;
}

@media (min-width: 1024px) {
  .pqv-bottom-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 280px);
    column-gap: 40px;
  }
}

.pqv-gallery {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pqv-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(72vh, 640px);
  overflow-y: auto;
  padding-right: 2px;
}

.pqv-thumb {
  width: 64px;
  height: 80px;
  padding: 0;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.pqv-thumb.is-active {
  border-color: #111;
  border-width: 2px;
}

.pqv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pqv-main-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 520px;
}

.pqv-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 640px);
  background: #f4f4f4;
  overflow: hidden;
  isolation: isolate;
}

.pqv-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #222;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.pqv-nav span {
  display: block;
  margin-top: -2px;
}

.pqv-nav:hover {
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
}

.pqv-nav-prev {
  left: 10px;
}

.pqv-nav-next {
  right: 10px;
}

.pqv-nav[hidden] {
  display: none !important;
}

.pqv-zoom-stage {
  cursor: crosshair;
}

.pqv-zoom-stage.is-zooming {
  cursor: zoom-in;
}

.pqv-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.pqv-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pqv-panel {
  padding-top: 0;
  padding-right: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.pqv-panel-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  width: 100%;
}

.pqv-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  letter-spacing: -0.01em;
  font-family: Georgia, "Times New Roman", "Noto Serif Bengali", serif;
}

.pqv-price {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #ececec;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.2;
}

.pqv-note {
  display: block;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}

.pqv-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.pqv-field {
  margin-bottom: 0;
}

.pqv-field + .pqv-field {
  margin-top: 0;
}

/* Long option rows (e.g. Body Size 34–46) scroll horizontally instead of
   wrapping to many lines, keeping each size row compact and premium. */
.pqv-opt-group--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.pqv-opt-group--scroll .pqv-opt-btn {
  flex: 0 0 auto;
}

.pqv-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.pqv-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.pqv-field-head .pqv-field-label {
  margin-bottom: 0;
}

.pqv-size-chart-link {
  display: inline-flex;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: inherit;
}

.pqv-size-chart-ico {
  display: none;
}

.pqv-size-chart-link:hover {
  color: #555;
}

.pqv-thumbs:has(.pqv-thumb:only-child) {
  display: none;
}

.pqv-gallery:has(.pqv-thumbs:empty),
.pqv-gallery:not(:has(.pqv-thumb:nth-child(2))) {
  grid-template-columns: 1fr;
}

body.pqv-sc-open {
  overflow: hidden;
}

.pqv-sc[hidden] {
  display: none !important;
}

.pqv-sc {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pqv-sc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.pqv-sc-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  min-width: 280px;
  min-height: 160px;
  max-width: min(560px, 100%);
  max-height: min(90vh, 900px);
  background: #fff;
  padding: 24px 20px;
  overflow: auto;
  box-sizing: border-box;
}

.pqv-sc-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 18px;
}

.pqv-sc-card {
  border: 1px solid #ececec;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}

.pqv-sc-card-title {
  background: #f5f5f5;
  color: #111;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #ececec;
}

.pqv-sc-card table {
  width: 100%;
  border-collapse: collapse;
}

.pqv-sc-card th,
.pqv-sc-card td {
  padding: 10px 8px;
  text-align: center;
  font-size: 13.5px;
  border-bottom: 1px solid #ececec;
}

.pqv-sc-card th {
  color: #6b6b6b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11.5px;
}

.pqv-sc-card tbody tr:last-child td {
  border-bottom: none;
}

.pqv-sc-card tbody tr:nth-child(even) {
  background: #fafafa;
}

.pqv-sc-error {
  margin: 40px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.pqv-custom-size-btn {
  font-weight: 700;
}

.pqv-sc-close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.pqv-opt-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pqv-opt-btn {
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pqv-opt-btn:hover {
  border-color: #111;
}

.pqv-opt-btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12);
}

.pqv-color-opt {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  padding: 0 16px;
}

.pqv-color-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pqv-opt-static {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #ececec;
  border-radius: 999px;
  font-size: 13px;
  color: #111;
  box-sizing: border-box;
}

.pqv-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  width: 100%;
  max-width: 100%;
}

.pqv-qty-label {
  margin: 0;
  flex: 0 0 auto;
  min-width: 72px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.pqv-qty-row .ma-qty-stepper.pqv-qty {
  flex: 0 0 auto;
  min-height: 40px;
  touch-action: manipulation;
  border-radius: 12px;
  border-color: #ececec;
  overflow: hidden;
}

.pqv-qty-row .ma-qty-stepper__btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 0;
  background: #f3f3f3;
}

.pqv-qty-row .ma-qty-stepper__input {
  height: 40px;
  min-width: 48px;
  width: 48px;
  font-size: 16px;
}

.pqv-stock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #1b7a4a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #eaf7ef;
  border: 1px solid #d3eadc;
  border-radius: 999px;
  padding: 5px 10px;
  line-height: 1;
}

.pqv-stock.is-oos {
  color: #6f675f;
  background: #f4f2ef;
  border-color: #e7e2dc;
}

.pqv-act:disabled,
.sob-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.pqv-wholesale {
  margin: 12px 0 0;
  border: 1px solid #e8e4df;
  border-radius: 10px;
  overflow: hidden;
  background: #faf9f7;
}

.pqv-wholesale-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #222;
}

.pqv-wholesale-toggle__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c45a0a;
}

.pqv-wholesale-toggle__hint {
  flex: 1 1 auto;
  font-size: 12px;
  color: #666;
}

.pqv-wholesale-toggle__chev {
  font-size: 11px;
  color: #888;
  transition: transform 0.2s ease;
}

.pqv-wholesale-toggle.is-open .pqv-wholesale-toggle__chev {
  transform: rotate(180deg);
}

.pqv-wholesale-panel {
  padding: 0 14px 14px;
  border-top: 1px solid #ece8e3;
}

.pqv-wholesale-hint {
  margin: 12px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

.pqv-wholesale-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pqv-wh-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pqv-wh-size-label {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  min-width: 0;
}

.pqv-wh-qty.ma-qty-stepper {
  flex: 0 0 auto;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #ccc;
  overflow: hidden;
}

.pqv-wh-qty .ma-qty-stepper__btn {
  width: 34px;
  min-width: 34px;
  height: 36px;
  background: #f3f3f3;
}

.pqv-wh-qty .ma-qty-stepper__input {
  width: 40px;
  min-width: 40px;
  height: 36px;
  font-size: 15px;
}

.pqv-wholesale-total {
  margin: 12px 0 10px;
  font-size: 13px;
  color: #444;
}

.pqv-wholesale-add {
  width: 100%;
  margin-top: 4px;
}

.pqv-jump-desc {
  margin-left: auto;
}

.pqv-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.pqv-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
  color: #111;
}

.pqv-qty input,
.pqv-qty-input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  -moz-appearance: textfield;
  color: #111;
}

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

.pqv-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.pqv-actions-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.pqv-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  height: 48px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-sizing: border-box;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.2;
}

.pqv-act-cart:hover {
  background: #111;
  color: #fff;
}

.pqv-act-buy {
  background: #111;
  border-color: #111;
  color: #fff;
  gap: 6px;
}

.pqv-act-buy:hover {
  background: #000;
  border-color: #000;
}

.pqv-act-msg-link {
  display: none;
}

.pqv-act-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease;
}

.pqv-act-msg:hover {
  background: #111;
  color: #fff;
}

.pqv-bottom {
  margin-top: 0;
  padding-top: 0;
}

.pqv-tabs {
  display: flex;
  gap: 20px;
  margin: 0 0 14px;
  padding: 0;
  border-bottom: 1px solid #eee;
}

.pqv-tab {
  padding: 0 0 10px;
  margin-bottom: -1px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
}

.pqv-tab.is-active {
  color: #111;
  border-bottom-color: #111;
}

.pqv-tab-panels {
  padding: 8px 0 0;
}

.pqv-tab-panel {
  display: none;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.pqv-tab-panel.is-active {
  display: block;
}

.pqv-spec-table {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 480px;
}

.pqv-spec-table li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.pqv-spec-table li span {
  color: #777;
}

.pqv-spec-table li strong {
  font-weight: 600;
  color: #111;
  text-align: right;
}

@media (max-width: 900px) {
  .pqv-jump-desc {
    margin-left: 0;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .pqv-body {
    padding: 16px 14px 28px;
  }

  .pqv-zoom-stage {
    cursor: default;
  }

  .pqv-zoom-img {
    transition: none;
  }

  .pqv-gallery {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
  }

  .pqv-main-wrap {
    max-width: 100%;
    min-width: 0;
  }

  .pqv-thumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .pqv-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 64px;
  }

  .pqv-main {
    max-height: 50vh;
    aspect-ratio: auto;
  }

  .pqv-panel {
    padding-right: 0;
  }

  .pqv-actions-row {
    grid-template-columns: 1fr;
  }

  .pqv-actions-row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .pqv-actions-row--three .pqv-act {
    font-size: 12px;
    padding: 10px 6px;
  }
}

@media (max-width: 600px) {
  #list.shop-product-detail {
    padding: 0 14px 28px;
  }

  .pqv-panel-back {
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
  }

  .pqv-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  .pqv-price {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .pqv-note {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
  }

  .pqv-main {
    width: 100%;
    max-height: none;
    height: auto;
    aspect-ratio: auto;
    background: #f7f7f7;
  }

  .pqv-main img,
  .pqv-zoom-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .pqv-opt-btn {
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 999px;
  }

  .pqv-act {
    min-height: 48px;
    height: 48px;
    font-size: 13px;
    border-radius: 0;
  }

  .pqv-act-buy {
    order: -1;
  }

  .pqv-actions-row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pqv-actions-row {
    gap: 8px;
  }

  .pqv-qty-row {
    margin-bottom: 14px;
  }

  .pqv-qty-label {
    flex: 1 1 100%;
    font-size: 12px;
  }

  .pqv-qty-row .ma-qty-stepper.pqv-qty {
    width: 100%;
    max-width: 180px;
  }

  .shop-card-qty .ma-qty-stepper__btn {
    width: 44px;
    min-width: 44px;
    height: 42px;
  }

  .shop-card-qty .ma-qty-stepper__value {
    height: 42px;
  }

  .pqv-related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
