/*
 * Crazy Theme — WooCommerce / PDP
 * ETAPA 3.7 — V0.6.4
 *
 * Refinamento incremental da zona comercial:
 * - remove lupa/controle visual de zoom e badge sobre a mídia;
 * - reorganiza OFERTA, preço anterior, preço atual, desconto e parcelamento;
 * - compacta galeria, variações, quantidade, CTA e frete;
 * - reposiciona a descrição breve depois do frete;
 * - validação mobile-first com referência principal em 390 px;
 * - preserva tabs/conteúdo inferior, Home, header e footer.
 */

.crazy-woo-main{
  padding:16px 0 68px;
  background:#fff;
}

.crazy-woo-container{
  min-height:50vh;
}

.woocommerce .woocommerce-breadcrumb{
  margin:0 0 14px;
  color:#7a8297;
  font-size:.82rem;
}

.woocommerce .woocommerce-breadcrumb a{
  color:#4b5570;
}

.woocommerce .woocommerce-breadcrumb a:hover{
  color:var(--blue);
}

/* Estrutura geral da PDP */
.single-product div.product{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(350px,.98fr);
  column-gap:38px;
  row-gap:24px;
  align-items:start;
  min-width:0;
}

.single-product div.product > .woocommerce-product-gallery{
  grid-column:1;
  grid-row:1;
  float:none!important;
  width:auto!important;
  margin:0!important;
  min-width:0;
  max-width:610px;
}

.single-product div.product > .summary{
  grid-column:2;
  grid-row:1;
  float:none!important;
  width:auto!important;
  margin:0!important;
  min-width:0;
  padding:2px 0 0;
}

.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}

/* Nenhum badge promocional deve ocupar a mídia na PDP. */
.single-product span.onsale{
  display:none!important;
}

/* Galeria desktop: miniaturas verticais + mídia menos dominante. */
.single-product .woocommerce-product-gallery{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:12px;
  align-items:start;
  min-width:0;
}

.single-product .woocommerce-product-gallery__wrapper{
  grid-column:2;
  grid-row:1;
  margin:0;
  min-width:0;
}

.single-product .woocommerce-product-gallery__image{
  background:linear-gradient(180deg,#fafbfe,#f4f6fb);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}

.single-product .woocommerce-product-gallery__image a{
  display:grid;
  place-items:center;
  min-height:400px;
}

.single-product .woocommerce-product-gallery__image img{
  display:block;
  width:100%!important;
  height:400px!important;
  object-fit:contain;
  object-position:center;
  padding:14px;
}

/* V0.6: lupa/controle visual de zoom removido completamente. */
.single-product .woocommerce-product-gallery__trigger{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.single-product .flex-control-thumbs{
  grid-column:1;
  grid-row:1;
  display:flex!important;
  flex-direction:column;
  gap:8px;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  max-height:400px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}

.single-product .flex-control-thumbs li{
  float:none!important;
  width:auto!important;
  margin:0!important;
  flex:0 0 auto;
}

.single-product .flex-control-thumbs img{
  display:block;
  width:100%;
  aspect-ratio:1;
  object-fit:contain;
  padding:6px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  opacity:.72;
  transition:.18s ease;
}

.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs img.flex-active{
  opacity:1;
  border-color:#aeb3ff;
  box-shadow:0 0 0 3px rgba(10,22,255,.06);
}

/* Bloco comercial */
.single-product .summary .product_title{
  margin:0 0 12px;
  color:var(--ink);
  font-size:clamp(1.9rem,2.7vw,2.55rem);
  line-height:1.08;
  letter-spacing:-.04em;
  font-weight:900;
}

.crazy-pdp-price-block{
  margin:0 0 14px;
  min-width:0;
}

.crazy-pdp-offer-label{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  margin:0 0 7px;
  padding:0 9px;
  border-radius:7px;
  background:var(--soft-blue);
  color:var(--blue);
  font-size:.73rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.crazy-pdp-price-row{
  display:flex;
  align-items:flex-end;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.single-product .summary .crazy-pdp-price-row .price{
  margin:0!important;
  color:var(--ink)!important;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  min-width:0;
  font-size:1rem!important;
  line-height:1.1;
  font-weight:700!important;
  letter-spacing:0;
}

.single-product .summary .crazy-pdp-price-row .price del{
  order:1;
  color:#8f96a8!important;
  font-size:.92rem!important;
  line-height:1.25;
  font-weight:600;
  opacity:1!important;
}

.single-product .summary .crazy-pdp-price-row .price ins{
  order:2;
  color:var(--ink)!important;
  text-decoration:none!important;
  font-size:2.05rem!important;
  line-height:1;
  font-weight:900!important;
  margin:0;
}

/* Produto sem promoção: o próprio preço continua dominante. */
.single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
.single-product .summary .crazy-pdp-price-row .price > bdi{
  color:var(--ink)!important;
  font-size:2.05rem!important;
  line-height:1;
  font-weight:900!important;
}

.crazy-pdp-saving{
  margin:0 0 2px;
  flex:0 0 auto;
}

.crazy-saving-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  background:#e8f7ef;
  color:#117a55;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.01em;
  white-space:nowrap;
}

.crazy-pdp-installment{
  margin-top:6px;
  color:#4f596f;
  font-size:.88rem;
  line-height:1.45;
  font-weight:600;
}

/* Descrição breve reposicionada para depois do frete. */
.single-product .woocommerce-product-details__short-description{
  margin:12px 0 0;
  color:#596278;
  font-size:.94rem;
  line-height:1.62;
}

.single-product .woocommerce-product-details__short-description > :first-child{
  margin-top:0;
}

.single-product .woocommerce-product-details__short-description > :last-child{
  margin-bottom:0;
}

/* Variações compactas, mantendo área de toque adequada. */
.single-product .summary .variations_form,
.single-product .summary form.cart{
  margin:0 0 12px!important;
}

.single-product .summary .variations_form{
  display:block;
}

.single-product table.variations{
  width:100%;
  margin:0 0 8px!important;
  border-collapse:separate;
  border-spacing:0 5px;
}

.single-product table.variations th,
.single-product table.variations td{
  display:block;
  width:100%;
  padding:0!important;
  text-align:left!important;
}

.single-product table.variations th label{
  display:block;
  margin-bottom:5px;
  font-size:.82rem;
  line-height:1.3;
  font-weight:900;
  color:#343d55;
}

.single-product table.variations select{
  width:100%;
  min-height:42px;
  height:42px;
  border:1px solid #d4d9e4;
  border-radius:11px;
  background:#fff;
  padding:0 12px;
  color:var(--ink);
  font-size:.92rem;
}

.single-product .reset_variations{
  display:inline-block;
  margin-top:5px;
  color:var(--blue);
  font-size:.78rem;
  font-weight:800;
}

.single-product .stock{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 10px!important;
  color:var(--success)!important;
  font-size:.9rem;
  line-height:1.35;
  font-weight:800;
}

.single-product .stock::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 0 3px rgba(17,122,85,.08);
}

/* Compra: simples e variável com proporções equivalentes. */
.single-product .summary form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:nowrap;
  width:100%;
}

.single-product form.cart .quantity,
.single-product .woocommerce-variation-add-to-cart .quantity{
  flex:0 0 auto;
  margin:0!important;
}

.single-product form.cart .quantity .qty{
  width:68px;
  height:44px;
  border:1px solid #ccd1df;
  border-radius:11px;
  background:#fff;
  color:var(--ink);
  text-align:center;
  font-weight:800;
}

.single-product .single_add_to_cart_button,
.single-product .button.alt{
  min-height:44px!important;
  padding:0 20px!important;
  border-radius:11px!important;
  background:var(--blue)!important;
  color:#fff!important;
  font-weight:900!important;
  border:0!important;
  box-shadow:none!important;
  line-height:1.2!important;
}

.single-product .summary form.cart:not(.variations_form) .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button{
  flex:1 1 auto;
  min-width:0;
}

.single-product .single_add_to_cart_button:hover,
.single-product .button.alt:hover{
  background:var(--blue-600)!important;
}

/* Frete: informação logística secundária, não segundo CTA. */
.crazy-pdp-shipping{
  display:flex;
  gap:9px;
  align-items:flex-start;
  margin:10px 0 0;
  padding:10px 12px;
  border:1px solid #e0e6ef;
  border-radius:12px;
  background:#fbfdff;
}

.crazy-pdp-shipping__icon{
  flex:0 0 auto;
  font-size:1rem;
  line-height:1;
  margin-top:2px;
}

.crazy-pdp-shipping__copy{
  display:grid;
  gap:1px;
  min-width:0;
}

.crazy-pdp-shipping__copy strong{
  color:#1b7f5c;
  font-size:.88rem;
  line-height:1.35;
}

.crazy-pdp-shipping__copy span{
  color:#6b7488;
  font-size:.78rem;
  line-height:1.4;
}

/* Meta: SKU e tags continuam ocultos; categoria permanece discreta. */
.single-product .product_meta{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
  display:grid;
  gap:5px;
  color:#7a8294;
  font-size:.78rem;
  line-height:1.5;
}

.single-product .product_meta .sku_wrapper,
.single-product .product_meta .tagged_as{
  display:none!important;
}

.single-product .product_meta > span{
  display:block;
}

.single-product .product_meta a{
  color:#566078;
  font-weight:700;
}

.single-product .product_meta a:hover{
  color:var(--blue);
}

/* Tabs inferiores: congeladas funcionalmente; apenas estilos já existentes preservados. */
.single-product .woocommerce-tabs{
  margin-top:18px;
  padding-top:30px;
  border-top:1px solid var(--line);
}

.single-product .woocommerce-tabs ul.tabs{
  display:flex!important;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 24px!important;
  padding:0!important;
  border:0!important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
  display:none!important;
}

.single-product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  background:#fff!important;
}

.single-product .woocommerce-tabs ul.tabs li a{
  display:block;
  padding:10px 16px!important;
  color:#525b70!important;
  font-size:.84rem;
  font-weight:800!important;
}

.single-product .woocommerce-tabs ul.tabs li.active{
  background:var(--soft-blue)!important;
  border-color:#c8cbff!important;
}

.single-product .woocommerce-tabs ul.tabs li.active a{
  color:var(--blue)!important;
}

.single-product .woocommerce-Tabs-panel{
  max-width:980px;
  margin:0;
  color:#343d55;
  font-size:1rem;
  line-height:1.78;
}

.single-product .woocommerce-Tabs-panel h2{
  margin:0 0 14px;
  font-size:1.55rem;
  letter-spacing:-.025em;
}

.single-product .woocommerce-Tabs-panel p{
  margin:0 0 14px;
}

.single-product .woocommerce-Tabs-panel ul{
  padding-left:22px;
}

.single-product table.shop_attributes{
  width:min(100%,820px);
  border-collapse:collapse!important;
}

.single-product table.shop_attributes th,
.single-product table.shop_attributes td{
  padding:12px 14px!important;
  border-bottom:1px solid var(--line)!important;
  background:#fff!important;
  font-style:normal!important;
}

.single-product table.shop_attributes th{
  width:220px;
  color:#30394f;
}

.single-product table.shop_attributes td{
  color:#5a647a;
}

/* Sidebar/fallback */
.crazy-woo-main + #secondary,
.crazy-woo-main ~ #secondary,
.single-product #secondary,
.woocommerce-page #secondary{
  display:none!important;
}

