/* ACTIALUNA 3.2.11 — SAMAEL-004
   Owner: tema WooCommerce; superfície global somente search; restante limitado a
   .al35-wand-curation. Mobile-first, sem nova plataforma e sem tocar no Catalog. */

/* HEADER — campo e moldura precisam ser UMA única superfície.
   Reseta explicitamente a caixa nativa do input e overrides históricos do Woo. */
.al14-shell .al42-topbar form.al42-search{
  box-sizing:border-box!important;min-width:0!important;max-width:580px;
  display:grid;grid-template-columns:22px minmax(0,1fr) 42px;align-items:center;
  column-gap:10px;height:46px!important;min-height:46px!important;
  padding:0 5px 0 15px!important;margin:0!important;
  border:1px solid rgba(207,167,117,.45)!important;border-radius:13px!important;
  background:#202121!important;box-shadow:none!important;
  overflow:hidden;transition:border-color .16s,box-shadow .16s;
}
.al14-shell .al42-topbar form.al42-search:focus-within{
  border-color:#e4c08d!important;box-shadow:0 0 0 2px rgba(224,180,116,.15)!important;
}
.al14-shell .al42-topbar form.al42-search>svg{
  width:18px!important;height:18px!important;min-width:18px;stroke:#cead7f;
}
.al14-shell .al42-topbar form.al42-search input[type="search"]{
  -webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;
  display:block!important;inline-size:100%!important;width:100%!important;min-width:0!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;background:transparent!important;
  color:#f3e7d7!important;font-size:13px!important;line-height:1.3!important;
  text-indent:0!important;letter-spacing:0!important;
}
.al14-shell .al42-topbar form.al42-search input[type="search"]::placeholder{
  color:#a89d90!important;opacity:1!important;
}
.al14-shell .al42-topbar form.al42-search input[type="search"]::-webkit-search-decoration,
.al14-shell .al42-topbar form.al42-search input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;
}
.al14-shell .al42-topbar form.al42-search button[type="submit"]{
  display:grid!important;place-items:center;box-sizing:border-box!important;
  width:42px!important;height:36px!important;min-width:42px!important;min-height:36px!important;
  padding:0!important;margin:0!important;line-height:1!important;
  border:0!important;border-left:1px solid rgba(205,162,111,.28)!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#dec29b!important;font-size:19px!important;
}
.al14-shell .al42-topbar form.al42-search button[type="submit"]:hover{
  color:#fff0d8!important;background:rgba(205,162,111,.08)!important;
}
.al14-shell .al42-topbar form.al42-search :is(input,button):focus-visible{outline:2px solid #f0cf9a!important;outline-offset:-3px!important}

/* A ESSÊNCIA DA OBRA — primeiro contato no celular, sem duplicar título visível. */
.al36-mobile-identity{display:none;}
.al14-shell .al82-product-page.al35-wand-curation{
  --al36-ink:#f2e5d2;--al36-soft:#c3b6a7;--al36-gold:#d6ae78;
  --al36-line:rgba(215,174,124,.23);
  width:100%!important;max-width:1590px!important;
  padding:clamp(10px,1.25vw,22px) clamp(10px,1.45vw,26px) 70px!important;
}
.al14-shell .al35-wand-curation .al82-product-breadcrumb{margin:0 0 8px!important;padding:0!important;min-height:0;}
.al35-wand-curation .al35-hero-intro{display:none!important}

/* DESKTOP — mídia e compra são painéis independentes, sem max-height legado.
   O limite antigo do AUD02 cortava o palco da fotografia a despeito de object-fit:contain. */
.al14-shell .al82-product-page.al35-wand-curation .al82-product-layout{
  display:grid!important;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)!important;
  gap:clamp(12px,1.35vw,20px)!important;align-items:start!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;background:none!important;border:0!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-product-media{
  position:relative!important;top:auto!important;inset-block-start:auto!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  display:grid!important;grid-template-areas:"stage" "rail"!important;
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  align-content:start!important;gap:9px!important;padding:10px!important;
  overflow:visible!important;border-radius:14px!important;
  border:1px solid var(--al36-line)!important;
  background:#191b1c!important;box-shadow:none!important;
}
.al14-shell .al35-wand-curation .al35-gallery-head{display:none!important}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{
  grid-area:stage!important;position:relative!important;
  box-sizing:border-box!important;width:100%!important;
  height:clamp(360px,calc(100svh - 225px),650px)!important;
  min-height:0!important;max-height:none!important;
  padding:7px!important;display:grid!important;place-items:center!important;
  overflow:hidden!important;border-radius:10px!important;
  border:1px solid rgba(213,174,124,.13)!important;
  background:radial-gradient(ellipse at 48% 45%,#252224 0%,#17191b 67%,#111314 100%)!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage .al82-gallery-main{
  display:block!important;box-sizing:border-box!important;
  width:100%!important;height:100%!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0!important;border:0!important;
  filter:none!important;transform:none!important;
}
.al14-shell .al35-wand-curation .al82-gallery-insignia{top:13px;left:13px;font-size:8px;opacity:.65;pointer-events:none}
.al14-shell .al35-wand-curation .al-product-zoom{
  top:12px;right:12px;min-height:36px;min-width:40px;padding:7px 11px;
  font-size:11px!important;border-radius:8px!important;box-shadow:none!important;
}
.al14-shell .al35-wand-curation .al82-gallery-controls{
  bottom:12px;right:12px;padding:4px 7px;border-radius:9px;
  background:rgba(17,19,20,.90);backdrop-filter:blur(7px)
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-rail{
  grid-area:rail!important;display:flex!important;flex-flow:row nowrap!important;
  gap:7px!important;max-height:none!important;min-height:0!important;
  margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:thin;scroll-snap-type:x proximity;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb{
  flex:0 0 70px!important;inline-size:70px!important;width:70px!important;
  block-size:68px!important;height:68px!important;min-height:68px!important;
  padding:2px!important;scroll-snap-align:start;border-radius:8px!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center!important;background:#131516;border-radius:6px;
}

/* COMPRA — manter dono original dos controles e sua semântica, retirar redundâncias. */
.al14-shell .al82-product-page.al35-wand-curation .al82-product-info{
  display:block!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:clamp(17px,1.9vw,27px)!important;
  border-radius:14px!important;border:1px solid var(--al36-line)!important;
  background:#202222!important;color:var(--al36-ink)!important;box-shadow:none!important;
}
.al14-shell .al35-wand-curation .al82-product-topline{margin:0 0 11px!important;font-size:8px!important;letter-spacing:.07em!important}
.al14-shell .al35-wand-curation .al82-product-info h1{
  font-size:clamp(35px,3.1vw,48px)!important;line-height:1.03!important;
  margin:0 0 7px!important;letter-spacing:-.028em!important;
}
.al14-shell .al35-wand-curation .al33-product-subtitle{margin:0 0 12px!important;font-size:11px!important;line-height:1.45!important}
.al14-shell .al35-wand-curation .al35-essence{
  margin:0 0 11px!important;padding:10px 0!important;gap:8px 14px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.al14-shell .al35-wand-curation .al35-essence dt{font-size:8px!important;line-height:1.3}
.al14-shell .al35-wand-curation .al35-essence dd{font-size:11px!important;line-height:1.3}
.al14-shell .al35-wand-curation .al82-product-info p.price{
  margin:7px 0 12px!important;font-size:clamp(29px,3vw,39px)!important;
}
.al14-shell .al35-wand-curation .al82-product-info .woocommerce-product-details__short-description{
  display:none!important;/* O texto permanece no produto e no dossiê narrativo. */
}
.al14-shell .al35-wand-curation .al82-product-info .al33-rare-note{
  margin:7px 0 9px!important;padding:0 0 0 10px!important;
  font-size:10px!important;line-height:1.4!important;
}
.al14-shell .al35-wand-curation .al82-product-info .stock{margin:8px 0!important;font-size:11px!important}
.al14-shell .al35-wand-curation .al82-product-info form.cart{margin:11px 0 4px!important;gap:6px!important}
.al14-shell .al35-wand-curation .al82-product-info .single_add_to_cart_button{
  min-height:49px!important;width:100%!important;font-size:12px!important;
}
.al14-shell .al35-wand-curation .al35-gift-disclosure{margin:0 0 7px!important}
.al14-shell .al35-wand-curation .al35-gift-title{min-height:47px;padding:9px 12px}
.al14-shell .al35-wand-curation .al35-gift-title strong{font-size:11px}
.al14-shell .al35-wand-curation .al35-gift-title small{font-size:9px}
.al14-shell .al35-wand-curation .al82-product-info .product_meta{display:none!important}
.al14-shell .al35-wand-curation .al34-dossier-link{margin:10px 0 5px!important;padding:10px 12px!important}
.al14-shell .al35-wand-curation .al82-payment-note{margin-top:9px!important;padding-top:9px!important;font-size:9px!important;line-height:1.5!important}
.al14-shell .al35-wand-curation .al82-product-info :is(button,a,input,summary):focus-visible{
  outline:2px solid #f0c78f!important;outline-offset:2px!important;
}

/* DOSSIÊ — parecer catálogo de obra, sem reintroduzir colunas estreitas. */
.al14-shell .al35-wand-curation .al35-dossier{
  margin-top:clamp(16px,2vw,26px)!important;padding:clamp(19px,2.5vw,35px)!important;
  border-radius:15px!important;background:#1a1c1d!important;
}
.al14-shell .al35-wand-curation .al35-dossier-intro{padding-bottom:clamp(14px,2vw,27px)!important}
.al14-shell .al35-wand-curation .al35-origin-grid{padding:clamp(16px,2.5vw,28px) 0!important}
.al14-shell .al35-wand-curation .al35-symbol-card>summary{min-height:77px!important;padding:14px 16px!important}
.al14-shell .al35-wand-curation .al35-record-card>summary{min-height:52px!important;padding:12px 15px!important}
.al14-shell .al35-wand-curation .al35-measure-scene{margin-top:16px!important;padding:clamp(15px,2vw,26px)!important}
.al14-shell .al35-wand-curation #al35-dossier-title{scroll-margin-top:90px}

/* VIEWPORT NARROW — o H1 verdadeiro antecede a fotografia. Uma só coluna,
   foto inteira, leitura e compra sem excesso de área residual. */
@media(max-width:1079px){
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-layout{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  }
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-media{position:relative!important;top:auto!important}
  .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{
    height:clamp(380px,64vw,620px)!important;
  }
}
@media(min-width:1080px) and (min-height:660px){
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-media{
    position:sticky!important;top:82px!important;inset-block-start:82px!important;
  }
}
@media(max-width:719px){
  .al14-shell .al82-product-page.al35-wand-curation{padding:10px 9px 65px!important}
  .al14-shell .al35-wand-curation .al82-product-breadcrumb{margin-bottom:12px!important;font-size:10px}
  .al36-mobile-identity{display:grid;gap:5px;margin:0 0 13px;padding:0 4px}
  .al36-mobile-identity .al36-eyebrow{
    color:#c9a472;font:700 9px/1.2 var(--al-ui,Montserrat,Arial,sans-serif);
    letter-spacing:.12em;
  }
  .al36-mobile-identity h1{
    color:#f4e5d2;font:500 clamp(34px,9.5vw,47px)/1.05 var(--al-editorial,Georgia,serif);
    margin:0!important;letter-spacing:-.025em;
  }
  .al36-mobile-identity p{color:#d2b18a;font:500 12px/1.5 var(--al-ui,Montserrat,Arial,sans-serif);margin:0!important}
  .al14-shell .al35-wand-curation .al82-product-info h1,
  .al14-shell .al35-wand-curation .al82-product-info .al33-product-subtitle{display:none!important}
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-layout{gap:10px!important}
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-media{
    padding:7px!important;gap:8px!important;border-radius:12px!important;
  }
  .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{
    height:clamp(290px,106vw,490px)!important;padding:3px!important;border-radius:9px!important;
  }
  .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb{
    flex-basis:59px!important;width:59px!important;inline-size:59px!important;
    height:61px!important;block-size:61px!important;min-height:61px!important;
  }
  .al14-shell .al82-product-page.al35-wand-curation .al82-product-info{
    padding:18px 16px!important;border-radius:12px!important;
  }
  .al14-shell .al35-wand-curation .al82-product-topline{margin-bottom:6px!important}
  .al14-shell .al35-wand-curation .al35-essence{padding:10px 0!important;margin-bottom:8px!important}
  .al14-shell .al35-wand-curation .al82-product-info p.price{font-size:31px!important;margin:10px 0!important}
  .al14-shell .al35-wand-curation .al35-dossier{padding:20px 15px!important;margin-top:12px!important}
  .al14-shell .al35-wand-curation .al35-dossier-intro h2{font-size:clamp(33px,8.5vw,42px)!important}
  .al14-shell .al35-wand-curation .al35-origin-grid{grid-template-columns:minmax(0,1fr)!important}
  .al14-shell .al35-wand-curation .al35-symbol-grid,.al14-shell .al35-wand-curation .al35-record-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:500px){
 .al14-shell .al42-topbar form.al42-search{min-width:0;max-width:none;grid-template-columns:17px minmax(0,1fr) 36px;column-gap:8px;height:42px!important;min-height:42px!important;padding:0 3px 0 10px!important}
 .al14-shell .al42-topbar form.al42-search button[type="submit"]{width:36px!important;min-width:36px!important;min-height:33px!important;height:33px!important}
 .al14-shell .al42-topbar form.al42-search input[type="search"]{font-size:12px!important}
 .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{height:clamp(295px,110vw,445px)!important}
 .al14-shell .al35-wand-curation .al82-product-info .single_add_to_cart_button{min-height:50px!important}
}
@media(prefers-reduced-motion:reduce){
 .al14-shell .al42-topbar form.al42-search,
 .al14-shell .al35-wand-curation *{transition:none!important;animation:none!important}
}

/* AUD02 legado: entre 1000 e 1099px ocultava o rail mas mantinha
   reservada sua coluna de 200px, estrangulando o produto. */
@media(min-width:720px) and (max-width:1099px){
 .al14-shell .al83-workspace:has(> .al82-product-page.al35-wand-curation){display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
 .al14-shell .al83-workspace:has(> .al82-product-page.al35-wand-curation)>.al83-rail{display:none!important;}
 .al14-shell .al83-workspace>.al82-product-page.al35-wand-curation{grid-column:1!important;min-width:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;}
}
/* O header mobile precisa de busca realmente utilizável, não um input de 2px. */
@media(max-width:640px){
 .al14-shell .al42-topbar{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;align-items:center!important;
  gap:7px 10px!important;height:auto!important;min-height:0!important;
  padding:8px 12px 10px!important;
 }
 .al14-shell .al42-topbar>.al42-brand-cell{grid-column:1;grid-row:1;min-width:0!important;}
 .al14-shell .al42-topbar>.al42-header-actions{grid-column:2;grid-row:1;min-width:0!important;}
 .al14-shell .al42-topbar form.al42-search{
  grid-column:1/-1!important;grid-row:2!important;width:100%!important;
  max-width:none!important;justify-self:stretch!important;
  display:grid!important;
 }
}
