/* ========================================
   PDP — extends styles.css
   ======================================== */

/* Reused nav active state */
.header-nav .nav-active {
  color: var(--color-maroon);
}
.header-nav .nav-active::after { width: 100%; }

/* Extra header icon buttons */
.btn-wishlist-h,
.btn-account-h {
  display: none;
}
@media (min-width: 768px) {
  .btn-wishlist-h,
  .btn-account-h {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color var(--duration-fast) var(--ease-out-quart);
  }
  .btn-wishlist-h:hover,
  .btn-account-h:hover { background-color: var(--color-clay); }
  .btn-wishlist-h svg,
  .btn-account-h svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-dark);
    stroke-width: 1.5;
    fill: none;
  }
}

/* Product card fabric line (reused across pages) */
.product-card-fabric {
  font-size: 11px;
  color: var(--color-grey-light);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ========================================
   Breadcrumb
   ======================================== */

.pdp-breadcrumb {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-grey-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-small);
  color: var(--color-grey);
}

.breadcrumb-list a {
  color: var(--color-grey);
  transition: color var(--duration-fast) var(--ease-out-quart);
}
.breadcrumb-list a:hover { color: var(--color-maroon); }
.breadcrumb-list [aria-current="page"] { color: var(--color-dark-soft); }
.breadcrumb-sep { color: var(--color-grey-light); padding-inline: 0.2rem; }

/* ========================================
   Product Section Layout
   ======================================== */

.pdp-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .pdp-grid {
    grid-template-columns: 52% 44%;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* ========================================
   Gallery
   ======================================== */

/* Desktop gallery: hide on mobile */
.pdp-gallery-desktop { display: none; }

@media (min-width: 640px) {
  .pdp-gallery-desktop {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 10px;
    align-items: start;
  }
  .pdp-gallery-mobile { display: none; }
}

/* Thumbnails column */
.pdp-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-thumb {
  display: block;
  width: 82px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--color-clay);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              opacity var(--duration-fast) var(--ease-out-quart);
  padding: 0;
  flex-shrink: 0;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.pdp-thumb:hover img { transform: scale(1.06); }
.pdp-thumb:hover { border-color: var(--color-grey-light); }

.pdp-thumb--active {
  border-color: var(--color-maroon) !important;
}

.pdp-thumb:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

/* Main image display */
.pdp-main-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--color-clay);
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
}

.pdp-main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 50%;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-main-img.is-zoomed {
  transform: scale(2.4);
}

/* Zoom controls overlay */
.pdp-zoom-btn {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  width: 38px;
  height: 38px;
  background-color: oklch(96.5% 0.008 80 / 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              opacity var(--duration-fast) var(--ease-out-quart);
  opacity: 0;
  z-index: 2;
}

.pdp-main-wrap:hover .pdp-zoom-btn { opacity: 1; }

.pdp-zoom-btn svg {
  width: 17px;
  height: 17px;
  stroke: var(--color-dark);
  stroke-width: 1.5;
}

.pdp-zoom-btn:hover { background-color: var(--color-cream); }
.pdp-zoom-btn:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

.pdp-zoom-hint {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  background-color: oklch(96.5% 0.008 80 / 0.88);
  padding: 4px 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
  white-space: nowrap;
}

.pdp-main-wrap:hover .pdp-zoom-hint { opacity: 1; }

/* Mobile gallery */
.pdp-gallery-mobile {
  position: relative;
}

.pdp-mobile-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.pdp-mobile-slides::-webkit-scrollbar { display: none; }

.pdp-mobile-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--color-clay);
}

.pdp-mobile-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.pdp-mobile-zoom-btn {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  width: 38px;
  height: 38px;
  background-color: oklch(96.5% 0.008 80 / 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-mobile-zoom-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-dark);
  stroke-width: 1.5;
}

/* Slide dot indicators */
.pdp-slide-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-sm);
}

.pdp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-clay-deep);
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              transform var(--duration-fast) var(--ease-out-quart);
}

.pdp-dot--active {
  background-color: var(--color-maroon);
  transform: scale(1.4);
}

/* ========================================
   Product Info Column
   ======================================== */

.pdp-category-label {
  color: var(--color-maroon);
  margin-bottom: var(--space-xs);
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.pdp-tagline {
  font-size: var(--text-body-lg);
  color: var(--color-grey);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: var(--space-lg);
  font-style: italic;
  font-family: var(--font-display);
}

/* Price */
.pdp-price-block {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-dark);
  font-weight: 500;
}

