/* The model is the focus; the glass holds its controls and supporting data. */
#product { color: var(--ui-text, #1d1d1f); }
#product .detail-sheet { padding-block: 20px clamp(44px, 5vw, 76px); }
#product .back-link,
#product .source-link { color: var(--ui-muted, #62656b); font-size: .81rem; font-weight: 550; }
#product .back-link { min-height: 44px; }
#product .back-link:hover,
#product .source-link:hover { color: var(--ui-text, #1d1d1f); }
#product .product-layout {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "title" "gallery" "info";
  gap: 25px;
  margin-top: 9px;
}
#product .nameplate { padding: 0; text-align: center; }
#product .maker { justify-content: center; gap: 9px; }
#product .maker img { width: 27px; height: 27px; }
#product .maker p { color: var(--ui-muted, #62656b); font-size: .72rem; letter-spacing: .07em; }
#product .nameplate h1 { margin: 15px 0 10px; }
#product .product-lettering {
  width: min(84%, 590px);
  max-width: none;
  height: clamp(45px, 6vw, 79px);
  margin-inline: auto;
  object-position: center;
}
#product .edition { color: var(--ui-muted, #62656b); font-size: .96rem; font-weight: 450; }
#product .product-gallery { text-align: center; }
#product .product-view,
#lightbox .product-view {
  border: var(--ui-rim, 1px solid #1d1d1f08);
  border-radius: var(--ui-radius, 28px);
  background: radial-gradient(ellipse at 44% 35%, #fff 0%, #ffffff84 48%, #e9eef13b 100%);
  box-shadow: var(--ui-shadow, 0 8px 28px #25303b08);
}
#product .product-gallery > .product-view { aspect-ratio: 2.8; }
#product .photo-surface img,
#lightbox .photo-surface img { width: 95%; height: 90%; }
#product [data-angle=arte] .photo-surface img,
#lightbox [data-angle=arte] .photo-surface img { width: 100%; height: 100%; }
#product [data-angle=detalhe] .photo-surface img,
#lightbox [data-angle=detalhe] .photo-surface img { width: auto; height: var(--wheel-zoom, 200cqh); }
#product .zoom-control,
#lightbox .icon-button {
  width: 46px;
  height: 46px;
  color: var(--ui-text, #1d1d1f);
  background: var(--ui-glass, linear-gradient(145deg, #ffffffb8, #ffffff50));
  border: var(--ui-rim, 1px solid #1d1d1f08);
  box-shadow: var(--ui-control-shadow, 0 3px 12px #25303b08);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
#product .zoom-control { position: absolute; right: 18px; bottom: 18px; }
#product .angle-list {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  max-width: 100%;
  gap: 4px;
  margin-top: 15px;
  padding: 5px;
  border: var(--ui-rim, 1px solid #1d1d1f08);
  border-radius: 25px;
  background: var(--ui-glass, linear-gradient(145deg, #ffffffb8, #ffffff50));
  box-shadow: var(--ui-control-shadow, 0 3px 12px #25303b08);
}
#product .angle-list button {
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 20px;
  color: var(--ui-muted, #62656b);
  font-size: .78rem;
  font-weight: 550;
  text-align: center;
  transition: background .2s, color .2s, box-shadow .2s;
}
#product .angle-list button:hover { color: var(--ui-text, #1d1d1f); background: #ffffff7d; }
#product .angle-list button[aria-pressed=true] {
  color: var(--ui-text, #1d1d1f);
  background: var(--ui-glass, #ffffffa8);
  border-color: transparent;
  box-shadow: var(--ui-control-shadow, 0 3px 12px #25303b08);
}
#product .miniature { width: 56px; height: 29px; background: transparent; border-radius: 7px; }
#product .dossier {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  padding-top: 11px;
}
#product .finish { margin: 0; font-size: .82rem; color: var(--ui-muted, #62656b); }
#product .finish i { width: 15px; height: 15px; border: 1px solid #1d1d1f12; box-shadow: none; }
#product .primary-specs { gap: 22px; padding: 0; border: 0; text-align: center; }
#product .primary-specs dt { color: var(--ui-muted, #62656b); font-weight: 450; font-size: .73rem; }
#product .primary-specs dd { color: var(--ui-text, #1d1d1f); margin-top: 7px; font-size: clamp(1.55rem, 2.5vw, 2.4rem); font-weight: 600; letter-spacing: -.055em; }
#product .primary-specs .qualifier { color: var(--ui-muted, #62656b); font-size: .68rem; }
#product .product-actions { justify-content: flex-end; gap: 8px; margin: 0; }
#product .product-actions a {
  min-height: 46px;
  padding: 12px 19px;
  border: var(--ui-rim, 1px solid #1d1d1f08);
  border-radius: 999px;
  color: var(--ui-text, #1d1d1f);
  background: var(--ui-glass, linear-gradient(145deg, #ffffffb8, #ffffff50));
  box-shadow: var(--ui-control-shadow, 0 3px 12px #25303b08);
  font-family: inherit;
  font-size: .83rem;
  font-weight: 600;
}
#product .product-actions a:hover { background: var(--ui-glass, #ffffffa8); color: var(--ui-text, #1d1d1f); box-shadow: var(--ui-control-shadow, 0 3px 12px #25303b08); }
#product .specifications {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(35px, 8vw, 120px);
  padding-block: clamp(35px, 5vw, 70px) clamp(50px, 7vw, 100px);
  border-top: 1px solid #1d1d1f0d;
}
#product .spec-heading .eyebrow { margin-bottom: 12px; color: var(--ui-muted, #62656b); letter-spacing: .045em; font-size: .73rem; }
#product .spec-heading h2 { color: var(--ui-text, #1d1d1f); font-size: clamp(2rem, 3.5vw, 3.35rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.08; }
#product #design-note { color: var(--ui-muted, #62656b); font-size: 1rem; line-height: 1.65; margin-block: 18px; }
#product .numbers { min-width: 0; }
#product .other-specs {
  padding: 5px 25px;
  border: var(--ui-rim, 1px solid #1d1d1f08);
  border-radius: var(--ui-radius, 28px);
  background: var(--ui-glass, linear-gradient(145deg, #ffffffb8, #ffffff50));
  box-shadow: var(--ui-shadow, 0 8px 28px #25303b08);
}
#product .other-specs > div { padding: 20px 0; border-color: #1d1d1f0b; gap: 24px; }
#product .other-specs > div:last-child { border: 0; }
#product .other-specs dt { color: var(--ui-muted, #62656b); font-size: .81rem; font-weight: 450; }
#product .other-specs dd { color: var(--ui-text, #1d1d1f); font-size: .88rem; font-weight: 550; overflow-wrap: anywhere; }
#product .numbers small { color: var(--ui-muted, #62656b); margin: 15px 25px 0; font-size: .72rem; }
#lightbox {
  width: min(1180px, calc(100vw - 40px));
  padding: 18px;
  border: var(--ui-rim, 1px solid #1d1d1f08);
  border-radius: 34px;
  color: var(--ui-text, #1d1d1f);
  background: #f7f8f8e8;
  box-shadow: var(--ui-shadow, 0 8px 28px #25303b08);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
}
#lightbox::backdrop { background: #dce1e8a6; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
#lightbox .lightbox-head { padding: 0 2px 16px 12px; }
#lightbox .lightbox-head h2 { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.035em; }
#lightbox #large-scene { height: clamp(180px, 57dvh, 620px); }
#lightbox .lightbox-controls { gap: 15px; margin-top: 16px; }
#lightbox .lightbox-controls span { color: var(--ui-muted, #62656b); font-size: .82rem; font-weight: 500; }
#missing .button { border-radius: 999px; }
#product :is(a, button):focus-visible,
#lightbox button:focus-visible { outline: 1.5px solid var(--ui-muted, #62656b); outline-offset: 3px; }
@media (max-width: 1100px) {
  #product .dossier { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  #product .finish { grid-column: 1 / -1; justify-content: center; }
  #product .product-actions { justify-content: center; }
}
@media (max-width: 800px) {
  #product .detail-sheet { padding-block: 10px 38px; }
  #product .product-layout { gap: 21px; margin-top: 10px; }
  #product .product-lettering { width: min(91%, 520px); height: clamp(44px, 9vw, 68px); }
  #product .edition { max-width: 34ch; margin-inline: auto; font-size: .88rem; }
  #product .product-gallery > .product-view { aspect-ratio: 2.1; }
  #product .zoom-control { right: 10px; bottom: 10px; width: 44px; height: 44px; }
  #product .angle-list { display: grid; width: min(100%, 490px); margin: 13px auto 0; border-radius: 25px; }
  #product .angle-list button { flex-direction: column; gap: 5px; padding: 9px 4px; font-size: .72rem; line-height: 1.25; }
  #product .miniature { width: 59px; height: 25px; }
  #product .dossier { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 2px; }
  #product .finish { grid-column: auto; }
  #product .primary-specs { gap: 10px; padding: 0; }
  #product .primary-specs dd { font-size: clamp(1.5rem, 5.3vw, 2.3rem); }
  #product .primary-specs dt { font-size: .68rem; }
  #product .product-actions { gap: 9px; }
  #product .product-actions a { padding-inline: 19px; font-size: .8rem; }
  #product .specifications { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 35px 50px; }
  #product .spec-heading { text-align: center; }
  #product .spec-heading h2 { font-size: 2.2rem; }
  #product #design-note { font-size: .93rem; max-width: 48ch; margin: 15px auto; }
  #product .other-specs { padding-inline: 21px; }
  #product .other-specs > div { grid-template-columns: minmax(75px, .8fr) minmax(0, 1.2fr); gap: 18px; padding-block: 18px; }
  #product .numbers small { margin-inline: 15px; text-align: center; }
  #lightbox { width: calc(100vw - 18px); padding: 12px; border-radius: 28px; }
  #lightbox .lightbox-head { padding: 0 0 12px 5px; }
  #lightbox .product-view { border-radius: 22px; }
}
@media (max-width: 370px) {
  #product .product-actions { display: flex; }
  #product .product-actions a { padding-inline: 13px; font-size: .75rem; }
  #product .product-gallery > .product-view { aspect-ratio: 1.75; }
  #product .primary-specs { gap: 7px; }
  #product .other-specs { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #product *, #lightbox * { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  html:not([data-glass-preview=full]) :is(#product .product-view, #product .angle-list, #product .other-specs, #lightbox) { background: #f8f9fa; }
}
@media (forced-colors: active) {
  #product .product-view, #product .angle-list, #product .other-specs, #product .product-actions a, #lightbox {
    color: CanvasText; background: Canvas; border: 1px solid ButtonText; box-shadow: none;
  }
  #product .angle-list button[aria-pressed=true] { border: 1.5px solid Highlight; }
  #product .product-lettering { display: none; }
  #product #product-name { position: static; clip-path: none; width: auto; height: auto; font-size: 2rem; }
}