/* Desktop médio / transição */
@media(max-width:1120px){
  .single-product div.product{
    grid-template-columns:minmax(0,1fr) minmax(330px,.96fr);
    column-gap:28px;
  }

  .single-product .woocommerce-product-gallery__image a{
    min-height:370px;
  }

  .single-product .woocommerce-product-gallery__image img{
    height:370px!important;
  }

  .single-product .flex-control-thumbs{
    max-height:370px;
  }

  .single-product .summary .product_title{
    font-size:2.15rem;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.92rem!important;
  }
}

/* Tablet/mobile: reorganização real, não compressão do desktop. */
@media(max-width:860px){
  .crazy-woo-main{
    padding-top:12px;
  }

  .single-product div.product{
    display:block;
    min-width:0;
  }

  .single-product div.product > .summary{
    padding-top:16px;
    min-width:0;
  }

  .single-product .woocommerce-product-gallery{
    grid-template-columns:1fr;
    gap:9px;
    width:100%;
    max-width:none;
    min-width:0;
  }

  .single-product .woocommerce-product-gallery__wrapper{
    grid-column:1;
    grid-row:1;
    min-width:0;
  }

  .single-product .flex-control-thumbs{
    grid-column:1;
    grid-row:2;
    flex-direction:row;
    gap:8px;
    max-width:100%;
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
    padding:1px 1px 5px!important;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .single-product .flex-control-thumbs li{
    min-width:66px;
    width:66px!important;
    scroll-snap-align:start;
  }

  .single-product .woocommerce-product-gallery__image a{
    min-height:310px;
  }

  .single-product .woocommerce-product-gallery__image img{
    height:310px!important;
    padding:12px;
  }

  .single-product .summary .product_title{
    font-size:1.82rem;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.88rem!important;
  }
}

/* Referência principal de validação: 390 px; também cobre 360/430/320. */
@media(max-width:480px){
  .crazy-woo-main{
    padding:10px 0 52px;
  }

  .woocommerce .woocommerce-breadcrumb{
    margin-bottom:10px;
    font-size:.74rem;
    line-height:1.4;
  }

  .single-product .woocommerce-product-gallery__image{
    border-radius:14px;
  }

  .single-product .woocommerce-product-gallery__image a{
    min-height:min(72vw,286px);
  }

  .single-product .woocommerce-product-gallery__image img{
    height:min(72vw,286px)!important;
    padding:10px;
  }

  .single-product .flex-control-thumbs li{
    min-width:58px;
    width:58px!important;
  }

  .single-product .flex-control-thumbs img{
    padding:5px;
    border-radius:9px;
  }

  .single-product div.product > .summary{
    padding-top:13px;
  }

  .single-product .summary .product_title{
    margin-bottom:10px;
    font-size:1.55rem;
    line-height:1.12;
    letter-spacing:-.032em;
  }

  .crazy-pdp-price-block{
    margin-bottom:12px;
  }

  .crazy-pdp-offer-label{
    min-height:24px;
    margin-bottom:6px;
    padding:0 8px;
    font-size:.69rem;
  }

  .crazy-pdp-price-row{
    gap:8px;
  }

  .single-product .summary .crazy-pdp-price-row .price del{
    font-size:.85rem!important;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.78rem!important;
  }

  .crazy-saving-pill{
    min-height:23px;
    padding:0 8px;
    font-size:.72rem;
  }

  .crazy-pdp-installment{
    margin-top:5px;
    font-size:.82rem;
    line-height:1.4;
  }

  .single-product table.variations select{
    min-height:42px;
    height:42px;
    border-radius:10px;
  }

  .single-product .stock{
    margin-bottom:9px!important;
    font-size:.86rem;
  }

  .single-product .summary form.cart:not(.variations_form),
  .single-product .woocommerce-variation-add-to-cart{
    gap:8px;
  }

  .single-product form.cart .quantity .qty{
    width:62px;
    height:44px;
    border-radius:10px;
  }

  .single-product .single_add_to_cart_button,
  .single-product .button.alt{
    min-height:44px!important;
    padding:0 13px!important;
    border-radius:10px!important;
    font-size:.9rem!important;
  }

  .crazy-pdp-shipping{
    gap:8px;
    margin-top:9px;
    padding:9px 10px;
    border-radius:10px;
  }

  .crazy-pdp-shipping__copy strong{
    font-size:.84rem;
  }

  .crazy-pdp-shipping__copy span{
    font-size:.74rem;
  }

  .single-product .woocommerce-product-details__short-description{
    margin-top:10px;
    font-size:.88rem;
    line-height:1.55;
  }

  .single-product .product_meta{
    margin-top:10px;
    padding-top:10px;
    font-size:.74rem;
  }
}

/* Limite compacto: evita estouro no CTA em 320 px. */
@media(max-width:340px){
  .single-product form.cart .quantity .qty{
    width:58px;
  }

  .single-product .single_add_to_cart_button,
  .single-product .button.alt{
    padding:0 10px!important;
    font-size:.84rem!important;
  }

  .single-product .summary .product_title{
    font-size:1.45rem;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.68rem!important;
  }
}

/* ============================================================
 * PDP V0.6.1 — modelo aprovado em três zonas + adaptação universal
 * ============================================================ */

/* Título um pouco mais controlado e espaço para o compartilhar. */
.single-product div.product > .summary{
  position:relative;
}

.single-product .summary .product_title{
  padding-right:48px;
  font-size:clamp(1.72rem,2.15vw,2.15rem);
  line-height:1.12;
  letter-spacing:-.035em;
}

/* Nenhuma etiqueta de marca é criada pela V0.6.1. */
.crazy-pdp-share-wrap{
  position:absolute;
  top:2px;
  right:0;
  z-index:2;
}

.crazy-pdp-share{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #dfe4ef;
  border-radius:999px;
  background:#fff;
  color:#536078;
  cursor:pointer;
  transition:.18s ease;
}

.crazy-pdp-share:hover,
.crazy-pdp-share:focus-visible{
  border-color:#bfc5ff;
  color:var(--blue);
  box-shadow:0 0 0 3px rgba(10,22,255,.07);
  outline:0;
}

.crazy-pdp-share svg{
  width:19px;
  height:19px;
}

.crazy-pdp-share-status{
  position:absolute;
  top:46px;
  right:0;
  width:max-content;
  max-width:180px;
  padding:0;
  color:#596278;
  font-size:.72rem;
  font-weight:700;
}

/* Desktop largo: galeria + informações + caixa de compra. */
@media(min-width:1181px){
  .single-product div.product{
    grid-template-columns:minmax(0,1.3fr) minmax(300px,.82fr) minmax(265px,.66fr);
    column-gap:22px;
    row-gap:26px;
  }

  .single-product div.product > .woocommerce-product-gallery{
    grid-column:1;
    grid-row:1;
    max-width:none;
  }

  .single-product div.product > .summary{
    grid-column:2;
    grid-row:1;
    padding-top:2px;
  }

  .single-product div.product > .crazy-pdp-buybox{
    grid-column:3;
    grid-row:1;
  }

  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .related,
  .single-product div.product > .upsells{
    grid-column:1 / -1;
  }

  .single-product .woocommerce-product-gallery__image a{
    min-height:440px;
  }

  .single-product .woocommerce-product-gallery__image img{
    height:440px!important;
    padding:14px;
  }

  .single-product .flex-control-thumbs{
    max-height:440px;
  }
}

/* Transição 861–1180: mantém galeria + conteúdo, buybox abaixo da summary. */
@media(min-width:861px) and (max-width:1180px){
  .single-product div.product{
    grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);
    column-gap:26px;
  }

  .single-product div.product > .woocommerce-product-gallery{
    grid-column:1;
    grid-row:1 / span 2;
  }

  .single-product div.product > .summary{
    grid-column:2;
    grid-row:1;
  }

  .single-product div.product > .crazy-pdp-buybox{
    grid-column:2;
    grid-row:2;
  }

  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .related,
  .single-product div.product > .upsells{
    grid-column:1 / -1;
  }
}

/* Oferta/preço com acabamento mais próximo do conceito aprovado. */
.crazy-pdp-price-block{
  padding-bottom:14px;
  border-bottom:1px solid #eceff5;
}

.crazy-pdp-offer-label{
  min-height:22px;
  padding:0 8px;
  border-radius:6px;
  font-size:.67rem;
}

.crazy-pdp-price-row{
  align-items:flex-end;
  gap:9px;
}

.single-product .summary .crazy-pdp-price-row .price ins,
.single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
.single-product .summary .crazy-pdp-price-row .price > bdi{
  font-size:2.12rem!important;
  letter-spacing:-.035em;
}

.crazy-pdp-installment{
  margin-top:7px;
  font-size:.84rem;
  font-weight:600;
}

/* Chips universais de variação: controlam o select Woo real via JS. */
.crazy-pdp-variation-pickers{
  display:grid;
  gap:12px;
  margin:15px 0 13px;
}

.crazy-pdp-variation-group{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}

.crazy-pdp-variation-group legend{
  margin:0 0 7px;
  padding:0;
  color:#30394f;
  font-size:.84rem;
  line-height:1.3;
  font-weight:900;
}

.crazy-pdp-variation-options{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.crazy-variation-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:0 13px;
  border:1px solid #d8dde8;
  border-radius:10px;
  background:#fff;
  color:#2f3950;
  font-size:.84rem;
  font-weight:750;
  cursor:pointer;
  transition:.16s ease;
}

.crazy-variation-chip:hover,
.crazy-variation-chip:focus-visible{
  border-color:#9fa6ff;
  outline:0;
}

.crazy-variation-chip.is-selected{
  border-color:var(--blue);
  color:var(--blue);
  box-shadow:0 0 0 2px rgba(10,22,255,.07);
}

