:root {
  --red: #d51e31;
  --red-dark: #b81728;
  --ink: #111114;
  --muted: #6f6a65;
  --line: #e7e2dc;
  --cream: #f6f4f1;
  --soft: #fbfaf8;
  --green: #137455;
  --green-soft: #eef8f4;
  --shadow: 0 24px 70px rgba(25, 19, 16, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
body.product-loading .product-detail { opacity: .62; }

.detail-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 28px auto 86px;
}
.product-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.product-breadcrumb {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #817a74;
  font-size: 13px;
}
.product-breadcrumb a { color: #282526; text-decoration: none; font-weight: 700; }
.product-breadcrumb a:hover { color: var(--red); }

.product-page-cart-button {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #ddd7d1;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,20,.07);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.product-page-cart-button:hover { border-color: #aaa39d; transform: translateY(-1px); }
.product-page-cart-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-page-cart-button b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr);
  gap: clamp(46px, 6vw, 92px);
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 92px;
  min-width: 0;
  align-self: start;
}
.gallery-topline {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.media-label,
.gallery-counter {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.media-label {
  padding: 7px 10px;
  color: #fff;
  background: var(--ink);
  letter-spacing: .02em;
}
.media-label.is-actual { background: var(--green); }
.gallery-counter { padding: 7px 0; color: #6b6560; }

.gallery-main {
  position: relative;
  height: min(660px, calc(100svh - 230px));
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ebe7e1;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 42%, #fff 0, #faf9f7 47%, #f1eeea 100%);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  outline: none;
}
.gallery-main:focus-visible { box-shadow: var(--shadow), 0 0 0 4px rgba(213,30,49,.16); }
.gallery-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
}
.gallery-stage img {
  width: min(100%, 510px);
  height: 100%;
  max-height: 545px;
  object-fit: contain;
  user-select: none;
  mix-blend-mode: multiply;
  transition: transform .22s ease, opacity .18s ease;
  transform-origin: var(--gallery-view-origin, 50% 50%);
  transform: scale(var(--gallery-view-scale, 1));
}
.gallery-stage.is-photo img,
.gallery-thumb.is-photo img { mix-blend-mode: normal; }
.gallery-stage.is-changing img { opacity: .12; }
.gallery-main.is-hover-zoom .gallery-stage[data-view="overview"] img { transform: scale(1.72); cursor: zoom-in; }
.gallery-image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(215,209,202,.9);
  border-radius: 999px;
  color: #4d4844;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .01em;
}
.gallery-image-badge.is-actual { color: var(--green); border-color: #cae5da; background: rgba(239,249,245,.94); }
.gallery-zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 19px;
  transform: translateX(-50%);
  padding: 7px 10px;
  border-radius: 999px;
  color: #6b6560;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.gallery-main:hover .gallery-zoom-hint { opacity: 1; }
.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #ded8d1;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
}
.gallery-nav:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.gallery-nav[hidden] { display: none; }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-expand {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid #ded8d1;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.gallery-expand:hover { background: #fff; transform: translateY(-1px); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.gallery-thumb {
  overflow: hidden;
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 9px 9px 22px;
  border: 1px solid #e3ded8;
  border-radius: 15px;
  background: #faf9f7;
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery-thumb img {
  transform: scale(var(--gallery-view-scale, 1));
  transform-origin: var(--gallery-view-origin, 50% 50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.gallery-thumb-label {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  overflow: hidden;
  color: #706a64;
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-thumb.is-actual .gallery-thumb-label { color: var(--green); }
.gallery-thumb.is-active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: #fff;
}
.gallery-thumb:focus-visible { outline: 3px solid rgba(213,30,49,.2); outline-offset: 2px; }
.gallery-dots { display: none; justify-content: center; gap: 6px; margin-top: 13px; }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c9c3bc; transition: .2s ease; }
.gallery-dots i.is-active { width: 18px; border-radius: 99px; background: var(--ink); }
.media-note { min-height: 20px; margin: 12px 2px 0; color: #756f69; font-size: 11px; line-height: 1.55; }
.media-note.is-actual { color: var(--green); font-weight: 700; }

/* Product information / purchase */
.detail-info { min-width: 0; padding-top: 10px; }
.detail-intro { min-width: 0; }
.product-heading-row { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.brand-label { margin: 0 0 8px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.detail-info h1 { margin: 0; font-size: clamp(43px, 4.5vw, 66px); line-height: .94; letter-spacing: -.065em; }
.product-badge {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 8px 10px;
  border: 1px solid #d9e9e2;
  border-radius: 999px;
  color: var(--green);
  background: #f0f8f5;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead { max-width: 570px; margin: 20px 0 18px; color: #625d58; font-size: 15px; line-height: 1.65; }
.product-proof { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.product-proof span { padding: 7px 9px; border-radius: 999px; color: #403b37; background: var(--cream); font-size: 10px; font-weight: 800; }

.purchase-card {
  margin: 0 0 26px;
  padding: 19px;
  border: 1px solid #ded8d1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25,19,16,.10);
}
.inventory-status-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; min-height: 22px; margin-bottom: 8px; }
.inventory-stock-note,
.selected-unit-photo-status { font-size: 11px; font-weight: 800; }
.inventory-stock-note { color: #8a292f; }
.inventory-stock-note.available { color: var(--green); }
.selected-unit-photo-status { color: #756f69; }
.selected-unit-photo-status.is-actual { color: var(--green); }
.selected-configuration { margin: 0; color: #5f5a55; font-size: 12px; line-height: 1.5; }
.purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
  padding: 16px 0 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.purchase small { display: block; margin-bottom: 4px; color: #77716b; font-size: 10px; font-weight: 700; }
.purchase strong { font-size: 31px; letter-spacing: -.04em; }
.purchase button {
  min-height: 53px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 11px 25px rgba(213,30,49,.22);
  cursor: pointer;
  font-weight: 800;
}
.purchase button:hover { background: var(--red-dark); transform: translateY(-1px); }
.purchase button:disabled { color: #77716b; background: #ddd9d4; box-shadow: none; cursor: not-allowed; transform: none; }
.purchase-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; }
.purchase-assurances span { display: flex; align-items: center; gap: 6px; color: #655f5a; font-size: 10px; font-weight: 700; line-height: 1.3; }
.purchase-assurances b { color: var(--green); }

.configuration-list { min-width: 0; overflow: visible; }
.product-variant-summary {
  margin: 0 0 8px;
  padding: 14px 15px;
  border-left: 3px solid var(--ink);
  color: #615b56;
  background: #faf9f7;
  font-size: 12px;
  line-height: 1.55;
}
.variant-change-notice {
  margin: 10px 0 0;
  padding: 12px 13px;
  border: 1px solid #ead5ae;
  border-radius: 12px;
  color: #6e511c;
  background: #fff9ed;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.variant-change-notice[hidden] { display: none; }
.choice { padding: 21px 0; border-bottom: 1px solid var(--line); }
.choice-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.choice h2 { margin: 0; font-size: 15px; letter-spacing: -.01em; }
.choice-heading > span { color: #78716b; font-size: 11px; font-weight: 700; }
.choice-buttons,
.color-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-buttons button,
.color-buttons button {
  position: relative;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d6d0c9;
  border-radius: 12px;
  color: #302d2b;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: .16s ease;
}
.choice-buttons button:hover,
.color-buttons button:hover { border-color: #8d8680; transform: translateY(-1px); }
.choice-buttons button.selected,
.color-buttons button.selected {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 8px 20px rgba(17,17,20,.15);
}
.choice-buttons button:focus-visible,
.color-buttons button:focus-visible,
.condition-buttons button:focus-visible,
.unit-buttons button:focus-visible { outline: 3px solid rgba(213,30,49,.2); outline-offset: 2px; }
.choice-buttons button[disabled],
.color-buttons button[disabled],
.condition-buttons button[disabled] { opacity: .34; cursor: not-allowed; transform: none; }
.color-buttons button { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.color-buttons button i { display: block; width: 18px; height: 18px; border: 1px solid rgba(0,0,0,.14); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.color-buttons button.selected i { border-color: rgba(255,255,255,.5); }
.help { margin: 10px 0 0; color: #6a645f; font-size: 11px; line-height: 1.55; }

.condition-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.condition-buttons button {
  min-height: 106px;
  display: block;
  padding: 15px;
  text-align: left;
  border: 1px solid #ded8d1;
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: .16s ease;
}
.condition-buttons button:hover { border-color: #8d8680; transform: translateY(-1px); }
.condition-buttons button.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 10px 24px rgba(17,17,20,.08); background: #faf9f7; }
.condition-buttons strong { display: block; margin-bottom: 5px; font-size: 13px; }
.condition-buttons span { display: block; color: var(--green); font-size: 10px; font-weight: 800; }
.condition-buttons small { display: block; margin-top: 8px; color: #6b6560; font-size: 10px; line-height: 1.42; }

.unit-buttons { display: grid; gap: 9px; }
.unit-buttons button {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid #d6d0c9;
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}
.unit-buttons button.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #faf9f7; }
.unit-buttons strong { display: block; margin-bottom: 3px; font-size: 12px; }
.unit-buttons small { color: #6f6963; font-size: 10px; }
.unit-buttons em { font-style: normal; font-size: 13px; font-weight: 900; }

/* Lower information sections */
.product-information { padding: 86px 20px; background: #fff; border-top: 1px solid #eeeae5; }
.product-information__inner { width: min(1180px, 100%); margin: auto; }
.information-heading { max-width: 720px; margin-bottom: 34px; }
.product-seo-eyebrow { margin: 0 0 10px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.information-heading h2,
.specification-panel h2,
.faq-panel h2,
.help-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; letter-spacing: -.052em; }
.information-heading > p:last-child { margin: 15px 0 0; color: #625d58; line-height: 1.65; }
.information-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.information-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.information-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; color: #fff; background: var(--ink); font-weight: 900; }
.information-card h3 { margin: 0 0 10px; font-size: 18px; }
.information-card p { margin: 0; color: #67615c; font-size: 13px; line-height: 1.65; }
.specification-panel,
.faq-panel {
  display: grid;
  grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr);
  gap: clamp(34px, 7vw, 90px);
  margin-top: 68px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}
.specification-list { margin: 0; }
.specification-list div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid #ded8d1; }
.specification-list div:last-child { border-bottom: 0; }
.specification-list dt { color: #746d67; font-size: 12px; }
.specification-list dd { margin: 0; text-align: right; font-size: 13px; font-weight: 800; }
.faq-panel { background: #fff; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { position: relative; padding: 17px 34px 17px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 15px; font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 0 18px; color: #67615c; font-size: 12px; line-height: 1.65; }
.help-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 68px;
  padding: 38px;
  border-radius: 24px;
  color: #fff;
  background: var(--ink);
}
.help-panel .product-seo-eyebrow { color: #ff7180; }
.help-panel p:last-child { max-width: 620px; margin: 14px 0 0; color: #c9c6c2; line-height: 1.65; }
.help-panel a { flex: 0 0 auto; min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; color: var(--ink); background: #fff; text-decoration: none; font-size: 12px; font-weight: 900; }

.product-seo-guide { padding: 82px 20px; background: var(--cream); }
.product-seo-guide__inner { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 72px; margin: auto; }
.product-seo-guide h2 { margin: 0 0 18px; font-size: clamp(34px,4vw,52px); line-height: 1.03; letter-spacing: -.055em; }
.product-seo-guide h3 { margin: 0 0 12px; font-size: 19px; }
.product-seo-guide p { margin: 0; color: #605e5b; line-height: 1.7; }
.product-seo-guide aside { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.product-seo-guide aside p + p { margin-top: 18px; }
.product-seo-guide a { color: var(--red); font-weight: 700; }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) 70px;
  align-items: center;
  padding: 24px;
  color: #fff;
  background: rgba(9,9,11,.94);
  backdrop-filter: blur(18px);
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox figure { min-width: 0; height: calc(100vh - 48px); display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 12px; margin: 0; overflow: hidden; }
.gallery-lightbox img { width: 100%; height: 100%; object-fit: contain; transform-origin: var(--gallery-view-origin, 50% 50%); transform: scale(var(--gallery-view-scale, 1)); }
.gallery-lightbox figcaption { text-align: center; color: #d8d4cf; font-size: 12px; }
.lightbox-close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; color: #fff; background: #ffffff0f; cursor: pointer; font-size: 28px; }
.lightbox-nav { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff30; border-radius: 50%; color: #fff; background: #ffffff0f; cursor: pointer; font-size: 34px; }
.lightbox-nav:hover,
.lightbox-close:hover { background: #fff; color: #111; }

#toast { position: fixed; z-index: 600; left: 50%; bottom: 24px; transform: translate(-50%,110px); padding: 13px 18px; border-radius: 999px; color: #fff; background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: .25s; font-size: 13px; }
#toast.show { transform: translate(-50%,0); }

.accessory-product-page .configuration-list { display: none; }
.accessory-product-page .gallery-stage img { mix-blend-mode: normal; }
.accessory-product-page #spec-storage,
.accessory-product-page #spec-color,
.accessory-product-page #spec-condition,
.accessory-product-page #spec-battery { color: #8d8680; }

.product-cart-open .purchase-card,
.product-cart-open .product-fixed-cart { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

@media (hover: none), (pointer: coarse) {
  .gallery-zoom-hint { display: none; }
  .gallery-main.is-hover-zoom .gallery-stage[data-view="overview"] img { transform: scale(var(--gallery-view-scale, 1)); }
}

@media (max-width: 1040px) {
  .information-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: minmax(0,1fr) minmax(370px,.8fr); gap: 38px; }
  .gallery-main { min-height: 480px; }
  .condition-buttons { grid-template-columns: 1fr; }
  .purchase-assurances { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .detail-shell { width: min(100% - 24px,720px); margin-top: 18px; margin-bottom: 42px; }
  .product-breadcrumb-row { margin-bottom: 14px; }
  .product-page-cart-button { min-height: 39px; padding: 7px 9px; }
  .product-page-cart-button > span { display: none; }
  .product-page-cart-button b { min-width: 20px; height: 20px; }
  .product-detail { grid-template-columns: 1fr; gap: 25px; }
  .product-gallery { position: static; }
  .gallery-topline { margin-inline: 4px; }
  .gallery-main { height: 440px; min-height: 0; border-radius: 22px; box-shadow: 0 14px 40px rgba(25,19,16,.08); }
  .gallery-stage { padding: 42px 30px 58px; }
  .gallery-stage img { width: min(100%,315px); height: 345px; max-height: none; }
  .gallery-nav { width: 39px; height: 39px; font-size: 26px; opacity: .9; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-expand { right: 12px; bottom: 12px; min-height: 36px; }
  .gallery-expand span { display: none; }
  .gallery-image-badge { left: 12px; bottom: 12px; max-width: calc(100% - 94px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .media-note { text-align: center; }
  .detail-info { padding-top: 0; padding-bottom: 112px; }
  .detail-info h1 { font-size: 43px; }
  .product-heading-row { align-items: center; }
  .purchase-card {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    margin: 0;
    padding: 12px 13px;
    border-radius: 17px;
    box-shadow: 0 18px 54px rgba(17,17,20,.22);
  }
  .purchase-card .inventory-status-row,
  .purchase-card .selected-configuration,
  .purchase-card .purchase-assurances { display: none; }
  .purchase-card .purchase { margin: 0; padding: 0; border: 0; align-items: center; }
  .purchase strong { font-size: 25px; }
  .purchase button { min-height: 49px; padding: 0 15px; }
  #toast { bottom: calc(104px + env(safe-area-inset-bottom)); transform: translate(-50%, 180px); }
  #toast.show { transform: translate(-50%, 0); }
  .condition-buttons { grid-template-columns: 1fr; }
  .product-information { padding: 58px 20px; }
  .information-grid { grid-template-columns: 1fr; }
  .information-card { min-height: 0; }
  .specification-panel,
  .faq-panel { grid-template-columns: 1fr; gap: 28px; margin-top: 38px; padding: 24px; }
  .help-panel { align-items: start; flex-direction: column; margin-top: 38px; padding: 28px; }
  .product-seo-guide { padding: 54px 20px; }
  .product-seo-guide__inner { grid-template-columns: 1fr; gap: 28px; }
  .gallery-lightbox { grid-template-columns: 46px minmax(0,1fr) 46px; padding: 12px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 28px; }
}

@media (max-width: 430px) {
  .gallery-main { height: 390px; }
  .gallery-stage img { height: 300px; }
  .detail-info h1 { font-size: 38px; }
  .product-badge { display: none; }
  .choice-buttons button,
  .color-buttons button { min-height: 41px; padding-inline: 11px; }
  .purchase { gap: 10px; }
  .purchase button { font-size: 12px; }
}

/* V100 – produktvy inspirerad av en tydlig, konfigurationsdriven refurb-butik */
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.detail-shell {
  width: min(1460px, calc(100% - 56px));
  margin-top: 24px;
  margin-bottom: 74px;
}

.product-breadcrumb-row {
  margin-bottom: 22px;
}

.product-detail {
  grid-template-columns: minmax(380px, 1.1fr) minmax(315px, 0.82fr) minmax(290px, 0.72fr);
  grid-template-areas:
    "intro config purchase"
    "gallery config purchase";
  column-gap: clamp(24px, 2.7vw, 42px);
  row-gap: 18px;
  align-items: start;
}

.detail-info {
  display: contents;
}

.detail-intro {
  grid-area: intro;
  padding: 2px 4px 0;
}

.product-gallery {
  grid-area: gallery;
}

.configuration-list {
  grid-area: config;
}

.purchase-card {
  grid-area: purchase;
}

.detail-info h1 {
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.brand-label {
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.product-badge {
  padding: 7px 9px;
  font-size: 9px;
}

.lead {
  max-width: 610px;
  margin: 12px 0 13px;
  font-size: 13px;
  line-height: 1.55;
}

.product-proof {
  margin: 0;
}

.product-proof span {
  padding: 6px 8px;
  border: 1px solid #ebe6e0;
  background: #faf9f7;
  font-size: 9px;
}

.product-gallery {
  position: sticky;
  top: 116px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-areas:
    "top top"
    "thumbs main"
    "note note";
  column-gap: 14px;
  align-items: start;
}

.gallery-topline {
  grid-area: top;
  margin-bottom: 7px;
}

.gallery-main {
  grid-area: main;
  height: min(510px, calc(100svh - 235px));
  min-height: 430px;
  border-color: #eeeae5;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #fbfaf8 58%, #f3f0ec 100%);
  box-shadow: 0 16px 48px rgba(25, 19, 16, 0.07);
}

.gallery-stage {
  padding: clamp(34px, 4vw, 58px);
}

.gallery-stage img {
  width: min(100%, 420px);
  max-height: 430px;
}

.gallery-thumbs {
  grid-area: thumbs;
  max-height: 510px;
  margin: 0;
  padding: 2px;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.gallery-thumb {
  flex: 0 0 74px;
  width: 72px;
  height: 74px;
  padding: 7px 7px 18px;
  border-radius: 11px;
}

.gallery-thumb-label {
  font-size: 7px;
}

.media-note {
  grid-area: note;
  margin-top: 9px;
}

.configuration-list {
  padding-top: 2px;
}

.product-variant-summary {
  margin-bottom: 10px;
  padding: 11px 12px;
  border: 1px solid #e9e4de;
  border-left: 3px solid var(--ink);
  border-radius: 9px;
  font-size: 11px;
}

.choice {
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  background: #fff;
}

.choice-heading {
  margin-bottom: 9px;
}

.choice h2 {
  font-size: 12px;
}

.choice-heading > span {
  font-size: 10px;
}

.choice-buttons,
.color-buttons {
  gap: 7px;
}

.choice-buttons button,
.color-buttons button {
  min-height: 40px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 11px;
}

.condition-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.condition-buttons button {
  min-height: 73px;
  padding: 11px;
  border-radius: 10px;
}

.condition-buttons strong {
  margin-bottom: 3px;
  font-size: 11px;
  line-height: 1.3;
}

.condition-buttons span {
  font-size: 9px;
  line-height: 1.35;
}

.condition-buttons small {
  display: none;
}

.help {
  margin-top: 7px;
  font-size: 10px;
}

.unit-buttons button {
  min-height: 56px;
  padding: 10px 12px;
}

.purchase-card {
  position: sticky;
  top: 116px;
  margin: 0;
  padding: 20px;
  border-color: #e2ddd7;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(25, 19, 16, 0.09);
}

.inventory-status-row {
  min-height: 20px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.selected-configuration {
  min-height: 38px;
  font-size: 11px;
}

.purchase {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 15px 0;
}

.purchase small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.purchase strong {
  color: var(--green);
  font-size: clamp(29px, 2.4vw, 38px);
}

.purchase button {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
}

.purchase-assurances {
  grid-template-columns: 1fr;
  gap: 9px;
}

.purchase-assurances span {
  font-size: 10px;
}

@media (min-width: 900px) and (max-width: 1180px) {
  .detail-shell {
    width: min(1120px, calc(100% - 38px));
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    grid-template-areas:
      "intro config"
      "gallery config"
      "gallery purchase";
    gap: 24px 30px;
  }

  .product-gallery {
    position: sticky;
    top: 104px;
  }

  .purchase-card {
    position: static;
  }
}

@media (max-width: 899px) {
  .detail-shell {
    width: min(760px, calc(100% - 32px));
  }

  .product-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "gallery"
      "config"
      "purchase";
    gap: 22px;
  }

  .product-gallery {
    position: static;
  }

  .purchase-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .detail-shell {
    width: min(100% - 24px, 720px);
    margin-top: 16px;
  }

  .product-detail {
    padding-bottom: 112px;
    grid-template-areas:
      "intro"
      "gallery"
      "config"
      "purchase";
  }

  .detail-info h1 {
    font-size: 38px;
  }

  .product-gallery {
    display: block;
  }

  .gallery-main {
    height: 430px;
    min-height: 0;
  }

  .gallery-thumbs {
    display: none;
  }

  .purchase-card {
    position: fixed;
    top: auto;
    height: auto;
  }

  .purchase-card .purchase {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .purchase-card .purchase > div {
    min-width: 0;
  }

  .purchase-card .purchase button {
    width: auto;
    white-space: nowrap;
  }

  .choice {
    padding: 13px;
  }

  .condition-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .product-detail {
    padding-bottom: 150px;
  }

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

  .purchase-card .purchase button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .detail-info h1 {
    font-size: 34px;
  }

  .gallery-main {
    height: 375px;
  }

  .condition-buttons {
    grid-template-columns: 1fr;
  }
}