.pdp-price-original {
  font-size: var(--text-body);
  color: var(--color-grey-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.pdp-tax-note {
  font-size: 12px;
  color: var(--color-grey);
  letter-spacing: 0.02em;
}

/* Variant rows */
.pdp-variant-row {
  margin-bottom: var(--space-lg);
}

.pdp-variant-label {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pdp-variant-selection {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-dark);
}

/* Other Colours — variant product cards */
.pdp-cv-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pdp-cv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-dark);
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.pdp-cv-card:hover {
  opacity: 0.75;
}

.pdp-cv-img-wrap {
  width: 64px;
  height: 86px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid oklch(22% 0.015 25 / 0.1);
}

.pdp-cv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-cv-name {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  text-align: center;
  max-width: 64px;
}

/* Size options */
.pdp-size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-xs);
}

.pdp-size-btn {
  display: block;
  cursor: pointer;
  position: relative;
}

.pdp-size-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pdp-size-btn span {
  display: block;
  padding: 0.5rem 1.125rem;
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-dark-soft);
  border: 1.5px solid var(--color-grey-border);
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart),
              color var(--duration-fast) var(--ease-out-quart);
}

.pdp-size-btn:hover span {
  border-color: var(--color-dark-soft);
  color: var(--color-dark);
}

.pdp-size-btn input[type="radio"]:checked ~ span {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
  background-color: oklch(35% 0.15 22 / 0.05);
}

.pdp-size-btn input[type="radio"]:focus-visible ~ span {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

.pdp-size-btn--disabled {
  cursor: not-allowed;
}

.pdp-size-btn--disabled span {
  color: var(--color-grey-light);
  border-color: var(--color-grey-border);
  background-color: var(--color-cream-dark);
  text-decoration: line-through;
}

.pdp-size-btn--disabled:hover span {
  border-color: var(--color-grey-border);
  color: var(--color-grey-light);
}

.pdp-size-guide-link {
  font-size: var(--text-small);
  color: var(--color-maroon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Quantity selector */
.pdp-qty-row { margin-bottom: var(--space-lg); }

.pdp-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-grey-border);
}

.pdp-qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-dark-soft);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
  border: none;
}

.pdp-qty-btn:hover { background-color: var(--color-clay); }

.pdp-qty-btn svg { width: 14px; height: 14px; }

.pdp-qty-input {
  width: 48px;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  color: var(--color-dark);
  background: transparent;
  border: none;
  border-inline: 1.5px solid var(--color-grey-border);
  padding: 0;
  line-height: 40px;
  height: 40px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.pdp-qty-input::-webkit-inner-spin-button,
.pdp-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Primary CTA buttons */
.pdp-cta-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

@media (min-width: 400px) {
  .pdp-cta-primary { grid-template-columns: 1fr 1fr; }
}

.btn-add-to-bag {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  border: 2px solid var(--color-maroon);
  cursor: pointer;
  transition: background-color var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-fast) var(--ease-out-quart);
}

.btn-add-to-bag:hover {
  background-color: var(--color-maroon-light);
  border-color: var(--color-maroon-light);
  transform: translateY(-1px);
}

.btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem;
  background-color: transparent;
  color: var(--color-maroon);
  border: 2px solid var(--color-maroon);
  cursor: pointer;
  transition: background-color var(--duration-normal) var(--ease-out-quart),
              color var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-fast) var(--ease-out-quart);
}

.btn-buy-now:hover {
  background-color: var(--color-maroon);
  color: var(--color-cream);
  transform: translateY(-1px);
}

.btn-add-to-bag:focus-visible,
.btn-buy-now:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 3px;
}

/* Secondary CTA */
.pdp-cta-secondary {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn-whatsapp-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: oklch(35% 0.12 145);
  text-decoration: none;
  padding: 0;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.btn-whatsapp-inquiry:hover { opacity: 0.75; }

.btn-wishlist-pdp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-grey);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.btn-wishlist-pdp:hover { color: var(--color-maroon); }

.btn-wishlist-pdp svg {
  width: 17px;
  height: 17px;
  transition: fill var(--duration-fast) var(--ease-out-quart);
}

