:root {
  --pdp-bg: #f4eee7;
  --pdp-surface: #fff9f1;
  --pdp-panel: #ece3d9;
  --pdp-text: #1e1e1e;
  --pdp-muted: #5f5b57;
  --pdp-border: #d4c8bc;
  --pdp-accent: #1f3a5f;
  --pdp-warm: #76533f;
  --pdp-success: #2e6b4d;
  --pdp-shadow: 0 8px 28px rgba(65, 48, 35, 0.08);
  --pdp-shadow-lg: 0 24px 60px rgba(65, 48, 35, 0.1);
  --pdp-container: 1480px;
}

body {
  background: var(--pdp-bg) !important;
  color: var(--pdp-text);
}

body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 231, 0.92) !important;
  color: var(--pdp-text) !important;
  border-bottom: 1px solid rgba(212, 200, 188, 0.82);
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(150%);
}

.header-search-wrap {
  border: 1px solid rgba(31, 58, 95, 0.28);
  border-radius: 16px !important;
  background: rgba(255, 249, 241, 0.9) !important;
  padding: 6px 8px 6px 16px;
}

.header-search-btn {
  color: var(--pdp-accent) !important;
}

header .header-search-clear {
  width: 2.75rem;
  height: 2.75rem;
  color: #8e8580;
}

header .header-search-clear[hidden] {
  display: none;
}

header .header-search-clear:hover {
  color: var(--pdp-text);
  background: rgba(31, 30, 30, 0.06);
}

header .header-search-clear svg {
  width: 1.75rem;
  height: 1.75rem;
}

header .header-search-input {
  height: 2.75rem !important;
  padding: 0.82rem 0.75rem 0.38rem !important;
  font-size: 1.0625rem !important;
  line-height: 1.2 !important;
  color: var(--pdp-text) !important;
}

.header-search-input::placeholder {
  color: var(--pdp-muted) !important;
  opacity: 0.82 !important;
}

body > header a,
body > header nav a,
body > header span {
  color: var(--pdp-text) !important;
}

body > header + .bg-blue-800 {
  display: none;
}

body > header > .container {
  max-width: var(--pdp-container) !important;
}

@media (min-width: 1024px) {
  body > header > .container {
    padding-left: max(16px, calc((100vw - var(--pdp-container)) / 2)) !important;
    padding-right: max(16px, calc((100vw - var(--pdp-container)) / 2)) !important;
  }
}

.product-v2 {
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--pdp-bg);
  color: var(--pdp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.product-breadcrumb {
  max-width: var(--pdp-container);
  margin: 0 auto;
  padding: 16px 16px 0;
  color: var(--pdp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-v2 > .product-breadcrumb {
  display: none;
}

.product-v2 > .product-breadcrumb-bottom {
  display: block;
  padding-top: 6px;
  padding-bottom: 24px;
}

.product-heading .product-breadcrumb {
  max-width: none;
  margin: 0 0 10px;
  padding: 0;
}

.product-stage-title .product-breadcrumb {
  max-width: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
}

.product-breadcrumb a {
  color: var(--pdp-muted);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: var(--pdp-text);
}

.product-hero {
  width: 100%;
  max-width: var(--pdp-container);
  margin: 0 auto;
  padding: 12px 16px 10px;
  display: grid;
  gap: 24px;
  align-items: start;
}

.product-media,
.purchase-panel {
  min-width: 0;
}

.product-media {
  display: grid;
  gap: 12px;
  align-self: start;
  align-content: start;
}

.product-stage {
  position: relative;
  min-height: 620px;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(212, 200, 188, 0.86);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff9f1 0, #f7efe5 100%);
}

.product-zoom-trigger {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(74%, 640px);
  height: min(74%, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: normal !important;
  cursor: zoom-in;
}

.product-zoom-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.product-zoom-trigger:focus-visible {
  outline: 2px solid rgba(31, 58, 95, 0.55);
  outline-offset: 6px;
  border-radius: 18px;
}

.product-zoom-modal[hidden] {
  display: none;
}

.product-zoom-open {
  overflow: hidden;
}

.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.product-zoom-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0.72);
  cursor: zoom-out;
}

.product-zoom-surface {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  height: min(90vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border-radius: 20px;
  background: #fff9f1;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.product-zoom-surface img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent !important;
  cursor: zoom-out;
  pointer-events: auto;
}

.product-zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid rgba(31, 58, 95, 0.18);
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.94);
  color: var(--pdp-text);
  cursor: pointer;
  line-height: 1 !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.product-zoom-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.product-stage-title {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 28px 28px 0;
}

.product-brand-badge {
  display: inline-block;
  margin: 4px 0 0;
  color: #6b6b6b;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-stage-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid var(--pdp-border);
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.78);
  color: var(--pdp-accent);
  font-size: 12px;
  font-weight: 500;
}

.product-stage-badge.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pdp-success);
}

