.pdp-page { background: #fff; color: #000; overflow-x: hidden; }
.pdp-page *, .pdp-page *::before, .pdp-page *::after { box-sizing: border-box; }

.pdp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}
.pdp-section-head h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: #000;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}
.pdp-view-link {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans, inherit);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid #000;
  transition: opacity 0.2s;
}

.pdp-view-link:hover {
  opacity: 0.55;
  color: #000;
}

.pdp-view-link i {
  font-size: 11px;
}

.pdp-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 16px 0 8px; font-size: 12px; color: #555;
}
.pdp-breadcrumb a { color: #555; text-decoration: none; }
.pdp-breadcrumb a:hover { color: #000; }
.pdp-bc-sep { opacity: .4; }
.pdp-bc-current { color: #000; font-weight: 500; }

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 48px;
  align-items: start;
  padding-bottom: 20px;
}

.pdp-gallery {
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: flex-start; gap: 10px;
  position: sticky; top: 80px; width: 100%;
}
.pdp-thumbs-wrap {
  display: flex; flex-direction: column; align-items: center;
  width: 64px; flex-shrink: 0; gap: 8px;
}
.pdp-thumbs {
  display: flex; flex-direction: column; gap: 8px;
  width: 64px; max-height: 400px; overflow-y: auto; scrollbar-width: none;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb {
  width: 64px; height: 64px; padding: 0;
  border: 1.5px solid #e5e5e5; border-radius: 4px;
  overflow: hidden; cursor: pointer; background: #f5f5f5;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb--active { border-color: #000; border-width: 2px; }
.pdp-thumbs-down {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid #e5e5e5; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; cursor: pointer;
}
.pdp-main-img {
  position: relative; flex: 1 1 0; min-width: 0;
  aspect-ratio: 4 / 5; max-height: 620px;
  background: #f5f5f5; overflow: hidden; cursor: zoom-in;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-img-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #ccc;
}
.pdp-zoom-btn {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #e5e5e5; background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.pdp-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pdp-badge-bestseller {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.pdp-title {
  font-family: var(--font-display, serif);
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 400; margin: 0; line-height: 1.15;
}
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pdp-price { font-family: var(--font-display, serif); font-size: 26px; font-weight: 500; }
.pdp-price-mrp { font-size: 14px; color: #777; text-decoration: line-through; }
.pdp-price-off { font-size: 13px; font-weight: 500; }
.pdp-rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pdp-stars { display: flex; gap: 2px; }
.pdp-stars i { font-size: 12px; color: #000; }
.pdp-rating-count { font-size: 13px; color: #555; text-decoration: none; }
.pdp-write-review { font-size: 13px; color: #000; text-decoration: underline; text-underline-offset: 3px; }
.pdp-desc { font-size: 14px; color: #444; line-height: 1.65; margin: 0; max-width: 420px; }
.pdp-color { display: flex; flex-direction: column; gap: 8px; }
.pdp-color-label { font-size: 13px; color: #444; }
.pdp-color-label strong { color: #000; }
.pdp-color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-swatch {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #ddd;
  background: var(--swatch, #ccc); cursor: pointer; padding: 0;
}
.pdp-swatch.is-active { border-color: #000; box-shadow: 0 0 0 1px #000; }

.pdp-atc-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.pdp-atc-btn {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: var(--font-sans, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.pdp-atc-btn:hover:not(:disabled) {
  background: #222;
}

.pdp-atc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pdp-wish-btn {
  flex: 0 0 52px;
  width: 52px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 0;
}

.pdp-wish-btn:hover {
  background: #f5f5f5;
}

.pdp-wish-btn.is-wished,
.pdp-wish-btn.is-wished:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
.pdp-wish-btn.is-wished i {
  font-weight: 900;
}
.pdp-buy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  font-family: var(--font-sans, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.pdp-buy-btn:hover:not(:disabled) {
  background: #000;
  color: #fff;
}
.pdp-buy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pdp-stock-note {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #f5f5f5; font-size: 13px; color: #444;
}
.pdp-trust {
  display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e5e5e5;
}
.pdp-trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; text-align: center; border-right: 1px solid #e5e5e5;
  font-size: 10px; color: #444; line-height: 1.3;
}
.pdp-trust-item:last-child { border-right: none; }
.pdp-trust-item i { font-size: 18px; color: #000; }

/* Offers */
.pdp-offers { border: 1px solid #e5e5e5; background: #fff; }
.pdp-offers-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid #e5e5e5;
  font-size: 13px; font-weight: 500;
}
.pdp-offers-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pdp-offers-count { font-size: 12px; color: #777; }
.pdp-offers-arrow {
  width: 28px; height: 28px; border: 1px solid #e5e5e5; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer;
}
.pdp-offers-viewport { overflow: hidden; }
.pdp-offers-track { display: flex; transition: transform .35s ease; }
.pdp-offer-card {
  flex: 0 0 78%; padding: 14px; border-right: 1px solid #e5e5e5;
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.pdp-offer-code { font-size: 14px; font-weight: 600; }
.pdp-offer-text { font-size: 13px; color: #444; }
.pdp-offer-apply {
  align-self: flex-start; background: none; border: none; padding: 0;
  font-size: 13px; font-weight: 500; text-decoration: underline; cursor: pointer; color: #000;
}

/* Accordions */
.pdp-acc-full {
  padding: 8px 0 40px;
  width: 100%;
}

.pdp-accordions {
  border-top: 1px solid var(--line);
  width: 100%;
}

.pdp-accordion {
  border-bottom: 1px solid var(--line);
}

.pdp-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans, inherit);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  text-align: left;
}

.pdp-acc-head i {
  font-size: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Plus → X when open */
.pdp-acc-head.is-open i {
  transform: rotate(45deg);
}

/* Body: closed by default */
.pdp-acc-body {
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition: none;
}

/* Body: open — class + attribute both supported */
.pdp-acc-body.is-open,
.pdp-acc-head.is-open + .pdp-acc-body,
.pdp-acc-body:not([hidden]) {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible;
  padding: 0 0 22px;
}

.pdp-rich {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.pdp-rich p {
  margin: 0 0 12px;
}

.pdp-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.pdp-spec-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.pdp-spec-key {
  min-width: 110px;
  font-weight: 600;
  color: #000;
}

.pdp-spec-val {
  color: #444;
}

.pdp-care-note {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}

/* Slider: arrows ON TOP of cards — no extra width */
.pdp-slider {
  position: relative;
}
.pdp-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.pdp-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.pdp-slider-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pdp-slider-arrow--prev { left: 8px; }
.pdp-slider-arrow--next { right: 8px; }
.pdp-slider-arrow:hover { background: rgba(0, 0, 0, .75); }
.pdp-slider-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.pdp-slider-arrow[style*="display: none"] {
  display: none !important;
}

.pdp-slide-card,
.pdp-ctl .hp-sbc-card,
.pdp-ymal .hp-sbc-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
}

.pdp-ctl, .pdp-ymal { padding: 0 0 56px; }

.pdp-reviews { padding: 48px 0 72px; }
.pdp-reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review-card {
  border: 1px solid #e5e5e5; padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.review-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.review-author { font-size: 13px; font-weight: 500; }
.review-title { font-size: 14px; font-weight: 600; }
.review-body { font-size: 13px; color: #444; margin: 0; line-height: 1.6; }
.review-date { font-size: 11px; color: #777; margin-top: auto; }
.pdp-reviews-empty { font-size: 14px; color: #555; margin: 0 0 24px; }

.pdp-review-form-wrap {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid #e5e5e5; max-width: 520px;
}
.pdp-review-form-title {
  font-family: var(--font-display, serif); font-size: 22px; font-weight: 400; margin: 0 0 16px;
}
.pdp-review-login a { color: #000; text-decoration: underline; }
.pdp-review-field { margin-bottom: 14px; }
.pdp-review-field label {
  display: block; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.pdp-review-field input[type="text"],
.pdp-review-field textarea {
  width: 100%; border: 1px solid #000; padding: 11px 12px;
  font: inherit; font-size: 14px; background: #fff; color: #000;
}
.pdp-review-stars-input {
  display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px;
}
.pdp-review-stars-input label {
  cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0;
}
.pdp-review-stars-input input { display: none; }
.pdp-review-stars-input i { font-size: 18px; color: #ccc; }
.pdp-review-stars-input label:hover i,
.pdp-review-stars-input label:hover ~ label i,
.pdp-review-stars-input label:has(input:checked) i,
.pdp-review-stars-input label:has(input:checked) ~ label i { color: #000; }
.pdp-review-submit {
  background: #000; color: #fff; border: none; padding: 12px 24px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.pdp-review-form-msg { font-size: 13px; margin-bottom: 10px; }
.pdp-review-form-msg.is-error { color: #8b1c10; }
.pdp-review-form-msg.is-success { color: #1a6640; }

.pdp-lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.pdp-lightbox.is-open { opacity: 1; pointer-events: auto; }
.pdp-lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.pdp-lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: #fff; font-size: 24px; cursor: pointer;
}

.pdp-ctl .pdp-section-head,
.pdp-ymal .pdp-section-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

@media (max-width: 991px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
  .pdp-slide-card, .pdp-ctl .hp-sbc-card, .pdp-ymal .hp-sbc-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .pdp-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-slider-arrow {
    display: none !important;
  }

  .pdp-slider-viewport {
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pdp-slider-viewport::-webkit-scrollbar {
    display: none;
  }

  .pdp-slider-track {
    transform: none !important;
    transition: none !important;
  }

  .pdp-slider-track > * {
    scroll-snap-align: start;
    flex: 0 0 70vw;
    max-width: 280px;
  }
}
@media (min-width: 992px) {
  .pdp-slider-viewport {
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .pdp-thumbs-wrap { width: 52px; }
  .pdp-thumbs { width: 52px; max-height: 280px; }
  .pdp-thumb { width: 52px; height: 52px; }
  .pdp-main-img { max-height: none; min-height: 280px; }
  .pdp-trust { grid-template-columns: repeat(2, 1fr); }
  .pdp-trust-item:nth-child(1), .pdp-trust-item:nth-child(2) { border-bottom: 1px solid #e5e5e5; }
  .pdp-trust-item:nth-child(2) { border-right: none; }
  .pdp-slide-card, .pdp-ctl .hp-sbc-card, .pdp-ymal .hp-sbc-card { flex: 0 0 72%; }
  .pdp-reviews-grid { grid-template-columns: 1fr; }
  .pdp-slider-arrow { width: 32px; height: 32px; font-size: 11px; }
  .pdp-slider-arrow--prev { left: 6px; }
  .pdp-slider-arrow--next { right: 6px; }
}
@media (max-width: 480px) {
  .pdp-thumbs-wrap { width: 44px; }
  .pdp-thumbs { width: 44px; }
  .pdp-thumb { width: 44px; height: 44px; }
  .pdp-title { font-size: 24px; }
  .pdp-price { font-size: 22px; }
}
@media (max-width: 575px) {
  .pdp-atc-wrap {
    flex-wrap: wrap;
  }

  .pdp-atc-btn {
    flex: 1 1 calc(100% - 62px);
    order: 1;
  }

  .pdp-wish-btn {
    flex: 0 0 52px;
    order: 2;
  }

  .pdp-buy-btn {
    flex: 1 1 100%;
    order: 3;
  }
}


/* ── Pincode check ────────────────────────────────────── */
.pdp-pincode {
  margin: 20px 0 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}

.pdp-pincode-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #000;
}

.pdp-pincode-row {
  display: flex;
  gap: 8px;
}

.pdp-pincode-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  background: #fff;
  color: #000;
  outline: none;
}

.pdp-pincode-input:focus {
  box-shadow: inset 0 0 0 1px #000;
}

.pdp-pincode-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pdp-pincode-btn:hover {
  background: #fff;
  color: #000;
}

.pdp-pincode-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdp-pincode-msg {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
}

.pdp-pincode-msg.is-ok {
  background: #f3f3f3;
  color: green;
  font-weight: 600;
}

.pdp-pincode-msg.is-bad {
  background: #fde8e6;
  color: #8b1c10;
}

.pdp-pincode-msg.is-wait {
  background: #f5f5f5;
  color: #444;
}

.pdp-atc-btn:disabled,
.pdp-atc-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.pdp-atc-hint {
  font-size: 12px;
  color: #666;
  margin: 8px 0 0;
}

.pdp-atc-hint.is-ok {
  color: #1a6640;
}