/* ANSEIO ÍNTIMO — ETAPA 6 — SISTEMA ÚNICO DE DETALHE DE PRODUTO */
body.anseio-product-modal-open{overflow:hidden!important}
.anseio-product-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:clamp(10px,2vw,24px);background:var(--anseio-theme-overlay,rgba(0,0,0,.76))!important;backdrop-filter:blur(8px);overscroll-behavior:contain}
.anseio-product-panel{width:min(1040px,100%);max-height:min(920px,calc(100dvh - 20px));overflow:auto;border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface-elevated);color:var(--anseio-theme-text);box-shadow:var(--anseio-shadow-float);outline:none;scrollbar-gutter:stable}
.anseio-product-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(390px,1.05fr);min-height:640px}
.anseio-product-gallery{position:sticky;top:0;align-self:start;min-width:0;height:min(760px,calc(100dvh - 42px));display:grid;grid-template-rows:minmax(0,1fr) auto;background:var(--anseio-theme-surface-soft);border-right:1px solid var(--anseio-theme-border);overflow:hidden}
.anseio-product-stage{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;background:var(--anseio-theme-surface-soft)}
.anseio-product-stage img,.anseio-product-stage video{width:100%;height:100%;min-height:0;display:block;object-fit:cover;object-position:center;background:var(--anseio-theme-surface-soft)}
.anseio-product-gallery-arrow{position:absolute;top:50%;z-index:3;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:grid!important;place-items:center;border:1px solid color-mix(in srgb,var(--anseio-theme-border) 82%,transparent)!important;border-radius:6px!important;background:color-mix(in srgb,var(--anseio-theme-surface-elevated) 88%,transparent)!important;color:var(--anseio-theme-accent)!important;box-shadow:var(--anseio-shadow-soft)!important;font-size:30px!important;line-height:1!important;opacity:0;transform:translateY(-50%);transition:opacity .2s ease,transform .2s ease}
.anseio-product-gallery:hover .anseio-product-gallery-arrow,.anseio-product-gallery:focus-within .anseio-product-gallery-arrow{opacity:1}
.anseio-product-gallery-arrow--prev{left:12px}.anseio-product-gallery-arrow--next{right:12px}
.anseio-product-thumbs{position:absolute;left:12px;right:12px;bottom:12px;z-index:3;display:flex;justify-content:center;gap:7px;overflow-x:auto;padding:5px;background:color-mix(in srgb,var(--anseio-theme-page) 58%,transparent);border:1px solid color-mix(in srgb,var(--anseio-theme-border) 72%,transparent);border-radius:6px;backdrop-filter:blur(8px);scrollbar-width:thin}
.anseio-product-thumb{flex:0 0 52px;width:52px!important;height:68px!important;min-width:52px!important;min-height:68px!important;padding:0!important;overflow:hidden;border:1px solid var(--anseio-theme-border)!important;border-radius:4px!important;background:var(--anseio-theme-surface)!important;opacity:.66;box-shadow:none!important}
.anseio-product-thumb.is-active{opacity:1;border-color:var(--anseio-theme-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--anseio-theme-accent) 20%,transparent)!important}
.anseio-product-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.anseio-product-content{min-width:0;padding:clamp(26px,4vw,48px);display:flex;flex-direction:column}
.anseio-product-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}
.anseio-product-kicker{display:block;margin-bottom:8px;color:var(--anseio-theme-accent);font-family:var(--anseio-font-body);font-size:var(--anseio-text-xs);font-weight:700;letter-spacing:.16em;line-height:1.3;text-transform:uppercase}
.anseio-product-heading h2{margin:0;color:var(--anseio-theme-text);font-family:var(--anseio-font-display);font-size:clamp(1.7rem,3vw,2.65rem);font-weight:500;line-height:1.08;overflow-wrap:anywhere}
.anseio-product-favorite{min-height:42px!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;gap:7px;border:1px solid var(--anseio-theme-border)!important;border-radius:6px!important;background:transparent!important;color:var(--anseio-theme-accent)!important;box-shadow:none!important;white-space:nowrap}
.anseio-product-favorite span{font-size:1.2rem;line-height:1}.anseio-product-favorite b{font-size:var(--anseio-text-xs);font-weight:600}.anseio-product-favorite.is-active{background:color-mix(in srgb,var(--anseio-theme-accent) 10%,transparent)!important;border-color:var(--anseio-theme-accent)!important}
.anseio-product-price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin:20px 0 14px}.anseio-product-price-row del{color:var(--anseio-theme-muted);font-size:var(--anseio-text-sm)}.anseio-product-price-row strong{color:var(--anseio-theme-accent);font-family:var(--anseio-font-body);font-size:clamp(1.45rem,2.4vw,2rem);font-weight:700}
.anseio-product-description{margin:0 0 16px;color:var(--anseio-theme-muted);font-size:var(--anseio-text-sm);line-height:1.65}
.anseio-product-technical{margin:0 0 18px;padding:12px 14px;border:1px solid var(--anseio-theme-border);border-radius:6px;background:transparent}
.anseio-product-technical summary{cursor:pointer;color:var(--anseio-theme-accent);font-size:var(--anseio-text-sm);font-weight:600}.anseio-product-technical dl{display:grid;gap:8px;margin:12px 0 0}.anseio-product-technical dl div{display:grid;grid-template-columns:minmax(108px,.75fr) minmax(0,1.25fr);gap:12px;font-size:var(--anseio-text-xs);line-height:1.45}.anseio-product-technical dt{font-weight:600;text-transform:capitalize}.anseio-product-technical dd{margin:0;color:var(--anseio-theme-muted);overflow-wrap:anywhere}
.anseio-product-options{display:grid}.anseio-product-option-group{min-width:0;margin:0;padding:18px 0;border:0;border-top:1px solid var(--anseio-theme-border)}
.anseio-product-option-group legend{width:100%;padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--anseio-theme-text);font-size:var(--anseio-text-sm)}.anseio-product-option-group legend strong{font-weight:600}.anseio-product-option-group legend span{color:var(--anseio-theme-accent);font-size:var(--anseio-text-xs);font-weight:600;text-align:right}
.anseio-product-choice-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.anseio-product-choice{min-height:42px!important;padding:8px 12px!important;display:inline-flex!important;align-items:center!important;gap:8px;border:1px solid var(--anseio-theme-border)!important;border-radius:6px!important;background:var(--anseio-theme-surface)!important;color:var(--anseio-theme-text)!important;box-shadow:none!important;font-size:var(--anseio-text-xs)!important;font-weight:600!important;line-height:1.2!important}
.anseio-product-choice svg{width:24px;height:24px;flex:0 0 24px;border:1px solid color-mix(in srgb,var(--anseio-theme-text) 24%,transparent);border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.anseio-product-choice--size{min-width:46px!important;justify-content:center!important}.anseio-product-choice.is-selected{border-color:var(--anseio-theme-accent)!important;background:color-mix(in srgb,var(--anseio-theme-accent) 9%,var(--anseio-theme-surface))!important;color:var(--anseio-theme-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--anseio-theme-accent) 15%,transparent)!important}.anseio-product-choice.is-unavailable{opacity:.34;text-decoration:line-through;cursor:not-allowed}
.anseio-product-plus-toggle{margin-top:12px;min-height:40px!important;padding:0 14px!important;border:1px solid var(--anseio-theme-border)!important;border-radius:6px!important;background:transparent!important;color:var(--anseio-theme-accent)!important;box-shadow:none!important}.anseio-product-plus-toggle small{margin-left:7px;color:var(--anseio-theme-muted);font-weight:500}
.anseio-product-plus-list{padding:12px;border:1px dashed var(--anseio-theme-border);border-radius:6px;background:color-mix(in srgb,var(--anseio-theme-accent) 4%,transparent)}
.anseio-product-summary{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:4px;padding:12px 14px;border:1px solid var(--anseio-theme-border);border-radius:6px;background:color-mix(in srgb,var(--anseio-theme-surface-soft) 86%,transparent);color:var(--anseio-theme-muted);font-size:var(--anseio-text-xs);line-height:1.45}.anseio-product-summary b{color:var(--anseio-theme-text);font-weight:600}
.anseio-product-stock{min-height:22px;margin:12px 0;color:var(--anseio-theme-muted);font-size:var(--anseio-text-xs);font-weight:600;text-align:left}.anseio-product-stock.is-low{color:var(--anseio-theme-accent)}.anseio-product-stock.is-empty{color:#b00018}.anseio-product-stock.is-available{color:var(--anseio-theme-text)}
.anseio-product-purchase{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin-top:auto;padding-top:4px}
.anseio-product-quantity{height:48px;display:grid;grid-template-columns:42px 36px 42px;align-items:center;border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface);overflow:hidden}.anseio-product-quantity button{width:42px!important;height:46px!important;min-width:42px!important;min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--anseio-theme-accent)!important;box-shadow:none!important;font-size:1.25rem!important}.anseio-product-quantity output{text-align:center;color:var(--anseio-theme-text);font-size:var(--anseio-text-sm);font-weight:700}
.anseio-product-add{width:100%;min-height:48px!important;border:1px solid var(--anseio-theme-accent)!important;border-radius:6px!important;background:var(--anseio-theme-accent)!important;color:var(--anseio-theme-on-accent)!important;box-shadow:none!important;font-weight:700!important}.anseio-product-add:disabled{opacity:.46;cursor:not-allowed;transform:none!important}
.anseio-product-close-hint{margin:12px 0 0;color:var(--anseio-theme-muted);font-size:.7rem;line-height:1.4;text-align:center}
.anseio-product-toast{position:fixed;left:50%;bottom:24px;z-index:20000;max-width:min(720px,calc(100vw - 24px));padding:13px 18px;transform:translateX(-50%);border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface-elevated);color:var(--anseio-theme-text);box-shadow:var(--anseio-shadow-float);font-size:var(--anseio-text-sm);font-weight:600;text-align:center}.anseio-product-toast.is-error{border-color:#b00018;color:#b00018}
@media (hover:none),(pointer:coarse){.anseio-product-gallery-arrow{opacity:1}}
@media(max-width:820px){.anseio-product-modal{padding:8px;place-items:stretch}.anseio-product-panel{width:100%;max-height:calc(100dvh - 16px)}.anseio-product-layout{grid-template-columns:1fr;min-height:0}.anseio-product-gallery{position:relative;height:min(62dvh,570px);border-right:0;border-bottom:1px solid var(--anseio-theme-border)}.anseio-product-content{padding:24px 18px 20px}.anseio-product-heading{grid-template-columns:1fr}.anseio-product-favorite{justify-self:start}.anseio-product-purchase{position:sticky;bottom:0;z-index:4;margin-inline:-18px;margin-bottom:-20px;padding:12px 18px 14px;background:color-mix(in srgb,var(--anseio-theme-surface-elevated) 94%,transparent);border-top:1px solid var(--anseio-theme-border);backdrop-filter:blur(8px)}.anseio-product-close-hint{padding-bottom:62px}}
@media(max-width:460px){.anseio-product-gallery{height:52dvh;min-height:360px}.anseio-product-heading h2{font-size:1.65rem}.anseio-product-favorite b{display:none}.anseio-product-choice-list{gap:7px}.anseio-product-choice{padding-inline:10px!important}.anseio-product-purchase{grid-template-columns:118px minmax(0,1fr)}.anseio-product-quantity{grid-template-columns:39px 38px 39px}.anseio-product-quantity button{width:39px!important;min-width:39px!important}.anseio-product-add{padding-inline:10px!important;font-size:.78rem!important}}
@media(prefers-reduced-motion:reduce){.anseio-product-gallery-arrow{transition:none}}
