/* INTEGRALL 11.4 — vídeo em destaque, faixa compacta e heroes por página. */
html body #catalogSurface.catalog-elegant { --store-gutter:clamp(20px,4vw,64px); --store-width:1280px; --store-header-height:88px; --purpose-surface:#191512; --editorial-ink:#f5efe6; --editorial-gold:#d1ad70; }
html body #catalogSurface.catalog-elegant :is(.premium-header-inner,.premium-catalog-wrap,.premium-footer-grid,.premium-legal,.premium-feature,.premium-closing-inner) { width:min(var(--store-width),calc(100% - 2 * var(--store-gutter)))!important; max-width:var(--store-width)!important; margin-inline:auto!important; box-sizing:border-box; }
html body #catalogSurface.catalog-elegant [hidden] { display:none!important; }
/* A altura do cabeçalho, do menu aberto e do espaço do conteúdo têm a mesma origem. */
html body #catalogSurface.catalog-elegant .premium-header,
html body #catalogSurface.catalog-elegant .premium-header.is-scrolled { height:var(--store-header-height)!important; transition-property:background,box-shadow,backdrop-filter; }
html body #catalogSurface.catalog-elegant .premium-header-inner { min-height:0; height:100%; padding:12px 0!important; gap:24px!important; align-items:center!important; }
/* Sem mídia, o catálogo começa abaixo do cabeçalho; com mídia, mantém a sobreposição. */
html body #catalogSurface.catalog-elegant:has(#heroSlider[hidden]) #siteMain { padding-top:var(--store-header-height); }
html body #catalogSurface.catalog-elegant:has(#heroSlider[hidden]) .premium-header,
html body #catalogSurface.catalog-elegant .premium-header.is-scrolled,
html body #catalogSurface.catalog-elegant .premium-header:has(.premium-nav.open) { background:var(--purpose-surface)!important; }
/* Sobre a mídia, a faixa opaca dá lugar à proteção escura do próprio hero. */
html body #catalogSurface.catalog-elegant:has(#heroSlider:not([hidden])) .premium-header:not(.is-scrolled):not(:has(.premium-nav.open)) { background:transparent!important; box-shadow:none!important; backdrop-filter:none!important; }
html body #catalogSurface.catalog-elegant .premium-nav-left { gap:clamp(14px,1.8vw,26px)!important; align-items:center; }
html body #catalogSurface.catalog-elegant .premium-nav button { min-height:44px; font-size:11px!important; letter-spacing:.09em!important; }
html body #catalogSurface.catalog-elegant .premium-actions { align-items:center!important; gap:12px!important; }
html body #catalogSurface.catalog-elegant .premium-wordmark { margin:0!important; flex-shrink:0; }
html body #catalogSurface.catalog-elegant .premium-wordmark :is(.brand-copy,[data-subtitle]) { margin-top:0; }
html body #catalogSurface.catalog-elegant #heroSlider { height:clamp(460px,78svh,960px)!important; min-height:460px!important; scroll-margin-top:var(--store-header-height); overflow:hidden; background:var(--purpose-surface)!important; }
html body #catalogSurface.catalog-elegant #heroSlider.hero-category { height:clamp(240px,36svh,390px)!important; min-height:240px!important; }
/* O vídeo termina no mesmo tom da seção seguinte, sem corte entre os fundos. */
html body #catalogSurface.catalog-elegant #heroSlider .premium-hero-shade { background:linear-gradient(180deg,rgba(25,21,18,.78),rgba(25,21,18,.18) 24%,rgba(25,21,18,.04) 56%,rgba(25,21,18,.28))!important; pointer-events:none; }
html body #catalogSurface.catalog-elegant #heroSlider:not(.hero-category) .premium-hero-shade { background:linear-gradient(180deg,rgba(25,21,18,.78),rgba(25,21,18,.16) 20%,rgba(25,21,18,0) 40%,rgba(25,21,18,.08) 85%,rgba(25,21,18,.22))!important; }
html body #catalogSurface.catalog-elegant #heroSlider:not(.hero-category)::after { height:clamp(64px,9svh,100px)!important; background:linear-gradient(180deg,rgba(25,21,18,0),rgba(25,21,18,.3) 48%,var(--purpose-surface) 100%)!important; pointer-events:none; }
html body #catalogSurface.catalog-elegant #heroSlider:not(.hero-category) :is(.hero-shop-cta,.hero-video-toggle) { z-index:8; }
html body #catalogSurface.catalog-elegant #heroVideo { inset:0!important; width:100%!important; height:100%!important; object-fit:cover; transform:none!important; animation:none!important; }
html body #catalogSurface.catalog-elegant #heroSlider:not(.hero-category) #heroVideo { filter:saturate(1) contrast(1.02) brightness(1)!important; }
html body #catalogSurface.catalog-elegant .hero-shop-cta { left:50%!important; transform:translateX(-50%)!important; right:auto!important; bottom:52px!important; display:inline-flex; align-items:center; justify-content:center; text-align:center; min-width:230px; min-height:48px!important; padding:12px 28px; border:1px solid var(--editorial-gold)!important; border-radius:3px; background:rgba(25,21,18,.86)!important; color:var(--editorial-ink)!important; font:500 .95rem/1.35 var(--premium-sans,Arial,sans-serif); letter-spacing:0; text-transform:none; box-shadow:none; }
html body #catalogSurface.catalog-elegant .hero-shop-cta:is(:hover,:focus-visible) { background:#30251c!important; border-color:#efd3a2!important; transform:translate(-50%,-2px)!important; }
html body #catalogSurface.catalog-elegant .hero-video-toggle { right:max(var(--store-gutter),calc((100% - var(--store-width)) / 2))!important; bottom:52px!important; width:48px!important; height:48px!important; min-width:48px!important; min-height:48px!important; }
html body #catalogSurface.catalog-elegant #heroSlider.has-video-error .hero-video-toggle { display:none; }
html body #catalogSurface.catalog-elegant:not([data-current-page="vitrine"]) :is(.premium-purpose,.premium-feature,.premium-closing) { display:none!important; }
/* A faixa é dimensionada pelo conteúdo, com foto discreta e sem altura mínima artificial. */
html body #catalogSurface.catalog-elegant #purposeSection { position:relative; isolation:isolate; display:grid; grid-template-columns:clamp(130px,18vw,220px) minmax(0,1fr); width:100%!important; max-width:none!important; min-height:0!important; margin:0!important; padding:24px max(var(--store-gutter),calc((100% - var(--store-width)) / 2))!important; gap:clamp(24px,4vw,56px)!important; box-sizing:border-box; border:0!important; background:var(--purpose-surface)!important; color:var(--editorial-ink)!important; align-items:center!important; overflow:hidden; }
html body #catalogSurface.catalog-elegant #purposeSection::before { content:none; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-image { position:relative; inset:auto; z-index:0; display:block; width:100%; height:200px; min-height:0!important; margin:0; background:none; filter:none; pointer-events:none; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-image img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,var(--purpose-surface),rgba(25,21,18,0) 14%,rgba(25,21,18,0) 82%,var(--purpose-surface)),linear-gradient(90deg,var(--purpose-surface),rgba(25,21,18,0) 16%,rgba(25,21,18,0) 84%,var(--purpose-surface)); }
html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-copy { position:relative; z-index:1; grid-column:2; min-width:0; padding:0!important; text-align:left!important; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-section-label { display:flex; align-items:center; gap:16px; margin:0 0 8px!important; color:var(--editorial-gold)!important; font:600 .65rem/1.5 var(--premium-sans,Arial,sans-serif); letter-spacing:.18em; text-transform:uppercase; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-section-label i { width:40px; flex:0 0 40px; background:var(--editorial-gold); }
html body #catalogSurface.catalog-elegant #purposeTitle { margin:0!important; color:var(--editorial-ink)!important; font:400 clamp(1.75rem,3vw,2.5rem)/1.12 var(--premium-serif,Georgia,serif)!important; letter-spacing:-.025em; overflow-wrap:break-word; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-description { max-width:76ch!important; margin:12px 0 0!important; color:#ded6cb!important; font:400 .9375rem/1.55 var(--premium-sans,Arial,sans-serif)!important; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-values { position:static; display:flex!important; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:8px 20px!important; margin:16px 0 0; padding:0!important; list-style:none; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-values li { margin:0; padding:0; color:var(--editorial-ink)!important; font:400 .8125rem/1.5 var(--premium-sans,Arial,sans-serif); white-space:normal; overflow-wrap:break-word; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-values li+li { display:list-item; margin-inline-start:12px; padding-inline-start:4px; list-style-type:disc; }
html body #catalogSurface.catalog-elegant #purposeSection .premium-values li::marker { color:var(--editorial-gold); font-size:.75em; }
html body #catalogSurface.catalog-elegant .premium-catalog-wrap { padding:40px 0 0!important; }
html body #catalogSurface.catalog-elegant .premium-catalog-head { margin:0 0 20px!important; max-width:none!important; text-align:left!important; }
html body #catalogSurface.catalog-elegant .premium-catalog-head h2 { font-size:clamp(1.9rem,3.3vw,2.8rem)!important; line-height:1.15!important; }
html body #catalogSurface.catalog-elegant :is(#catalogEyebrow,#catalogIntro) { display:none!important; }
html body #catalogSurface.catalog-elegant .catalog-controls { position:relative; display:grid!important; grid-template-columns:minmax(0,1fr) minmax(170px,220px) 120px!important; align-items:start; gap:16px 12px!important; margin-bottom:24px!important; }
html body #catalogSurface.catalog-elegant :is(.catalog-departments,.catalog-country-section,.active-filters,.result-row) { grid-column:1/-1; }
html body #catalogSurface.catalog-elegant .catalog-departments { gap:8px 24px!important; padding:0!important; border-top:0!important; border-bottom:1px solid var(--clean-line)!important; }
html body #catalogSurface.catalog-elegant .catalog-departments button { font-size:.82rem!important; font-weight:500!important; padding:10px 0!important; min-height:44px; }
html body #catalogSurface.catalog-elegant .catalog-country-section { display:grid; grid-template-columns:1fr auto; gap:12px 16px; padding:6px 0 16px!important; border:0!important; border-bottom:1px solid var(--clean-line)!important; background:transparent!important; }
html body #catalogSurface.catalog-elegant .catalog-country-heading { grid-column:1; grid-row:1; margin:0!important; align-self:center; }
html body #catalogSurface.catalog-elegant .catalog-country-heading h3 { margin:0!important; font:500 .82rem/1.4 var(--premium-sans,Arial,sans-serif)!important; color:var(--clean-ink); }
html body #catalogSurface.catalog-elegant .catalog-all-wines { grid-column:2; grid-row:1; margin:0!important; padding:4px 0!important; min-height:32px; font-size:.78rem!important; align-self:center; }
html body #catalogSurface.catalog-elegant .catalog-countries { grid-column:1/-1; display:flex!important; flex-wrap:wrap!important; gap:8px!important; overflow:visible!important; padding:0!important; }
html body #catalogSurface.catalog-elegant .country-tab { display:inline-flex!important; align-items:center!important; justify-content:flex-start!important; gap:9px!important; padding:10px 12px!important; min-height:44px; margin:0; border:1px solid var(--clean-line)!important; border-radius:5px!important; background:var(--clean-white)!important; color:var(--clean-ink)!important; font:400 .8rem/1.3 var(--premium-sans,Arial,sans-serif)!important; }
html body #catalogSurface.catalog-elegant .country-tab[aria-pressed="true"] { border-color:var(--clean-wine)!important; box-shadow:inset 0 0 0 1px var(--clean-wine); color:var(--clean-wine)!important; }
html body #catalogSurface.catalog-elegant .country-flag { display:block; flex:0 0 28px; width:28px!important; height:21px!important; object-fit:cover; border-radius:2px; }
html body #catalogSurface.catalog-elegant .commerce-toolbar { display:contents!important; }
html body #catalogSurface.catalog-elegant .search-smart-wrap { grid-column:1; min-width:0; }
html body #catalogSurface.catalog-elegant #sort { grid-column:2; width:100%; }
html body #catalogSurface.catalog-elegant :is(#search,#sort) { height:48px!important; min-height:48px!important; margin:0!important; border-radius:5px!important; font-size:.85rem!important; }
html body #catalogSurface.catalog-elegant #advancedFilterBox { grid-column:3; position:static; margin:0!important; border:0!important; min-width:0; background:transparent!important; }
html body #catalogSurface.catalog-elegant #advancedFilterBox>summary { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:48px!important; height:48px; padding:12px 14px!important; border:1px solid var(--clean-line)!important; border-radius:5px; background:var(--clean-white); color:var(--clean-ink); font-size:.85rem; box-sizing:border-box; }
html body #catalogSurface.catalog-elegant #advancedFilterBox[open]>summary { border-color:var(--clean-wine)!important; }
html body #catalogSurface.catalog-elegant .catalog-filter-panel { position:absolute; z-index:35; right:0; width:min(720px,100%); margin-top:8px; padding:22px; border:1px solid var(--clean-line); border-radius:8px; background:var(--clean-white); color:var(--clean-ink); box-shadow:0 12px 38px rgba(30,15,10,.12); max-height:65vh; overflow:auto; box-sizing:border-box; }
html body #catalogSurface.catalog-elegant .advanced-filter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding:0!important; }
html body #catalogSurface.catalog-elegant .advanced-filter-grid label { display:grid; gap:7px; min-width:0; font-size:.8rem; }
html body #catalogSurface.catalog-elegant .advanced-filter-grid :is(input,select) { min-width:0; width:100%; min-height:44px; }
html body #catalogSurface.catalog-elegant #advancedFilterBox .wine-finder { margin:20px 0 0!important; }
html body #catalogSurface.catalog-elegant #filterPriceHint:empty { display:none; }
html body #catalogSurface.catalog-elegant .result-row { padding:2px 0 0!important; min-height:28px; gap:10px!important; color:var(--clean-muted); }
html body #catalogSurface.catalog-elegant #catalogPaginationTop { display:none!important; }
html body #catalogSurface.catalog-elegant .premium-catalog #productGrid.catalog-grid { gap:32px 20px!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card { display:flex!important; flex-direction:column!important; border-radius:6px!important; overflow:hidden; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-image { display:block; width:100%; height:auto!important; aspect-ratio:4/5!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-image .card-image-main { padding:10px!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-body { display:flex!important; flex-direction:column!important; flex:1; align-items:stretch!important; padding:18px!important; text-align:left!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card h2 { min-height:2.7em!important; margin:0!important; font-size:1.08rem!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-meta-clean { margin:8px 0 14px!important; min-height:2.8em; }
html body #catalogSurface.catalog-elegant .premium-catalog .price-row { justify-content:flex-start!important; align-items:flex-end!important; margin-top:auto!important; min-height:42px; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-actions { width:100%; margin-top:14px!important; }
html body #catalogSurface.catalog-elegant .premium-catalog .card-actions .btn { width:100%; min-height:44px; justify-content:center; }
html body #catalogSurface.catalog-elegant .catalog-pagination { justify-content:center!important; margin-top:36px!important; }
html body #catalogSurface.catalog-elegant .premium-footer-grid { align-items:start!important; gap:32px!important; padding-block:52px!important; }
html body #catalogSurface.catalog-elegant .premium-footer-col { align-items:flex-start; text-align:left!important; min-width:0; }
html body #catalogSurface.catalog-elegant .premium-footer-col :is(a,button,span) { font-size:.78rem!important; line-height:1.6!important; overflow-wrap:anywhere; }
html body #catalogSurface.catalog-elegant :is(button,a,input,select,summary):focus-visible { outline:2px solid var(--clean-wine); outline-offset:4px; }
html body #catalogSurface.catalog-elegant :is(.premium-header,#heroSlider) :is(button,a):focus-visible { outline-color:#efd3a2; }
@media(max-width:1100px) {
 html body #catalogSurface.catalog-elegant { --store-header-height:76px; }
 html body #catalogSurface.catalog-elegant .premium-header-inner { gap:14px!important; }
 html body #catalogSurface.catalog-elegant .premium-header .premium-nav { inset:var(--store-header-height) 0 auto!important; padding-inline:var(--store-gutter)!important; background:var(--purpose-surface)!important; pointer-events:auto!important; }
 html body #catalogSurface.catalog-elegant .premium-header .premium-nav.open { max-height:calc(100svh - var(--store-header-height))!important; }
 html body #catalogSurface.catalog-elegant .premium-nav-left { gap:13px!important; }
 html body #catalogSurface.catalog-elegant .premium-footer-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}
/* No celular, foto e título dividem a primeira linha; o restante usa a largura disponível. */
@media(max-width:600px) {
 html body #catalogSurface.catalog-elegant #purposeSection { grid-template-columns:88px minmax(0,1fr); padding:20px var(--store-gutter) 24px!important; gap:10px 16px!important; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-image { grid-column:1; grid-row:1/3; height:112px; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-copy { display:contents; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-section-label { grid-column:2; align-self:end; gap:8px; margin:0!important; font-size:.6rem; letter-spacing:.12em; flex-wrap:wrap; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-section-label i { width:24px; flex-basis:24px; }
 html body #catalogSurface.catalog-elegant #purposeTitle { grid-column:2; align-self:start; font-size:clamp(1.5rem,5vw,1.875rem)!important; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-purpose-description { grid-column:1/-1; margin:4px 0 0!important; }
 html body #catalogSurface.catalog-elegant #purposeSection .premium-values { grid-column:1/-1; margin:4px 0 0; gap:8px 16px!important; }
}
@media(max-width:760px) {
 html body #catalogSurface.catalog-elegant .premium-header-inner { padding-block:8px!important; gap:8px!important; }
 html body #catalogSurface.catalog-elegant .premium-header .premium-actions { gap:0!important; }
 html body #catalogSurface.catalog-elegant #heroSlider { min-height:400px!important; height:clamp(400px,72svh,760px)!important; }
 html body #catalogSurface.catalog-elegant #heroSlider.hero-category { min-height:220px!important; height:32svh!important; }
 html body #catalogSurface.catalog-elegant .hero-shop-cta { bottom:24px!important; min-width:190px; padding-inline:22px; }
 html body #catalogSurface.catalog-elegant .hero-video-toggle { bottom:24px!important; }
 html body #catalogSurface.catalog-elegant .premium-catalog-wrap { padding-top:28px!important; }
 html body #catalogSurface.catalog-elegant .catalog-controls { grid-template-columns:minmax(0,1fr) 116px!important; gap:12px!important; }
 html body #catalogSurface.catalog-elegant .catalog-departments { flex-wrap:nowrap!important; gap:22px!important; overflow-x:auto!important; scrollbar-width:thin; }
 html body #catalogSurface.catalog-elegant .search-smart-wrap { grid-column:1/-1; }
 html body #catalogSurface.catalog-elegant #sort { grid-column:1; }
 html body #catalogSurface.catalog-elegant #advancedFilterBox { grid-column:2; }
 html body #catalogSurface.catalog-elegant .catalog-filter-panel { padding:18px; max-height:60svh; }
 html body #catalogSurface.catalog-elegant .advanced-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html body #catalogSurface.catalog-elegant :is(#search,#sort,.advanced-filter-grid .field,.advanced-filter-grid .select) { font-size:16px!important; }
 html body #catalogSurface.catalog-elegant .catalog-countries { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); }
 html body #catalogSurface.catalog-elegant .country-tab { min-width:0; white-space:normal; }
 html body #catalogSurface.catalog-elegant .premium-catalog #productGrid.catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:22px 12px!important; }
 html body #catalogSurface.catalog-elegant .premium-catalog .card-body { padding:12px!important; }
 html body #catalogSurface.catalog-elegant .premium-catalog .card h2 { font-size:1rem!important; }
 html body #catalogSurface.catalog-elegant .premium-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:28px 20px!important; }
}
/* Em celulares estreitos, marca e ações ganham linhas próprias, sem diminuir os alvos de toque. */
@media(max-width:480px) {
 html body #catalogSurface.catalog-elegant { --store-header-height:112px; }
 html body #catalogSurface.catalog-elegant .premium-header-inner { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) 44px; row-gap:4px!important; }
 html body #catalogSurface.catalog-elegant .premium-header .premium-wordmark { grid-column:1; grid-row:1; justify-self:center; padding:0!important; }
 html body #catalogSurface.catalog-elegant .premium-header .premium-actions { grid-column:1; grid-row:2; justify-self:center; margin:0!important; gap:12px!important; }
 html body #catalogSurface.catalog-elegant .hero-video-toggle { bottom:88px!important; }
 html body #catalogSurface.catalog-elegant #heroSlider.hero-category { min-height:calc(var(--store-header-height) + 180px)!important; }
}
@media(max-width:380px) {
 html body #catalogSurface.catalog-elegant .premium-catalog #productGrid.catalog-grid { grid-template-columns:1fr!important; }
 html body #catalogSurface.catalog-elegant .advanced-filter-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { html body #catalogSurface.catalog-elegant * { scroll-behavior:auto!important; } }
/* Frete no detalhe do produto: prévia real sem substituir a seleção da sacola. */
html body #catalogSurface #modalCarrierOptions[hidden],
html body #catalogSurface #modalThumbs[hidden]{display:none!important}
html body #catalogSurface .product-shipping-rates{display:grid;gap:10px;margin:12px 0 18px;min-width:0}
html body #catalogSurface .product-shipping-rate{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line,#e9e4dd);border-radius:8px;min-width:0;overflow-wrap:anywhere}
html body #catalogSurface .product-shipping-rate strong{font:600 .9rem/1.4 var(--premium-sans,Arial,sans-serif)}
html body #catalogSurface .product-shipping-rate span{font-size:.8rem;line-height:1.5}
html body #catalogSurface #modalThumbs .gallery-thumb{width:100%!important;height:auto!important;min-width:0!important;aspect-ratio:auto!important}
