.product-page {
  --product-ink: #171819;
  --product-muted: #575954;
  --product-line: #d6d6cd;
  --product-paper: #f7f6f1;
  --product-orange: #ff6727;
  background: var(--product-paper);
  color: var(--product-ink);
}
.product-page [hidden] { display: none !important; }
.product-page :is(button, a, input):focus-visible, .product-lightbox :focus-visible {
  outline: 3px solid #2173ad;
  outline-offset: 3px;
}
.crumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem;
  padding: clamp(1.1rem, 1.7vw, 1.7rem) 0;
  font-size: .8125rem;
  color: var(--product-muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }
.crumbs i { color: #91948b; font-style: normal; }
.crumbs [aria-current] { color: var(--product-ink); font-weight: 650; }
#product-missing { padding: 2rem 0 6rem; }

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .92fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "gallery heading" "gallery buy";
  column-gap: clamp(2rem, 5vw, 5.5rem);
  row-gap: clamp(1.25rem, 1.7vw, 1.75rem);
  align-items: start;
}
.product-gallery { grid-area: gallery; min-width: 0; }
#zoom-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e0d9d0;
  cursor: zoom-in;
}
#main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.08;
  object-fit: cover;
}
.photo-index, .zoom-symbol {
  position: absolute;
  display: grid;
  place-items: center;
  bottom: 1rem;
  border-radius: 100px;
  color: var(--product-ink);
  background: #fcfbf6f5;
}
.photo-index {
  left: 1rem;
  padding: .32rem .76rem;
  font-size: .8125rem;
  line-height: 1.35;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.zoom-symbol { right: 1rem; width: 2.7rem; height: 2.7rem; }
.zoom-symbol .icon { width: 1.1rem; height: 1.1rem; }
#zoom-main:hover .zoom-symbol { background: var(--product-ink); color: white; }
.thumbnails { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.thumbnails button {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .22rem .8rem .22rem .22rem;
  background: transparent;
  border: 1px solid var(--product-line);
  color: var(--product-muted);
  font: inherit;
  font-size: .8125rem;
  font-weight: 590;
}
.thumbnails button:hover { border-color: #92958d; }
.thumbnails button[aria-pressed=true] { border-color: var(--product-ink); color: var(--product-ink); }
.thumbnails img { display: block; width: 2.85rem; height: 2.35rem; object-fit: cover; }

.product-heading { grid-area: heading; min-width: 0; }
.product-classification {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin: .15rem 0 .85rem;
  color: var(--product-muted);
  font-size: .875rem;
  font-weight: 560;
  line-height: 1.3;
}
.product-classification span + span { display: flex; align-items: center; gap: .65rem; }
.product-classification span + span:before { content: ''; background: #92948d; width: 4px; height: 4px; border-radius: 50%; }
.product-heading h1, .product-spec-head h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.027em;
  line-height: .91;
  margin: 0;
}
.product-heading h1 { font-size: clamp(3.7rem, 5.1vw, 5.8rem); overflow-wrap: anywhere; }
.product-intro {
  max-width: 46ch;
  margin: 1.1rem 0 .6rem;
  color: var(--product-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.spec-link {
  font-size: .875rem;
  font-weight: 650;
  text-decoration-color: #9c9c91;
  text-underline-offset: .23em;
}
.spec-link:hover { text-decoration-color: var(--product-orange); }
.product-buy { grid-area: buy; min-width: 0; border-top: 1px solid var(--product-line); padding-top: 1.2rem; }
.sizes { padding: 0; border: 0; margin: 0; min-width: 0; }
.sizes legend, .delivery h2 {
  font: 700 1.0625rem/1.3 "DM Sans", Arial, sans-serif;
  letter-spacing: -.025em;
  padding: 0;
}
#size-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.75rem), 1fr)); gap: .5rem; margin-top: .7rem; }
.size-option { position: relative; isolation: isolate; }
.size-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.size-option span {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .78rem .85rem;
  border: 1px solid #cdcdc3;
  color: var(--product-ink);
  line-height: 1.15;
}
.size-option b { font-size: 1.1rem; font-weight: 720; letter-spacing: -.035em; }
.size-option small { font-size: .8125rem; color: var(--product-muted); }
.size-option input:hover + span { border-color: #777970; }
.size-option input:checked + span { background: var(--product-ink); border-color: var(--product-ink); color: #fff; }
.size-option input:checked + span small { color: #d6d6cc; }
.size-option input:checked + span:after {
  position: absolute;
  right: .57rem;
  top: .6rem;
  content: '';
  width: .49rem;
  height: .28rem;
  border: solid var(--product-orange);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.size-option input:focus-visible + span { outline: 3px solid #2173ad; outline-offset: 3px; }
.price-line { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: baseline; margin: 1.35rem 0 .74rem; }
.price-line strong { font-size: clamp(2rem, 2.8vw, 2.65rem); font-weight: 740; line-height: 1.05; letter-spacing: -.065em; }
.price-line span { color: var(--product-muted); font-size: .875rem; }
.pdp-add.vora-purchase-button {
  width: 100%;
  min-height: 3.45rem;
  padding: .85rem 1rem;
  border-radius: 2px;
  background: var(--product-orange);
  color: #161819;
  font-size: 1rem;
}
.pdp-add.vora-purchase-button:hover { background: #fc783e; }
.pdp-add .icon { width: 1.15rem; height: 1.15rem; }
.delivery {
  margin-top: 1.4rem;
  padding: 1.05rem 1.2rem 1.15rem;
  border: 1px solid var(--product-line);
  background: #f0f0e9;
}
.delivery h2 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .85rem; font-size: .975rem; }
.delivery h2 svg { width: 1.25rem; height: 1.25rem; }
.delivery label { display: block; color: var(--product-muted); font-size: .8125rem; font-weight: 540; margin-bottom: .35rem; }
.cep-fields { display: flex; gap: .5rem; }
.cep-fields input {
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  padding: .48rem .7rem;
  font: inherit;
  font-size: 1rem;
  color: var(--product-ink);
  border: 1px solid #bfc0b6;
  background: #fcfcf8;
  border-radius: 1px;
}
.cep-fields button {
  min-height: 2.65rem;
  border: 1px solid var(--product-ink);
  border-radius: 1px;
  background: transparent;
  padding: .45rem 1.05rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  color: var(--product-ink);
}
.cep-fields button:hover:enabled { background: var(--product-ink); color: white; }
.cep-fields button:disabled { color: var(--product-muted); }
.cep-fields input[aria-invalid=true] { border-color: #a42616; }
#cep-result:not(:empty) { border-top: 1px solid var(--product-line); margin-top: .85rem; padding-top: .77rem; font-size: .9rem; line-height: 1.45; }
#cep-result strong, #cep-result small { display: block; }
#cep-result p { margin: .25rem 0; }
#cep-result small { font-size: .8125rem; color: var(--product-muted); }

.product-spec {
  margin-top: clamp(2.7rem, 5.5vw, 6rem);
  padding: clamp(2.2rem, 3.8vw, 4.2rem) 0 clamp(3.5rem, 6.2vw, 6.25rem);
  border-top: 1px solid #bcbdb4;
}
.product-spec-head h2 { font-size: clamp(2.9rem, 4.15vw, 4.9rem); }
.product-spec-head h2 span { color: #c14a17; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 5.5rem); margin-top: clamp(1.5rem, 2.4vw, 2.4rem); align-items: start; }
.spec-grid h3 { margin: 0 0 1.15rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.035em; }
.technical-panel { padding: .3rem 0 0; }
.spec-list { margin: 0; border-top: 1px solid var(--product-line); }
.spec-list div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--product-line); font-size: .9375rem; line-height: 1.4; }
.spec-list dt { color: var(--product-muted); }
.spec-list dd { margin: 0; font-weight: 620; text-align: right; }
.nutrition-panel { padding: clamp(1.25rem, 2.2vw, 2.25rem); background: #1e201f; color: #f6f6ee; }
.nutrition-panel h3 { margin-bottom: 1.25rem; }
.nutrition-table { width: 100%; border-collapse: collapse; }
.nutrition-table :is(th, td) { padding: .7rem 0; font-size: .95rem; line-height: 1.35; font-weight: 570; border-block: 1px solid #4a4d48; text-align: left; }
.nutrition-table thead th { font-size: .8125rem; color: #d7d8ce; font-weight: 500; border-top: 2px solid #e9e9e1; }
.nutrition-table :is(td, th):last-child { text-align: right; }
.spec-note { margin: .85rem 0 0; color: #c6c8bc; font-size: .8125rem; line-height: 1.5; }
.spec-note:empty { display: none; }

.product-lightbox {
  max-width: min(95vw, 68rem);
  max-height: 94dvh;
  width: max-content;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #1b1d1b;
  color: #faf9f4;
}
.product-lightbox::backdrop { background: rgb(13 15 14 / 80%); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 1rem; }
.lightbox-bar strong, .lightbox-bar span { display: block; line-height: 1.3; }
.lightbox-bar strong { font-size: 1rem; }
.lightbox-bar span { font-size: .8125rem; color: #c8c9c1; margin-top: .15rem; }
.lightbox-controls { display: flex; gap: .55rem; align-items: center; }
.lightbox-controls button {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 1px solid #74776e;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  font-weight: 660;
}
.lightbox-controls button:hover, .lightbox-controls button[aria-pressed=true] { background: #f8f6f0; color: #181a18; }
.lightbox-stage {
  width: min(95vw, 68rem, calc((94dvh - 4.25rem) * 1.3333));
  height: auto;
  aspect-ratio: 4/3;
  overflow: auto;
  overscroll-behavior: contain;
  background: #e0d9d0;
}
.lightbox-stage img { display: block; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.lightbox-stage.is-magnified img { width: 200%; height: 200%; }

@media (min-width: 1600px) {
  .product-overview { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
@media (min-width: 781px) and (max-width: 970px) {
  .product-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.65rem; }
  .product-heading h1 { font-size: clamp(3.25rem, 5.75vw, 3.9rem); }
  .size-option span { padding: .68rem .55rem; }
  #size-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.65rem), 1fr)); }
}
@media (max-width: 780px) {
  .product-overview { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "heading" "gallery" "buy"; row-gap: 1.35rem; }
  .crumbs { padding: 1rem 0 1.25rem; gap: .5rem; }
  .product-classification { margin: 0 0 .6rem; }
  .product-heading h1 { font-size: clamp(3.35rem, 9vw, 4.8rem); }
  .product-intro { margin: .75rem 0 .4rem; max-width: 53ch; }
  #main-image { aspect-ratio: 1.4; }
  .thumbnails { margin-top: .55rem; }
  .product-buy { padding-top: 0; border: 0; }
  .product-spec { margin-top: 2.6rem; }
  .spec-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 430px) {
  .product-heading h1 { font-size: clamp(2.95rem, 12.6vw, 3.55rem); }
  .product-intro { font-size: .95rem; line-height: 1.5; }
  .photo-index, .zoom-symbol { bottom: .62rem; }
  .photo-index { left: .62rem; }
  .zoom-symbol { right: .62rem; width: 2.3rem; height: 2.3rem; }
  .thumbnails img { width: 2.35rem; height: 2rem; }
  .size-option span { padding: .7rem .55rem; }
  #size-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.9rem), 1fr)); gap: .4rem; }
  .delivery { padding: .9rem; }
  .crumbs { font-size: .75rem; }
  .price-line { margin: 1rem 0 .7rem; }
}
