/* Categorias, loja e carrinho (mockup aprovado). Só ativo com o tema Viamax Child. */

/* ---------- Categorias / loja ---------- */
.archive.woocommerce .woocommerce-breadcrumb,.woocommerce-cart .woocommerce-breadcrumb{font-size:12px;color:#666}
.archive.woocommerce .woocommerce-products-header__title,.archive.woocommerce h1.page-title{font-size:30px;line-height:1.15;font-weight:700;color:#111}
.archive.woocommerce .term-description,.archive.woocommerce .woocommerce-products-header p{font-size:14px;line-height:1.6;color:#333}
.archive.woocommerce .woocommerce-result-count{font-size:13px;color:#666}
.archive.woocommerce .woocommerce-ordering select.orderby{min-height:44px;border:1.5px solid #ccc;border-radius:22px;padding:0 12px;font-size:13px;background:#fff;color:#111;font-family:inherit}
.archive.woocommerce ul.products{gap:20px 12px}
.archive.woocommerce ul.products li.product{display:flex;flex-direction:column;gap:6px}
.archive.woocommerce ul.products li.product img{background:#f4f4f4;border-radius:0}
.archive.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;font-weight:700;line-height:1.3;color:#111;margin:4px 0 0}
.archive.woocommerce ul.products li.product .price{margin-top:auto;font-size:14px;font-weight:700;color:var(--vx-teal)}
.archive.woocommerce ul.products li.product .price del{opacity:.5;font-weight:500}
.archive.woocommerce ul.products li.product .price ins{text-decoration:none}
.archive.woocommerce ul.products li.product .button,.archive.woocommerce ul.products li.product .add_to_cart_button{min-height:44px;border:0;border-radius:22px;background:var(--vx-teal);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:none}
.archive.woocommerce ul.products li.product .button.product_type_simple:hover{background:#085656}
.archive.woocommerce ul.products li.product .onsale,.archive.woocommerce ul.products li.product .out-of-stock{position:absolute;top:8px;left:8px;background:#111;color:#fff;font-size:11px;font-weight:600;padding:4px 10px;border-radius:12px;letter-spacing:0;min-height:0;line-height:1.4}
.archive.woocommerce ul.products li.product a.button.product_type_variable,.archive.woocommerce ul.products li.product a.button.product_type_grouped{background:#fff;color:var(--vx-teal);border:1.5px solid var(--vx-teal)}

/* ---------- Carrinho ---------- */
.woocommerce-cart h1.entry-title,.woocommerce-cart .entry-title{font-size:26px;font-weight:700;color:#111}
@media (max-width:992px){
  .woocommerce-cart table.shop_table.cart thead{display:none}
  .woocommerce-cart table.shop_table.cart,.woocommerce-cart table.shop_table.cart tbody{display:block;border:0}
  .woocommerce-cart table.shop_table.cart tr.cart_item{display:grid;grid-template-columns:76px 1fr;grid-template-areas:"img name" "img price" "img qty";column-gap:12px;row-gap:6px;padding:16px 0;border:0;border-bottom:1px solid #eee;position:relative}
  .woocommerce-cart table.shop_table.cart tr.cart_item td{display:block;border:0;padding:0;text-align:left;width:auto}
  .woocommerce-cart table.shop_table.cart tr.cart_item td::before{display:none!important}
  .woocommerce-cart td.product-thumbnail{grid-area:img}
  .woocommerce-cart td.product-thumbnail img{width:76px;height:76px;object-fit:cover;background:#f4f4f4}
  .woocommerce-cart td.product-name{grid-area:name;font-size:14px;font-weight:700;line-height:1.3;padding-right:44px}
  .woocommerce-cart td.product-name a{color:#111}
  .woocommerce-cart td.product-price{grid-area:price;font-size:12px;color:#666}
  .woocommerce-cart td.product-quantity{grid-area:qty}
  .woocommerce-cart td.product-subtotal{display:none!important}
  .woocommerce-cart td.product-remove{position:absolute;top:6px;right:-8px;width:44px;height:44px}
  .woocommerce-cart td.product-remove a.remove{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:22px;color:#666!important;background:none!important}
  .woocommerce-cart .quantity{display:inline-flex;align-items:center;border:1.5px solid #ddd;border-radius:22px;overflow:hidden}
  .woocommerce-cart .quantity input.qty{border:0!important;box-shadow:none!important;background:transparent!important;height:40px;font-size:15px;font-weight:600;text-align:center}
  .woocommerce-cart .coupon{border:1.5px solid #ddd;border-radius:12px;padding:12px 16px;display:flex;gap:8px;margin:16px 0}
  .woocommerce-cart .coupon input#coupon_code{flex:1;min-width:0;height:44px;border:1.5px solid #ddd;border-radius:22px;padding:0 16px;font-size:14px;font-family:inherit}
  .woocommerce-cart .coupon button{height:44px;padding:0 20px;border:0;border-radius:22px;background:#111;color:#fff;font-size:14px;font-weight:600}
  .woocommerce-cart button[name=update_cart]{display:none}
  .woocommerce-cart .cart_totals{padding:0}
  .woocommerce-cart .cart_totals h2{font-size:20px;font-weight:700}
  .woocommerce-cart .cart_totals table{border:0}
  .woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{font-size:16px;font-weight:700}
  .woocommerce-cart .cart_totals .order-total .amount{font-size:22px;color:var(--vx-teal)}
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{min-height:52px;border:0;border-radius:26px!important;background:var(--vx-teal)!important;color:#fff!important;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;box-shadow:none}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover{background:#085656!important}

/* Acertos do carrinho em telemóvel */
@media (max-width:992px){
  .woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:76px minmax(0,1fr)!important;position:relative}
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail{width:76px!important;max-width:76px!important;min-width:0;padding:0!important}
  .woocommerce-cart td.product-thumbnail img{width:76px!important;height:76px!important;max-width:76px!important}
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-name,.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price,.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity{grid-column:2;width:auto!important;min-width:0;white-space:normal}
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail{grid-column:1;grid-row:1 / span 3}
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove{position:absolute!important;top:6px;right:-8px;left:auto!important;width:44px!important;height:44px}
  .woocommerce-cart .coupon{flex-wrap:nowrap}
  .woocommerce-cart .coupon label{display:none}
  .woocommerce-cart .coupon input#coupon_code{flex:1 1 auto!important;width:auto!important;min-width:0}
  .woocommerce-cart .coupon button[name=apply_coupon]{flex:0 0 auto;background:#111!important;color:#fff!important;border:0!important;border-radius:22px!important;height:44px;padding:0 20px!important;width:auto!important}
}

/* Barra fixa do carrinho (reutiliza o estilo da barra do produto) */
.vx-buybar{display:none}
@media (max-width:992px){
  body.vx-has-buybar{padding-bottom:92px}
  .vx-buybar{position:fixed;left:0;right:0;bottom:0;z-index:90;background:#fff;border-top:1px solid #eee;box-shadow:0 -6px 16px rgba(0,0,0,.06);padding:10px 20px;box-sizing:border-box;display:flex;align-items:center;gap:16px}
  .vx-buybar__total{display:flex;flex-direction:column;line-height:1.2}
  .vx-buybar__total small{font-size:11px;color:#666}
  .vx-buybar__total strong{font-size:20px;font-weight:700;color:var(--vx-teal)}
  .vx-buybar__link{flex:1;min-height:52px;border-radius:26px;background:var(--vx-teal);color:#fff!important;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;text-decoration:none}
}

/* Selos no carrinho */
.vx-trust{background:#f4f4f4;border-radius:12px;padding:4px 16px;margin:20px 0 8px}
.vx-trust__row{padding:10px 0;border-bottom:1px solid #e4e4e4}
.vx-trust__row:last-child{border-bottom:0}
.vx-trust__t{font-size:13px;font-weight:600;color:#111}
.vx-trust__d{font-size:12px;color:#555;line-height:1.4}

/* Também pode gostar */
.vx-also{padding:32px 0 0}
.vx-also h2{font-size:20px;font-weight:700;color:#111;margin:0 0 14px}
.vx-also__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:993px){.vx-also__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
.vx-also__item{display:flex;flex-direction:column;gap:6px}
.vx-also__img{display:block;aspect-ratio:1/1;background:#f4f4f4;overflow:hidden}
.vx-also__img img{width:100%;height:100%;object-fit:cover}
.vx-also__item h3{margin:4px 0 0;font-size:14px;font-weight:700;line-height:1.3}
.vx-also__item h3 a{color:#111}
.vx-also__price{margin-top:auto;font-size:14px;font-weight:700;color:var(--vx-teal)}
.vx-also__price del{opacity:.5;font-weight:500}.vx-also__price ins{text-decoration:none}
.vx-also__btn{min-height:44px;border:0;border-radius:22px;background:var(--vx-teal);color:#fff!important;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;text-decoration:none}
.woocommerce-cart .vx-also__item h3 a,.woocommerce-cart .vx-also__item h3 a:hover{text-decoration:none!important;color:#111!important}
.woocommerce-cart a.vx-also__btn.button{background:var(--vx-teal)!important;color:#fff!important;border:0!important;border-radius:22px!important;min-height:44px;font-size:13px!important;font-weight:600!important;box-shadow:none!important;display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;width:100%}
.woocommerce-cart a.vx-also__btn.button:hover{background:#085656!important}

/* Carrinho: sem barra de passos (os avisos de pontos ficam visiveis; estilizar mais tarde) */
.woocommerce-cart .checkout-wrap{display:none!important}
@media(max-width:992px){.woocommerce-cart .coupon{flex-wrap:wrap!important}.woocommerce-cart .coupon input#coupon_code{flex:1 1 100%!important;width:100%!important}.woocommerce-cart .coupon button[name=apply_coupon]{flex:1 1 100%;width:100%;min-height:44px}}

/* ---------- Página inicial: grelha "Mais vendidos" e confiança ---------- */
body.home ul.products{gap:20px 12px}
body.home ul.products li.product{display:flex;flex-direction:column;gap:6px}
body.home ul.products li.product .woocommerce-image__wrapper img{background:#f4f4f4;border-radius:0}
body.home ul.products li.product .woocommerce-card__header{display:flex;flex-direction:column;gap:4px;height:auto;flex:1}
body.home ul.products li.product .product__categories,body.home ul.products li.product .product__categories a{font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--vx-teal)!important;margin:0}
body.home ul.products li.product .woocommerce-loop-product__title,body.home ul.products li.product .woocommerce-loop-product__title a{font-size:14px;font-weight:700;line-height:1.3;color:#111!important;text-decoration:none}
body.home ul.products li.product .price{font-size:14px;font-weight:700;color:var(--vx-teal);margin-top:auto}
body.home ul.products li.product .price del{opacity:.5;font-weight:500}
body.home ul.products li.product .price ins{text-decoration:none;color:var(--vx-teal)}
body.home ul.products li.product [class*="netreviews"]{display:none!important}
body.home ul.products li.product .woocommerce-loop-product__buttons{margin-top:8px}
body.home ul.products li.product .button,body.home ul.products li.product .add_to_cart_button{min-height:44px;width:100%;border:0!important;border-radius:22px!important;background:var(--vx-teal)!important;color:#fff!important;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:none}
body.home ul.products li.product .button:hover{background:#085656!important}
body.home ul.products li.product .onsale,body.home ul.products li.product .out-of-stock{background:#111;color:#fff;font-size:11px;font-weight:600;padding:4px 10px;border-radius:12px}
/* confiança */
body.home .elementor-widget-icon-box .elementor-icon,body.home .elementor-widget-icon-box .elementor-icon svg,body.home .elementor-widget-icon-box .elementor-icon i{color:var(--vx-teal)!important;fill:var(--vx-teal)!important}
body.home .elementor-widget-icon-box .elementor-icon-box-title,body.home .elementor-widget-icon-box .elementor-icon-box-title a{color:#111!important;font-weight:700}

/* ---------- Página inicial: banner escuro, faixa de portes, estrelas ---------- */
body.home .elementor-element-afc27d6,body.home .elementor-element-afc27d6 section,body.home .elementor-element-afc27d6 .elementor-element-c149730,body.home .elementor-element-9a28e9e,body.home .elementor-element-5793721{background:#0e0e0e!important}
body.home .elementor-element-afc27d6{padding-bottom:8px}
body.home .elementor-element-ebe6ec2::before{content:'VIAMAX';display:block;font-size:12px;font-weight:600;letter-spacing:2px;color:#2ee6a6;margin-bottom:8px}
body.home .elementor-element-ebe6ec2 h2,body.home .elementor-element-ebe6ec2 h2 a{font-size:36px!important;line-height:1.1!important;font-weight:700!important;color:#fff!important}
body.home .elementor-element-49924a1 h2,body.home .elementor-element-49924a1 h2 a{font-size:15px!important;line-height:1.5!important;font-weight:400!important;color:#d4d4d4!important}
body.home .elementor-element-19221d7 .elementor-button-wrapper{display:flex;gap:12px;flex-wrap:wrap}
body.home .elementor-element-19221d7 a.elementor-button{min-height:48px;padding:0 28px!important;border-radius:24px!important;background:#2ee6a6!important;color:#06382f!important;font-size:15px!important;font-weight:600!important;display:inline-flex;align-items:center}
body.home .elementor-element-19221d7 a.elementor-button .elementor-button-text{color:#06382f!important}
body.home .vx-btn2{min-height:48px;padding:0 28px;border-radius:24px;border:1.5px solid #fff;color:#fff!important;font-size:15px;font-weight:600;display:inline-flex;align-items:center;text-decoration:none;box-sizing:border-box}
body.home .elementor-element-319616c{background:#c8c9cb!important;border-radius:12px;overflow:hidden}
.vx-ship-strip{background:#eaf6f3;color:var(--vx-teal);display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;font-size:13px;font-weight:600;text-align:center}
.vx-ship-strip[hidden]{display:none}
.vx-ship-strip svg{flex:0 0 20px}
/* estrelas de opiniões nos cartões */
body.home ul.products li.product [class*="netreviews"]{display:revert!important}
body.home ul.products li.product .listStars{position:relative;display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 8px;height:auto!important;min-height:22px;font-size:12px;line-height:1.2;margin:2px 0 6px}
body.home ul.products li.product .listStars .reviewCount{position:static!important;display:inline-block;white-space:nowrap;font-size:12px;color:#666;margin:0!important}
body.home ul.products li.product .listStars{display:block!important;padding-top:20px!important;min-height:38px}
body.home ul.products li.product .listStars > div{top:0!important;left:0!important}
body.home ul.products li.product .listStars .reviewCount{display:block!important}
.woocommerce-cart .coupon button[name=apply_coupon]{background:var(--vx-teal)!important;color:#fff!important;border:0!important;border-radius:22px!important;font-weight:600}
.woocommerce-cart .coupon button[name=apply_coupon]:hover{background:#085656!important}
.woocommerce-cart .vx-also{clear:both;width:100%;float:none;margin-top:32px}
body.home .elementor-location-footer .elementor-widget-icon-box .elementor-icon-box-title,body.home .elementor-location-footer .elementor-widget-icon-box .elementor-icon-box-title a{color:#fff!important}
body.home .elementor-location-footer .elementor-widget-icon-box .elementor-icon,body.home .elementor-location-footer .elementor-widget-icon-box .elementor-icon svg,body.home .elementor-location-footer .elementor-widget-icon-box .elementor-icon i{color:#fff!important;fill:#fff!important}

/* v0.9.7 home: títulos em teal */
body.home .elementor-widget-heading h2.elementor-heading-title[style*="4dc1c3"],
body.home .elementor-widget-heading h2.elementor-heading-title{color:#0b6b6b}
body.home .elementor-location-footer h2.elementor-heading-title{color:#fff}
body.home .elementor-element-afc27d6 h2.elementor-heading-title{color:#fff}
body.home .elementor-element-afc27d6 .elementor-element-49924a1 h2.elementor-heading-title{color:#d4d4d4}
body.home .elementor-widget-heading h2.elementor-heading-title{font-weight:700}
body.home .elementor-widget-heading h2.elementor-heading-title{color:#0b6b6b!important}
body.home .elementor-element-afc27d6 h2.elementor-heading-title{color:#fff!important}
body.home .elementor-element-afc27d6 .elementor-element-49924a1 h2.elementor-heading-title{color:#d4d4d4!important}
body.home .elementor-location-footer h2.elementor-heading-title{color:#fff!important}

/* v0.9.10 botão Adicionar sempre visível (desktop) */
@media (min-width:993px){
  body ul.products li.product .button.add_to_cart_button,
  body ul.products li.product a.button.product_type_variable,
  body ul.products li.product a.button.product_type_simple{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;display:inline-flex!important;margin-top:10px}
  body.home .vx-all{float:right;font-size:14px;font-weight:600;color:#0b6b6b;text-decoration:none;margin-top:-34px}
}

/* v0.9.11 home: confiança (4 itens), categorias, avaliações */
body.home [data-id="0ece75f"]{display:none!important}
.vx-cats,.vx-revs{max-width:1200px;margin:0 auto;padding:40px 20px}
.vx-cats h2,.vx-revs h2{color:#0b6b6b;font-size:24px;font-weight:700;margin:0 0 20px}
.vx-cats__g{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.vx-cat{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 20px;background:#eaf6f3;border-radius:14px;color:#0b6b6b;font-weight:600;font-size:15px;text-decoration:none;min-height:84px}
.vx-cat i{font-style:normal;font-size:22px}
.vx-cat:hover{background:#0b6b6b;color:#fff}
.vx-revs{background:#f7f7f7;max-width:none}
.vx-revs>*{max-width:1160px;margin-left:auto;margin-right:auto}
.vx-revs__h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.vx-revs__h h2{margin:0}.vx-revs__h p{margin:0;font-weight:600;color:#111}
.vx-revs__g{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.vx-rev{margin:0;background:#fff;border-radius:14px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.vx-rev__s{color:#f5b301;font-size:18px;letter-spacing:2px}
.vx-rev blockquote{margin:10px 0;padding:0;border:0;font-size:15px;line-height:1.55;color:#222}
.vx-rev figcaption{font-size:13px;color:#666}
@media(max-width:992px){.vx-cats__g{grid-template-columns:1fr 1fr}.vx-revs__g{grid-template-columns:1fr}.vx-cats,.vx-revs{padding:28px 16px}}
body.home [data-id="5c76bb2"]>.e-con,body.home [data-id="5c76bb2"]>.elementor-element{--width:25%!important;width:25%!important;flex:1 1 0!important}
body{overflow-x:clip}

/* v0.9.14 categorias desktop como a maquete + botões alinhados */
@media (min-width:993px){
  body.tax-product_cat #secondary,body.post-type-archive-product #secondary,body.tax-product_cat .widget-area,body.post-type-archive-product .widget-area{display:none!important}
  body.tax-product_cat #primary,body.post-type-archive-product #primary,body.tax-product_cat .content-area,body.post-type-archive-product .content-area{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding-left:0!important}
  body.tax-product_cat .woocommerce-products-header__title,body.tax-product_cat h1.page-title{font-size:44px;line-height:1.1;font-weight:700}
  body.tax-product_cat .term-description,body.post-type-archive-product .term-description{background:none!important;padding:0!important;max-width:820px;font-size:17px;line-height:1.65;color:#333}
  body.tax-product_cat ul.products,body.post-type-archive-product ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important}
  body.tax-product_cat ul.products li.product,body.post-type-archive-product ul.products li.product{width:auto!important;margin:0!important;float:none!important}
}
@media (min-width:993px){
  body ul.products li.product{display:flex!important;flex-direction:column}
  body ul.products li.product .button.add_to_cart_button,body ul.products li.product a.button.product_type_variable,body ul.products li.product a.button.product_type_simple{margin-top:auto!important;align-self:flex-start}
  body ul.products li.product .woocommerce-card__header{margin-bottom:12px}
}
body.tax-product_cat header.woocommerce-products-header,body.post-type-archive-product header.woocommerce-products-header{background:transparent!important;padding:0!important}

/* ===== v0.9.16 home desktop = maquete ===== */
body.home .vx-gone{display:none!important}
body.home #vx-best ul.products li.product.vx-hide4{display:none!important}
body.home h2.elementor-heading-title{color:#111!important}
body.home #vx-best h2.elementor-heading-title{font-size:32px;font-weight:700}
body.home .vx-all{font-size:15px}
body.home #vx-best ul.products,body.home #vx-best ul.products.elementor-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important}
body.home #vx-best ul.products li.product{display:flex!important;flex-direction:column;gap:8px;margin:0!important;width:auto!important}
body.home #vx-best ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;font-weight:700!important;line-height:1.3;margin:8px 0 0!important}
body.home #vx-best ul.products li.product .product__categories,body.home #vx-best ul.products li.product .posted_in{display:none!important}
body.home .vx-desc{font-size:13px;line-height:1.4;color:#666}
body.home #vx-best ul.products li.product .price,body.home #vx-best ul.products li.product .price bdi{font-size:17px;font-weight:700;color:#0b6b6b}
body.home #vx-best ul.products li.product .button.add_to_cart_button,body.home #vx-best ul.products li.product a.button{width:100%!important;align-self:stretch!important;justify-content:center;min-height:48px;border-radius:24px;font-size:15px;font-weight:600;margin-top:auto!important}
/* secções novas: dimensões da maquete */
.vx-cats,.vx-htrust{max-width:1220px;margin:0 auto;padding:72px 40px 8px;box-sizing:border-box}
.vx-cats h2,.vx-htrust h2{color:#111!important;font-size:32px;font-weight:700;margin:0 0 28px}
.vx-cats__g{gap:24px}
.vx-cats a.vx-cat{height:220px;min-height:0;border-radius:16px;background:#f4f4f4;color:#111!important;padding:24px;box-sizing:border-box;align-items:flex-end;font-size:18px;font-weight:700;line-height:1.3}
.vx-cat:hover{background:#e9e9e9;color:#111}
.vx-cat--dark,.vx-cat--dark:hover{background:#0b6b6b;color:#fff}
.vx-cat svg{flex:0 0 22px}
.vx-htrust__g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.vx-tcard{background:#f4f4f4;border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:8px}
.vx-tcard__t{font-size:16px;font-weight:700;color:#111}
.vx-tcard__d{font-size:14px;line-height:1.5;color:#555}
.vx-revs h2{color:#111!important;font-size:32px}
@media(max-width:992px){.vx-htrust__g{grid-template-columns:1fr 1fr}.vx-cat{height:140px}.vx-cats,.vx-htrust{padding:40px 16px 8px}}
/* texto SEO */
[data-id="f1f6f9e"] .elementor-widget-container p{font-size:15px;line-height:1.7;color:#333;margin:0 0 28px;max-width:900px;font-style:normal}
body.home [data-id="0270539"] h2{font-size:26px!important;line-height:1.3;font-weight:700}
.vx-seo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 48px}
.vx-seo-grid h2{font-size:18px!important;font-weight:700;margin:0 0 8px;color:#111!important}
.vx-seo-grid p{margin:0 0 20px!important;max-width:none!important}
[data-id="f1f6f9e"] .elementor-widget-container>p:last-child{font-size:13px;color:#555;margin:0;max-width:none}

body.home .elementor-widget-heading h2.elementor-heading-title{color:#111!important}
body.home #vx-best .elementor-widget-heading h2.elementor-heading-title{font-size:32px!important;font-weight:700}

.vx-cats a.vx-cat:hover{background:#e9e9e9;color:#111!important}
.vx-cats a.vx-cat--dark,.vx-cats a.vx-cat--dark:hover{background:#0b6b6b;color:#fff!important}

/* v0.9.19 texto SEO como a maquete */
body.home [data-id="0270539"],body.home [data-id="0270539"] .elementor-widget-container{text-align:left!important}
body.home [data-id="0270539"] h2.elementor-heading-title{font-size:26px!important;line-height:1.3!important;font-weight:700!important;color:#111!important;text-align:left!important;max-width:900px}
body.home [data-id="f1f6f9e"] .vx-seo-grid h2{color:#111!important;font-size:18px!important;font-weight:700!important}

/* v0.9.23 */
body.home .vx-desc{display:none!important}
.vx-cats a.vx-cat,.vx-cats a.vx-cat:hover,.vx-cats a.vx-cat:focus,.vx-cats a.vx-cat:active,.vx-cats a.vx-cat:visited{color:#111!important;transition:none}
.vx-cats a.vx-cat span,.vx-cats a.vx-cat:hover span,.vx-cats a.vx-cat svg,.vx-cats a.vx-cat:hover svg{color:inherit!important;opacity:1!important;-webkit-text-fill-color:currentColor!important}
.vx-cats a.vx-cat:hover,.vx-cats a.vx-cat:focus{background:#e4e4e4!important}
.vx-cats a.vx-cat.vx-cat--dark,.vx-cats a.vx-cat.vx-cat--dark:hover,.vx-cats a.vx-cat.vx-cat--dark:focus{background:#0b6b6b!important;color:#fff!important}
.vx-cats a.vx-cat.vx-cat--dark:hover{background:#095757!important}

/* v0.9.34 botão "Adicionar" clicável nos cartões (a camada ::before do hover do tema tapava-o) */
body ul.products li.product::before,body ul.products li.product::after{pointer-events:none!important}
body ul.products li.product .woocommerce-card__header .add_to_cart_button,body ul.products li.product a.button.add_to_cart_button,body ul.products li.product a.button{position:relative!important;z-index:20!important;pointer-events:auto!important}

/* v0.9.45 páginas 2, 3... das categorias: sem repetir a descrição */
body.paged .woocommerce-products-header .term-description{display:none!important}
/* v0.9.59 home: Top Sellers em telemóvel (2 colunas) — mais específico que #vx-best desktop */
@media (max-width:767px){
  body.home #vx-best ul.products,body.home #vx-best ul.products.elementor-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 12px!important}
  body.home #vx-best ul.products li.product.vx-hide4{display:flex!important}
  body.home #vx-best ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;margin:6px 0 0!important;padding:0!important}
  body.home #vx-best ul.products li.product .price,body.home #vx-best ul.products li.product .price bdi{font-size:15px!important;white-space:nowrap!important;word-break:normal!important}
  body.home #vx-best ul.products li.product .price{display:flex!important;flex-wrap:wrap;gap:0 6px;align-items:baseline}
  body.home #vx-best ul.products li.product .price del,body.home #vx-best ul.products li.product .price del bdi{font-size:12px!important}
  body.home #vx-best ul.products li.product .star-rating{margin:0!important;font-size:12px!important}
  body.home #vx-best ul.products li.product .onsale{writing-mode:horizontal-tb!important;width:auto!important;height:auto!important;min-width:0!important;padding:4px 8px!important;line-height:1.2!important;font-size:11px!important;white-space:nowrap!important;word-break:normal!important}
}
/* v0.9.61 home: "Comprar por categoria" sem cortar à direita em telemóvel */
@media (max-width:600px){
  .vx-cats{overflow:hidden}
  .vx-cats .vx-cats__g{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%}
  .vx-cats a.vx-cat{min-width:0;height:120px;padding:14px!important;gap:6px;font-size:15px!important;line-height:1.25;overflow-wrap:break-word}
  .vx-cats a.vx-cat span{min-width:0}
  .vx-cats a.vx-cat svg{flex:0 0 18px;width:18px;height:18px}
}
/* home desktop: antes de o JS trocar a lista pelos 4 mais vendidos, reserva a altura final (evita descer tudo) */
@media(min-width:993px){body.home [data-elementor-type="wp-page"]>:has(ul.products):not(#vx-best) ul.products{height:489px;overflow:hidden;visibility:hidden}}
/* home: as secções abaixo do topo só aparecem depois de o JS as ter reordenado (sem saltos); altura final reservada; fallback 1,6 s */
body.home:not(.vx-home-ok) [data-elementor-type="wp-page"]>:nth-child(n+3){display:none!important;animation:vxhome 0s 1.6s forwards}
@keyframes vxhome{to{display:block}}
@media(min-width:993px){body.home:not(.vx-home-ok) [data-elementor-type="wp-page"]{min-height:2450px}}
/* sem quadrado cinzento enquanto a imagem carrega */
body.archive.woocommerce ul.products li.product img,body.home ul.products li.product .woocommerce-image__wrapper img{background:transparent!important}

/* Listagens (desktop e telemóvel): cartões da mesma altura, preço e botão sempre alinhados em baixo */
body.home ul.products li.product,.archive.woocommerce ul.products li.product,.error404 ul.products li.product{align-self:stretch!important;height:auto!important}
body.home ul.products li.product .woocommerce-card__header,.archive.woocommerce ul.products li.product .woocommerce-card__header,.error404 ul.products li.product .woocommerce-card__header{display:flex;flex-direction:column;flex:1 1 auto}
body.home ul.products li.product .woocommerce-card__header>.price,.archive.woocommerce ul.products li.product .woocommerce-card__header>.price,.error404 ul.products li.product .woocommerce-card__header>.price{margin-top:auto!important}
body.home ul.products li.product .woocommerce-card__header>.button,.archive.woocommerce ul.products li.product .woocommerce-card__header>.button,.error404 ul.products li.product .woocommerce-card__header>.button{margin-top:8px!important;flex:0 0 auto}
body.home ul.products li.product [class*="netreviews"],.archive.woocommerce ul.products li.product [class*="netreviews"]{height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;visibility:hidden!important}
body.home ul.products li.product .woocommerce-image__wrapper img,.archive.woocommerce ul.products li.product .woocommerce-image__wrapper img{aspect-ratio:1/1;object-fit:contain;width:100%;height:auto}

/* ---------- Página "Mais vendidos" (lista fixa) ---------- */
.vx-bestgrid ul.products{gap:20px 12px}
.vx-bestgrid ul.products li.product{display:flex;flex-direction:column;gap:6px;position:relative}
.vx-bestgrid .vx-rank{position:absolute;top:8px;left:8px;z-index:7;background:#0b6b6b;color:#fff;font:600 12px/1 Poppins,sans-serif;padding:6px 10px;border-radius:14px}
.vx-bestgrid ul.products li.product .woocommerce-image__wrapper img{background:#f4f4f4;border-radius:0;background:transparent!important}
.vx-bestgrid ul.products li.product .woocommerce-loop-product__title,.vx-bestgrid ul.products li.product .woocommerce-loop-product__title a{font-size:14px;font-weight:700;line-height:1.3;color:#111!important;text-decoration:none}
.vx-bestgrid ul.products li.product .price{font-size:14px;font-weight:700;color:var(--vx-teal)}
.vx-bestgrid ul.products li.product .price ins{text-decoration:none;color:var(--vx-teal)}
.vx-bestgrid ul.products li.product .button,.vx-bestgrid ul.products li.product .add_to_cart_button{min-height:44px;width:100%;border:0!important;border-radius:22px!important;background:var(--vx-teal)!important;color:#fff!important;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:none}
.vx-bestgrid ul.products li.product .button:hover{background:#085656!important}
.vx-bestgrid ul.products li.product{align-self:stretch}
.vx-bestgrid ul.products li.product .woocommerce-card__header{display:flex;flex-direction:column;flex:1 1 auto}
.vx-bestgrid ul.products li.product .woocommerce-card__header>.price{margin-top:auto}
.vx-bestgrid ul.products li.product .woocommerce-card__header>.button{margin-top:8px}
.vx-bestgrid ul.products li.product [class*="netreviews"]{height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;visibility:hidden!important}
.vx-best-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:40px 0;padding:20px;background:#f4f4f4;border-radius:12px}
.vx-best-trust__i{display:flex;gap:12px;align-items:flex-start}
.vx-best-trust__i svg{flex:0 0 22px;margin-top:2px}
.vx-best-trust .vx-trust__t{font-size:14px;font-weight:600;color:#111}
.vx-best-trust .vx-trust__d{font-size:12.5px;color:#555;line-height:1.4;margin-top:2px}
@media(max-width:768px){.vx-best-trust{grid-template-columns:1fr 1fr;gap:14px;padding:16px}}
@media(max-width:480px){.vx-best-trust{grid-template-columns:1fr}}

.vx-best-page #primary{width:100%!important;float:none!important;max-width:none!important}
.vx-best-page #secondary{display:none!important}
.vx-best-page .entry-content{max-width:none!important}
.vx-bestgrid ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px;margin:24px -15px 0!important;width:auto!important;padding:0;list-style:none}
.vx-bestgrid ul.products li.product{width:auto!important;margin:0!important;float:none!important;max-width:none!important}
.vx-bestgrid ul.products::before,.vx-bestgrid ul.products::after{display:none!important}
@media(max-width:992px){.vx-bestgrid ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.vx-bestgrid ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}}

.vx-bestgrid ul.products li.product .woocommerce-image__wrapper img{aspect-ratio:1/1;object-fit:contain;width:100%;height:auto;display:block;background:transparent!important}