.crazy-variation-chip.is-disabled,
.crazy-variation-chip:disabled{
  opacity:.38;
  cursor:not-allowed;
}

.crazy-variation-color{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:1px solid rgba(20,28,46,.14);
  border-radius:50%;
  background:var(--crazy-chip-color);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
}

/* Com JS ativo, os selects Woo permanecem no DOM mas não duplicam a interface. */
.crazy-pdp-enhanced .crazy-pdp-buybox table.variations,
.crazy-pdp-enhanced .crazy-pdp-buybox .reset_variations{
  display:none!important;
}

/* Destaques técnicos adaptáveis a qualquer categoria, somente com dados reais. */
.crazy-pdp-highlights{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(105px,1fr));
  gap:7px;
  margin:12px 0 2px;
}

.crazy-pdp-highlight{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:58px;
  padding:9px 10px;
  border:1px solid #e3e7ef;
  border-radius:11px;
  background:#fafbfe;
}

.crazy-pdp-highlight__icon{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  color:var(--blue);
}

.crazy-pdp-highlight__icon svg{
  width:22px;
  height:22px;
}

.crazy-pdp-highlight__copy{
  display:grid;
  gap:1px;
  min-width:0;
}

.crazy-pdp-highlight__copy strong{
  color:#343d55;
  font-size:.72rem;
  line-height:1.25;
}

.crazy-pdp-highlight__copy small{
  color:#626d83;
  font-size:.69rem;
  line-height:1.3;
  overflow-wrap:anywhere;
}

/* Caixa lateral de compra e entrega. */
.crazy-pdp-buybox{
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
  padding:16px;
  border:1px solid #dfe4ed;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 26px rgba(16,28,60,.05);
}

.crazy-pdp-buybox__shipping,
.crazy-pdp-buybox__stock{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.crazy-pdp-buybox__shipping{
  order:1;
  padding-bottom:14px;
  border-bottom:1px solid #edf0f5;
}

.crazy-pdp-buybox__stock{
  order:2;
  padding:14px 0 12px;
}

.crazy-pdp-buybox__icon{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  color:#12805b;
}

.crazy-pdp-buybox__icon svg{
  width:24px;
  height:24px;
}

.crazy-pdp-buybox__shipping strong,
.crazy-pdp-buybox__stock strong{
  display:block;
  color:#167a57;
  font-size:.9rem;
  line-height:1.32;
  font-weight:900;
}

.crazy-pdp-buybox__shipping span,
.crazy-pdp-buybox__stock span{
  display:block;
  margin-top:3px;
  color:#697389;
  font-size:.75rem;
  line-height:1.4;
}

.crazy-pdp-buybox__stock.is-out-of-stock strong,
.crazy-pdp-buybox__stock.is-out-of-stock .crazy-pdp-buybox__icon{
  color:#b42318;
}

.crazy-pdp-cart-zone{
  order:3;
  min-width:0;
}

.crazy-pdp-cart-zone > .stock{
  display:none!important;
}

.crazy-pdp-buybox form.cart,
.crazy-pdp-buybox form.variations_form{
  width:100%;
  margin:0!important;
}

.crazy-pdp-buybox .woocommerce-variation{
  margin:0 0 8px;
}

.crazy-pdp-buybox .woocommerce-variation-price{
  display:none!important;
}

.crazy-pdp-buybox .woocommerce-variation-availability .stock{
  margin:0 0 8px!important;
  color:#167a57!important;
  font-size:.8rem;
  font-weight:800;
}

.crazy-pdp-buybox .woocommerce-variation-add-to-cart,
.crazy-pdp-buybox form.cart:not(.variations_form){
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  gap:8px;
  align-items:stretch;
  width:100%;
}

.crazy-pdp-buybox .quantity{
  width:100%;
  margin:0!important;
}

.crazy-pdp-buybox .quantity.crazy-quantity-control{
  display:grid;
  grid-template-columns:32px minmax(34px,1fr) 32px;
  align-items:stretch;
  min-height:46px;
  overflow:hidden;
  border:1px solid #d4d9e4;
  border-radius:11px;
  background:#fff;
}

.crazy-pdp-buybox .quantity.crazy-quantity-control .qty{
  width:100%!important;
  height:44px!important;
  min-width:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff;
  text-align:center;
  font-weight:900;
  -moz-appearance:textfield;
}

.crazy-pdp-buybox .quantity.crazy-quantity-control .qty::-webkit-outer-spin-button,
.crazy-pdp-buybox .quantity.crazy-quantity-control .qty::-webkit-inner-spin-button{
  margin:0;
  -webkit-appearance:none;
}

.crazy-qty-button{
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:#fff;
  color:#29334a;
  font-size:1.05rem;
  cursor:pointer;
}

.crazy-qty-button:hover,
.crazy-qty-button:focus-visible{
  background:#f4f6fb;
  color:var(--blue);
  outline:0;
}

.crazy-pdp-buybox .single_add_to_cart_button,
.crazy-pdp-buybox .button.alt{
  width:100%;
  min-width:0;
  min-height:46px!important;
  padding:0 12px!important;
  border-radius:11px!important;
  background:var(--blue)!important;
  color:#fff!important;
  font-size:.86rem!important;
  line-height:1.15!important;
  font-weight:900!important;
  white-space:normal;
}

.crazy-pdp-buybox__secure{
  order:4;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin-top:11px;
  padding-top:11px;
  border-top:1px solid #edf0f5;
  color:#747d91;
  font-size:.73rem;
  font-weight:700;
}

.crazy-pdp-buybox__secure svg{
  width:15px;
  height:15px;
}

/* A descrição breve segue secundária e não interrompe compra. */
.single-product .woocommerce-product-details__short-description{
  margin-top:13px;
  font-size:.86rem;
  line-height:1.55;
}

/* Mobile-first: buybox deixa de ser lateral e vira sequência natural. */
@media(max-width:860px){
  .single-product div.product > .crazy-pdp-buybox{
    margin-top:14px;
  }

  .single-product .summary .product_title{
    padding-right:44px;
    font-size:1.6rem;
    line-height:1.13;
  }

  .crazy-pdp-share-wrap{
    top:13px;
  }

  .crazy-pdp-buybox{
    padding:13px;
    border-radius:13px;
    box-shadow:none;
  }

  .crazy-pdp-buybox__stock{
    order:1;
    padding:0 0 10px;
    border-bottom:0;
  }

  .crazy-pdp-cart-zone{
    order:2;
  }

  .crazy-pdp-buybox__shipping{
    order:3;
    margin-top:12px;
    padding:12px 0 0;
    border-top:1px solid #edf0f5;
    border-bottom:0;
  }

  .crazy-pdp-buybox__secure{
    order:4;
  }

  .crazy-pdp-highlights{
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  }
}

@media(max-width:480px){
  .single-product .summary .product_title{
    font-size:1.48rem;
  }

  .crazy-pdp-share{
    width:38px;
    height:38px;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.94rem!important;
  }

  .crazy-pdp-variation-pickers{
    margin-top:13px;
  }

  .crazy-pdp-variation-options{
    gap:6px;
  }

  .crazy-variation-chip{
    min-height:42px;
    padding:0 11px;
    font-size:.81rem;
  }

  .crazy-pdp-highlights{
    grid-template-columns:1fr 1fr;
  }

  .crazy-pdp-highlight:last-child:nth-child(odd){
    grid-column:1 / -1;
  }

  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:112px minmax(0,1fr);
  }

  .crazy-pdp-buybox .single_add_to_cart_button,
  .crazy-pdp-buybox .button.alt{
    min-height:46px!important;
    font-size:.84rem!important;
  }
}

@media(max-width:360px){
  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:1fr;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control{
    max-width:124px;
  }

  .crazy-pdp-highlights{
    grid-template-columns:1fr;
  }

  .crazy-pdp-highlight:last-child:nth-child(odd){
    grid-column:auto;
  }
}


/* ============================================================
 * PDP V0.6.2 — acabamento e convergência com o modelo aprovado
 * ============================================================ */

/* Desktop: redistribui espaço para título/informações e mantém a buybox legível. */
@media(min-width:1181px){
  .single-product div.product{
    grid-template-columns:minmax(0,1.18fr) minmax(380px,.92fr) minmax(285px,.66fr);
    column-gap:20px;
  }

  .single-product .woocommerce-product-gallery__image a{
    min-height:420px;
  }

  .single-product .woocommerce-product-gallery__image img{
    height:420px!important;
  }

  .single-product .flex-control-thumbs{
    max-height:420px;
  }

  .single-product .summary .product_title{
    font-size:clamp(1.72rem,1.95vw,2rem);
    line-height:1.1;
  }

  .single-product div.product > .crazy-pdp-secondary-info{
    grid-column:2;
    grid-row:2;
  }
}

/* Entre desktop médio e largo, o resumo secundário acompanha a coluna comercial. */
@media(min-width:861px) and (max-width:1180px){
  .single-product div.product > .crazy-pdp-secondary-info{
    grid-column:2;
    grid-row:3;
  }
}

/* Destaques técnicos: 1, 2 ou 3 itens sem lacunas artificiais. */
.crazy-pdp-highlights.has-1{
  grid-template-columns:1fr;
}

.crazy-pdp-highlights.has-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.crazy-pdp-highlights.has-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* O estoque nativo da variação continua no DOM para o Woo/JS, mas não duplica a interface. */
.crazy-pdp-cart-zone .stock,
.crazy-pdp-buybox .woocommerce-variation-availability{
  display:none!important;
}

/* Buybox desktop: quantidade em linha própria e CTA inteiro, como no modelo aprovado. */
.crazy-pdp-buybox__quantity-label{
  display:block;
  margin:0 0 7px;
  color:#30394f;
  font-size:.78rem;
  line-height:1.3;
  font-weight:900;
}

.crazy-pdp-buybox .woocommerce-variation-add-to-cart,
.crazy-pdp-buybox form.cart:not(.variations_form){
  grid-template-columns:1fr;
  gap:9px;
}

.crazy-pdp-buybox .quantity.crazy-quantity-control{
  width:132px;
  max-width:100%;
}

.crazy-pdp-buybox .single_add_to_cart_button,
.crazy-pdp-buybox .button.alt{
  white-space:nowrap;
  font-size:.88rem!important;
}

/* Garantia só existe visualmente quando o PHP encontrou um valor real. */
.crazy-pdp-buybox__warranty{
  order:5;
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  padding:12px;
  border-radius:11px;
  background:#f8faff;
  color:#4c5870;
}

.crazy-pdp-buybox__warranty-icon{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  color:var(--blue);
}

