/* Product compositions consume the existing Zefuo tokens and controls. */
.product-intro { padding-top:24px; padding-bottom:48px; }
.product-overview { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-bottom:32px; border-bottom:1px solid var(--color-border); }
.product-identity { display:flex; align-items:center; gap:18px; min-width:0; }
.product-identity-icon { display:grid; place-items:center; flex:0 0 56px; width:56px; height:56px; border-radius:15px; overflow:hidden; color:white; font:600 38px 'Weddinger Fraunces',Georgia,serif; }
.product-identity-icon img { display:block; width:100%; height:100%; object-fit:cover; }
.product-identity .eyebrow { color:var(--color-text-secondary); font-size:10px; letter-spacing:1.2px; margin-bottom:6px; }
.product-identity h1 { font-size:clamp(25px,3vw,36px); letter-spacing:-.045em; font-weight:600; line-height:1.15; }
.product-lead-grid { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:64px; padding-top:40px; }
.product-tagline { font-size:clamp(38px,4.6vw,60px); line-height:1.1; letter-spacing:-.05em; font-weight:500; }
.product-lead-grid > p { font-size:var(--text-body); line-height:1.9; color:var(--color-text-secondary); max-width:470px; }
.product-gallery-wrap { padding-bottom:40px; }
.product-gallery { min-width:0; padding:32px 0 0; border-radius:24px; background:transparent; border:1px solid var(--color-border); overflow:hidden; }
.gallery-slides { position:relative; display:flex; justify-content:safe center; gap:40px; padding:12px 40px 28px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:40px; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:var(--color-border-control) transparent; }
.product-gallery-slide { flex:0 0 248px; min-width:0; margin:0; scroll-snap-align:center; }
.product-screen-window { width:100%; aspect-ratio:9 / 20; margin:0; background:var(--color-paper); border:5px solid var(--color-paper); border-radius:24px; overflow:hidden; box-shadow:0 12px 22px -16px #3e2e2870,0 0 0 1px #3e2e2814; }
.product-gallery-image,.product-screen-window > .product-capture { display:block; width:100%; height:100%; object-fit:contain; }
.product-screen-window.is-illustration { padding:20px 4px; }
.product-gallery-slide figcaption { margin-top:22px; text-align:left; }
.product-gallery-slide figcaption strong { display:flex; align-items:center; gap:10px; font-size:var(--text-small); font-weight:600; }
.product-gallery-slide figcaption strong > span { font-weight:450; font-size:11px; color:var(--color-text-secondary); }
.product-gallery-slide figcaption p { margin-top:8px; font-size:11px; line-height:1.65; color:var(--color-text-secondary); }
.gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0; padding:18px 36px; border-top:1px solid var(--color-border); }
.gallery-navigation { order:2; display:flex; align-items:center; gap:10px; }
.gallery-navigation .icon-button { border:1px solid var(--color-border-control); border-radius:50%; background:transparent; width:44px; height:44px; }
.gallery-navigation .icon-button:hover { background:var(--color-paper); }
.gallery-previous .icon { transform:rotate(180deg); }
.gallery-count { min-width:42px; text-align:center; font-size:12px; font-variant-numeric:tabular-nums; color:var(--color-text-secondary); }
.gallery-selectors { display:flex; flex-wrap:wrap; gap:8px 20px; }
.gallery-selector { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0; border:0; background:transparent; font-size:14px; color:var(--color-text-secondary); border-bottom:1px solid transparent; }
.gallery-selector > span { font-size:10px; }
.gallery-selector[aria-pressed=true] { color:var(--color-text); border-bottom-color:currentColor; font-weight:650; }
.gallery-placeholder { width:100%; aspect-ratio:9 / 20; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:24px; border:1px dashed var(--color-border-control); border-radius:24px; color:var(--color-text-secondary); background:color-mix(in srgb,var(--color-paper) 65%,transparent); }
.gallery-placeholder .eyebrow { font-size:9px; letter-spacing:1.5px; }
.gallery-placeholder > .icon { width:28px; height:28px; }
.gallery-placeholder strong { font-size:20px; font-weight:500; color:var(--color-text); }
.gallery-placeholder > span:last-child { font-size:12px; }
.product-detail > .page-section { padding-top:48px; padding-bottom:48px; }
.product-detail .page-card .eyebrow { margin-bottom:16px; }
@media (max-width:1000px) {
  .product-lead-grid { gap:36px; }
  .gallery-controls { gap:16px; padding-inline:24px; }
  .gallery-selectors { gap:8px 14px; }
}
@media (max-width:700px) {
  .product-intro { padding-top:20px; padding-bottom:32px; }
  .product-overview { align-items:flex-start; flex-direction:column; gap:18px; padding-bottom:24px; }
  .product-identity { gap:14px; }
  .product-identity h1 { font-size:27px; }
  .product-identity-icon { flex-basis:48px; width:48px; height:48px; border-radius:12px; }
  .product-lead-grid { grid-template-columns:1fr; gap:22px; padding-top:28px; }
  .product-tagline { font-size:clamp(36px,9.5vw,48px); }
  .product-lead-grid > p { font-size:var(--text-body-mobile); line-height:1.85; }
  .product-gallery-wrap { padding-bottom:16px; }
  .product-gallery { padding-top:24px; border-radius:20px; }
  .gallery-slides { gap:22px; padding:10px 22px 24px; scroll-padding-inline:22px; }
  .product-gallery-slide { flex-basis:min(248px,calc(100vw - 114px)); }
  .gallery-controls { flex-direction:column; align-items:stretch; gap:10px; padding:12px 18px; }
  .gallery-navigation { order:0; justify-content:space-between; }
  .gallery-selectors { display:none; }
  .product-detail > .page-section { padding-block:32px; }
}
@media (prefers-reduced-motion:reduce) { .gallery-slides { scroll-behavior:auto; } }
