/* LUSO v1.3: tema claro oficial, sem alternância de aparência. */
:root{--luso-brand-wine:#9d273d;--luso-brand-blue:#173f64;--luso-brand-subtitle-size:.62rem;--luso-brand-subtitle-weight:800;--luso-brand-subtitle-spacing:.1em;--luso-brand-subtitle-line:1;--luso-product-surface:#f4f3ef;--luso-muted:#596b77;--luso-space-sm:8px;--luso-space-md:16px;--luso-space-lg:24px;--luso-section-space:64px;--luso-price-size:clamp(1.75rem,2.2vw,2rem);--luso-bg:#fbfaf7;--luso-surface:#fff;--luso-surface-alt:#eef4f6;--luso-ink:#18212a;--luso-secondary:#596b77;--luso-border:#778996;--luso-field:#fff;--luso-link:#173f64;--luso-action:#a3263a;--luso-on-action:#fff;--luso-focus:#28688f}
html{color-scheme:light}.luso-home,.luso-shop{background:var(--luso-bg);color:var(--luso-ink)}
.luso-home .brand img.luso-logo{width:38px;height:38px;object-fit:contain}
:is(.luso-home,.luso-shop) :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--luso-focus);outline-offset:3px}
.luso-home .home-product-card .details,.luso-shop #productsGrid .details,.luso-shop :is(.drawerfoot>small,.product-detail-unit,.product-detail-price-label,.product-detail-qty label,.heading>span,.cartempty,.checkout-security-note,.order-success-card small,.order-success-summary span){color:var(--luso-secondary)}
.luso-home section:not(.hero){padding-block:var(--luso-section-space)}.luso-home .section-head{margin-bottom:32px}.luso-home .home-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.luso-home .home-product-card .body{min-height:0!important;padding:var(--luso-space-md);gap:var(--luso-space-sm)}.luso-home .home-product-card h3,.luso-shop #productsGrid .title{line-height:1.25;overflow-wrap:anywhere}.luso-home .home-product-card .details,.luso-shop #productsGrid .details{font-size:.875rem;line-height:1.5}.luso-home .home-product-card .img-wrap img{object-fit:contain;object-position:center;padding:0}.luso-shop #productsGrid .pic{background:#fff}.luso-shop #productsGrid .pic img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;padding:0}.luso-shop .shop{padding-block:32px 48px}.luso-shop .tools select,.luso-shop .chip{font-size:1rem;min-height:44px}.luso-shop #productsGrid .body{padding:16px;min-width:0}.luso-shop #productsGrid .bottom{flex-direction:column;align-items:stretch;gap:16px}.luso-shop #productsGrid .price{font-size:var(--luso-price-size)!important;line-height:1.2}.luso-shop #productsGrid .card-actions button{min-height:44px}.luso-shop footer a{color:inherit}
@media(max-width:1100px){.luso-home .home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){:root{--luso-section-space:48px}.luso-home .wrap{padding-inline:16px}.luso-home .home-products-grid{grid-template-columns:1fr}.luso-shop .shop{padding-top:24px}.luso-shop .heading h2{font-size:1.75rem}.luso-home .footer-social{flex-wrap:wrap}.luso-shop footer .wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px;line-height:1.5}}
.luso-home footer{padding:38px 0 24px}.luso-home .footer-grid{display:grid;grid-template-columns:1.25fr 1.75fr;gap:28px;align-items:start}.luso-home .footer-brand,.luso-home .footer-social{min-width:0}.luso-home .footer-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;color:#d7e0e7;line-height:1.45}.luso-home .footer-social span,.luso-home .footer-social a{min-width:0;overflow-wrap:anywhere;color:#d7e0e7;opacity:1}.luso-home .footer-bottom{font-size:.9rem;line-height:1.6;color:#d7e0e7}.luso-home .footer-bottom a{color:#fff;text-decoration:underline;text-underline-offset:3px}.luso-home .footer-brand .tag{color:#d7e0e7}
@media(max-width:680px){.luso-home footer{padding:28px 0 92px}.luso-home .footer-grid{grid-template-columns:1fr;gap:20px}.luso-home .footer-social{grid-template-columns:1fr;gap:8px;font-size:.9rem}.luso-home .footer-bottom{margin-top:20px;padding-top:16px;font-size:.9rem}.luso-home .mobile-buybar a{min-height:46px}}
.luso-home .kit-mini{min-width:0}.luso-home .kit-mini>div{min-width:0}.luso-home .kit-mini .name{overflow-wrap:anywhere}
@media(max-width:680px){.luso-home .kit-mini{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px}.luso-home .kit-mini img{object-fit:contain;width:100%;height:auto;max-height:260px;background:#fff;aspect-ratio:1/1;align-self:center}.luso-home .kit-mini .name{font-size:1.08rem;line-height:1.25}}
.luso-home .mobile-buybar.is-footer-visible{display:none}

/* Header público: assinatura LUSO e distribuição responsiva compacta. */
.luso-home header nav{min-height:68px;gap:24px}
.luso-home header .brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:180px}
.luso-home header .brand img.luso-logo{width:42px;height:42px;flex:0 0 42px;object-fit:contain}
.luso-home header .brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1}
.luso-home header .brand-copy span{font-family:Fraunces,Georgia,serif;font-size:clamp(1.25rem,1.8vw,1.55rem);font-weight:700;letter-spacing:.02em;color:var(--bordo);white-space:nowrap}
.luso-home header .brand-copy small{display:block;margin-top:4px;font-size:clamp(.52rem,.62vw,.66rem);font-weight:800;letter-spacing:.1em;color:var(--azul-profundo);white-space:nowrap}
.luso-home header .nav-links{flex:1 1 auto;justify-content:center;gap:18px;min-width:0;white-space:nowrap}
.luso-home header .nav-links a{font-size:.86rem}
.luso-home header .nav-actions{flex:0 0 auto;gap:8px;min-width:0}
.luso-home header .nav-actions a{min-height:42px;padding:9px 13px;font-size:.82rem;line-height:1.2;white-space:nowrap}
.luso-home header .nav-shop,.luso-home header .nav-cta{padding-inline:13px}
@media(max-width:1100px){
  .luso-home header nav{gap:14px}
  .luso-home header .nav-links{gap:12px}
  .luso-home header .nav-links a{font-size:.79rem}
  .luso-home header .nav-actions a{font-size:.76rem;padding-inline:10px}
  .luso-home header .brand{min-width:170px}
}
@media(max-width:900px){
  .luso-home header nav{min-height:60px;padding:8px 16px!important;gap:10px}
  .luso-home header .brand{min-width:0;flex:1 1 auto}
  .luso-home header .brand img.luso-logo{width:38px;height:38px;flex-basis:38px}
  .luso-home header .brand-copy span{font-size:1.28rem}
  .luso-home header .brand-copy small{font-size:.57rem;letter-spacing:.08em}
  .luso-home header .nav-links,.luso-home header .nav-actions{display:none!important}
  .luso-home header .mobile-menu-btn{display:flex!important;margin-left:auto;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;font-size:1.25rem}
}
@media(max-width:380px){
  .luso-home header nav{padding-inline:14px!important}
  .luso-home header .brand img.luso-logo{width:36px;height:36px;flex-basis:36px}
  .luso-home header .brand-copy span{font-size:1.22rem}
  .luso-home header .brand-copy small{font-size:.53rem;letter-spacing:.06em}
}