.product-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar {
  display: none;
}

.product-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent !important;
  cursor: pointer;
}

.product-thumb img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent !important;
}

.product-thumb:hover {
  border-color: #b9b3ac;
}

.product-thumb.is-active {
  border-color: var(--pdp-accent);
  background: transparent !important;
}

.product-media img,
.product-related-card-img img {
  background: transparent !important;
  mix-blend-mode: multiply !important;
}

.product-media-notes {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pdp-border);
  border-radius: 18px;
  background: var(--pdp-border);
}

.product-media-notes div {
  background: rgba(255, 249, 241, 0.76);
  padding: 16px;
}

.product-media-notes span {
  display: block;
  margin-bottom: 4px;
  color: var(--pdp-muted);
  font-size: 12px;
}

.product-media-notes strong {
  display: block;
  color: var(--pdp-text);
  font-size: 14px;
  font-weight: 500;
}

.purchase-panel {
  display: grid;
  gap: 18px;
  width: 100%;
  min-height: 0;
  align-self: start;
  justify-self: stretch;
  padding: 28px;
  border: 1px solid rgba(212, 200, 188, 0.92);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff9f1 0, #fcf4ea 100%);
  box-shadow: var(--pdp-shadow);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--pdp-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pdp-success);
  letter-spacing: 0;
  text-transform: none;
}

.stock-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: stockPulse 2.4s ease-in-out infinite;
}

@keyframes stockPulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(46, 107, 77, 0);
  }
  50% {
    opacity: 0.42;
    box-shadow: 0 0 0 5px rgba(46, 107, 77, 0.16);
  }
}

.product-title {
  color: var(--pdp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.24vw, 21px);
  font-weight: 600;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-stage-title .product-title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.18vw, 21px);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: 0;
}

.product-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--pdp-muted);
  font-size: 14px;
}

.product-payflex {
  order: 13;
  display: none;
  margin-top: -8px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 200, 188, 0.82);
  border-radius: 12px;
  background: rgba(255, 249, 241, 0.72);
  color: var(--pdp-muted);
  font-size: 14px;
}

.product-price-row {
  order: 10;
  display: grid;
  gap: 16px;
  padding-top: 0;
}

/* Same grid order as .product-price-row so sold/unavailable shows in the price slot, below variations */
#product-soldout-display {
  order: 10;
  margin: 0 0 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pdp-border);
  color: var(--pdp-muted);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.product-price-main {
  display: grid;
  gap: 8px;
  align-content: start;
}

.product-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}

.product-price {
  color: var(--pdp-text);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.product-used-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  margin: 0;
  color: #b45309;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.product-price-note,
.product-delivery-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  justify-self: start;
  margin: 0;
  color: var(--pdp-muted);
  font-size: 13px;
  font-weight: 500;
}