.btn-wishlist-pdp.wished {
  color: var(--color-maroon);
}
.btn-wishlist-pdp.wished svg {
  fill: var(--color-maroon);
  stroke: var(--color-maroon);
}

/* Product Meta Grid */
.pdp-meta-grid {
  margin-bottom: var(--space-xl);
  border-top: 1px solid var(--color-grey-border);
}

.pdp-meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-sm);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-grey-border);
  align-items: baseline;
}

.pdp-meta-row dt {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-grey);
  text-transform: none;
}

.pdp-meta-row dd {
  font-size: var(--text-small);
  color: var(--color-dark-soft);
  line-height: 1.55;
}

/* Accordions */
.pdp-accordions {
  border-top: 1px solid var(--color-grey-border);
}

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

.pdp-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.pdp-acc-btn:hover { color: var(--color-maroon); }

.acc-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.pdp-acc-btn[aria-expanded="true"] .acc-chevron {
  transform: rotate(180deg);
}

.pdp-acc-body {
  padding-bottom: var(--space-md);
}

.pdp-acc-body[hidden] { display: none; }

.pdp-acc-body p {
  font-size: var(--text-small);
  color: var(--color-grey);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  max-width: 58ch;
}

.pdp-acc-body p:last-child { margin-bottom: 0; }

.acc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.acc-list li {
  font-size: var(--text-small);
  color: var(--color-grey);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.acc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-maroon);
  font-size: 11px;
  top: 1px;
}

/* ========================================
   Rich Description Section
   ======================================== */

.pdp-description {
  padding: var(--space-3xl) 0;
  background-color: var(--color-cream-dark);
}

.pdp-desc-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pdp-desc-header .label-text {
  color: var(--color-maroon);
  margin-bottom: var(--space-sm);
}

.pdp-desc-header h2 {
  font-style: italic;
}

.pdp-desc-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.pdp-desc-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 640px) {
  .pdp-desc-chapter {
    grid-template-columns: 180px 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}

.pdp-desc-chapter-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-chapter-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-maroon);
}

.pdp-desc-chapter-label h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.2;
}

.pdp-desc-chapter-body p {
  color: var(--color-grey);
  line-height: 1.85;
  max-width: 60ch;
  margin-bottom: var(--space-sm);
}

.pdp-desc-chapter-body p:last-child { margin-bottom: 0; }
.pdp-desc-chapter-body strong { color: var(--color-dark-soft); font-weight: 700; }

/* Image break in description */
.pdp-desc-img-break {
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

.pdp-desc-img-break img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .pdp-desc-img-break img { aspect-ratio: 21 / 9; }
}

.pdp-desc-img-caption {
  font-size: 12px;
  color: var(--color-grey-light);
  text-align: right;
  padding-top: 6px;
  letter-spacing: 0.03em;
  font-style: italic;
}

/* ========================================
   Textile Promise Strip
   ======================================== */

.pdp-promise-strip {
  background-color: var(--color-clay);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-clay-deep);
  border-bottom: 1px solid var(--color-clay-deep);
}

.pdp-promise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
}

@media (min-width: 640px) {
  .pdp-promise-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .pdp-promise-list {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
  }
}

.pdp-promise-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pdp-promise-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-promise-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-maroon);
}

.pdp-promise-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-promise-text strong {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.pdp-promise-text span {
  font-size: 11px;
  color: var(--color-grey);
  line-height: 1.45;
}

/* ========================================
   Related Products
   ======================================== */

.pdp-related {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.pdp-related-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pdp-related-viewport,
.pdp-rv-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.pdp-related-track,
.pdp-rv-track {
  display: flex;
  gap: var(--space-md);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  will-change: transform;
}

.pdp-rel-card,
.pdp-rv-card {
  flex: 0 0 calc(50% - var(--space-md) / 2);
  min-width: 0;
}

@media (min-width: 640px) {
  .pdp-rel-card,
  .pdp-rv-card {
    flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3);
  }
}

@media (min-width: 1024px) {
  .pdp-rel-card,
  .pdp-rv-card {
    flex: 0 0 calc(25% - var(--space-md) * 3 / 4);
  }
}

/* Reuse carousel-btn from products.css if loaded,
   otherwise define here for standalone use */
.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cream);
  border: 1px solid var(--color-grey-border);
  color: var(--color-dark);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart);
}

.carousel-btn:hover:not(:disabled) {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-cream);
}