/* Tablet: composição intermediária entre a leitura mobile e o desktop. */
@media (min-width:681px) and (max-width:899px){
  .luso-home header nav{min-height:72px;padding:10px 28px!important;gap:16px}
  .luso-home header .brand img.luso-logo{width:46px;height:46px;flex-basis:46px}
  .luso-home header .brand-copy span{font-size:1.45rem}
  .luso-home header .brand-copy small{font-size:.62rem;letter-spacing:.09em}
  .luso-home header .mobile-menu-btn{width:46px;height:46px;min-width:46px;min-height:46px;font-size:1.3rem}
  .luso-home section:not(.hero){padding-block:72px}
  .luso-home .section-head{margin-bottom:34px;max-width:680px}
  .luso-home .section-head h2{font-size:2.35rem}
  .luso-home .section-head p{font-size:1.05rem}
  .luso-home .cards-grid{gap:20px}
  .luso-home .card-content{padding:24px}
  .luso-home .card-content h3{font-size:1.38rem}
  .luso-home .selecao-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:32px}
  .luso-home .selecao-grid>img{height:360px}
  .luso-home .local-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .luso-home .local-info{padding:40px 36px}
  .luso-home .local-img{min-height:320px}
  .luso-home .review-card{padding:22px;font-size:.98rem}
  .luso-home .footer-grid{gap:28px;align-items:flex-start}
  .luso-home .footer-social{gap:12px;font-size:.92rem}
  .luso-home footer{padding:36px 0 24px}
}