.product-delivery-note {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.product-release-note {
  color: #b91c1c !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.product-used-note svg,
.product-price-note svg,
.product-delivery-note svg,
.product-assurances svg,
.import-promise svg,
.product-variations-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.variant-stack,
.product-variation-stack {
  order: 8;
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 10px 0 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--pdp-border);
}

/* Silent variation poll: no placeholder stack in DOM; belt-and-suspenders if hidden. */
#product-variation-picker[hidden],
.product-variation-stack[hidden] {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.variant-group {
  min-width: 0;
}
.variant-group.is-locked .variant-top h2 {
  color: var(--pdp-muted);
  font-weight: 700;
}

.variant-lock-hint {
  margin: 0;
  padding: 4px 0 0;
  color: var(--pdp-muted);
  font-size: 13px;
  line-height: 1.4;
}

.variant-group.is-locked .chip-row {
  min-height: 0;
}



.variant-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  min-width: 0;
}

.variant-top h2 {
  min-width: 0;
  color: var(--pdp-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.variant-value {
  min-width: 0;
  max-width: 55%;
  color: var(--pdp-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: right;
}


button.chip,
button.color-chip {
  font: inherit;
  font-family: inherit;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

button.chip:focus-visible,
button.color-chip:focus-visible {
  outline: 2px solid rgba(31, 58, 95, 0.45);
  outline-offset: 2px;
}

.product-variation-empty {
  order: 8;
  margin: 0 0 4px;
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--pdp-border);
  color: var(--pdp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.chip-row-select {
  flex-direction: column;
  align-items: stretch;
}

.variant-select {
  width: 100%;
  max-width: 420px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--pdp-border);
  border-radius: 12px;
  background: var(--pdp-surface);
  color: var(--pdp-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}

.variant-select:focus-visible {
  outline: 2px solid rgba(31, 58, 95, 0.45);
  outline-offset: 2px;
}

.chip {
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--pdp-border);
  border-radius: 12px;
  background: var(--pdp-surface);
  color: var(--pdp-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.chip:hover {
  border-color: #b9b3ac;
  transform: translateY(-1px);
}

.chip.active {
  border-color: rgba(138, 106, 82, 0.56);
  background: rgba(236, 227, 217, 0.78);
  color: var(--pdp-text);
}

.chip.is-disabled,
.color-chip.is-disabled {
  opacity: 0.36;
  cursor: not-allowed;
  transform: none;
}

.chip.is-disabled:hover,
.color-chip.is-disabled:hover {
  border-color: var(--pdp-border);
  transform: none;
}

.color-chip {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-flex;
  border: 1px solid var(--pdp-border);
  border-radius: 50%;
  background: var(--pdp-surface);
  color: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.color-chip::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: 50%;
  background: var(--swatch);
}

.color-chip:hover {
  border-color: #b9b3ac;
  transform: translateY(-1px);
}

.color-chip.active {
  border-color: var(--pdp-accent);
  box-shadow: 0 0 0 2px rgba(31, 58, 95, 0.18);
}

.product-variations {
  order: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(212, 200, 188, 0.82);
  border-radius: 18px;
  background: rgba(236, 227, 217, 0.42);
}

.product-variations-copy {
  min-width: 0;
}

.product-variations-copy span,
.variations-dialog-header span {
  display: block;
  color: var(--pdp-warm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-variations-copy strong,
.variations-dialog-header strong {
  display: block;
  margin-top: 5px;
  color: var(--pdp-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.product-variations-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--pdp-border);
  border-radius: 14px;
  background: var(--pdp-surface);
  color: var(--pdp-accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.product-variations-trigger:hover {
  border-color: rgba(31, 58, 95, 0.4);
  background: #faf1e7;
  transform: translateY(-1px);
}

.variations-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 200, 188, 0.94);
  border-radius: 24px;
  background: var(--pdp-surface);
  box-shadow: var(--pdp-shadow-lg);
}

.variations-dialog::backdrop {
  background: rgba(18, 18, 18, 0.38);
  backdrop-filter: blur(3px);
}

.variations-dialog-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--pdp-border);
  background: linear-gradient(180deg, #fff9f1 0, #fcf4ea 100%);
}

.variations-dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--pdp-border);
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.74);
  color: var(--pdp-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.variations-dialog-close:hover {
  background: #faf1e7;
}

.variations-iframe {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 340px;
  display: block;
  border: 0;
  background: var(--pdp-bg);
}

.product-btn {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.product-action-status {
  order: 29;
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  color: var(--pdp-success);
  font-size: 13px;
  font-weight: 600;
}

.product-price-main .product-action-status {
  justify-content: flex-end;
  justify-self: end;
  margin-top: 0;
  white-space: nowrap;
}

.purchase-panel form {
  order: 30;
}

.purchase-panel form[name="add_to_cart"] {
  padding-top: 16px;
  border-top: 1px solid var(--pdp-border);
}

.purchase-panel form[name="wishlist_form_box"] {
  margin-top: -8px;
}

.purchase-panel script,
.purchase-panel [itemprop="offers"],
.purchase-panel meta {
  order: 0;
}

.product-assurances {
  order: 50;
}

.import-promise {
  order: 60;
}

.import-promise-media {
  order: initial;
  margin-top: 0;
}

.product-btn-primary {
  background: var(--pdp-accent);
  color: var(--pdp-surface);
}

.product-btn-primary:hover {
  background: #172e4e;
}

.product-btn-secondary {
  background: var(--pdp-surface);
  border-color: var(--pdp-border);
  color: var(--pdp-text);
}

.mobile-cart-bar {
  display: none;
}

.product-payment-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.product-payment-logo {
  width: 112px;
  height: 34px;
  flex: 0 1 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid rgba(212, 200, 188, 0.86);
  border-radius: 10px;
  background: #ffffff;
  color: var(--pdp-accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.product-payment-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88px;
  max-height: 22px;
  object-fit: contain;
}

.product-payment-card {
  width: 112px;
}

.product-payment-payflex {
  width: 112px;
  border-color: rgba(100, 103, 166, 0.2);
  background: #eee7f6;
}

.product-payment-ozow {
  width: 112px;
  border-color: rgba(46, 107, 77, 0.22);
  background: #eff8f2;
}

.product-payment-ozow img {
  max-width: 88px;
  max-height: 22px;
}

.product-assurances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.product-assurances div {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(212, 200, 188, 0.82);
  border-radius: 12px;
  background: rgba(255, 249, 241, 0.72);
  color: var(--pdp-muted);
  font-size: 12px;
  font-weight: 500;
}

.product-assurances svg {
  color: var(--pdp-accent);
}

.import-promise {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(212, 200, 188, 0.82);
  border-radius: 18px;
  background: rgba(236, 227, 217, 0.48);
}

.import-promise h2 {
  color: var(--pdp-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.import-promise p {
  margin-top: 7px;
  color: var(--pdp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-detail-section {
  max-width: none;
  margin: 0;
  padding: 28px 16px 34px;
  background: var(--pdp-panel);
}

.product-detail-grid {
  max-width: var(--pdp-container);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--pdp-warm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-section h2 {
  margin-bottom: 10px;
  color: var(--pdp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.product-description {
  max-width: 760px;
  color: var(--pdp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-description p,
.product-description ul {
  margin-bottom: 8px;
}

.product-description ul {
  padding-left: 1.25rem;
}

.product-specs {
  overflow: hidden;
  border: 1px solid var(--pdp-border);
  border-radius: 18px;
  background: var(--pdp-border);
  font-size: 13px;
}

.product-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1px;
  border-bottom: 1px solid var(--pdp-border);
}

.product-spec-row:last-child {
  border-bottom: 0;
}

.product-spec-row > div {
  padding: 8px 10px;
  background: rgba(255, 249, 241, 0.74);
}

.product-spec-row > div:first-child {
  color: var(--pdp-muted);
  font-weight: 400;
}

.product-spec-row > div:last-child {
  color: var(--pdp-text);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.product-v2 > .mt-6,
.product-v2 .scrollbar-hide {
  max-width: var(--pdp-container);
  margin-left: auto !important;
  margin-right: auto !important;
}

.product-v2 > .mt-6.bg-white {
  border: 1px solid rgba(212, 200, 188, 0.92) !important;
  border-top: 1px solid rgba(212, 200, 188, 0.92) !important;
  border-radius: 24px !important;
  background: var(--pdp-surface) !important;
  box-shadow: var(--pdp-shadow) !important;
}

.product-related-section {
  max-width: var(--pdp-container);
  margin: 0 auto;
  padding: 24px 16px 34px;
}

.product-related-title {
  margin-bottom: 12px;
  color: var(--pdp-text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}

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

.product-related-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(212, 200, 188, 0.82);
  border-radius: 18px;
  background: var(--pdp-surface);
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.product-related-card:hover {
  border-color: rgba(31, 58, 95, 0.38);
  box-shadow: var(--pdp-shadow);
  transform: translateY(-1px);
}

.product-related-card-img {
  aspect-ratio: 1 / 1;
  margin: 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: transparent !important;
}

.product-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 14px;
  background: transparent !important;
}

.product-related-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}

.product-related-card-name {
  min-height: 40px;
  color: var(--pdp-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


body > footer {
  background: #121212 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body > footer h3,
body > footer .text-white {
  color: #d9c7af !important;
}

body > footer a,
body > footer p,
body > footer span,
body > footer div {
  color: rgba(255, 255, 255, 0.72) !important;
}

body > footer .footer-payment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow: none !important;
}

body > footer .footer-payment-visa {
  color: #1f3a8a !important;
}

body > footer .footer-payment-mastercard {
  color: #b91c1c !important;
}

body > footer .footer-payment-payflex {
  background: #eee7f6 !important;
  color: #2d2a6e !important;
}

body > footer .footer-payment-ozow {
  color: #282830 !important;
}

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

  .product-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .product-detail-grid {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  }
}

@media (max-width: 767px) {
  body:has(.mobile-cart-bar) {
    padding-bottom: 0;
  }

  body:has(.mobile-cart-bar) > footer {
    margin-bottom: 0 !important;
    padding-bottom: max(78px, calc(68px + env(safe-area-inset-bottom))) !important;
  }

  .product-related-mobile-carousel {
    overflow: hidden;
  }

  .product-related-mobile-carousel .product-related-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-related-mobile-carousel .product-related-grid::-webkit-scrollbar {
    display: none;
  }

  .product-related-mobile-carousel .product-related-card {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .product-media {
    display: contents;
  }

  .product-stage {
    order: 1;
  }

  .product-thumbs {
    order: 2;
  }

  .purchase-panel {
    order: 3;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
  }

  .variant-stack,
  .product-variation-stack {
    gap: 14px;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .product-price-row {
    gap: 9px;
  }

  .product-price-main {
    gap: 5px;
  }

  .product-price-note {
    padding-top: 4px;
  }

  .product-payment-icons {
    gap: 4px;
    padding-top: 4px;
  }

  .product-payment-logo,
  .product-payment-card,
  .product-payment-payflex,
  .product-payment-ozow {
    width: clamp(60px, calc((100vw - 104px) / 3), 104px);
    height: 32px;
    flex: 0 1 clamp(60px, calc((100vw - 104px) / 3), 104px);
    padding-left: 5px;
    padding-right: 5px;
  }

  .product-payment-logo img,
  .product-payment-ozow img {
    max-width: 100%;
    max-height: 19px;
  }

  .product-media-notes {
    order: 4;
  }

  .import-promise-media {
    order: 5;
  }

  .mobile-cart-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--pdp-border);
    background: rgba(255, 249, 241, 0.96);
    box-shadow: 0 -12px 32px rgba(31, 25, 20, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-cart-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cart-bar strong,
  .mobile-cart-bar span {
    display: block;
  }

  .mobile-cart-bar strong {
    color: var(--pdp-text);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .mobile-cart-bar span {
    margin-top: 2px;
    color: var(--pdp-muted);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-cart-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--pdp-accent);
    color: var(--pdp-surface);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
}

@media (min-width: 1024px) {
  .product-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(430px, 0.75fr);
    gap: 28px;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }

  .purchase-panel {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    align-content: start;
    gap: 12px;
    min-height: 0;
    position: static;
    top: auto;
  }

  .product-media {
    position: static;
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: start;
    align-content: stretch;
    justify-self: stretch;
    align-self: stretch;
    height: 100%;
    min-height: 0;
  }

  .product-thumbs {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    overflow-x: visible;
    align-self: start;
  }

  .product-stage {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .product-media-notes {
    grid-column: 2;
  }

  .import-promise-media {
    grid-column: 2;
  }

  .product-related-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  .product-hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(460px, 0.75fr);
  }
}

@media (max-width: 540px) {
  body > header > .container {
    display: flex !important;
    min-height: auto;
    flex-wrap: wrap !important;
  }

  .product-hero {
    padding: 12px 16px 10px;
  }

  .product-breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-related-section {
    padding: 34px 14px 48px;
  }

  .product-variations {
    grid-template-columns: 1fr;
  }

  .chip {
    flex: 1 1 calc(50% - 10px);
  }

  .product-variations-trigger {
    width: 100%;
  }

  .variations-dialog {
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .variations-dialog-header {
    padding: 16px;
  }

  .product-stage {
    min-height: 300px;
  }

  .product-zoom-trigger {
    width: min(78%, 340px);
    height: min(78%, 340px);
  }

  .product-zoom-modal {
    padding: 14px;
  }

  .product-zoom-surface {
    width: 100%;
    height: min(82vh, 620px);
    padding: 22px;
    border-radius: 16px;
  }

  .product-title {
    max-width: none;
  }

  .product-assurances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .product-assurances div {
    min-height: 48px;
    gap: 6px;
    padding: 8px;
    font-size: 11px;
    line-height: 1.2;
  }

  .product-assurances svg {
    width: 16px;
    height: 16px;
  }

  .product-spec-row {
    grid-template-columns: minmax(96px, 0.9fr) minmax(0, 1.1fr);
  }
}