.crazy-pdp-buybox__warranty-icon svg{
  width:23px;
  height:23px;
}

.crazy-pdp-buybox__warranty strong,
.crazy-pdp-buybox__warranty span{
  display:block;
}

.crazy-pdp-buybox__warranty strong{
  color:#34405a;
  font-size:.78rem;
  line-height:1.3;
  font-weight:900;
}

.crazy-pdp-buybox__warranty span{
  margin-top:2px;
  color:#677289;
  font-size:.72rem;
  line-height:1.4;
}

/* Resumo breve + categoria saem da primeira sequência de compra no mobile. */
.crazy-pdp-secondary-info{
  min-width:0;
  color:#596278;
}

.crazy-pdp-secondary-info .woocommerce-product-details__short-description{
  margin:0;
  font-size:.86rem;
  line-height:1.55;
}

.crazy-pdp-secondary-info .product_meta{
  margin-top:12px;
}

/* A aba nativa passa a usar o rótulo visual curto "Especificações". */
@media(max-width:860px){
  .single-product div.product > .crazy-pdp-secondary-info{
    margin-top:14px;
  }

  .crazy-pdp-buybox__quantity-label{
    display:none;
  }

  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:112px minmax(0,1fr);
    gap:8px;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control{
    width:100%;
  }

  .single-product .woocommerce-tabs ul.tabs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    width:100%;
    flex-wrap:nowrap;
  }

  .single-product .woocommerce-tabs ul.tabs li{
    min-width:0;
    width:100%!important;
  }

  .single-product .woocommerce-tabs ul.tabs li a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:8px 6px!important;
    font-size:.76rem;
    line-height:1.15;
    text-align:center;
    white-space:nowrap;
  }
}

/* 390 px: reduz discretamente a mídia para antecipar título/preço sem perder destaque. */
@media(max-width:480px){
  .single-product .woocommerce-product-gallery__image a{
    min-height:min(64vw,254px);
  }

  .single-product .woocommerce-product-gallery__image img{
    height:min(64vw,254px)!important;
    padding:9px;
  }

  .crazy-pdp-highlights.has-1,
  .crazy-pdp-highlights.has-2,
  .crazy-pdp-highlights.has-3{
    grid-template-columns:1fr;
  }

  .single-product .woocommerce-tabs ul.tabs li a{
    font-size:.72rem;
    padding-left:4px!important;
    padding-right:4px!important;
  }
}

@media(max-width:360px){
  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:1fr;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control{
    width:124px;
  }

  .single-product .woocommerce-tabs ul.tabs li a{
    font-size:.68rem;
    letter-spacing:-.015em;
  }
}

/* ============================================================
 * PDP V0.6.3 — convergência visual DESKTOP com o modelo padrão
 * Mobile permanece para a rodada seguinte.
 * ============================================================ */

@media(min-width:861px){
  /* O mockup aprovado usa um corpo um pouco mais amplo que a baseline de 1240 px. */
  .crazy-woo-container.container{
    width:min(calc(100% - 32px),1280px);
  }

  .single-product div.product{
    grid-template-columns:minmax(0,1.32fr) minmax(390px,1fr) minmax(300px,.78fr);
    column-gap:18px;
    row-gap:22px;
    align-items:start;
  }

  .single-product div.product > .woocommerce-product-gallery{
    grid-column:1;
    grid-row:1;
    max-width:none;
  }

  .single-product div.product > .summary{
    grid-column:2;
    grid-row:1;
    padding-top:0;
  }

  .single-product div.product > .crazy-pdp-buybox{
    grid-column:3;
    grid-row:1;
  }

  /* A categoria/meta sai da primeira dobra do desktop; a descrição breve fica no centro. */
  .single-product div.product > .crazy-pdp-secondary-info{
    display:none;
  }

  /* Título: ligeiramente menor, mais limpo e com reserva real para compartilhar. */
  .single-product .summary .product_title{
    margin:0 0 12px;
    padding-right:56px;
    font-size:1.76rem;
    line-height:1.08;
    letter-spacing:-.035em;
    font-weight:900;
  }

  .crazy-pdp-share-wrap{
    top:0;
    right:0;
  }

  .crazy-pdp-share{
    width:38px;
    height:38px;
    border-color:#e1e5ed;
    color:#617087;
  }

  .crazy-pdp-share svg{
    width:18px;
    height:18px;
  }

  /* Hierarquia de preço alinhada ao modelo: OFERTA -> anterior -> atual + OFF -> parcelas. */
  .crazy-pdp-price-block{
    margin-bottom:0;
    padding-bottom:16px;
    border-bottom:1px solid #e9edf4;
  }

  .crazy-pdp-offer-label{
    min-height:22px;
    margin:0 0 8px;
    padding:0 8px;
    border-radius:6px;
    background:#eef0ff;
    color:#0a16ff;
    font-size:.66rem;
    letter-spacing:.045em;
  }

  .crazy-pdp-price-row{
    gap:12px;
    align-items:flex-end;
  }

  .single-product .summary .crazy-pdp-price-row .price{
    gap:3px;
  }

  .single-product .summary .crazy-pdp-price-row .price del{
    font-size:.88rem!important;
    line-height:1.15;
    color:#8d95a7!important;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:2.42rem!important;
    line-height:.98;
    letter-spacing:-.045em;
  }

  .crazy-saving-pill{
    min-height:27px;
    padding:0 10px;
    border-radius:8px;
    font-size:.76rem;
  }

  .crazy-pdp-installment{
    margin-top:8px;
    color:#3f4960;
    font-size:.84rem;
    line-height:1.35;
    font-weight:600;
  }

  /* Variações com o mesmo respiro do mockup. */
  .crazy-pdp-variation-pickers{
    margin:16px 0 8px;
    gap:10px;
  }

  .crazy-pdp-variation-group legend{
    margin-bottom:7px;
    color:#303a52;
    font-size:.82rem;
    font-weight:900;
  }

  .crazy-pdp-variation-options{
    gap:7px;
  }

  .crazy-variation-chip{
    min-height:42px;
    padding:0 13px;
    border-radius:10px;
    font-size:.81rem;
  }

  /* Estoque entre variação e características, como no modelo padrão. */
  .crazy-pdp-center-stock{
    display:flex;
    align-items:center;
    gap:6px;
    min-height:26px;
    margin:7px 0 10px;
    color:#167a57;
    font-size:.79rem;
    line-height:1.3;
  }

  .crazy-pdp-center-stock__dot{
    flex:0 0 7px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#15956b;
  }

  .crazy-pdp-center-stock strong{
    font-weight:900;
  }

  .crazy-pdp-center-stock__meta{
    color:#58647b;
    font-weight:600;
  }

  .crazy-pdp-center-stock.is-out-of-stock{
    color:#b42318;
  }

  .crazy-pdp-center-stock.is-out-of-stock .crazy-pdp-center-stock__dot{
    background:#b42318;
  }

  /* Características: uma única janela com segmentos internos, não três cards soltos. */
  .crazy-pdp-highlights,
  .crazy-pdp-highlights.has-1,
  .crazy-pdp-highlights.has-2,
  .crazy-pdp-highlights.has-3{
    gap:0;
    margin:10px 0 12px;
    border:1px solid #e2e7f0;
    border-radius:12px;
    background:#fafbfe;
    overflow:hidden;
  }

  .crazy-pdp-highlight{
    min-height:66px;
    padding:10px 11px;
    border:0;
    border-radius:0;
    background:transparent;
    gap:8px;
  }

  .crazy-pdp-highlight + .crazy-pdp-highlight{
    border-left:1px solid #e5e9f1;
  }

  .crazy-pdp-highlight__icon{
    flex-basis:26px;
    width:26px;
    height:26px;
    color:#0a16ff;
  }

  .crazy-pdp-highlight__icon svg{
    width:21px;
    height:21px;
  }

  .crazy-pdp-highlight--capacidade .crazy-pdp-highlight__icon,
  .crazy-pdp-highlight--voltagem .crazy-pdp-highlight__icon{
    color:#11835f;
  }

  .crazy-pdp-highlight--peso .crazy-pdp-highlight__icon,
  .crazy-pdp-highlight--dimensoes .crazy-pdp-highlight__icon{
    color:#4658d9;
  }

  .crazy-pdp-highlight__copy strong{
    color:#334057;
    font-size:.69rem;
    line-height:1.2;
    font-weight:900;
  }

  .crazy-pdp-highlight__copy small{
    margin-top:2px;
    color:#637087;
    font-size:.66rem;
    line-height:1.25;
  }

  /* Resumo breve ocupa o espaço que estava vazio sob os destaques. */
  .crazy-pdp-desktop-brief{
    display:block;
    margin:11px 0 0;
    color:#505c72;
    font-size:.79rem;
    line-height:1.45;
  }

  .crazy-pdp-desktop-brief__text p{
    margin:0;
  }

  .crazy-pdp-more-details{
    display:inline-flex;
    margin-top:7px;
    color:#0a16ff;
    font-size:.76rem;
    font-weight:800;
  }

  /* Buybox direita: janela completa de frete, estoque, compra, segurança e garantia. */
  .crazy-pdp-buybox{
    padding:18px;
    border:1px solid #dfe4ed;
    border-radius:15px;
    background:#fff;
    box-shadow:0 7px 22px rgba(18,31,65,.045);
  }

  .crazy-pdp-buybox__shipping,
  .crazy-pdp-buybox__stock{
    gap:11px;
  }

  .crazy-pdp-buybox__shipping{
    padding-bottom:15px;
  }

  .crazy-pdp-buybox__stock{
    padding:15px 0 13px;
    border-bottom:0;
  }

  .crazy-pdp-buybox__icon{
    flex-basis:29px;
    width:29px;
    height:29px;
  }

  .crazy-pdp-buybox__icon svg{
    width:23px;
    height:23px;
  }

  .crazy-pdp-buybox__shipping strong,
  .crazy-pdp-buybox__stock strong{
    color:#137a55;
    font-size:.86rem;
    line-height:1.25;
  }

  .crazy-pdp-buybox__shipping span,
  .crazy-pdp-buybox__stock span{
    margin-top:3px;
    color:#5f6b82;
    font-size:.72rem;
    line-height:1.35;
  }

  .crazy-pdp-buybox__shipping .crazy-pdp-delivery-title{
    margin-top:6px;
    color:#4a566e;
    font-weight:700;
  }

  .crazy-pdp-delivery-toggle{
    display:inline-flex;
    margin:7px 0 0;
    padding:0;
    border:0;
    background:transparent;
    color:#0a16ff;
    font-size:.72rem;
    line-height:1.25;
    font-weight:800;
    cursor:pointer;
  }

  .crazy-pdp-delivery-details{
    margin-top:7px;
    padding:8px 9px;
    border-radius:8px;
    background:#f7f8fc;
    color:#637087;
    font-size:.68rem;
    line-height:1.4;
  }

  .crazy-pdp-delivery-details[hidden]{
    display:none!important;
  }

  .crazy-pdp-seller{
    display:flex!important;
    align-items:center;
    gap:5px;
  }

  .crazy-pdp-seller-check{
    display:inline-grid;
    place-items:center;
    flex:0 0 14px;
    width:14px;
    height:14px;
    margin:0;
    border-radius:50%;
    background:#0a16ff;
    color:#fff;
    font-size:9px;
    font-style:normal;
    font-weight:900;
  }

  .crazy-pdp-buybox__quantity-label{
    margin:0 0 8px;
    color:#29334a;
    font-size:.75rem;
    font-weight:900;
  }

  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:1fr;
    gap:10px;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control{
    width:154px;
    min-height:44px;
    border-radius:10px;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control .qty{
    height:42px!important;
  }

  .crazy-pdp-buybox .single_add_to_cart_button,
  .crazy-pdp-buybox .button.alt{
    position:relative;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    min-height:48px!important;
    border-radius:10px!important;
    padding:0 14px 0 38px!important;
    font-size:.84rem!important;
    line-height:1.1!important;
    white-space:nowrap;
  }

  .crazy-pdp-buybox .single_add_to_cart_button::before,
  .crazy-pdp-buybox .button.alt::before{
    content:"";
    position:absolute;
    left:calc(50% - 92px);
    width:18px;
    height:18px;
    background:#fff;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .crazy-pdp-buy-now{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:46px;
    margin-top:10px;
    padding:0 14px;
    border:1.5px solid #aab2ff;
    border-radius:10px;
    background:#fff;
    color:#0a16ff;
    font-size:.84rem;
    line-height:1.1;
    font-weight:900;
  }

  .crazy-pdp-buy-now:hover,
  .crazy-pdp-buy-now:focus-visible{
    border-color:#0a16ff;
    background:#f7f8ff;
    outline:0;
  }

  .crazy-pdp-buybox__secure{
    margin-top:12px;
    padding-top:0;
    border-top:0;
    color:#778096;
    font-size:.7rem;
  }

  .crazy-pdp-buybox__warranty{
    margin-top:13px;
    padding:12px 13px;
    border-radius:10px;
    background:#f8faff;
  }

  .crazy-pdp-buybox__warranty-icon{
    flex-basis:30px;
    width:30px;
    height:30px;
  }

  .crazy-pdp-buybox__warranty strong{
    color:#33405a;
    font-size:.75rem;
  }

  .crazy-pdp-buybox__warranty span{
    color:#657087;
    font-size:.68rem;
    line-height:1.35;
  }
}

/* Esta rodada fecha primeiro o desktop; elementos novos que exigem adaptação específica
 * não devem alterar a composição mobile antes da próxima validação. */
@media(max-width:860px){
  .crazy-pdp-center-stock,
  .crazy-pdp-desktop-brief,
  .crazy-pdp-buy-now{
    display:none!important;
  }
}


/* ============================================================
 * PDP V0.6.4 — rodada final de convergência desktop + mobile
 * Modelo padrão preservado sem inventar dados comerciais.
 * ============================================================ */

/* Galeria: limita a primeira leitura e cria +N / Ver mais funcional. */
.single-product .flex-control-thumbs li.crazy-thumb-extra{
  display:none!important;
}

.single-product .flex-control-thumbs.is-expanded li.crazy-thumb-extra{
  display:block!important;
}

.single-product .flex-control-thumbs .crazy-thumb-more{
  display:block!important;
}

.crazy-thumb-more__button{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:100%;
  aspect-ratio:1;
  padding:5px;
  border:1px solid #dfe4ed;
  border-radius:11px;
  background:#fff;
  color:#0a16ff;
  cursor:pointer;
}

.crazy-thumb-more__button strong{
  font-size:1.05rem;
  line-height:1;
  font-weight:900;
}

.crazy-thumb-more__button span{
  color:#59647a;
  font-size:.62rem;
  line-height:1.1;
  font-weight:700;
}

.crazy-thumb-more__button:hover,
.crazy-thumb-more__button:focus-visible{
  border-color:#aeb3ff;
  background:#f8f9ff;
  outline:0;
  box-shadow:0 0 0 3px rgba(10,22,255,.06);
}

/* Parcelamento: informação funcional, sem afirmar "sem juros" sem fonte real. */
.crazy-pdp-installment{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
}

.crazy-pdp-installment-info{
  display:grid;
  place-items:center;
  flex:0 0 18px;
  width:18px;
  height:18px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#748096;
  cursor:pointer;
}

.crazy-pdp-installment-info svg{
  width:16px;
  height:16px;
}

.crazy-pdp-installment-info:hover,
.crazy-pdp-installment-info:focus-visible{
  color:#0a16ff;
  outline:0;
}

.crazy-pdp-installment-note{
  position:absolute;
  z-index:20;
  top:calc(100% + 7px);
  left:0;
  width:min(310px,calc(100vw - 48px));
  padding:9px 10px;
  border:1px solid #e2e7f0;
  border-radius:9px;
  background:#fff;
  box-shadow:0 8px 24px rgba(18,31,65,.11);
  color:#5f6a80;
  font-size:.7rem;
  line-height:1.4;
  font-weight:600;
}

.crazy-pdp-installment-note[hidden]{
  display:none!important;
}

/* Tabs: mesmo design system no desktop e no mobile. */
.single-product .woocommerce-tabs{
  margin-top:24px;
  padding-top:0;
  border-top:1px solid #e5e9f1;
}

.single-product .woocommerce-tabs ul.tabs{
  display:flex!important;
  align-items:stretch;
  gap:28px;
  flex-wrap:nowrap;
  width:100%;
  margin:0 0 26px!important;
  padding:0!important;
  overflow-x:auto;
  overflow-y:hidden;
  border:0!important;
  border-bottom:1px solid #edf0f5!important;
  scrollbar-width:none;
}

.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar{
  display:none;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
  display:none!important;
}

.single-product .woocommerce-tabs ul.tabs li{
  flex:0 0 auto;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}

.single-product .woocommerce-tabs ul.tabs li a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:54px;
  padding:0 2px!important;
  border:0;
  color:#667188!important;
  font-size:.82rem;
  line-height:1.15;
  font-weight:800!important;
  white-space:nowrap;
}

