#detail { max-width: 1340px; padding-top: clamp(21px, 2.3vw, 40px); }
.pdp-crumbs { display:flex; gap:9px; align-items:center; flex-wrap:wrap; color:var(--muted); font-size:.9rem; margin-bottom:21px; }
.pdp-crumbs svg { width:12px; height:12px; color:#a2988b; }
.pdp-crumbs a:hover, .pdp-links a:hover, .detail-link:hover { text-decoration:underline; text-underline-offset:4px; }
.pdp-crumbs [aria-current] { color:var(--ink); }
.pdp-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); grid-template-areas:"gallery heading" "gallery purchase"; grid-template-rows:auto 1fr; column-gap:clamp(26px,4.4vw,76px); align-items:start; }
.detail-gallery { grid-area:gallery; min-width:0; --tint:#e7dbaa; }
.detail-gallery[data-brand=lemonita] { --tint:#f2da85; }
.detail-gallery[data-brand=retro] { --tint:#e7bda9; }
.detail-gallery[data-brand=double-force] { --tint:#abbfce; }
.detail-gallery[data-product=lemonita-mojito] { --tint:#ccd6b0; }
.detail-studio { position:relative; overflow:hidden; isolation:isolate; width:100%; aspect-ratio:1.42; border-radius:11px; background:var(--tint) url('media/detail-studio.webp') center center / 100% 100% no-repeat; }
.detail-studio::before { content:""; position:absolute; inset:0; background:var(--tint); opacity:.34; mix-blend-mode:multiply; pointer-events:none; }
.studio-brand { position:absolute; z-index:2; left:5%; top:6%; max-width:21%; max-height:10%; object-fit:contain; }
.studio-item { position:absolute; display:block; min-width:0; min-height:0; max-width:none; object-fit:contain; object-position:center bottom; filter:drop-shadow(3px 5px 2px #553c2024); }
.studio-item[data-photo=unit] { width:62%; height:72%; bottom:12%; left:19%; z-index:2; }
.studio-shade { position:absolute; left:39%; bottom:11%; width:26%; height:2.7%; border-radius:50%; background:#5d472e55; filter:blur(4px); }
.detail-studio[data-view=set] .studio-item[data-photo=unit] { left:64.5%; width:25%; height:60%; bottom:13%; }
.detail-studio[data-view=set] .studio-item[data-photo=case] { width:65%; height:56%; left:6%; bottom:16.5%; }
.detail-studio[data-view=set] .studio-shade { left:10%; width:73%; bottom:13.5%; height:4%; }
.detail-studio[data-view=case] .studio-item[data-photo=case] { left:10%; width:80%; height:62%; bottom:17%; }
.detail-studio[data-view=case] .studio-shade { left:14%; width:72%; bottom:16%; height:3%; }
.detail-studio[data-view=unit] [data-photo=case], .detail-studio[data-view=case] [data-photo=unit] { display:none; }
.round-tool { display:grid; place-items:center; width:40px; height:40px; border:1px solid #d5cdbb; border-radius:50%; color:var(--wine); background:#fffdf5ed; }
.round-tool:hover { background:#fff; border-color:var(--wine); }
.round-tool svg { width:18px; height:18px; }
#gallery-zoom { position:absolute; z-index:3; top:15px; right:15px; }
.photo-choices { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
.photo-choices button { display:flex; align-items:center; gap:8px; padding:3px 12px 3px 7px; min-height:45px; border:1px solid var(--line); border-radius:6px; background:#fdfbf7; font-size:.9rem; font-weight:700; }
.photo-choices img { width:28px; height:30px; object-fit:contain; }
.set-thumb { position:relative; display:block; width:29px; height:29px; flex:none; }
.photo-choices .set-thumb img { position:absolute; bottom:3px; left:0; width:22px; height:17px; object-position:center bottom; }
.photo-choices .set-thumb img+img { bottom:2px; left:auto; right:0; width:10px; height:24px; }
.photo-choices button[aria-pressed=true] { border-color:var(--wine); color:var(--wine); background:#f7ece9; box-shadow:inset 0 0 0 1px var(--wine); }
.pdp-heading { grid-area:heading; padding-top:7px; }
.pdp-heading .eyebrow { color:var(--wine); font-size:.76rem; }
.pdp-heading h1 { font-size:clamp(2.6rem,4.3vw,4.8rem); line-height:1.03; font-weight:700; letter-spacing:-.065em; margin:13px 0 23px; text-wrap:balance; }
.pdp-heading h1 em { color:var(--wine); font-family:var(--serif); font-style:italic; font-weight:400; letter-spacing:-.045em; }
.detail-purchase { grid-area:purchase; min-width:0; }
.pdp-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 24px; gap:10px; }
.pdp-facts div { padding:0 0 0 16px; border-left:1px solid #d3ccbe; }
.pdp-facts div:first-child { padding-left:0; border:0; }
.pdp-facts dt, .field-caption { display:block; color:var(--muted); font-size:.87rem; }
.pdp-facts dd { margin:3px 0 0; font-size:clamp(.97rem,1.4vw,1.3rem); font-weight:700; letter-spacing:-.03em; }
.detail-orderbox { background:#fffdf8; border:1px solid var(--line); border-radius:9px; padding:clamp(16px,1.8vw,26px); }
.detail-pricing { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.detail-pricing strong { font-size:clamp(1.2rem,1.7vw,1.65rem); line-height:1.15; letter-spacing:-.035em; display:block; margin:3px 0; }
.detail-pricing small { color:var(--muted); font-size:.85rem; }
.detail-link { color:var(--wine); font-size:.92rem; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.qty-title { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 10px; padding:17px 0 9px; font-size:.92rem; }
.qty-title label { font-weight:700; }
.qty-title output { font-size:.88rem; color:var(--muted); }
.order-controls { display:flex; align-items:stretch; gap:12px; }
.pdp-stepper { display:flex; flex:0 0 auto; align-items:center; background:#fff; border:1px solid #c4bbaf; border-radius:5px; }
.pdp-stepper button { background:none; border:0; height:44px; width:34px; font-size:1.25rem; color:var(--wine); font-weight:700; }
.pdp-stepper button:disabled { color:#a69f96; cursor:default; }
.pdp-stepper input { min-width:0; width:42px; height:44px; text-align:center; color:var(--ink); background:transparent; border:0; font-size:1rem; font-weight:700; appearance:textfield; -moz-appearance:textfield; }
.pdp-stepper input::-webkit-inner-spin-button, .pdp-stepper input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.add-detail { flex:1; font-size:.98rem; gap:8px; padding:11px 10px; }
.add-detail svg, .pdp-links svg, .detail-file svg { width:18px; height:18px; flex-shrink:0; }
.pdp-links { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:16px; }
.pdp-links a { display:inline-flex; align-items:center; gap:7px; color:var(--wine); font-size:.91rem; font-weight:700; }
.detail-specs { border-top:1px solid var(--line); padding-top:28px; margin-top:35px; }
.detail-specs h2, .detail-materials h2 { font-size:clamp(1.8rem,2.65vw,3rem); }
.detail-specs h2 span, .detail-materials h2 span { color:var(--wine); }
.detail-specs dl { margin:12px 0; }
.detail-materials { margin-top:32px; }
.detail-files { display:grid; grid-template-columns:repeat(auto-fit,minmax(195px,1fr)); gap:10px; }
.detail-file { display:flex; align-items:center; gap:9px; padding:13px 14px; border:1px solid var(--line); border-radius:5px; color:var(--wine); font-weight:700; background:#fffdf9; font-size:.93rem; }
.detail-file:hover { border-color:var(--wine); }
.detail-file small { margin-left:auto; color:var(--muted); font-size:.76rem; }
#photo-dialog { padding:0; border:0; border-radius:12px; width:min(900px,92vw); max-height:90svh; max-width:92vw; background:var(--cream); color:var(--ink); }
#photo-dialog::backdrop { background:rgba(24,19,17,.7); }
.modal-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; }
#studio-enlarged { height:min(65vw,70svh); aspect-ratio:auto; border-radius:0; }
@media(max-width:920px) and (min-width:711px) {
  .pdp-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 22px; }
  .detail-studio { aspect-ratio:1.03; }
  .pdp-heading h1 { font-size:2.7rem; }
  .pdp-facts div { padding-left:8px; }
  .pdp-stepper button { width:27px; }
  .pdp-stepper input { width:35px; }
  .add-detail svg { display:none; }
}
@media(max-width:710px) {
  #detail { padding-top:18px; }
  .pdp-crumbs { font-size:.83rem; gap:6px; margin-bottom:18px; }
  .pdp-layout { display:flex; flex-direction:column; gap:0; align-items:stretch; }
  .pdp-heading { order:-1; padding:0; }
  .pdp-heading h1 { font-size:clamp(2.4rem,9vw,3.6rem); margin:7px 0 15px; }
  .pdp-heading .eyebrow { font-size:.7rem; }
  .detail-studio { aspect-ratio:1.52; }
  .photo-choices { margin-top:8px; gap:6px; }
  .photo-choices button { font-size:.82rem; min-height:39px; gap:4px; padding:3px 8px; }
  .photo-choices img { width:22px; height:26px; }
  #gallery-zoom { top:9px; right:9px; }
  .round-tool { width:35px; height:35px; }
  .detail-purchase { margin-top:20px; }
  .pdp-facts { gap:6px; margin-bottom:16px; }
  .pdp-facts div { padding-left:10px; }
  .pdp-facts dt { font-size:.8rem; }
  .order-controls { gap:8px; }
  .pdp-stepper button { width:28px; }
  .pdp-stepper input { width:37px; }
  .add-detail { font-size:.92rem; }
  .detail-specs { padding-top:20px; margin-top:25px; }
  .detail-files { grid-template-columns:1fr 1fr; }
  .detail-file { font-size:.84rem; flex-wrap:wrap; gap:5px; padding:11px 9px; }
  #studio-enlarged { height:min(72svh,98vw); }
}
@media(max-width:365px) { .add-detail svg { display:none; } .pdp-stepper button { width:25px; } .detail-files { grid-template-columns:1fr; } }
@media print { .pdp-crumbs, .photo-choices, #gallery-zoom, #add, .pdp-links, .detail-link, #photo-dialog { display:none; } .detail-studio { max-height:220px; } .detail-orderbox { border:0; } }
