/* ENVASAR V3.2 — PÁGINAS DE PRODUTO
 * Escopo: body.single-product.evc-single-v32, feature flag independente.
 * Textos técnicos e links WooCommerce permanecem totalmente nativos.
 */
body.single-product.evc-single-v32 .product-footer{
  background:#f3f8fc;
  border-top:1px solid #e0eaf1;
  padding:38px 0 58px;
}
body.single-product.evc-single-v32 .product-footer > .container{
  max-width:1280px;
}

/* Abas originais mantidas acessíveis e interativas acima dos painéis. */
body.single-product.evc-single-v32 .woocommerce-tabs.wc-tabs-wrapper{
  margin:0 auto 38px;
  padding:0!important;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs{
  margin:0 0 12px!important;
  padding:0 7px!important;
  border:0!important;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs > li{
  margin:0!important;
  border:0!important;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs > li > a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  border:1px solid #d8e8f1;
  border-radius:10px;
  background:#fff;
  padding:9px 16px;
  font-size:12px;
  letter-spacing:0.01em;
  font-weight:700;
  text-transform:none;
  color:#355771;
  transition:background .18s ease,border-color .18s ease;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs > li.active > a{
  background:#eaf6fc;
  color:#086c9a;
  border-color:#b9dceb;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs a:focus-visible{
  outline:3px solid #128bb7;
  outline-offset:2px;
}
body.single-product.evc-single-v32 .woocommerce-tabs .tab-panels{
  padding:0!important;
  margin:0!important;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  padding:34px 39px 36px!important;
  border:1px solid #d5e6f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 27px rgba(5,49,78,.045);
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description::before{
  content:"GUIA TÉCNICO · ENVASAR";
  display:block;
  margin:0 0 16px;
  font-size:11px;
  line-height:1.4;
  letter-spacing:.085em;
  font-weight:800;
  color:#087faf;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description{
  color:#3d6179;
  font-size:15px;
  line-height:1.85;
  overflow-wrap:break-word;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description h2,
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description h3{
  color:#0c3656;
  font-weight:750;
  letter-spacing:-.025em;
  line-height:1.3;
  margin:26px 0 12px;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description h2:first-of-type{
  margin-top:0;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description p,
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description ul,
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description ol{
  margin-bottom:15px;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description a{
  color:#0578ac;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description img{
  max-width:100%;
  height:auto;
}

/* Related products: native Flatsome repeater, grid mode, 2 columns desktop.
 * Cards follow category V3.2 horizontal image-left/content-right. */
body.single-product.evc-single-v32 .related.related-products-wrapper{
  background:#eff7fc;
  border:1px solid #d5e6f1;
  border-radius:18px;
  padding:30px 28px 34px;
  margin:0 auto 12px!important;
  box-shadow:0 9px 27px rgba(5,49,78,.025);
}
body.single-product.evc-single-v32 .related .product-section-title-related{
  font-size:25px!important;
  color:#0b3454!important;
  line-height:1.3!important;
  letter-spacing:-.025em;
  text-transform:none!important;
  font-weight:750!important;
  margin:0 0 22px!important;
  padding:0!important;
  border:0!important;
}
body.single-product.evc-single-v32 .related .product-section-title-related::before{
  content:"DESCUBRA MAIS · ENVASAR";
  display:block;
  font-size:11px;
  letter-spacing:.09em;
  color:#087eaf;
  text-transform:uppercase;
  margin-bottom:9px;
  font-weight:800;
}
body.single-product.evc-single-v32 .related .row{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  row-gap:14px;
  margin-left:-7px;
  margin-right:-7px;
}
body.single-product.evc-single-v32 .related .row > .product-small.col{
  width:50%!important;
  flex:0 0 50%!important;
  max-width:50%!important;
  padding:0 7px!important;
  margin:0!important;
}
body.single-product.evc-single-v32 .related .product-small.col > .col-inner{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:176px;
  background:#fff!important;
  border:1px solid #d8e7f2;
  border-radius:15px;
  box-shadow:0 6px 16px rgba(14,55,82,.035);
  overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
@media (hover:hover){
  body.single-product.evc-single-v32 .related .product-small.col > .col-inner:hover{
    border-color:#b3d6e9;
    box-shadow:0 11px 26px rgba(7,57,86,.075);
    transform:translateY(-2px);
  }
}
body.single-product.evc-single-v32 .related .product-small.box{
  display:flex!important;
  flex-direction:row!important;
  width:100%;
  height:100%;
  flex:1 1 auto;
  min-height:176px;
  align-items:stretch!important;
}
body.single-product.evc-single-v32 .related .product-small .box-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:142px!important;
  min-width:142px!important;
  max-width:142px!important;
  flex:0 0 142px!important;
  margin:0!important;
  padding:13px!important;
  border-right:1px solid #e4edf3;
  background:#fff!important;
  overflow:hidden;
}
body.single-product.evc-single-v32 .related .product-small .box-image > .image-fade_in_back{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  height:145px!important;
  margin:0!important;
}
body.single-product.evc-single-v32 .related .product-small .box-image .image-fade_in_back > a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
}
body.single-product.evc-single-v32 .related .product-small .box-image picture{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
body.single-product.evc-single-v32 .related .product-small .box-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  transform:none!important;
}
body.single-product.evc-single-v32 .related .product-small .box-text,
body.single-product.evc-single-v32 .related .product-small .box-text.flex-row.flex-wrap{
  display:flex!important;
  flex:1 1 0!important;
  flex-flow:column nowrap!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  padding:17px!important;
  text-align:left!important;
  overflow:visible!important;
}
body.single-product.evc-single-v32 .related .product-small .box-text > .title-wrapper,
body.single-product.evc-single-v32 .related .product-small .box-text > .price-wrapper,
body.single-product.evc-single-v32 .related .product-small .box-text > .add-to-cart-button{
  box-sizing:border-box;
  display:block!important;
  flex:0 0 auto!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding-right:0!important;
}
body.single-product.evc-single-v32 .related .product-small .name.product-title{
  font-size:13px!important;
  line-height:1.48!important;
  font-weight:700!important;
  min-height:0!important;
  margin:0 0 12px!important;
  color:#0c3656;
}
body.single-product.evc-single-v32 .related .product-small .name.product-title > a{
  color:#0c3656;
}
body.single-product.evc-single-v32 .related .product-small .price-wrapper{
  margin-top:auto!important;
  margin-bottom:12px!important;
  font-size:12px!important;
}
body.single-product.evc-single-v32 .related .product-small .price-wrapper .price{
  font-size:12px!important;
  font-weight:700!important;
  color:#0a3453;
  overflow-wrap:anywhere;
}
body.single-product.evc-single-v32 .related .product-small .add-to-cart-button{
  min-height:36px;
  margin:0!important;
}
body.single-product.evc-single-v32 .related .product-small .add-to-cart-button > a.button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  box-sizing:border-box!important;
  min-height:36px!important;
  margin:0!important;
  padding:9px 12px!important;
  border:0!important;
  border-radius:9px!important;
  background:#e8f5fc!important;
  color:#006998!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  text-align:center!important;
  text-transform:none!important;
  opacity:1!important;
  visibility:visible!important;
}
body.single-product.evc-single-v32 .related .product-small .add-to-cart-button > a.button:hover{
  background:#d5ecf9!important;
  color:#005a85!important;
}
body.single-product.evc-single-v32 .related .product-small .box-text .name.product-title a:focus-visible,
body.single-product.evc-single-v32 .related .product-small .add-to-cart-button a:focus-visible{
  outline:3px solid #087eaf;
  outline-offset:2px;
}
/* Sticky CTA stays fully functional; only appearance is modernized. */
body.single-product.evc-single-v32 .sticky-add-to-cart .sticky-add-to-cart-select-options-button{
  background:#087eae!important;
  color:#fff!important;
  border:0!important;
  border-radius:9px!important;
  text-transform:none!important;
  font-weight:700!important;
  min-height:38px!important;
}
@media(max-width:850px){
  body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel{
    padding:25px 22px 28px!important;
  }
  body.single-product.evc-single-v32 .related.related-products-wrapper{
    padding:23px 17px 25px;
  }
  body.single-product.evc-single-v32 .related .product-small .box-image{
    width:108px!important;min-width:108px!important;max-width:108px!important;
    flex-basis:108px!important;padding:9px!important;
  }
  body.single-product.evc-single-v32 .related .product-small .box-text{
    padding:12px!important;
  }
}
@media(max-width:699px){
  body.single-product.evc-single-v32 .product-footer{padding:24px 0 38px}
  body.single-product.evc-single-v32 .woocommerce-tabs .tabs.wc-tabs{padding:0!important}
  body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel{
    padding:21px 17px 25px!important;
    border-radius:14px;
    font-size:14px;
    line-height:1.75;
  }
  body.single-product.evc-single-v32 .woocommerce-tabs .woocommerce-Tabs-panel--description h2{
    font-size:21px!important;
  }
  body.single-product.evc-single-v32 .related.related-products-wrapper{
    padding:20px 13px 22px;
    border-radius:14px;
  }
  body.single-product.evc-single-v32 .related .product-section-title-related{font-size:21px!important}
  body.single-product.evc-single-v32 .related .row > .product-small.col{
    width:100%!important;flex-basis:100%!important;max-width:100%!important;
  }
  body.single-product.evc-single-v32 .related .product-small.box{min-height:150px}
  body.single-product.evc-single-v32 .related .product-small.col > .col-inner{min-height:150px}
  body.single-product.evc-single-v32 .related .product-small .box-image > .image-fade_in_back{
    height:125px!important;
  }
  body.single-product.evc-single-v32 .related .product-small .box-text,
  body.single-product.evc-single-v32 .related .product-small .box-text.flex-row.flex-wrap{
    padding:12px!important;
  }
}
@media(max-width:360px){
  body.single-product.evc-single-v32 .related .product-small .box-image{
    width:91px!important;min-width:91px!important;max-width:91px!important;
    flex-basis:91px!important;padding:7px!important;
  }
}


/* Packaging single products use the appropriate editorial identification. */
body.single-product.evc-single-v32.evc-single-packaging .woocommerce-tabs .woocommerce-Tabs-panel--description::before{
  content:"DETALHES DA EMBALAGEM · ENVASAR";
}

/* Envasar V3.2 · Compra compacta e breve descrição em card (13/10/2026).
 * SOMENTE páginas individuais; não altera o seletor JS, variações ou compra.
 * Regras específicas sobrescrevem o CSS legado de botões de 62px/2 colunas.
 */

/* Breve descrição: leitura orientada, no mesmo sistema visual da V3.2. */
body.single-product.evc-single-v32 .product-short-description{
  box-sizing:border-box!important;
  width:100%;
  max-width:100%;
  min-width:0;
  background:#fff!important;
  border:1px solid #d8e8f2!important;
  border-left:3px solid #168cbd!important;
  border-radius:13px!important;
  box-shadow:0 5px 15px rgba(9,54,83,.035);
  padding:15px 18px!important;
  margin:4px 0 15px!important;
  color:#41647a;
  font-size:14px!important;
  line-height:1.58!important;
  overflow-wrap:break-word;
}
body.single-product.evc-single-v32 .product-short-description p{
  font-size:inherit!important;
  line-height:inherit!important;
  margin:0 0 8px!important;
}
body.single-product.evc-single-v32 .product-short-description p:last-child{
  margin-bottom:0!important;
}
body.single-product.evc-single-v32 .product-short-description a{
  color:#007dac;
  text-underline-offset:2px;
}

/* Variações: comprimimos a área, SEM esconder o select do WooCommerce.
 * A integração jQuery existente continua criando os swatches e disparando
 * change sobre o select original, como sempre fez. */
body.single-product.evc-single-v32 .variations_form{
  margin:0!important;
  padding:0!important;
  max-width:100%;
}
body.single-product.evc-single-v32 .variations_form table.variations{
  margin:0 0 7px!important;
  width:100%!important;
}
body.single-product.evc-single-v32 .variations_form table.variations th.label{
  width:100%!important;
  display:block!important;
  margin:0 0 7px!important;
  padding:0!important;
  line-height:1.25!important;
}
body.single-product.evc-single-v32 .variations_form table.variations th.label label{
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  letter-spacing:.025em;
  font-weight:700!important;
  color:#19455f;
}
body.single-product.evc-single-v32 .variations_form table.variations td.value{
  margin:0!important;
  padding:0!important;
}
body.single-product.evc-single-v32 .variations_form .custom-swatch-wrapper{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  column-gap:8px!important;
  row-gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 8px!important;
  align-items:stretch!important;
}
body.single-product.evc-single-v32 .variations_form .custom-swatch-btn{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:43px!important;
  min-height:43px!important;
  padding:6px 6px!important;
  margin:0!important;
  border-radius:8px!important;
  font-size:12px!important;
  line-height:1.22!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow-wrap:break-word;
  text-align:center;
  box-shadow:0 2px 5px rgba(9,54,83,.035)!important;
}
body.single-product.evc-single-v32 .variations_form .custom-swatch-btn:focus-visible{
  outline:2px solid #087eaf!important;
  outline-offset:2px!important;
}
body.single-product.evc-single-v32 .variations_form .reset_variations{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:1px 0 0!important;
  font-size:11px!important;
  line-height:1.3!important;
}
body.single-product.evc-single-v32 .variations_form .single_variation_wrap{
  margin-top:0!important;
  padding:0!important;
}
body.single-product.evc-single-v32 .variations_form .woocommerce-variation{
  margin:0!important;
  padding:0!important;
}
body.single-product.evc-single-v32 .variations_form .woocommerce-variation-price{
  margin:3px 0 10px!important;
  padding:6px 0 0!important;
  border-top:1px solid #e5eef3!important;
}
body.single-product.evc-single-v32 .variations_form .woocommerce-variation-price .price{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font-size:24px!important;
  line-height:1.3!important;
  letter-spacing:-.35px!important;
  font-weight:800!important;
  color:#0a4d71!important;
}
body.single-product.evc-single-v32 .variations_form .woocommerce-variation-description,
body.single-product.evc-single-v32 .variations_form .woocommerce-variation-availability{
  margin:2px 0 6px!important;
  font-size:12px!important;
}
body.single-product.evc-single-v32 .variations_form .woocommerce-variation-add-to-cart{
  margin:0!important;
  padding:0!important;
}
body.single-product.evc-single-v32 .variations_form .single_add_to_cart_button{
  box-sizing:border-box!important;
  min-height:44px!important;
  height:44px!important;
  margin-bottom:0!important;
  padding:8px 15px!important;
  font-size:13px!important;
  line-height:1.35!important;
  border-radius:9px!important;
}

/* Tablet: permite três opções legíveis. */
@media(max-width:1099px) and (min-width:850px){
  body.single-product.evc-single-v32 .variations_form .custom-swatch-wrapper{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
/* Celular/tablet estreito: duas por linha, com alvo de toque >=44px. */
@media(max-width:849px){
  body.single-product.evc-single-v32 .variations_form .custom-swatch-wrapper{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-bottom:8px!important;
  }
  body.single-product.evc-single-v32 .variations_form .custom-swatch-btn{
    height:46px!important;
    min-height:46px!important;
    font-size:12px!important;
    padding:7px 8px!important;
  }
  body.single-product.evc-single-v32 .product-short-description{
    padding:13px 15px!important;
    margin-bottom:13px!important;
  }
  body.single-product.evc-single-v32 .variations_form .woocommerce-variation-price .price{
    font-size:23px!important;
  }
}
