/* FAMPLAS — Catálogo v1.10: estilos apenas na loja / categorias, sem trocar o loop. */
body.fpm-shop-layout{--fpm-shop-line:#e4eaf3;--fpm-shop-radius:18px;--fpm-shop-shadow:0 12px 28px rgba(6,29,66,.055);color:var(--fpm-ink,#132c51)}
body.fpm-shop-layout #main{background:#fff}
body.fpm-shop-layout #main .container,
body.fpm-shop-layout #main .shop-container,
body.fpm-shop-layout #main .shop-page-title .container{max-width:var(--fpm-container,1280px)}
body.fpm-shop-layout #main .shop-container{margin-inline:auto}
body.fpm-shop-layout #main .shop-page-title{background:#fff;border:0;box-shadow:none}
body.fpm-shop-layout #main .shop-page-title .page-title,
body.fpm-shop-layout #main .shop-page-title .shop-page-title .page-title{color:var(--fpm-navy,#061d42);font-weight:850}
body.fpm-shop-layout #main a:focus-visible,
body.fpm-shop-layout #main button:focus-visible,
body.fpm-shop-layout #main select:focus-visible{outline:3px solid var(--fpm-orange,#ff7900);outline-offset:2px}
/* Cabeçalho editorial da loja */
body.fpm-shop-layout .fpm-shop-hero{
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,.8fr);
  min-height:258px;max-width:var(--fpm-container,1280px);margin:24px auto 28px;
  border-radius:23px;overflow:hidden;background:linear-gradient(112deg,#eef2f9 0%,#f7f9fc 55%,#e7eff8 100%);
  box-shadow:inset 0 0 0 1px #e5ebf4;
}
body.fpm-shop-layout .fpm-shop-hero:after{content:'';position:absolute;z-index:-1;width:52%;aspect-ratio:1;right:-26%;bottom:-120%;border-radius:50%;border:44px solid var(--fpm-orange,#ff7900);pointer-events:none}
body.fpm-shop-layout .fpm-shop-hero__content{padding:clamp(26px,3.7vw,54px);align-self:center;min-width:0}
body.fpm-shop-layout .fpm-shop-hero__eyebrow{font-size:11px;letter-spacing:.14em;color:var(--fpm-orange,#ff7900);font-weight:900;margin:0 0 13px}
body.fpm-shop-layout .fpm-shop-hero h1{font-size:clamp(31px,3.9vw,55px);color:var(--fpm-navy,#061d42);line-height:1.05;font-weight:900;letter-spacing:-.045em;margin:0 0 14px;text-transform:none}
body.fpm-shop-layout .fpm-shop-hero__description{color:var(--fpm-ink,#132c51);font-size:clamp(14px,1.3vw,18px);line-height:1.48;margin:0;max-width:630px}
body.fpm-shop-layout .fpm-shop-hero__back{display:inline-flex;align-items:center;margin-top:15px;font-size:13px;font-weight:800;color:var(--fpm-orange,#ff7900);text-decoration:none}
body.fpm-shop-layout .fpm-shop-hero__art{display:flex;align-items:center;justify-content:center;min-width:0;position:relative;overflow:hidden}
body.fpm-shop-layout .fpm-shop-hero__art--image{padding:20px}
body.fpm-shop-layout .fpm-shop-hero__image{height:230px;max-height:100%;max-width:90%;width:auto;object-fit:contain;filter:drop-shadow(0 14px 15px rgba(6,29,66,.14))}
body.fpm-shop-layout .fpm-shop-hero__illustration{height:min(230px,100%);max-width:94%;width:auto;color:var(--fpm-navy,#061d42);filter:drop-shadow(0 12px 18px rgba(6,29,66,.08))}
/* Native Flatsome row and WooCommerce ul: mobile-first grid stays inside native shop wrapper. */
body.fpm-shop-layout #main .shop-container .products.row{
  display:grid!important;grid-template-columns:repeat(var(--fpm-shop-cols,3),minmax(0,1fr));
  gap:20px!important;margin:0 0 24px!important;max-width:none!important;
}
body.fpm-shop-layout #main .shop-container .products.row > .col{
  width:100%!important;max-width:100%!important;flex:none!important;min-width:0!important;
  padding:0!important;margin:0!important;
}
body.fpm-shop-layout #main .shop-container ul.products:not(.row){display:grid;grid-template-columns:repeat(var(--fpm-shop-cols,3),minmax(0,1fr));gap:20px;margin:0 0 28px;padding:0;list-style:none}
body.fpm-shop-layout #main .shop-container ul.products:not(.row) > li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}
/* Cards combinando com a vitrine da home */
body.fpm-shop-layout #main .shop-container .product-small.box,
body.fpm-shop-layout #main .shop-container li.product{
  background:#fff;border:1px solid var(--fpm-shop-line);border-radius:var(--fpm-shop-radius);overflow:hidden;
  box-shadow:var(--fpm-shop-shadow);height:100%;display:flex;flex-direction:column;
  transition:transform .27s ease,box-shadow .27s ease,border-color .27s ease;
}
body.fpm-shop-layout #main .shop-container .product-small.box:hover,
body.fpm-shop-layout #main .shop-container li.product:hover{transform:translateY(-5px);box-shadow:0 19px 36px rgba(6,29,66,.12);border-color:#d1ddec}
body.fpm-shop-layout #main .shop-container .box-image,
body.fpm-shop-layout #main .shop-container li.product > a:first-child img{
  background:linear-gradient(145deg,#f8f9fc,#edf2f8);
}
body.fpm-shop-layout #main .shop-container .box-image{width:100%;aspect-ratio:1.27/1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
body.fpm-shop-layout #main .shop-container .box-image img{
  display:block;width:100%;height:100%;max-height:100%;object-fit:contain;transition:transform .5s ease,opacity .45s ease;
}
body.fpm-shop-layout #main .shop-container .product-small:hover .box-image img{transform:scale(1.055)}
body.fpm-shop-layout #main .shop-container .box-text{padding:17px 16px 18px;display:flex;flex-direction:column;gap:9px;flex:1;width:100%}
body.fpm-shop-layout #main .shop-container .box-text .name,
body.fpm-shop-layout #main .shop-container li.product .woocommerce-loop-product__title{
  color:var(--fpm-navy,#061d42);font-size:15px;line-height:1.38;font-weight:800;letter-spacing:-.01em;margin:0;
}
body.fpm-shop-layout #main .shop-container .box-text .price,
body.fpm-shop-layout #main .shop-container li.product .price{color:var(--fpm-navy,#061d42);font-size:20px;font-weight:900;margin:3px 0 0;line-height:1.3}
body.fpm-shop-layout #main .shop-container .box-text .price .amount{font-weight:900;color:inherit}
body.fpm-shop-layout #main .shop-container .box-text .star-rating{color:var(--fpm-orange,#ff7900)}
body.fpm-shop-layout #main .shop-container a.button,
body.fpm-shop-layout #main .shop-container a.add_to_cart_button,
body.fpm-shop-layout #main .shop-container a.product_type_variable,
body.fpm-shop-layout #main .shop-container li.product a.button{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:42px;
  border-radius:999px!important;background:var(--fpm-orange,#ff7900)!important;color:#fff!important;
  border:0!important;box-shadow:none!important;padding:11px 18px!important;font-size:13px!important;font-weight:800!important;
  text-transform:none!important;transition:filter .2s ease,transform .2s ease;
}
body.fpm-shop-layout #main .shop-container a.button:hover{filter:brightness(.92);transform:translateY(-1px)}
body.fpm-shop-layout #main .shop-container .onsale{background:var(--fpm-orange,#ff7900);border-radius:999px;color:white;font-weight:800}
body.fpm-shop-layout #main .shop-container .woocommerce-result-count{font-size:13px;color:#677992;padding-top:8px}
body.fpm-shop-layout #main .shop-container select.orderby,
body.fpm-shop-layout #main .shop-container .woocommerce-ordering select,
body.fpm-shop-layout #main .shop-container .orderby{border-radius:99px;background:#f5f7fb;border:1px solid #dfe6ef;padding:11px 15px;color:var(--fpm-navy,#061d42);min-height:43px;max-width:100%}
body.fpm-shop-layout #main #shop-sidebar .widget-title{color:var(--fpm-navy,#061d42);font-size:16px;font-weight:800}
body.fpm-shop-layout #main #shop-sidebar a:hover{color:var(--fpm-orange,#ff7900)}
body.fpm-shop-layout #main .page-number,
body.fpm-shop-layout #main .woocommerce-pagination .page-numbers{border-radius:99px}
body.fpm-shop-layout #main .page-number.current,
body.fpm-shop-layout #main .woocommerce-pagination .page-numbers.current{background:var(--fpm-orange,#ff7900);color:white;border-color:var(--fpm-orange,#ff7900)}
@media(max-width:1000px){
  body.fpm-shop-layout #main .shop-container .products.row,
  body.fpm-shop-layout #main .shop-container ul.products:not(.row){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
}
@media(max-width:640px){
  body.fpm-shop-layout .fpm-shop-hero{margin:13px auto 20px;min-height:0;grid-template-columns:1fr;border-radius:17px}
  body.fpm-shop-layout .fpm-shop-hero__content{padding:26px 20px 8px}
  body.fpm-shop-layout .fpm-shop-hero h1{font-size:clamp(30px,8vw,39px)}
  body.fpm-shop-layout .fpm-shop-hero__description{font-size:14px}
  body.fpm-shop-layout .fpm-shop-hero__art{min-height:135px;max-height:170px}
  body.fpm-shop-layout .fpm-shop-hero__image{height:155px}
  body.fpm-shop-layout .fpm-shop-hero__illustration{height:150px}
  body.fpm-shop-layout .fpm-shop-hero:after{border-width:23px;right:-27%;bottom:-95%;width:72%}
  body.fpm-shop-layout #main .shop-container .products.row,
  body.fpm-shop-layout #main .shop-container ul.products:not(.row){gap:10px!important}
  body.fpm-shop-layout #main .shop-container .box-text{padding:12px 10px 13px;gap:6px}
  body.fpm-shop-layout #main .shop-container .box-text .name,
  body.fpm-shop-layout #main .shop-container li.product .woocommerce-loop-product__title{font-size:12.5px}
  body.fpm-shop-layout #main .shop-container .box-text .price{font-size:16px}
  body.fpm-shop-layout #main .shop-container .box-image{aspect-ratio:1.05/1}
  body.fpm-shop-layout #main .shop-container a.button{font-size:11px!important;padding:10px 8px!important;min-height:36px}
}
@media(prefers-reduced-motion:reduce){
 body.fpm-shop-layout #main .shop-container .product-small.box,
 body.fpm-shop-layout #main .shop-container li.product,
 body.fpm-shop-layout #main .shop-container .box-image img,
 body.fpm-shop-layout #main .shop-container a.button{transition:none!important;transform:none!important}
}


/* v1.10.2 — categoria rápida, menos elementos duplicados e layout responsivo */
body.fpm-shop-layout .fpm-shop-hero{width:min(var(--fpm-container,1280px),calc(100% - 48px));max-width:100%;margin-inline:auto}
body.fpm-shop-layout .shop-container,
body.fpm-shop-layout #main .shop-container,
body.fpm-shop-layout #main .shop-container .row,
body.fpm-shop-layout #main .shop-container .products{min-width:0;max-width:100%;box-sizing:border-box}
body.fpm-shop-layout #main .shop-container .products.row{width:100%!important}
body.fpm-shop-layout .fpm-shop-quick-categories{
 display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;
 width:100%;padding:14px 0 22px;margin:0 0 10px;
 border-bottom:1px solid #e7edf5;color:var(--fpm-navy,#061d42)
}
body.fpm-shop-layout .fpm-shop-quick-categories>strong{font-size:13px;white-space:nowrap;letter-spacing:-.01em}
body.fpm-shop-layout .fpm-shop-quick-categories__list{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.fpm-shop-layout .fpm-shop-quick-categories__list>a{
 display:inline-flex;min-height:36px;align-items:center;justify-content:center;
 border:1px solid #dde6f1;background:#f7f9fc;color:var(--fpm-navy,#061d42);
 padding:8px 13px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.3;
 text-decoration:none;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease
}
body.fpm-shop-layout .fpm-shop-quick-categories__list>a:hover{border-color:var(--fpm-orange,#ff7900);color:var(--fpm-orange,#ff7900);transform:translateY(-2px)}
body.fpm-shop-layout .fpm-shop-quick-categories__list>a.is-current{background:var(--fpm-navy,#061d42);color:#fff;border-color:var(--fpm-navy,#061d42)}
/* Ocultar apenas o que se repete com a apresentação personalizada: os filtros continuam. */
body.fpm-shop-clean-intro .shop-page-title h1.page-title,
body.fpm-shop-clean-intro .shop-page-title .breadcrumbs,
body.fpm-shop-clean-intro #main .woocommerce-products-header__title,
body.fpm-shop-clean-intro #main .woocommerce-products-header .term-description{display:none!important}
body.fpm-shop-hide-legacy-tiles #main .shop-container .product-category{display:none!important}
/* Microinterações leves, ativadas por classe e IntersectionObserver. */
body.fpm-shop-layout .fpm-shop-hero,
body.fpm-shop-layout .fpm-shop-quick-categories{animation:fpm-shop-enter .45s ease both}
body.fpm-shop-layout .fpm-shop-quick-categories{animation-delay:.08s}
@keyframes fpm-shop-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
body.fpm-shop-layout .shop-container .product-small.box,
body.fpm-shop-layout .shop-container li.product{will-change:auto}
body.fpm-shop-layout .shop-container .fpm-shop-reveal{opacity:0;transform:translateY(12px);transition:opacity .4s ease,transform .4s ease,box-shadow .25s ease}
body.fpm-shop-layout .shop-container .fpm-shop-reveal.is-visible{opacity:1;transform:none}
@media(max-width:849px){
 body.fpm-shop-layout .fpm-shop-hero{width:calc(100% - 28px)}
 body.fpm-shop-layout .fpm-shop-quick-categories{padding:12px 0 16px;gap:9px}
 body.fpm-shop-layout .fpm-shop-quick-categories__list{gap:6px}
 body.fpm-shop-layout .fpm-shop-quick-categories__list>a{padding:7px 11px;font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){
 body.fpm-shop-layout .fpm-shop-hero,body.fpm-shop-layout .fpm-shop-quick-categories{animation:none!important}
 body.fpm-shop-layout .shop-container .fpm-shop-reveal{opacity:1;transform:none;transition:none!important}
}


/* v1.10.3 — hero mais protagonista e substituição da faixa simples do tema */
body.fpm-shop-layout.fpm-shop-clean-intro #main .shop-page-title{display:none!important}
body.fpm-shop-layout .fpm-shop-hero{
  width:min(var(--fpm-container,1280px),calc(100% - 48px));
  min-height:360px;
  margin:18px auto 30px;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  border-radius:28px;
  box-shadow:0 24px 48px rgba(6,29,66,.08), inset 0 0 0 1px #e5ebf4;
  overflow:hidden;
}
body.fpm-shop-layout .fpm-shop-hero:before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:10px;
  background:linear-gradient(180deg,var(--fpm-orange,#ff7900),#ffb266);
}
body.fpm-shop-layout .fpm-shop-hero__content{padding:clamp(34px,4vw,64px) clamp(32px,4.5vw,70px)}
body.fpm-shop-layout .fpm-shop-hero h1{font-size:clamp(40px,5vw,72px);line-height:.97;max-width:8ch;margin-bottom:18px}
body.fpm-shop-layout .fpm-shop-hero__description{font-size:clamp(16px,1.4vw,21px);max-width:560px}
body.fpm-shop-layout .fpm-shop-hero__art--image{padding:26px 32px}
body.fpm-shop-layout .fpm-shop-hero__image{height:290px;max-width:100%;object-fit:contain}
body.fpm-shop-layout .fpm-shop-hero__illustration{height:min(290px,100%)}
body.fpm-shop-layout .fpm-shop-quick-categories{padding-top:4px}
body.fpm-shop-layout #main .shop-container .woocommerce-ordering{margin:0 0 18px auto;float:none;display:flex;justify-content:flex-end}
body.fpm-shop-layout #main .shop-container .woocommerce-result-count{margin:10px 0 18px}
@media(max-width:960px){
  body.fpm-shop-layout .fpm-shop-hero{min-height:320px;grid-template-columns:1fr;gap:0}
  body.fpm-shop-layout .fpm-shop-hero h1{max-width:none}
}
@media(max-width:640px){
  body.fpm-shop-layout .fpm-shop-hero{width:calc(100% - 28px);min-height:0;margin:12px auto 22px;border-radius:20px}
  body.fpm-shop-layout .fpm-shop-hero:before{width:6px}
  body.fpm-shop-layout .fpm-shop-hero__content{padding:28px 22px 8px 24px}
  body.fpm-shop-layout .fpm-shop-hero h1{font-size:clamp(34px,10vw,48px);line-height:1.02}
  body.fpm-shop-layout .fpm-shop-hero__description{font-size:14px}
  body.fpm-shop-layout .fpm-shop-hero__art{min-height:150px;max-height:220px}
  body.fpm-shop-layout .fpm-shop-hero__image{height:170px}
  body.fpm-shop-layout #main .shop-container .woocommerce-ordering{justify-content:stretch}
  body.fpm-shop-layout #main .shop-container .woocommerce-ordering select{width:100%}
}

/* v1.11.1 — corregir a sobreposicao da bolha de carrinho com o quick-view do tema.
   A acao de carrinho segue no botao principal; o quick-view segue acessivel. */
body.fpm-shop-layout #main .shop-container .product-small .add-to-cart-grid{display:none!important}
body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom{
  left:10px!important;right:10px!important;bottom:10px!important;width:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;border:0!important;overflow:hidden;border-radius:11px!important;
  z-index:4;box-shadow:none!important;
}
body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom .quick-view,
body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom a.button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-height:36px!important;height:auto!important;line-height:1.2!important;
  padding:9px 12px!important;margin:0!important;border-radius:10px!important;
  border:0!important;background:rgba(6,29,66,.94)!important;color:#fff!important;
  font-size:11px!important;font-weight:800!important;letter-spacing:0!important;
  text-align:center!important;box-shadow:none!important;text-transform:none!important;
}
body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom .quick-view:hover,
body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom a.button:hover{background:var(--fpm-orange,#ff7900)!important}
body.fpm-shop-layout #main .shop-container .box-text .add-to-cart-button,
body.fpm-shop-layout #main .shop-container .box-text .add-to-cart-button a.button{
  position:static!important;transform:none!important;width:100%;margin:0!important;
}
@media(hover:none){
  body.fpm-shop-layout #main .shop-container .product-small .image-tools.bottom{display:none!important}
}


/* v1.12.6 — Novo banner da loja idêntico à linguagem do banner de produto.
   O gancho WooCommerce o apresenta antes da área principal; mesmo com fallback
   dentro do conteúdo, o banner permanece sem arte, imagem ou moldura. */
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand{
  box-sizing:border-box;position:relative;isolation:isolate;display:block;
  width:100%;max-width:100%;min-height:0;margin:0 0 26px;
  background:var(--fpm-navy,#061d42);
  border:0;border-radius:0;box-shadow:none;overflow:hidden;color:#fff;
}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand:before{display:none}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand:after{display:none}
body.fpm-shop-layout .fpm-shop-hero__inner{
  position:relative;isolation:isolate;box-sizing:border-box;
  width:min(var(--fpm-container,1280px),calc(100% - 48px));
  max-width:100%;min-height:205px;margin-inline:auto;overflow:hidden;
}
body.fpm-shop-layout .fpm-shop-hero__inner:before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:320px;height:320px;right:-18px;top:-205px;
  border:29px solid var(--fpm-orange,#ff7900);border-radius:50%;opacity:.98;
}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__content{
  position:relative;z-index:1;min-width:0;padding:24px 0 27px;
  max-width:min(100%,900px);
}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__eyebrow{
  margin:0 0 9px;color:#ffb45f;font-size:11px;font-weight:800;
  letter-spacing:.14em;line-height:1.4;text-transform:uppercase;
}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand h1{
  font-size:clamp(27px,3vw,45px);font-weight:850;letter-spacing:-.04em;
  color:#fff;line-height:1.07;max-width:900px;margin:0 0 11px;
}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__description{
  font-size:clamp(13px,1.15vw,16px);line-height:1.5;
  color:#d7e5f5;max-width:600px;margin:0;
}
body.fpm-shop-layout .fpm-shop-hero__crumbs{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;max-width:100%;
  padding:7px 11px;margin:0 0 19px;border:1px solid rgba(255,255,255,.22);
  border-radius:999px;background:rgba(255,255,255,.085);
  color:#fff;font-size:11px;line-height:1.45;
}
body.fpm-shop-layout .fpm-shop-hero__crumbs a{color:#e7eef9;text-decoration:none;font-weight:650;transition:color .2s ease}
body.fpm-shop-layout .fpm-shop-hero__crumbs a:hover{color:#ffc17d}
body.fpm-shop-layout .fpm-shop-hero__separator{color:#ff9d45}
body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__back{
  color:#ffb45f;margin-top:15px;font-size:13px;
}
/* O título antigo do tema é suprimido somente quando o novo banner está ativo. */
body.fpm-shop-layout.fpm-shop-clean-intro .shop-page-title{display:none!important}
@media(max-width:849px){
  body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand{margin-bottom:20px}
  body.fpm-shop-layout .fpm-shop-hero__inner{width:calc(100% - 28px);min-height:190px}
  body.fpm-shop-layout .fpm-shop-hero__inner:before{width:250px;height:250px;right:-125px;top:-125px;border-width:22px;opacity:.88}
  body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__content{padding:24px 0 28px}
}
@media(max-width:549px){
  body.fpm-shop-layout .fpm-shop-hero__inner{min-height:175px}
  body.fpm-shop-layout .fpm-shop-hero__inner:before{right:-142px;top:-95px;width:205px;height:205px;border-width:16px;opacity:.8}
  body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand .fpm-shop-hero__content{padding:18px 0 22px}
  body.fpm-shop-layout .fpm-shop-hero.fpm-shop-hero--brand h1{font-size:clamp(22px,6.8vw,29px);line-height:1.12}
  body.fpm-shop-layout .fpm-shop-hero__crumbs{margin-bottom:13px;padding:5px 8px;gap:5px;font-size:9.5px}
}
@media(prefers-reduced-motion:reduce){
  body.fpm-shop-layout .fpm-shop-hero{animation:none!important}
}


/* v1.12.7 — Arquivo de categoria compacto: o cliente chega aos produtos mais cedo. */
body.fpm-shop-compact-category .fpm-shop-category-heading{
  box-sizing:border-box;width:min(var(--fpm-container,1280px),calc(100% - 48px));
  margin:20px auto 22px;padding:20px 28px 24px;
  border:1px solid #e3eaf2;border-left:5px solid var(--fpm-orange,#ff7900);
  border-radius:17px;background:linear-gradient(108deg,#f6f8fc,#edf2f9);
  color:var(--fpm-navy,#061d42);min-width:0;
}
body.fpm-shop-compact-category .fpm-shop-category-heading__crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;color:#697b92;font-size:12px;line-height:1.5}
body.fpm-shop-compact-category .fpm-shop-category-heading__crumbs a{color:#5d7190;text-decoration:none}
body.fpm-shop-compact-category .fpm-shop-category-heading__crumbs a:hover{color:var(--fpm-orange,#ff7900)}
body.fpm-shop-compact-category .fpm-shop-category-heading__row{display:flex;justify-content:space-between;align-items:end;gap:16px}
body.fpm-shop-compact-category .fpm-shop-category-heading__kicker{font-size:10px;line-height:1.4;letter-spacing:.13em;color:var(--fpm-orange,#ff7900);font-weight:900;margin:0 0 5px}
body.fpm-shop-compact-category .fpm-shop-category-heading h1{color:var(--fpm-navy,#061d42);font-size:clamp(26px,3vw,40px);line-height:1.1;letter-spacing:-.035em;font-weight:900;margin:0}
body.fpm-shop-compact-category .fpm-shop-category-heading__back{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;color:var(--fpm-navy,#061d42);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
body.fpm-shop-compact-category .fpm-shop-category-heading__back span{font-size:19px;color:var(--fpm-orange,#ff7900)}
body.fpm-shop-compact-category .fpm-shop-category-heading__back:hover{color:var(--fpm-orange,#ff7900)}
body.fpm-shop-compact-category .fpm-shop-quick-categories{display:none!important}
/* Descrições e cards legados vindos do template de arquivo não são necessários. */
body.fpm-shop-compact-category #main .woocommerce-products-header .term-description,
body.fpm-shop-compact-category #main .woocommerce-products-header__description,
body.fpm-shop-compact-category #main .term-description{display:none!important}
@media(max-width:849px){
 body.fpm-shop-compact-category .fpm-shop-category-heading{width:calc(100% - 28px);padding:17px 18px 20px;margin:12px auto 17px}
 body.fpm-shop-compact-category .fpm-shop-category-heading__row{align-items:start;flex-direction:column;gap:12px}
 body.fpm-shop-compact-category .fpm-shop-category-heading__back{white-space:normal}
}
@media(max-width:549px){
 body.fpm-shop-compact-category .fpm-shop-category-heading{padding:15px 16px 18px;border-radius:13px}
 body.fpm-shop-compact-category .fpm-shop-category-heading h1{font-size:29px}
 body.fpm-shop-compact-category .fpm-shop-category-heading__crumbs{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.fpm-shop-compact-category .fpm-shop-category-heading{animation:none!important}}


/* v1.12.8 — apenas textos e grafismos nos banners de categoria mobile. */
@media(max-width:849px){
 body.tax-product_cat.fpm-shop-layout .fpm-shop-hero__art,
 body.tax-product_cat.fpm-shop-layout .fpm-shop-hero__art--image,
 body.tax-product_cat.fpm-shop-layout .fpm-shop-category-heading img,
 body.tax-product_cat.fpm-shop-layout .fpm-shop-hero__image{display:none!important}
 body.tax-product_cat.fpm-shop-layout .fpm-shop-hero:not(.fpm-shop-hero--brand){display:block;min-height:0}
}

/* v1.13.3 — conteúdo simplificado com a tipografia e os grafismos da v1.13.0. */
body.fpm-shop-compact-category .fpm-shop-category-heading--simple{
  box-sizing:border-box;
  width:min(var(--fpm-container,1280px),calc(100% - 48px));
  border:0;background:transparent;padding:0;
  margin:20px auto 24px;
  animation:fpm-shop-enter .5s ease both;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface{
  position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(34px,4vw,64px) clamp(30px,4.5vw,70px);
  border-radius:22px;color:#fff;
  background:linear-gradient(135deg,var(--fpm-navy,#061d42) 0%,#123a6d 72%,#17497f 100%);
  box-shadow:0 18px 42px rgba(6,29,66,.15);
}
/* Recorte laranja inferior esquerdo 70% menor; mantém o anel da versão original. */
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface:before{
  content:'';position:absolute;inset:auto auto -13px -7px;
  width:40px;height:40px;border-radius:10px 21px 6px 27px;
  background:var(--fpm-orange,#ff7900);transform:rotate(-18deg);z-index:-1;opacity:.96;
  pointer-events:none;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface:after{
  content:'';position:absolute;right:-95px;top:-55px;
  width:290px;height:290px;border-radius:50%;
  border:24px solid var(--fpm-orange,#ff7900);opacity:.9;z-index:-1;
  pointer-events:none;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple h1{
  color:#fff;font-size:clamp(36px,4.4vw,58px);
  line-height:.98;letter-spacing:-.04em;font-weight:900;
  margin:0 0 16px;max-width:11ch;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__description{
  max-width:58ch;margin:0;color:#e6eef8;
  font-size:clamp(15px,1.35vw,19px);line-height:1.55;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__count{
  display:inline-flex;align-items:center;gap:9px;
  margin:22px 0 0;color:#dce7f7;
  font-size:13px;font-weight:700;line-height:1.4;
}
body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__count:before{
  content:'';width:8px;height:8px;flex:0 0 8px;
  background:#ffb26b;box-shadow:0 0 0 4px rgba(255,255,255,.06);border-radius:50%;
}
@media(max-width:849px){
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple{
   width:calc(100% - 28px);margin:12px auto 19px;padding:0;
 }
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface{
   border-radius:20px;padding:27px 22px 27px;
 }
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface:before{
   left:-8px;bottom:-16px;width:33px;height:33px;
 }
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__surface:after{
   right:-100px;top:-62px;width:250px;height:250px;border-width:18px;
 }
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple h1{
   font-size:clamp(30px,10vw,42px);max-width:none;
 }
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple .fpm-shop-category-heading__description{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 body.fpm-shop-compact-category .fpm-shop-category-heading--simple{animation:none!important}
}


/* v1.15 — largura exterior única, com colunas internas sem dupla margem. */
body.fpm-shop-layout #main > .shop-container,
body.fpm-shop-layout #main .shop-container,
body.fpm-shop-layout #main > .container,
body.fpm-shop-layout #main .page-wrapper > .container,
body.fpm-shop-layout #main .shop-page-title > .container {
  box-sizing:border-box!important;width:min(var(--fpm-container,1280px),calc(100% - 48px))!important;
  max-width:var(--fpm-container,1280px)!important;margin-inline:auto!important;min-width:0;
}
body.fpm-shop-layout #main .shop-container .row,
body.fpm-shop-layout #main .shop-container .products.row,
body.fpm-shop-layout #main .shop-container .shop-container,
body.fpm-shop-layout #main .shop-container .large-9,
body.fpm-shop-layout #main .shop-container .large-3{box-sizing:border-box;min-width:0;}
body.fpm-shop-layout #main .shop-container > .row,
body.fpm-shop-layout #main .shop-container > .products.row{max-width:100%!important;width:100%!important;}
@media(max-width:849px){
  body.fpm-shop-layout #main > .shop-container,
  body.fpm-shop-layout #main .shop-container,
  body.fpm-shop-layout #main > .container,
  body.fpm-shop-layout #main .page-wrapper > .container,
  body.fpm-shop-layout #main .shop-page-title > .container{width:calc(100% - 28px)!important;}
}


/* v1.16.7 — A vitrine usa a mesma borda esquerda/direita do banner da loja.
   O contêiner externo já recebeu o gutter de 24px (14px no mobile).
   O Flatsome pode colocar OUTRO .shop-container dentro da coluna principal;
   esse segundo contêiner nunca deve subtrair 48px outra vez. */
body.fpm-shop-layout #main .shop-container .shop-container,
body.fpm-shop-layout #main .shop-container > .row > .col > .shop-container,
body.fpm-shop-layout #main .shop-container > .row > [class*="large-"] > .shop-container{
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
}
/* A grade e os atalhos devem preencher o espaço da coluna, sem recuo interno. */
body.fpm-shop-layout #main .shop-container .shop-container > .row,
body.fpm-shop-layout #main .shop-container .shop-container > .products.row,
body.fpm-shop-layout #main .shop-container .shop-container > ul.products,
body.fpm-shop-layout #main .shop-container .shop-container > .fpm-shop-quick-categories{
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
}
/* Se o banner e o catálogo estiverem na mesma coluna, aplicar a régua
   apenas ao conteúdo interno (não ao sidebar ou ao grid de duas áreas). */
body.fpm-shop-layout #main .shop-container > .row > .col > .shop-container > .products.row,
body.fpm-shop-layout #main .shop-container > .row > .col > .shop-container > ul.products{
  width:100%!important;max-width:100%!important;margin-inline:0!important;
}
/* Mobile: a coluna de catálogo não herda as margens negativas da row do
   Flatsome; banner, filtros e cards usam os mesmos 14px externos. */
@media (max-width:849px) {
  body.fpm-shop-layout #main .shop-container > .row {
    box-sizing:border-box!important;width:100%!important;
    max-width:100%!important;margin-inline:0!important;padding-inline:0!important;
  }
  body.fpm-shop-layout #main .shop-container > .row > .col:not(#shop-sidebar) {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    flex:0 0 100%!important;padding-inline:0!important;margin-inline:0!important;
  }
}

/* v1.16.8 — dimensões dos filtros, grid e paginação alinhadas pela geometria
   real do banner, não pela largura de um contêiner filho menor. */
body.fpm-shop-layout #main .fpm-shop-alignment-target {
  box-sizing:border-box!important;min-width:0!important;
  margin-right:0!important;
}


/* v1.17.0: na loja principal, a row com sidebar e catálogo é o contêiner
   externo de alinhamento; os cards NÃO recebem outro gutter externo. */
@media(min-width:850px){
 body.fpm-shop-main-archive #main .fpm-shop-frame-row{
   box-sizing:border-box!important;min-width:0!important;
 }
 body.fpm-shop-main-archive #main .fpm-shop-frame-row > .fpm-shop-frame-sidebar{
   box-sizing:border-box!important;min-width:0!important;padding-left:0!important;
 }
 body.fpm-shop-main-archive #main .fpm-shop-frame-row > .fpm-shop-frame-content{
   box-sizing:border-box!important;min-width:0!important;padding-right:0!important;
 }
}