.single-product .woocommerce-tabs ul.tabs li a::before{
  content:"";
  display:block;
  flex:0 0 19px;
  width:19px;
  height:19px;
  background:currentColor;
}

.single-product .woocommerce-tabs ul.tabs li.description_tab a::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.single-product .woocommerce-tabs ul.tabs li.additional_information_tab a::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h12M8 12h12M8 18h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='4' cy='6' r='1.5'/%3E%3Ccircle cx='4' cy='12' r='1.5'/%3E%3Ccircle cx='4' cy='18' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h12M8 12h12M8 18h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='4' cy='6' r='1.5'/%3E%3Ccircle cx='4' cy='12' r='1.5'/%3E%3Ccircle cx='4' cy='18' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.single-product .woocommerce-tabs ul.tabs li.reviews_tab a::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.single-product .woocommerce-tabs ul.tabs li.active{
  border:0!important;
  background:transparent!important;
}

.single-product .woocommerce-tabs ul.tabs li.active a{
  color:#0a16ff!important;
}

.single-product .woocommerce-tabs ul.tabs li.active a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#0a16ff;
}

/* Desktop: preserva a estrutura já aprovada e aplica somente microacabamentos. */
@media(min-width:861px){
  .woocommerce .woocommerce-breadcrumb{
    display:block!important;
    margin:0 0 12px;
  }

  .single-product .summary .product_title{
    padding-right:60px;
    font-size:1.70rem;
    line-height:1.07;
  }

  .crazy-pdp-share{
    width:37px;
    height:37px;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:2.34rem!important;
  }

  .crazy-pdp-price-row{
    gap:10px;
  }

  .crazy-pdp-highlight{
    align-items:center;
  }

  .crazy-pdp-highlight__copy{
    justify-content:center;
  }

  .crazy-pdp-buybox__shipping{
    padding-bottom:14px;
  }

  .crazy-pdp-buybox__shipping .crazy-pdp-delivery-title{
    margin-top:5px;
  }

  .crazy-pdp-delivery-toggle{
    margin-top:6px;
  }

  .single-product .woocommerce-tabs ul.tabs{
    gap:34px;
  }
}