.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* Recently Viewed */
.pdp-recently-viewed {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background-color: var(--color-cream-dark);
}

.pdp-rv-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ========================================
   Newsletter
   ======================================== */

.pdp-newsletter {
  background-color: var(--color-maroon-deep);
  padding: var(--space-2xl) 0;
}

.pdp-newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .pdp-newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}

.pdp-newsletter-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.pdp-newsletter-text p {
  font-size: var(--text-small);
  color: oklch(80% 0.01 80);
  max-width: 48ch;
  line-height: 1.65;
}

.pdp-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  width: 100%;
  flex-shrink: 0;
}

.pdp-newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.125rem;
  border: 1px solid oklch(50% 0.005 30);
  border-right: none;
  background-color: transparent;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.pdp-newsletter-form input::placeholder {
  color: oklch(55% 0.005 30);
}

.pdp-newsletter-form input:focus {
  outline: none;
  border-color: oklch(65% 0.08 22);
}

.pdp-newsletter-form .btn-primary { flex-shrink: 0; white-space: nowrap; }
.pdp-newsletter-form .btn-primary svg { width: 14px; height: 14px; }

/* ========================================
   Lightbox Modal
   ======================================== */

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
}

.pdp-lightbox.lb-open {
  pointer-events: auto;
  opacity: 1;
}

.pdp-lb-overlay {
  position: absolute;
  inset: 0;
  background-color: oklch(12% 0.01 25 / 0.92);
}

.pdp-lb-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-xl) 100px;
}

.pdp-lb-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  z-index: 2;
}

.pdp-lb-counter {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: oklch(80% 0.005 80);
  letter-spacing: 0.08em;
}

.pdp-lb-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: oklch(25% 0.01 25 / 0.6);
  border-radius: 50%;
  color: var(--color-cream);
  cursor: pointer;
  border: none;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.pdp-lb-close:hover { background-color: oklch(35% 0.01 25 / 0.8); }
.pdp-lb-close svg { width: 20px; height: 20px; }

/* Lightbox image */
.pdp-lb-img-wrap {
  position: relative;
  max-width: min(90vw, 700px);
  max-height: calc(100vh - 180px);
  overflow: hidden;
  touch-action: pinch-zoom;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

/* Nav arrows */
.pdp-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: oklch(25% 0.01 25 / 0.55);
  border: 1px solid oklch(60% 0.005 80 / 0.2);
  color: var(--color-cream);
  cursor: pointer;
  z-index: 2;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.pdp-lb-nav:hover { background-color: oklch(35% 0.01 25 / 0.8); }
.pdp-lb-nav svg { width: 20px; height: 20px; stroke: currentColor; }

.pdp-lb-prev { left: var(--space-md); }
.pdp-lb-next { right: var(--space-md); }

.pdp-lb-nav:disabled { opacity: 0.25; cursor: default; }

/* Lightbox thumbnails strip */
.pdp-lb-thumbs {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.pdp-lb-thumb {
  width: 48px;
  height: 64px;
  overflow: hidden;
  opacity: 0.45;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart);
  padding: 0;
  background: none;
}

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

.pdp-lb-thumb:hover { opacity: 0.75; }
.pdp-lb-thumb--active {
  opacity: 1;
  border-color: var(--color-cream);
}

/* ========================================
   Toast Notification
   ======================================== */

.pdp-toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--color-dark);
  color: var(--color-cream);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-expo);
}

.pdp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pdp-toast svg { width: 16px; height: 16px; stroke: #6fcf97; stroke-width: 2.5; }

/* ========================================
   Sticky Add to Bag (mobile, bottom bar)
   ======================================== */

.pdp-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-grey-border);
  padding: var(--space-sm) var(--container-padding);
  gap: var(--space-sm);
  align-items: center;
  box-shadow: 0 -4px 20px oklch(22% 0.015 25 / 0.08);
}

.pdp-sticky-bar.visible {
  display: flex;
}

@media (min-width: 900px) {
  .pdp-sticky-bar { display: none !important; }
}

.pdp-sticky-title {
  font-family: var(--font-display);
  font-size: var(--text-small);
  color: var(--color-dark);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-sticky-price {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.pdp-sticky-btn {
  flex-shrink: 0;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.pdp-sticky-btn:hover { background-color: var(--color-maroon-light); }