/* Kit no tablet: imagem e texto compartilham a largura do card. */
@media (min-width:641px) and (max-width:899px){
  .luso-home .kit-mini{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:18px}
  .luso-home .kit-mini img{width:100%;height:auto;max-height:240px;aspect-ratio:7/6;object-fit:contain;align-self:center;background:#fff}
  .luso-home .kit-mini .name{font-size:1.08rem;line-height:1.4;margin-top:6px}
}

/* v1.3.1: vitrine editorial com fotografia integral, no padrão da Loja. */
.luso-home .home-product-card,.luso-home .home-product-card.home-main{display:flex;flex-direction:column;grid-column:auto;min-width:0}
.luso-home .home-product-card .img-wrap{aspect-ratio:1/1;min-height:0;background:#fff;flex-shrink:0}
.luso-home .home-product-card .img-wrap{position:relative}
.luso-home .home-product-card .catalog-discount-badge{position:absolute;right:13px;top:13px;z-index:2;background:#173f64;color:#fff;border:1px solid rgba(255,255,255,.72);border-radius:999px;padding:7px 9px;font-size:.68rem;line-height:1;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.luso-home .home-product-card .body{flex:1;min-width:0}
.luso-home .home-product-card h3{font-size:1.15rem;line-height:1.35}
.luso-home .home-product-card .cat{color:var(--luso-secondary);font-size:.75rem;letter-spacing:.08em;overflow-wrap:anywhere}
.luso-home .home-product-card .price-row{flex-direction:column;align-items:stretch;gap:16px;padding-top:8px}
.luso-home .home-product-card .price{font-size:1.6rem;line-height:1.2}
.luso-home .home-product-card .catalog-discount-label{display:block;margin-top:4px;color:var(--luso-wine,#a3263a);font-size:.72rem;line-height:1.1;letter-spacing:.02em}
.luso-home .home-product-card .old{color:var(--luso-secondary)}
.luso-home .home-product-card .go{min-height:44px;width:100%;font-size:.875rem}
/* Mobile: reduz a altura do slot sem cortar ou distorcer a fotografia 1:1. */
@media(max-width:680px){
  .luso-home .home-product-card .img-wrap{aspect-ratio:6/5}
}

/* Home: photographic brand symbol removed from header. Preserve the
   institutional photo/hero and navigation while giving the wordmark room. */
.luso-home header .brand{gap:0}
.luso-home header .brand-copy{gap:1px}
.luso-home header .brand-copy span{
  font-size:clamp(1.53rem,2.2vw,1.8rem);
  line-height:1;
  letter-spacing:.035em;
}
.luso-home header .brand-copy small{
  margin-top:6px;
  font-size:clamp(.57rem,.82vw,.68rem);
  letter-spacing:.1em;
  line-height:1.18;
}
@media(max-width:900px){
  .luso-home header .brand-copy span{font-size:1.55rem}
  .luso-home header .brand-copy small{font-size:.63rem;letter-spacing:.08em}
}
@media(max-width:380px){
  .luso-home header .brand-copy span{font-size:1.4rem}
  .luso-home header .brand-copy small{font-size:.57rem;letter-spacing:.065em}
}


/* =====================================================================
 * APPROVED HOME HEADER — deep-blue institutional LUSO identity.
 * Default on both Home routes, no query parameters or preview flags.
 * The factual photograph and the Hero source remain unchanged.
 * ===================================================================== */
body.luso-home header{
  background:linear-gradient(125deg,#103a5e 0%,#174d75 46%,#092b4c 100%)!important;
  color:#fdfaf4!important;
  border-bottom:2px solid rgba(232,204,149,.65)!important;
  box-shadow:0 5px 18px rgba(13,36,57,.16);
  position:sticky;
  isolation:isolate;
}
body.luso-home header nav{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  width:min(1120px,100%);
  min-height:113px;
  padding:11px 24px 13px!important;
  gap:7px 16px!important;
  box-sizing:border-box;
}
body.luso-home header .brand{
  grid-column:2;
  grid-row:1;
  justify-self:center;
  align-items:center;
  justify-content:center;
  min-width:0!important;
  text-align:center;
}
body.luso-home header .brand-copy{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  gap:0!important;
  line-height:1;
}
body.luso-home header .brand-copy span{
  display:block;
  color:#fff!important;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(2rem,3.2vw,2.75rem)!important;
  font-weight:600;
  letter-spacing:.065em!important;
  line-height:1.08!important;
  text-align:center;
}
body.luso-home header .brand-copy small{
  display:block;
  color:#f3e8d6!important;
  font-size:clamp(.52rem,.72vw,.63rem)!important;
  font-weight:700;
  margin-top:5px!important;
  letter-spacing:.16em!important;
  text-align:center;
  line-height:1.2;
}
body.luso-home header .nav-links{
  grid-column:1/-1;
  grid-row:2;
  justify-self:center;
  justify-content:center;
  gap:clamp(14px,2.2vw,27px)!important;
  white-space:nowrap;
}
body.luso-home header .nav-links a{
  color:#fff!important;
  opacity:.88;
  font-size:clamp(.79rem,.91vw,.88rem);
}
body.luso-home header .nav-links a:hover{
  opacity:1;
}
body.luso-home header .nav-actions{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  gap:7px!important;
}
body.luso-home header .nav-actions a{
  color:#fff!important;
  font-size:.75rem!important;
  font-weight:700;
  min-height:42px;
  border-radius:999px;
  padding:9px 12px!important;
  white-space:nowrap;
}
body.luso-home header .nav-shop{
  background:#a72640!important;
}
body.luso-home header .nav-cta{
  background:#1b456c!important;
  border:1px solid rgba(255,255,255,.4);
}
body.luso-home header :is(a,button):focus-visible{
  outline:3px solid #f2d89a!important;
  outline-offset:3px;
}
body.luso-home header .mobile-menu{
  background:#133b60!important;
  border-top:1px solid rgba(255,255,255,.2)!important;
}
body.luso-home header .mobile-menu a{
  color:#fff!important;
}
@media(max-width:1050px) and (min-width:901px){
  body.luso-home header nav{gap:7px 8px!important}
  body.luso-home header .nav-actions a{font-size:.68rem!important;padding-inline:9px!important}
}
@media(max-width:900px){
  body.luso-home header nav{
    grid-template-columns:48px minmax(0,1fr) 48px;
    grid-template-rows:auto;
    width:100%;
    max-width:100%;
    min-height:83px;
    padding:9px 18px!important;
    gap:8px!important;
  }
  body.luso-home header nav::before{
    content:"";
    display:block;
    grid-column:1;
    grid-row:1;
    width:48px;
    height:48px;
    pointer-events:none;
  }
  body.luso-home header .brand{
    grid-column:2;
    grid-row:1;
    width:100%;
    justify-self:center;
  }
  body.luso-home header .brand-copy span{
    font-size:clamp(1.93rem,6vw,2.5rem)!important;
  }
  body.luso-home header .brand-copy small{
    font-size:clamp(.45rem,1.65vw,.6rem)!important;
    letter-spacing:.125em!important;
    margin-top:4px!important;
  }
  body.luso-home header .nav-links,
  body.luso-home header .nav-actions{
    display:none!important;
  }
  body.luso-home header .mobile-menu-btn{
    display:flex!important;
    grid-column:3;
    grid-row:1;
    align-self:center;
    justify-self:end;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    margin:0!important;
    background:transparent!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.45)!important;
  }
  body.luso-home header .mobile-menu.open{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 12px;
    padding:12px 20px 18px;
  }
}
@media(max-width:380px){
  body.luso-home header nav{
    grid-template-columns:44px minmax(0,1fr) 44px;
    min-height:78px;
    padding-inline:13px!important;
    gap:5px!important;
  }
  body.luso-home header nav::before{
    width:44px;height:44px;
  }
  body.luso-home header .brand-copy span{
    font-size:1.93rem!important;
  }
  body.luso-home header .brand-copy small{
    font-size:.46rem!important;
    letter-spacing:.095em!important;
  }
  body.luso-home header .mobile-menu-btn{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  }
}