/* Mobile: reorganiza a experiência; não comprime o desktop. */
@media(max-width:860px){
  .woocommerce .woocommerce-breadcrumb{
    display:none!important;
  }

  .single-product div.product > .summary{
    padding-top:12px;
  }

  .single-product .summary .product_title{
    margin-bottom:10px;
    padding-right:48px;
    font-size:1.46rem;
    line-height:1.10;
    letter-spacing:-.033em;
  }

  .crazy-pdp-share-wrap{
    top:0;
  }

  .crazy-pdp-share{
    width:38px;
    height:38px;
  }

  .crazy-pdp-price-block{
    margin-bottom:10px;
    padding-bottom:13px;
  }

  .crazy-pdp-offer-label{
    margin-bottom:7px;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.86rem!important;
  }

  .crazy-saving-pill{
    min-height:24px;
    padding:0 9px;
  }

  .crazy-pdp-installment{
    margin-top:7px;
    font-size:.82rem;
  }

  .crazy-pdp-variation-pickers{
    margin:14px 0 7px;
  }

  .crazy-pdp-variation-group legend{
    margin-bottom:7px;
    font-size:.88rem;
  }

  .crazy-variation-chip{
    min-height:40px;
    padding:0 11px;
    border-radius:10px;
  }

  /* O estoque comercial volta ao ponto correto: imediatamente depois da variação. */
  .crazy-pdp-center-stock{
    display:flex!important;
    align-items:center;
    gap:6px;
    margin:9px 0 12px;
    color:#167a57;
    font-size:.82rem;
    line-height:1.3;
  }

  .crazy-pdp-center-stock__dot{
    flex:0 0 7px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#15956b;
  }

  .crazy-pdp-center-stock__meta{
    color:#657087;
    font-weight:600;
  }

  /* Detalhes técnicos continuam disponíveis nas abas, mas não atrasam o CTA mobile. */
  .crazy-pdp-highlights{
    display:none!important;
  }

  .crazy-pdp-desktop-brief,
  .crazy-pdp-secondary-info{
    display:none!important;
  }

  /* A buybox mobile deixa de ser um card monolítico. */
  .single-product div.product > .crazy-pdp-buybox{
    margin-top:0;
  }

  .crazy-pdp-buybox{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0 8px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .crazy-pdp-cart-zone{
    grid-column:1 / -1;
    grid-row:1;
    order:initial;
    margin:0;
  }

  .crazy-pdp-buybox__quantity-label{
    display:none;
  }

  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:8px;
    align-items:stretch;
  }

  .crazy-pdp-buybox .quantity.crazy-quantity-control{
    width:100%;
    min-height:46px;
  }

  .crazy-pdp-buybox .single_add_to_cart_button,
  .crazy-pdp-buybox .button.alt{
    position:relative;
    min-height:46px!important;
    padding:0 12px 0 37px!important;
    border-radius:10px!important;
    font-size:.84rem!important;
    white-space:nowrap;
  }

  .crazy-pdp-buybox .single_add_to_cart_button::before,
  .crazy-pdp-buybox .button.alt::before{
    content:"";
    position:absolute;
    left:16px;
    width:18px;
    height:18px;
    background:#fff;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 8H7'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .crazy-pdp-buy-now{
    display:none!important;
  }

  .crazy-pdp-buybox__shipping{
    grid-column:1 / -1;
    grid-row:2;
    order:initial;
    display:flex;
    margin-top:12px;
    padding:13px 13px;
    border:1px solid #e1e6ee;
    border-radius:12px;
    background:#fff;
  }

  .crazy-pdp-buybox__shipping strong{
    font-size:.87rem;
  }

  .crazy-pdp-buybox__shipping span{
    font-size:.73rem;
    line-height:1.4;
  }

  .crazy-pdp-buybox__shipping .crazy-pdp-delivery-title{
    margin-top:4px;
  }

  .crazy-pdp-delivery-toggle{
    display:inline-flex;
    align-items:center;
    width:auto;
    margin:7px 0 0;
    padding:0;
    border:0!important;
    border-radius:0;
    background:transparent!important;
    color:#0a16ff!important;
    font-size:.74rem;
    line-height:1.3;
    font-weight:800;
    box-shadow:none!important;
    cursor:pointer;
  }

  .crazy-pdp-delivery-toggle::after{
    content:"›";
    margin-left:5px;
    font-size:1rem;
    line-height:.7;
  }

  .crazy-pdp-delivery-details{
    margin-top:7px;
    padding:8px 9px;
    border-radius:8px;
    background:#f7f8fc;
    color:#657087;
    font-size:.7rem;
    line-height:1.4;
  }

  .crazy-pdp-buybox__secure{
    grid-column:1 / -1;
    grid-row:3;
    order:initial;
    margin:10px 0 0;
    padding:10px 0 0;
    border-top:0;
    color:#737d92;
    font-size:.72rem;
  }

  /* Linha de confiança final: garantia + vendedor/estoque. */
  .crazy-pdp-buybox__warranty{
    grid-column:1;
    grid-row:4;
    order:initial;
    min-width:0;
    margin:11px 0 0;
    padding:10px;
    border:1px solid #edf0f5;
    border-radius:10px;
    background:#f9faff;
  }

  .crazy-pdp-buybox__stock{
    grid-column:2;
    grid-row:4;
    order:initial;
    min-width:0;
    margin:11px 0 0;
    padding:10px;
    border:1px solid #edf0f5;
    border-radius:10px;
    background:#f9faff;
  }

  .crazy-pdp-buybox__warranty-icon,
  .crazy-pdp-buybox__icon{
    flex-basis:25px;
    width:25px;
    height:25px;
  }

  .crazy-pdp-buybox__warranty-icon svg,
  .crazy-pdp-buybox__icon svg{
    width:20px;
    height:20px;
  }

  .crazy-pdp-buybox__warranty strong,
  .crazy-pdp-buybox__stock strong{
    font-size:.72rem;
    line-height:1.25;
  }

  .crazy-pdp-buybox__warranty span,
  .crazy-pdp-buybox__stock span{
    margin-top:2px;
    font-size:.64rem;
    line-height:1.3;
  }

  .crazy-pdp-seller{
    display:block!important;
  }

  .crazy-pdp-seller-check{
    display:inline-grid;
    vertical-align:middle;
  }

  /* Tabs mobile compactas, sem pills e sem quebra em duas linhas. */
  .single-product .woocommerce-tabs{
    margin-top:22px;
  }

  .single-product .woocommerce-tabs ul.tabs{
    gap:0;
    margin-bottom:22px!important;
  }

  .single-product .woocommerce-tabs ul.tabs li{
    flex:1 0 112px;
    min-width:112px;
  }

  .single-product .woocommerce-tabs ul.tabs li a{
    min-height:50px;
    gap:5px;
    padding:0 7px!important;
    font-size:.74rem;
  }

  .single-product .woocommerce-tabs ul.tabs li a::before{
    flex-basis:17px;
    width:17px;
    height:17px;
  }
}

/* Referência principal de validação mobile: 390 px. */
@media(max-width:480px){
  .single-product .woocommerce-product-gallery__image a{
    min-height:min(60vw,236px);
  }

  .single-product .woocommerce-product-gallery__image img{
    height:min(60vw,236px)!important;
    padding:8px;
  }

  .single-product .flex-control-thumbs{
    gap:7px;
  }

  .single-product .flex-control-thumbs li{
    min-width:56px;
    width:56px!important;
  }

  .crazy-thumb-more__button{
    border-radius:9px;
  }

  .single-product .summary .product_title{
    font-size:1.42rem;
  }

  .single-product .summary .crazy-pdp-price-row .price ins,
  .single-product .summary .crazy-pdp-price-row .price > .woocommerce-Price-amount,
  .single-product .summary .crazy-pdp-price-row .price > bdi{
    font-size:1.82rem!important;
  }
}

/* 320–340 px: preserva toque e impede overflow sem alterar o modelo de 390 px. */
@media(max-width:340px){
  .crazy-pdp-buybox .woocommerce-variation-add-to-cart,
  .crazy-pdp-buybox form.cart:not(.variations_form){
    grid-template-columns:100px minmax(0,1fr);
  }

  .crazy-pdp-buybox .single_add_to_cart_button,
  .crazy-pdp-buybox .button.alt{
    padding-left:34px!important;
    font-size:.78rem!important;
  }

  .crazy-pdp-buybox .single_add_to_cart_button::before,
  .crazy-pdp-buybox .button.alt::before{
    left:12px;
    width:16px;
    height:16px;
  }

  .crazy-pdp-buybox__warranty,
  .crazy-pdp-buybox__stock{
    grid-column:1 / -1;
  }

  .crazy-pdp-buybox__warranty{
    grid-row:4;
  }

  .crazy-pdp-buybox__stock{
    grid-row:5;
    margin-top:8px;
  }

  .single-product .woocommerce-tabs ul.tabs li{
    flex-basis:106px;
    min-width:106px;
  }
}
/* ============================================================
   PDP — AJUSTES FINAIS APROVADOS (V0.6.5 candidato)
   Escopo restrito: CEP WooCommerce, Comprar agora mobile,
   ícones técnicos desktop e alinhamento das tabs.
   ============================================================ */

/* 1) Calculadora de CEP integrada ao bloco de entrega aprovado. */
.crazy-pdp-cep-form{
  display:block;
  margin:2px 0 0;
}

.crazy-pdp-cep-form label{
  display:block;
  margin:0 0 6px;
  color:#334057;
  font-size:.72rem;
  line-height:1.25;
  font-weight:800;
}

.crazy-pdp-cep-form__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
}

.crazy-pdp-cep-form input{
  width:100%;
  min-width:0;
  height:38px;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #d8deea!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18213a!important;
  font-size:.78rem!important;
  font-weight:700;
  outline:none;
  box-shadow:none!important;
}

.crazy-pdp-cep-form input:focus{
  border-color:#7d84ff!important;
  box-shadow:0 0 0 3px rgba(10,22,255,.08)!important;
}

.crazy-pdp-cep-form button{
  min-height:38px;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #0a16ff!important;
  border-radius:8px!important;
  background:#0a16ff!important;
  color:#fff!important;
  font-size:.74rem!important;
  line-height:1!important;
  font-weight:850!important;
  box-shadow:none!important;
  cursor:pointer;
}

.crazy-pdp-cep-form button:disabled{
  cursor:wait;
  opacity:.65;
}

.crazy-pdp-cep-result{
  display:grid;
  gap:6px;
  margin-top:8px;
}

.crazy-pdp-cep-result:empty{
  display:none;
}

.crazy-pdp-cep-result__postcode{
  color:#657087;
  font-size:.68rem;
  font-weight:700;
}

.crazy-pdp-cep-rate{
  display:grid;
  gap:3px;
  padding:8px 9px;
  border:1px solid #e6eaf2;
  border-radius:8px;
  background:#fff;
}

.crazy-pdp-cep-rate__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#26314a;
  font-size:.72rem;
  line-height:1.25;
}

.crazy-pdp-cep-rate__top strong,
.crazy-pdp-cep-rate__top b{
  font-size:inherit!important;
  line-height:inherit!important;
}

.crazy-pdp-cep-rate__top b{
  color:#11835f;
  white-space:nowrap;
}

.crazy-pdp-cep-rate__eta,
.crazy-pdp-cep-rate__description,
.crazy-pdp-cep-result__message,
.crazy-pdp-cep-result__loading,
.crazy-pdp-cep-result__error{
  color:#657087;
  font-size:.67rem;
  line-height:1.38;
}

.crazy-pdp-cep-rate__eta:not(.is-neutral){
  color:#167a57;
  font-weight:750;
}

.crazy-pdp-cep-result__error{
  color:#b42318;
  font-weight:700;
}

/* 2) Ícones técnicos: refinamento visual exclusivamente no desktop. */
@media(min-width:861px){
  .crazy-pdp-highlight__icon{
    display:grid;
    place-items:center;
    flex:0 0 27px;
    width:27px;
    height:27px;
    border-radius:8px;
    background:rgba(10,22,255,.055);
  }

  .crazy-pdp-highlight__icon svg{
    width:20px;
    height:20px;
    overflow:visible;
  }

  .crazy-pdp-highlight--peso .crazy-pdp-highlight__icon,
  .crazy-pdp-highlight--dimensoes .crazy-pdp-highlight__icon{
    background:rgba(70,88,217,.06);
  }
}

/* 3) Tabs: ícone e nome sempre na mesma linha, desktop e mobile. */
.single-product .woocommerce-tabs ul.tabs li > a{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  vertical-align:middle;
}

.single-product .woocommerce-tabs ul.tabs li > a::before{
  display:inline-block!important;
  flex:0 0 19px!important;
  width:19px!important;
  height:19px!important;
  margin:0!important;
  align-self:center!important;
}

@media(max-width:860px){
  /* 4) Complemento solicitado: Comprar agora também no mobile. */
  .crazy-pdp-buy-now{
    display:flex!important;
    align-items:center;
    justify-content:center;
    grid-column:1 / -1;
    width:100%;
    min-height:44px;
    margin:8px 0 0!important;
    padding:0 14px!important;
    border:1px solid #aeb6ff!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#0a16ff!important;
    font-size:.82rem!important;
    line-height:1!important;
    font-weight:850!important;
    box-shadow:none!important;
  }

  .crazy-pdp-buy-now:hover,
  .crazy-pdp-buy-now:focus-visible{
    border-color:#0a16ff!important;
    background:#f7f8ff!important;
  }

  .crazy-pdp-delivery-details{
    padding:10px!important;
  }

  .crazy-pdp-cep-form__row{
    grid-template-columns:minmax(0,1fr) 92px;
  }

  .single-product .woocommerce-tabs ul.tabs li > a{
    gap:5px!important;
  }

  .single-product .woocommerce-tabs ul.tabs li > a::before{
    flex-basis:17px!important;
    width:17px!important;
    height:17px!important;
  }
}

@media(max-width:340px){
  .crazy-pdp-cep-form__row{
    grid-template-columns:1fr;
  }

  .crazy-pdp-cep-form button{
    width:100%;
  }
}


/* ============================================================
   HOTFIX V0.6.5 — PRODUTO SIMPLES / MOBILE
   Escopo estritamente restrito ao alinhamento de:
   quantidade + "Adicionar ao carrinho" em PDP simples.
   Não altera desktop, produto variável, frete, preço, tabs ou PDP aprovada.
   ============================================================ */
@media (max-width: 860px) {
  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    flex-wrap: initial !important;
  }

  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) > .quantity.crazy-quantity-control {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
  }

  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) > .single_add_to_cart_button,
  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) > .button.alt {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
  }
}

@media (max-width: 340px) {
  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) {
    grid-template-columns: 100px minmax(0, 1fr) !important;
  }

  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) > .single_add_to_cart_button,
  body.single-product .crazy-pdp-buybox .crazy-pdp-cart-zone form.cart:not(.variations_form) > .button.alt {
    font-size: .78rem !important;
    padding-left: 34px !important;
  }
}


/* ===== ETAPA 3.8 — MODELO PADRÃO EM PREPARAÇÃO / PRODUCT CARDS V1.2 ===== */
:root{
  --crazy-card-gap:14px;
  --crazy-card-radius:18px;
  --crazy-card-media-h:228px;
  --crazy-card-body-pad-x:14px;
  --crazy-card-body-pad-y:14px;
  --crazy-card-title-h:52px;
  --crazy-card-action-h:44px;
  --crazy-card-dark:#191918;
  --crazy-card-dark-2:#20201f;
  --crazy-card-gold:#f5ad0a;
  --crazy-card-gold-soft:#ffd061;
}

.section-head-arrivals{
  align-items:center;
  margin-bottom:18px;
}
.section-title-arrivals h2{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.section-title-arrivals .section-mini-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 10px;
  border:1px solid #c3caff;
  border-radius:999px;
  background:#f7f8ff;
  color:var(--blue);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:0;
}

/* Grid único: branco e Black têm exatamente as mesmas dimensões. */
.product-row{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:var(--crazy-card-gap);
  align-items:stretch;
}

.crazy-product-card{
  display:grid;
  grid-template-rows:var(--crazy-card-media-h) 1fr;
  min-width:0;
  height:100%;
  overflow:hidden;
  border:1px solid #e1e5ef;
  border-radius:var(--crazy-card-radius);
  background:#fff;
  box-shadow:0 6px 20px rgba(15,22,48,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.crazy-product-card:hover{
  transform:translateY(-2px);
  border-color:#d5dbea;
  box-shadow:0 12px 28px rgba(15,22,48,.07);
}

/* Card Black: somente linguagem visual muda. A geometria é a mesma. */
.crazy-product-card--special-offer{
  border-color:#2c2a24;
  background:linear-gradient(180deg,var(--crazy-card-dark-2),var(--crazy-card-dark));
  box-shadow:0 8px 24px rgba(12,12,12,.10),inset 0 0 0 1px rgba(245,173,10,.08);
}
.crazy-product-card--special-offer:hover{
  border-color:#4d4329;
  box-shadow:0 14px 32px rgba(12,12,12,.15),inset 0 0 0 1px rgba(245,173,10,.14);
}

/* Área de imagem padronizada; não remove fundo e não exige PNG transparente. */
.crazy-card-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:var(--crazy-card-media-h);
  padding:14px 12px 10px;
  overflow:hidden;
  background:linear-gradient(180deg,#fbfcfe 0%,#f5f7fb 100%);
}
.crazy-product-card--special-offer .crazy-card-media{
  width:calc(100% - 20px);
  height:calc(var(--crazy-card-media-h) - 20px);
  margin:10px 10px 0;
  padding:12px;
  border:1px solid rgba(245,173,10,.55);
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#f7f7f5 100%);
}
.crazy-card-product-image,
.crazy-card-media img{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:94%!important;
  max-height:94%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.18);
  transform-origin:center;
}
.crazy-product-card--special-offer .crazy-card-product-image,
.crazy-product-card--special-offer .crazy-card-media img{
  max-width:92%!important;
  max-height:92%!important;
  transform:scale(1.14);
}

/* Frete grátis: mesma posição e estilo em todos os cards. */
.crazy-card-shipping-badge{
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:5px 9px;
  border:1px solid rgba(98,196,123,.32);
  border-radius:10px;
  background:rgba(244,255,247,.88);
  color:#078d2e;
  backdrop-filter:blur(4px);
  font-size:.65rem;
  font-weight:900;
  line-height:1;
  pointer-events:none;
}
.crazy-product-card--special-offer .crazy-card-shipping-badge{
  top:10px;
  left:10px;
}
.crazy-card-shipping-badge svg{
  width:14px;
  height:14px;
  flex:0 0 auto;
}

/* Corpo único: slots fixos garantem alinhamento entre todos os cards. */
.crazy-card-body{
  display:grid;
  grid-template-rows:16px var(--crazy-card-title-h) 64px 24px var(--crazy-card-action-h);
  row-gap:8px;
  min-width:0;
  padding:var(--crazy-card-body-pad-y) var(--crazy-card-body-pad-x) 14px;
  background:#fff;
}
.crazy-product-card--special-offer .crazy-card-body{
  background:transparent;
}

.crazy-card-category{
  overflow:hidden;
  color:#6e7893;
  font-size:.68rem;
  font-weight:800;
  line-height:16px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.crazy-product-card--special-offer .crazy-card-category{
  color:#d7d7d3;
}

.crazy-card-title{
  display:-webkit-box;
  height:var(--crazy-card-title-h);
  margin:0;
  overflow:hidden;
  color:var(--ink);
  font-size:.82rem;
  font-weight:850;
  line-height:1.32;
  letter-spacing:-.012em;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.crazy-card-title:hover{
  color:var(--blue-600);
}
.crazy-product-card--special-offer .crazy-card-title{
  color:#fff;
}
.crazy-product-card--special-offer .crazy-card-title:hover{
  color:#fff;
}

/* Preço: mesma estrutura e posições nos dois estados. */
.crazy-card-pricing{
  display:grid;
  grid-template-rows:22px 34px;
  row-gap:8px;
  min-width:0;
  align-content:start;
}
.crazy-card-meta-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  height:22px;
}
.crazy-card-meta-row.is-empty{
  visibility:hidden;
}
.crazy-card-regular-price{
  min-width:0;
  overflow:hidden;
  color:#8790a4;
  font-size:.69rem;
  font-weight:650;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-decoration-thickness:1px;
}
.crazy-product-card--special-offer .crazy-card-regular-price{
  color:#aaa9a4;
}
.crazy-card-discount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 9px;
  border:1px solid rgba(61,190,100,.25);
  border-radius:999px;
  background:#f1fcf4;
  color:#119443;
  font-size:.63rem;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
.crazy-card-discount.is-placeholder{
  visibility:hidden;
}
.crazy-product-card--special-offer .crazy-card-discount{
  border-color:rgba(245,173,10,.42);
  background:rgba(245,173,10,.07);
  color:var(--crazy-card-gold-soft);
}
.crazy-card-current-row{
  display:flex;
  align-items:center;
  min-width:0;
  height:34px;
}
.crazy-card-current-price{
  color:#0a1230;
  font-size:1.48rem;
  font-weight:900;
  line-height:1;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.crazy-card-current-price.is-empty{
  font-size:.82rem;
  white-space:normal;
}
.crazy-product-card--special-offer .crazy-card-current-price{
  color:var(--crazy-card-gold);
}

.crazy-card-installment{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  height:24px;
  overflow:hidden;
  color:#596178;
  font-size:.70rem;
  line-height:1;
  white-space:nowrap;
}
.crazy-card-installment strong{
  color:var(--blue);
  font-size:.74rem;
  font-weight:900;
}
.crazy-product-card--special-offer .crazy-card-installment{
  color:#deddd8;
}
.crazy-product-card--special-offer .crazy-card-installment strong{
  color:var(--crazy-card-gold-soft);
}

/* Ações: mesma área/altura; cores mudam conforme o estado do card. */
.crazy-card-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  gap:8px;
  align-items:stretch;
  min-width:0;
  height:var(--crazy-card-action-h);
}
.crazy-card-actions .btn,
.crazy-card-view{
  min-height:var(--crazy-card-action-h);
  height:var(--crazy-card-action-h);
  border-radius:10px;
}
.crazy-card-actions .btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:0;
  padding:0 10px;
  overflow:hidden;
  border:0;
  background:var(--blue);
  color:#fff;
  font-size:.75rem;
  font-weight:900;
  white-space:nowrap;
}
.crazy-card-actions .btn:hover{
  transform:none;
  filter:brightness(.97);
}
.crazy-product-card--special-offer .crazy-card-actions .btn{
  background:linear-gradient(180deg,#ffc53d,#f5ad0a);
  color:#241c08;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30);
}
.crazy-product-card--special-offer .crazy-card-actions .btn:hover{
  filter:brightness(.98);
}
.crazy-card-action-icon{
  width:17px;
  height:17px;
  flex:0 0 auto;
}
.crazy-card-view{
  display:grid;
  place-items:center;
  border:1px solid #dfe3ed;
  background:#fff;
  color:#111936;
}
.crazy-card-view:hover{
  border-color:#b7bdf4;
  background:#fafbff;
  color:var(--blue);
}
.crazy-product-card--special-offer .crazy-card-view{
  border-color:#5a5a58;
  background:#1b1b1b;
  color:#fff;
}
.crazy-product-card--special-offer .crazy-card-view:hover{
  border-color:#77736a;
  background:#222;
  color:#fff;
}
.crazy-card-view svg{
  width:19px;
  height:19px;
}
.crazy-product-card .added_to_cart.wc-forward{
  display:none!important;
}


/* ETAPA 3.8 — V1.3: grade desktop oficial com 6 produtos por linha. */
.crazy-products-container{
  width:min(calc(100% - 28px),1320px);
}

/* V1.5 CTA padrão: mesma estrutura geométrica do CTA especial, preservando as cores do card branco. */
@media (min-width:1280px){
  :root{
    --crazy-card-gap:12px;
    --crazy-card-media-h:198px;
    --crazy-card-body-pad-x:10px;
    --crazy-card-body-pad-y:12px;
    --crazy-card-title-h:48px;
    --crazy-card-action-h:42px;
  }
  .product-row{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .crazy-card-body{
    grid-template-rows:16px var(--crazy-card-title-h) 60px 22px var(--crazy-card-action-h);
    row-gap:7px;
    padding-bottom:12px;
  }
  .crazy-card-category{
    font-size:.64rem;
  }
  .crazy-card-title{
    font-size:.75rem;
    line-height:1.28;
  }
  .crazy-card-regular-price{
    font-size:.64rem;
  }
  .crazy-card-discount{
    min-height:22px;
    padding:0 7px;
    font-size:.59rem;
  }
  .crazy-card-current-price{
    font-size:1.32rem;
  }
  .crazy-card-installment{
    gap:3px;
    font-size:.63rem;
  }
  .crazy-card-installment strong{
    font-size:.67rem;
  }
  .crazy-card-actions{
    grid-template-columns:minmax(0,1fr) 38px;
    gap:6px;
  }
  .crazy-card-actions .btn{
    padding:0 7px;
    font-size:.67rem;
  }
  .crazy-card-view svg{
    width:17px;
    height:17px;
  }
  .crazy-product-card--standard .crazy-card-action-icon{
    width:15px;
    height:15px;
  }
  .crazy-product-card--special-offer .crazy-card-action-icon{
    width:15px;
    height:15px;
  }
}

/* Desktop médio: mantém proporções idênticas entre cards. */
@media (max-width:1199px){
  :root{
    --crazy-card-media-h:210px;
  }
  .product-row{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:940px) and (min-width:768px){
  :root{
    --crazy-card-media-h:196px;
  }
  .product-row{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Mobile: preserva a mesma estrutura em carrossel horizontal. */
@media (max-width:767px){
  :root{
    --crazy-card-media-h:194px;
    --crazy-card-title-h:52px;
    --crazy-card-action-h:44px;
  }
  .section-head-arrivals{
    margin-bottom:14px;
  }
  .section-title-arrivals h2{
    gap:8px;
  }
  .section-title-arrivals .section-mini-badge{
    min-height:24px;
    padding:0 8px;
    font-size:.67rem;
  }
  .product-row{
    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    margin-right:-12px;
    padding:2px 12px 8px 0;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  .product-row::-webkit-scrollbar{
    display:none;
  }
  .product-row > *{
    flex:0 0 268px;
    min-width:268px;
    scroll-snap-align:start;
  }
  .crazy-card-body{
    padding:13px 13px 14px;
  }
  .crazy-card-title{
    font-size:.82rem;
  }
  .crazy-card-current-price{
    font-size:1.42rem;
  }
  .crazy-card-actions .btn{
    font-size:.74rem;
  }
}

@media (max-width:390px){
  .product-row > *{
    flex-basis:254px;
    min-width:254px;
  }
}

@media (max-width:340px){
  :root{
    --crazy-card-media-h:184px;
  }
  .product-row > *{
    flex-basis:240px;
    min-width:240px;
  }
  .crazy-card-installment{
    font-size:.66rem;
  }
  .crazy-card-installment strong{
    font-size:.70rem;
  }
}



/* ===== ETAPA 3.8 — V1.6 CTA branco: geometria interna igual ao CTA Black =====
   Correção cirúrgica: preserva cores, fundo, bordas, tipografia e dimensões externas.
   O texto deixa de herdar width:100%, permitindo que ícone + texto sejam centralizados
   como um único grupo, exatamente como no botão “Aproveitar oferta”. */
.crazy-product-card--standard .crazy-card-actions .btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
}
.crazy-product-card--standard .crazy-card-actions .btn > span{
  display:inline-block;
  width:auto;
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
}
.crazy-product-card--standard .crazy-card-actions .btn .crazy-card-action-icon{
  position:static;
  flex:0 0 auto;
  margin:0;
  transform:translateY(-0.5px);
}
@media (min-width:1280px){
  .crazy-product-card--standard .crazy-card-actions .btn{
    gap:7px;
  }
}



/* ==========================================================
   CRAZY THEME — PRODUCT CARD OFICIAL NOS LOOPS WOOCOMMERCE
   Catálogo geral + categorias + relacionados / upsells.
   O markup é o mesmo componente já aprovado na Home.
   ========================================================== */

/* O WooCommerce gera UL/LI; a geometria antiga é anulada para o card Crazy. */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px!important;
  align-items:stretch;
  clear:both;
  width:100%;
  margin:22px 0 36px!important;
  padding:0!important;
  list-style:none!important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after{
  display:none!important;
  content:none!important;
}

.woocommerce ul.products li.product.crazy-woo-loop-item,
.woocommerce-page ul.products li.product.crazy-woo-loop-item{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  height:100%;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

.woocommerce ul.products li.product.crazy-woo-loop-item .crazy-product-card,
.woocommerce-page ul.products li.product.crazy-woo-loop-item .crazy-product-card{
  height:100%;
}

/* O loop Crazy já renderiza preço, promoção e CTA; nunca exibir resíduos Woo antigos. */
.woocommerce ul.products li.product.crazy-woo-loop-item > .onsale,
.woocommerce ul.products li.product.crazy-woo-loop-item > a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product.crazy-woo-loop-item > a.button{
  display:none!important;
}

/* Catálogo: cabeçalho funcional continua WooCommerce, mas com acabamento do Crazy Theme. */
.woocommerce .woocommerce-result-count{
  margin:8px 0 18px;
  color:#687087;
  font-size:.84rem;
}

.woocommerce .woocommerce-ordering{
  margin:0 0 18px;
}

.woocommerce .woocommerce-ordering select{
  min-height:42px;
  padding:0 38px 0 13px;
  border:1px solid #e1e5ef;
  border-radius:11px;
  background:#fff;
  color:#182039;
  font-size:.84rem;
  outline:none;
}

.woocommerce .woocommerce-ordering select:focus{
  border-color:#bfc3ff;
  box-shadow:0 0 0 3px rgba(10,22,255,.08);
}

/* Relacionados / upsells deixam de usar o produto gigante do Woo padrão. */
.single-product .related,
.single-product .upsells{
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid #edf0f6;
}

.single-product .related > h2,
.single-product .upsells > h2{
  margin:0 0 18px;
  color:#10182f;
  font-size:clamp(1.55rem,2.4vw,2rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

/* Desktop médio. */
@media (max-width:1279px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:940px) and (min-width:768px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Mobile catálogo: 2 colunas de navegação; card mantém a linguagem oficial, compactado. */
@media (max-width:767px){
  .crazy-woo-main{
    padding-top:10px;
  }

  .woocommerce .woocommerce-breadcrumb{
    margin-bottom:10px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering{
    float:none!important;
    width:100%;
  }

  .woocommerce .woocommerce-ordering select{
    width:100%;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px!important;
    margin-top:16px!important;
  }

  .woocommerce ul.products .crazy-product-card{
    --crazy-card-media-h:158px;
    --crazy-card-body-pad-x:9px;
    --crazy-card-body-pad-y:10px;
    --crazy-card-title-h:46px;
    --crazy-card-action-h:40px;
  }

  .woocommerce ul.products .crazy-card-body{
    grid-template-rows:14px var(--crazy-card-title-h) 56px 20px var(--crazy-card-action-h);
    row-gap:6px;
  }

  .woocommerce ul.products .crazy-card-category{
    font-size:.58rem;
    line-height:14px;
  }

  .woocommerce ul.products .crazy-card-title{
    font-size:.69rem;
    line-height:1.28;
  }

  .woocommerce ul.products .crazy-card-shipping-badge{
    top:7px;
    left:7px;
    min-height:22px;
    padding:4px 6px;
    font-size:.56rem;
  }

  .woocommerce ul.products .crazy-card-shipping-badge svg{
    width:12px;
    height:12px;
  }

  .woocommerce ul.products .crazy-card-meta-row{
    gap:5px;
  }

  .woocommerce ul.products .crazy-card-regular-price{
    font-size:.57rem;
  }

  .woocommerce ul.products .crazy-card-discount{
    min-height:19px;
    padding:0 5px;
    font-size:.52rem;
  }

  .woocommerce ul.products .crazy-card-current-price{
    font-size:1.05rem;
  }

  .woocommerce ul.products .crazy-card-installment{
    gap:2px;
    font-size:.54rem;
  }

  .woocommerce ul.products .crazy-card-installment strong{
    font-size:.58rem;
  }

  .woocommerce ul.products .crazy-card-actions{
    grid-template-columns:minmax(0,1fr) 34px;
    gap:5px;
  }

  .woocommerce ul.products .crazy-card-actions .btn{
    padding:0 5px;
    font-size:.58rem;
    gap:4px;
  }

  .woocommerce ul.products .crazy-card-action-icon{
    width:13px;
    height:13px;
  }

  .woocommerce ul.products .crazy-card-view svg{
    width:15px;
    height:15px;
  }

  .single-product .related,
  .single-product .upsells{
    margin-top:28px;
    padding-top:22px;
  }
}

@media (max-width:390px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    gap:8px!important;
  }

  .woocommerce ul.products .crazy-product-card{
    --crazy-card-media-h:148px;
  }

  .woocommerce ul.products .crazy-card-current-price{
    font-size:.98rem;
  }
}
