/*
 * Best Feet Shoes, "Luz do dia". Um so ficheiro de CSS para a loja (tema + mu-plugins).
 * Direcao A "Cobalto" (2026-10-15, mockups em docs/mockups-home/): blocos verde tropa de ponta a ponta, titulos gigantes, sem sombras,
 * cantos de 8px (imagens, cartoes) e 6px (botoes, tamanhos, campos), letra de frase (nunca maiusculas). Tokens: docs/DESIGN-BRIEF.md.
 */

/* ===== 1. Fontes (woff2 do tema, subset latino, OFL 1.1) ===== */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght.woff2") format("woff2-variations"), url("../fonts/figtree-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== 2. Tokens ===== */
:root {
  --bf-papel: #FFFFFF;
  --bf-nevoa: #F0F2EA;
  --bf-nevoa-2: #E5E9DC;      /* nevoa ao passar o rato */
  --bf-marinho: #1E2416;     /* texto: verde quase preto (era marinho #16233F, o cliente via-o azul; 2026-10-16) */
  --bf-tropa: #4F5B2E;        /* verde tropa (pedido do cliente a 2026-10-16): botoes, blocos da home e o fundo da fotografia do hero */
  --bf-tropa-2: #3E4824;      /* verde tropa ao passar o rato */
  --bf-menta: #C9F0DC;
  --bf-framboesa: #C8264F;
  --bf-ardosia: #545B48;      /* texto secundario (7,1:1 em branco) */
  --bf-borda: #848B76;        /* borda dos campos (3,5:1 em branco) */
  --bf-linha: #E0E4D8;        /* separadores */
  --bf-f-titulo: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bf-f-texto: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bf-r-img: 8px;           /* direcao A: cantos secos */
  --bf-r-btn: 6px;
  --bf-gutter: 16px;
  --bf-larg: 1200px;
  --bf-foco: 0 0 0 3px var(--bf-papel), 0 0 0 5px var(--bf-tropa);
}

/* No computador o Flatsome alinha o conteudo a 31 px da borda do contentor (15 do .container + 15 da .col): os blocos proprios seguem o mesmo eixo */
@media (min-width: 850px) { :root { --bf-gutter: 31px; --bf-larg: 1170px; } }

/* ===== 3. Base ===== */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--bf-f-texto);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bf-marinho);
  background: var(--bf-papel);
  font-feature-settings: "ss01" 0;
}
h1, h2, h3, h4, h5, h6, .heading-font, .bf-wordmark, .product-title, .section-title, .alt-font {
  font-family: var(--bf-f-titulo);
  color: var(--bf-marinho);
  letter-spacing: -0.015em;
  text-transform: none;
}
h1 { font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
h2 { font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
h4, h5, h6 { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
@media (min-width: 850px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.85rem; }
}
p { margin-bottom: 1em; }
a { color: var(--bf-tropa); }
a:hover { color: var(--bf-marinho); }
strong, b { font-weight: 700; }
::selection { background: var(--bf-menta); color: var(--bf-marinho); }

/* Letra de frase em tudo o que o Flatsome poe em maiusculas */
.uppercase, .nav-uppercase > li > a, .button, button, input[type="submit"], input[type="button"], .widget-title, .widget .widget-title,
h6, th, .is-small.uppercase, .section-title-normal span, .shop_table thead th, .cart-popup-title .heading-font, .product-footer .tabs > li > a,
.nav > li > a, .nav-dropdown, .breadcrumbs, .woocommerce-breadcrumb, .badge-inner, .off-canvas .nav-vertical li > a, label {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Foco visivel e movimento reduzido */
a:focus-visible, button:focus-visible, .button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible, .variable-item:focus-visible {
  outline: none;
  box-shadow: var(--bf-foco) !important;
  border-radius: var(--bf-r-btn);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Sem sombras em lado nenhum */
.box-shadow, .box-shadow-1, .box-shadow-2, .box-shadow-3, .box-shadow-4, .box-shadow-5, .nav-dropdown, .has-shadow > .col-inner,
.mfp-content, .off-canvas .mfp-content, .header-wrapper.stuck, .stuck .header-main, .button, .badge-inner, .tooltipster-base, input, select, textarea {
  box-shadow: none !important;
}

.container, .row { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); }
.bf-wrap { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); margin: 0 auto; padding: 0 var(--bf-gutter); }
@media (max-width: 849px) {
  .container { padding-left: var(--bf-gutter); padding-right: var(--bf-gutter); }
}
.bf-ico { flex: 0 0 auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ===== 4. Botoes ===== */
.button, button.button, input[type="submit"].button, .bf-btn {
  font-family: var(--bf-f-texto);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--bf-r-btn) !important;
  border: 1px solid transparent;
  text-indent: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 1em;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button.icon:where(a) { display: inline-flex; }
.expand:where(a.button), .full-width:where(a.button), .cart_totals .button:where(a), .image-tools a.button { display: flex; }
.button:where(a) > i { top: 0; }
.button:where(a) > span { line-height: normal; }
/* Principal: verde tropa (comprar, encomendar) */
.bf-btn-principal, .button.alt, .single_add_to_cart_button, .checkout-button, #place_order, .button.checkout, .wc-proceed-to-checkout .button,
.woocommerce-mini-cart__buttons .checkout {
  background-color: var(--bf-tropa) !important;
  border-color: var(--bf-tropa) !important;
  color: #fff !important;
}
.bf-btn-principal:hover, .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover, .button.checkout:hover,
.woocommerce-mini-cart__buttons .checkout:hover {
  background-color: var(--bf-tropa-2) !important;
  border-color: var(--bf-tropa-2) !important;
  color: #fff !important;
}
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .55; }
/* Secundario: contorno marinho */
.bf-btn-sec, .button.is-outline, .button.secondary.is-outline, .woocommerce-mini-cart__buttons .wc-forward:not(.checkout), .continue-shopping .button, .return-to-shop .button {
  background: transparent !important;
  color: var(--bf-marinho) !important;
  border: 1px solid var(--bf-marinho) !important;
}
.bf-btn-sec:hover, .button.is-outline:hover, .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):hover, .continue-shopping .button:hover, .return-to-shop .button:hover {
  background: var(--bf-nevoa) !important;
  color: var(--bf-marinho) !important;
}
.button.primary:not(.is-outline), .button.secondary:not(.is-outline) { background-color: var(--bf-marinho); color: #fff; }
.bf-btn { text-decoration: none; }
/* Branco: sobre os blocos verde tropa da home */
.bf-btn-branco { background-color: #fff !important; border-color: #fff !important; color: var(--bf-tropa) !important; font-weight: 700; }
.bf-btn-branco:hover { background-color: var(--bf-menta) !important; border-color: var(--bf-menta) !important; color: var(--bf-marinho) !important; }
.bf-btn-branco:focus-visible { box-shadow: 0 0 0 3px var(--bf-tropa), 0 0 0 5px #fff; }

/* ===== 5. Campos ===== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"],
select, textarea, .select2-container .select2-selection--single {
  font-family: var(--bf-f-texto);
  font-size: 16px !important;
  color: var(--bf-marinho);
  background-color: var(--bf-papel);
  border: 1px solid var(--bf-borda);
  border-radius: var(--bf-r-btn);
  min-height: 48px;
  padding: 0 14px;
  transition: border-color .15s;
}
textarea { padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--bf-tropa); background-color: var(--bf-papel); }
::placeholder { color: #6A7060; opacity: 1; }
label, .form-row label { font-weight: 600; font-size: .95rem; color: var(--bf-marinho); margin-bottom: 6px; }
.required { color: var(--bf-framboesa); border: 0; text-decoration: none; }
.bf-field-error { display: none; color: var(--bf-framboesa); font-size: 14px; margin-top: 6px; font-weight: 600; }
.woocommerce-invalid input.input-text, .woocommerce-invalid select { border-color: var(--bf-framboesa) !important; }

/* Toque: alvos de 44px em mobile (antes no bf-cro) */
@media (max-width: 849px) {
  .button, button, input[type="submit"], .single_add_to_cart_button { min-height: 44px; }
  .button.icon.circle { min-width: 44px; }
  .quantity .button.minus, .quantity .button.plus { min-width: 44px; min-height: 44px; }
  .quantity input.qty { min-height: 44px; min-width: 52px; }
  .product-remove a.remove { width: 44px; height: 44px; line-height: 42px; }
  .reset_variations { display: inline-block; padding: 12px 4px; font-size: 14px; }
  .woocommerce-breadcrumb a { display: inline-block; padding: 10px 0; }
}

/* ===== 6. Barra de topo (verde tropa) ===== */
#top-bar, .header-top { background-color: var(--bf-tropa) !important; min-height: 36px; }
#top-bar .flex-row { min-height: 36px; }
.bf-topo { font-family: var(--bf-f-texto); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; line-height: 1.3; text-align: center; display: block; padding: 8px 0; }
#top-bar .nav > li.html { color: #fff; }
@media (max-width: 549px) { .bf-topo { font-size: 13px; } }

/* ===== 7. Cabecalho ===== */
.header-main { background: var(--bf-papel); border-bottom: 1px solid var(--bf-linha); }
.header-wrapper.stuck .header-main { border-bottom-color: var(--bf-linha); }
.bf-logo-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.bf-wordmark {
  font-family: var(--bf-f-titulo);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--bf-marinho);
  text-decoration: none;
  white-space: nowrap;
  font-variation-settings: "wght" 800;
}
a.bf-wordmark:hover, .bf-logo-link:hover .bf-wordmark { color: var(--bf-marinho); }
@media (max-width: 849px) { .bf-wordmark { font-size: 26px; } #logo { width: auto !important; } }
#logo img { max-height: 44px; width: auto; }
.header-main .nav > li > a, .header-main .nav > li > a i, .header-main .icon-search, .header-main .icon-menu, .cart-icon { color: var(--bf-marinho); }
.header-main .mobile-nav > li { margin: 0; }
.header-main .mobile-nav > li > a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.header-main .mobile-nav .icon-search, .header-main .mobile-nav .icon-menu { font-size: 21px !important; }
/* Carrinho: saco com o numero numa pastilha verde tropa */
.cart-icon strong { border-radius: 6px; border-color: var(--bf-marinho); color: var(--bf-marinho); font-family: var(--bf-f-texto); font-weight: 700; }
.cart-icon strong:after { border-color: var(--bf-marinho); }
.current-dropdown .cart-icon strong, .cart-icon:hover strong { background-color: var(--bf-tropa); border-color: var(--bf-tropa); color: #fff; }
/* Pesquisa no computador: campo largo */
.header-search-form { flex: 1 1 auto; max-width: 520px; }
.header-search-form-wrapper .searchform input[type="search"] { border-radius: var(--bf-r-btn) 0 0 var(--bf-r-btn); background: var(--bf-nevoa); border-color: var(--bf-nevoa); height: 44px; min-height: 44px; }
.header-search-form-wrapper .searchform .button.icon { border-radius: 0 var(--bf-r-btn) var(--bf-r-btn) 0 !important; background: var(--bf-marinho); color: #fff; min-height: 44px; height: 44px; margin: 0; padding: 0 16px; }
.searchform .button.icon .icon-search, .searchform .ux-search-submit i { color: #fff !important; } /* a regra da linha das lupas do cabecalho (marinho) apanhava a lupa dentro do botao marinho ou verde tropa */
.header-search-form-wrapper .searchform input[type="search"]:focus { border-color: var(--bf-tropa); background: var(--bf-papel); }
/* Pesquisa em mobile: lightbox clara */
.mfp-bg { background: rgba(30, 36, 22, .55) !important; opacity: 1 !important; }
#search-lightbox.dark { color: var(--bf-marinho); }
#search-lightbox .searchform input[type="search"] { background: var(--bf-papel); border-color: var(--bf-papel); font-size: 18px !important; min-height: 56px; border-radius: var(--bf-r-btn) 0 0 var(--bf-r-btn); }
#search-lightbox .searchform .button { min-height: 56px; margin: 0; border-radius: 0 var(--bf-r-btn) var(--bf-r-btn) 0 !important; background: var(--bf-tropa); color: #fff; }
.live-search-results { border-radius: var(--bf-r-btn); background: var(--bf-papel); color: var(--bf-marinho); }

/* ===== 8. Fila de categorias (chips que deslizam) ===== */
.bf-chips { background: var(--bf-papel); border-bottom: 1px solid var(--bf-linha); }
.bf-chips-in { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); margin: 0 auto; }
.bf-chips-lista {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px var(--bf-gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--bf-gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bf-chips-lista::-webkit-scrollbar { display: none; }
.bf-chips-lista li { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.bf-chips-lista a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--bf-r-btn);
  background: var(--bf-nevoa);
  color: var(--bf-marinho);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.bf-chips-lista a:hover { background: var(--bf-nevoa-2); color: var(--bf-marinho); }
.bf-chips-lista .current-menu-item > a, .bf-chips-lista .current-product_cat-ancestor > a, .bf-chips-lista .current-menu-parent > a { background: var(--bf-marinho); color: #fff; }
@media (min-width: 850px) {
  .bf-chips-lista { justify-content: flex-start; padding-top: 12px; padding-bottom: 12px; }
}
/* Segunda fila (pagina de marca ou modelo): os modelos, em contorno */
.bf-chips:has(+ .bf-chips-modelos) { border-bottom: 0; }
.bf-chips-modelos .bf-chips-lista { padding-top: 0; }
.bf-chips-modelos .bf-chips-lista a { background: var(--bf-papel); border: 1px solid var(--bf-linha); font-size: 14px; }
.bf-chips-modelos .bf-chips-lista a:hover { background: var(--bf-nevoa); }
.bf-chips-modelos .bf-chips-lista .current-menu-item > a { background: var(--bf-marinho); border-color: var(--bf-marinho); color: #fff; }

/* ===== 9. Home ===== */
#content.content-area { padding-top: 0; }
.bf-sec-t, .bf-titulo .section-title-main {
  font-family: var(--bf-f-titulo);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
}
@media (min-width: 850px) { .bf-sec-t, .bf-titulo .section-title-main { font-size: 2.6rem; } }

/* Hero: foto com moldura de 14px e titulo por baixo */
.bf-hero { padding: 16px 0 8px; }
.bf-hero-media { display: block; width: 100%; height: min(46vh, 125vw); border-radius: var(--bf-r-img); overflow: hidden; background: var(--bf-nevoa); }
@supports (height: 1svh) { .bf-hero-media { height: min(46svh, 125vw); } }
.bf-hero-media img, .bf-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.bf-hero-texto { padding: 18px 2px 8px; }
.bf-hero-t { font-size: 2rem; font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 10px; max-width: 18ch; text-wrap: balance; }
.bf-hero-sub { font-size: 1rem; color: var(--bf-ardosia); margin: 0 0 16px; max-width: 46ch; }
.bf-hero .bf-btn { margin: 0; min-width: 200px; }
@media (max-width: 549px) { .bf-hero .bf-btn { width: 100%; } }
@media (min-width: 850px) {
  .bf-hero { padding-top: 24px; }
  .bf-hero-media { height: auto; aspect-ratio: 32 / 15; } /* hero-desktop 1920x900 */
  .bf-hero-texto { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; column-gap: 48px; align-items: end; padding: 28px 0 8px; }
  .bf-hero-t { grid-row: 1 / 3; font-size: 3.4rem; margin: 0; max-width: 16ch; }
  .bf-hero-sub { margin-bottom: 18px; font-size: 1.1rem; }
  .bf-hero .bf-btn { justify-self: start; }
}

/* Home "Cobalto" (direcao A, mockups em docs/mockups-home/): hero verde tropa de ponta a ponta, titulo gigante, etiqueta do desconto,
   botao branco e fotografia; no computador texto a esquerda (alinhado com o conteudo) e fotografia ate a borda direita */
.bf-ha { background: var(--bf-tropa); color: #fff; overflow: hidden; }
.bf-ha-in { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); margin: 0 auto; }
.bf-ha-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px var(--bf-gutter) 28px; }
.bf-ha-t { margin: 0; color: #fff; font-family: var(--bf-f-titulo); font-weight: 800; font-size: clamp(2.6rem, 12.5vw, 4.4rem); line-height: .9; letter-spacing: -0.055em; max-width: 10ch; text-wrap: balance; }
.bf-ha-l { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.bf-ha-etq { background: #fff; color: var(--bf-tropa); font-family: var(--bf-f-titulo); font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; padding: 9px 12px; border-radius: var(--bf-r-btn); }
.bf-ha-l p { margin: 0; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.bf-ha .bf-ha-btn { margin: 0; width: 100%; min-height: 54px; font-size: 17px; }
.bf-ha-foto { background: var(--bf-tropa); }
.bf-ha-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.bf-lateral { display: none; }
@media (min-width: 850px) {
  /* Sem coluna de marcas: hero de ponta a ponta, texto alinhado com o conteudo e fotografia ate a borda direita */
  .bf-ha-painel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bf-ha:not(.tem-foto) .bf-ha-painel { grid-template-columns: minmax(0, 1fr); }
  .bf-ha-in { max-width: none; }
  .bf-ha-txt { justify-content: center; gap: 26px; padding: 64px 48px 64px max(var(--bf-gutter), calc((100vw - var(--bf-larg)) / 2)); }
  .bf-ha-t { font-size: clamp(4rem, 6.2vw, 6.4rem); }
  .bf-ha-etq { font-size: 16px; }
  .bf-ha-l p { font-size: 16px; }
  .bf-ha .bf-ha-btn { width: auto; min-width: 240px; }
  .bf-ha-foto { position: relative; min-height: 500px; }
  .bf-ha-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 30% 50%; } /* contain: a foto inteira, o fundo verde tropa continua a volta */
  /* Com a coluna das marcas (pedido do cliente): marcas com os nomes a esquerda, painel verde tropa a direita, dentro da largura da loja */
  .bf-ha.tem-lateral { background: none; padding: 24px 0 12px; }
  .bf-ha.tem-lateral .bf-ha-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 28px; align-items: start; max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); padding: 0 var(--bf-gutter); }
  .bf-ha.tem-lateral .bf-ha-painel { background: var(--bf-tropa); border-radius: var(--bf-r-img); overflow: hidden; }
  .bf-ha.tem-lateral .bf-ha-txt { padding: 48px 36px; gap: 22px; }
  .bf-ha.tem-lateral .bf-ha-t { font-size: clamp(2.8rem, 4.3vw, 4.5rem); }
  .bf-ha.tem-lateral .bf-ha-foto { min-height: 460px; }
  /* Coluna das marcas */
  /* A coluna tem a altura do painel (contain: size nao a deixa esticar o hero, pedido do Pedro a 2026-11-11: com 20 marcas o hero
     ficava com 1070 px e um vazio grande ate as garantias). A lista desliza por dentro e "Ver toda a loja" fica sempre a vista. */
  .bf-lateral { display: flex; flex-direction: column; align-self: stretch; contain: size; color: var(--bf-marinho); } /* a seccao .bf-ha tem texto branco (verde tropa) */
  .bf-lateral-t { flex: none; font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 10px; }
  .bf-lat-lista { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--bf-linha) transparent; list-style: none; margin: 0; padding: 0 0 24px; border-top: 1px solid var(--bf-linha); -webkit-mask-image: linear-gradient(#000 calc(100% - 32px), transparent); mask-image: linear-gradient(#000 calc(100% - 32px), transparent); }
  .bf-lat-lista > li { margin: 0; border-bottom: 1px solid var(--bf-linha); }
  .bf-lat-marca { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 6px 0 2px; font-family: var(--bf-f-titulo); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--bf-marinho); text-decoration: none; cursor: pointer; list-style: none; }
  .bf-lat-marca::-webkit-details-marker { display: none; }
  .bf-lat-marca:hover { color: var(--bf-tropa); }
  .bf-lat-marca .bf-ico { color: var(--bf-ardosia); transition: transform .15s; }
  details[open] > .bf-lat-marca .bf-ico { transform: rotate(90deg); }
  .bf-lat-modelos { list-style: none; margin: -4px 0 10px; padding: 0 0 0 2px; }
  .bf-lat-modelos li { margin: 0; }
  .bf-lat-modelos a { display: flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--bf-ardosia); text-decoration: none; }
  .bf-lat-modelos a:hover { color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; }
  .bf-lat-modelos li:first-child a { color: var(--bf-marinho); font-weight: 600; }
  .bf-lat-loja { flex: none; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 850px) and (max-width: 1099px) {
  .bf-ha.tem-lateral .bf-ha-in { grid-template-columns: 190px minmax(0, 1fr); column-gap: 20px; }
  .bf-ha.tem-lateral .bf-ha-txt { padding: 36px 28px; }
}

/* Faixa de confianca: 3 garantias curtas em verde tropa, separadas por linhas finas */
.bf-confianca { list-style: none; margin: 0 auto; padding: 0 var(--bf-gutter); max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-confianca li { margin: 0; display: flex; border-bottom: 1px solid var(--bf-linha); }
.bf-confianca li + li { border-left: 1px solid var(--bf-linha); }
.bf-confianca a, .bf-confianca span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 6px; text-align: center; font-family: var(--bf-f-titulo); font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: -0.02em; color: var(--bf-tropa); text-decoration: none; text-wrap: balance; }
.bf-confianca a:hover { color: var(--bf-marinho); }
@media (min-width: 850px) { .bf-confianca a, .bf-confianca span { min-height: 78px; font-size: 19px; } }
/* 4 garantias (com "Feedback de clientes", so com imagens visiveis): 2 x 2 no telemovel, uma linha a partir de 700 px */
.bf-confianca-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-confianca-4 li:nth-child(3) { border-left: 0; }
.bf-confianca-4 a, .bf-confianca-4 span { min-height: 56px; padding: 10px 8px; }
@media (min-width: 700px) {
  .bf-confianca-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bf-confianca-4 li:nth-child(3) { border-left: 1px solid var(--bf-linha); }
  .bf-confianca-4 a, .bf-confianca-4 span { min-height: 64px; }
}
@media (min-width: 850px) { .bf-confianca-4 a, .bf-confianca-4 span { min-height: 78px; } }

/* Placeholder sem fotografia: Nevoa com o contorno de uma sapatilha */
.bf-vazio { display: flex; align-items: center; justify-content: center; background: var(--bf-nevoa); color: #D2D7C4; }
.bf-vazio svg { width: 46%; height: auto; max-width: 260px; }

.bf-link-guia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  color: var(--bf-tropa);
  font-family: var(--bf-f-texto);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.bf-link-guia span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bf-link-guia:hover { color: var(--bf-marinho); }

/* Seccoes com produtos (titulo e "Ver tudo") */
.bf-sec { padding-top: 28px !important; }
.bf-sec > .section-content > .row { padding: 0 var(--bf-gutter); max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)) !important; }
.bf-sec > .section-content > .row > .col { padding: 0; }
.bf-titulo { padding: 0 !important; margin-bottom: 14px; }
.bf-titulo .section-title { display: flex; align-items: baseline; justify-content: space-between; border: 0; margin: 0; }
.bf-titulo .section-title b { display: none; }
.bf-titulo .section-title-main { border: 0; padding: 0; }
.bf-titulo .section-title a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--bf-f-texto); font-size: 15px; font-weight: 600; color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; padding: 0; margin: 0; }
.bf-titulo .section-title a i { display: none; }

/* Mais vendidos: carrossel por scroll nativo (sem JS) */
.bf-carrossel.row, .row.bf-carrossel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--bf-linha) transparent;
  padding-bottom: 6px;
}
.bf-carrossel > .col { flex: 0 0 44%; max-width: 44%; scroll-snap-align: start; }
@media (min-width: 550px) { .bf-carrossel > .col { flex-basis: 31%; max-width: 31%; } }
@media (min-width: 850px) { .bf-carrossel > .col { flex-basis: 24%; max-width: 24%; } }

/* Garantias: linha clara com icones de traco */
.bf-garantias-sec { padding: 20px 0 0; }
.bf-garantias { list-style: none; margin: 0; padding: 0; }
.bf-garantias li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.bf-garantias p { margin: 0; line-height: 1.35; }
.bf-garantias strong { display: block; font-weight: 700; }
.bf-garantias strong a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bf-garantias span { display: block; color: var(--bf-ardosia); font-size: 15px; }
.bf-garantias .bf-ico { color: var(--bf-tropa); margin-top: 1px; }
.bf-garantias-home { border-top: 1px solid var(--bf-linha); border-bottom: 1px solid var(--bf-linha); padding: 18px 0; display: grid; gap: 16px; }
@media (min-width: 850px) { .bf-garantias-home { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 24px 0; } }

/* Titulo de seccao com o link "Ver tudo" a direita */
.bf-sec-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.bf-sec-link { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; }
.bf-sec-link:hover { color: var(--bf-marinho); }

/* Marcas ([bf_marcas]): logotipos a preto em caixas Nevoa, 3 por linha no telemovel e ate 6 no computador.
   Ao passar o rato (ou com o foco) a caixa fica verde tropa e o logotipo branco. So marcas com produtos. */
.bf-marcas { padding: 32px 0 0; }
.bf-marcas-grelha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bf-marcas-grelha.n1 { grid-template-columns: minmax(0, 1fr); }
.bf-marcas-grelha.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-marcas-grelha.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-marcas-grelha li { margin: 0; }
.bf-marca { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; max-width: 100%; padding: 18% 16%; border-radius: var(--bf-r-img); background: var(--bf-nevoa); color: #000; text-decoration: none; transition: background-color .15s, color .15s; }
.bf-marcas-grelha.n1 .bf-marca, .bf-marcas-grelha.n2 .bf-marca { aspect-ratio: 2 / 1; padding: 10% 18%; }
.bf-marca-logo { display: block; width: 100%; height: 100%; }
.bf-marca-logo svg { display: block; width: 100%; height: 100%; }
.bf-marca-nome { font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.03em; text-align: center; }
.bf-marca:hover, .bf-marca:focus-visible { background: var(--bf-tropa); color: #fff; }
.bf-marca:focus-visible { outline: 3px solid var(--bf-tropa); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bf-marca { transition: none; } }
@media (min-width: 850px) {
  .bf-marcas { padding-top: 52px; }
  .bf-marcas-grelha { gap: 12px; }
  .bf-marcas-grelha.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-marcas-grelha.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bf-marcas-grelha.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bf-marcas-grelha.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bf-marcas-grelha.n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bf-marca { aspect-ratio: 2 / 1; padding: 6% 22%; }
  .bf-marcas-grelha.n1 .bf-marca, .bf-marcas-grelha.n2 .bf-marca { aspect-ratio: 3 / 1; padding: 9% 32%; }
}

/* Banner do desconto ([bf_banner_desconto]): faixa verde tropa de ponta a ponta, "-10%" gigante e a fotografia de 2 pares.
   A foto (fundo #CDD3BF a #D2D7C4) fica inteira (contain) sobre o mesmo degrade, para as sapatilhas nunca serem cortadas. */
.bf-pa { margin-top: 44px; background: var(--bf-tropa); color: #fff; display: grid; }
.bf-pa-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px var(--bf-gutter); }
.bf-pa-t { margin: 0; color: #fff; font-family: var(--bf-f-titulo); }
.bf-pa-num { display: block; font-weight: 800; font-size: clamp(6rem, 31vw, 11rem); line-height: .8; letter-spacing: -0.07em; font-variant-numeric: tabular-nums; }
.bf-pa-frase { display: block; margin-top: 14px; font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
/* Varios escaloes: um numero grande por linha, com a frase ao lado */
.bf-pa-esc { display: grid; gap: 14px; }
.bf-pa-linha { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.bf-pa-esc .bf-pa-num { font-size: clamp(4rem, 19vw, 7rem); }
.bf-pa-esc .bf-pa-frase { margin-top: 0; font-size: 1.25rem; max-width: none; }
.bf-pa-nota { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); max-width: 40ch; }
.bf-pa .bf-pa-btn { margin: 6px 0 0; min-width: 220px; min-height: 52px; }
.bf-pa-foto { background: linear-gradient(90deg, #CDD3BF, #D2D7C4); }
.bf-pa-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 1916 / 821; object-fit: contain; object-position: 50% 100%; }
@media (max-width: 549px) { .bf-pa .bf-pa-btn { width: 100%; } }
@media (min-width: 850px) {
  .bf-pa { margin-top: 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .bf-pa-txt { justify-content: center; padding: 56px 48px 56px max(var(--bf-gutter), calc((100vw - var(--bf-larg)) / 2)); }
  .bf-pa-num { font-size: clamp(8rem, 13vw, 12rem); }
  .bf-pa-frase { font-size: 1.85rem; }
  .bf-pa-esc .bf-pa-num { font-size: clamp(5rem, 8vw, 7.5rem); }
  .bf-pa-esc .bf-pa-frase { font-size: 1.5rem; }
  .bf-pa-nota { font-size: 15px; }
  /* foto posicionada dentro da celula: a altura da faixa e a do texto (com height: 100% a imagem fazia crescer a linha) */
  .bf-pa-foto { position: relative; min-height: 340px; }
  .bf-pa-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* Cartao "Duvidas sobre o tamanho?" */
.bf-ajuda { padding: 32px 0 40px; }
.bf-ajuda-caixa { background: var(--bf-nevoa); border-radius: var(--bf-r-img); padding: 22px 20px; display: grid; gap: 16px; }
.bf-ajuda-caixa p { margin: 6px 0 0; color: var(--bf-ardosia); }
.bf-ajuda .bf-btn { margin: 0; justify-self: start; background: var(--bf-papel) !important; }
@media (min-width: 850px) { .bf-ajuda-caixa { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; } }

/* ===== 10. Cartao de produto ===== */
.product-small.box { background: transparent; }
.product-small .box-image { border-radius: var(--bf-r-img); overflow: hidden; background: var(--bf-nevoa); aspect-ratio: 4 / 5; }
.product-small .box-image img { width: 100%; height: 100%; object-fit: cover; }
.product-small .box-image .image-fade_in_back, .product-small .box-image .image-fade_in_back > a { display: block; height: 100%; }
.product-small .box-text { padding: 10px 2px 4px; }
.product-small .name, .product-small .name a, .product-small .product-title {
  font-family: var(--bf-f-texto) !important;
  font-weight: 600;
  font-size: 15px !important;
  line-height: 1.3;
  color: var(--bf-marinho);
  letter-spacing: 0;
  margin: 0;
}
.product-small .name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; text-decoration: none; }
.product-small .price-wrapper { margin-top: 4px; }
.product-small .price { font-family: var(--bf-f-titulo); font-size: 19px !important; font-weight: 800; letter-spacing: -0.03em; color: var(--bf-marinho); }
.bf-cartao-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 0; font-size: 13px; color: var(--bf-ardosia); line-height: 1.3; }
.bf-pontos { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.bf-ponto { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(30, 36, 22, .25); display: inline-block; }
.product-small .box-image .out-of-stock-label { background: rgba(255, 255, 255, .92); color: var(--bf-marinho); text-transform: none; font-weight: 600; border-radius: var(--bf-r-btn); }

/* Precos e selo de desconto (framboesa) */
.price del, .price del .amount { color: var(--bf-ardosia) !important; font-weight: 400; opacity: 1; }
.price ins, .price ins .amount { color: var(--bf-framboesa) !important; text-decoration: none; font-weight: 700; }
.price .woocommerce-Price-currencySymbol, .product-page-price .woocommerce-Price-currencySymbol { vertical-align: baseline !important; font-size: inherit !important; top: 0 !important; margin-left: 0; }
.badge-container { margin: 10px 0 0 10px; }
.badge { height: auto; width: auto; }
.badge-inner, .badge-inner.on-sale, .badge-inner.secondary.on-sale {
  background-color: var(--bf-framboesa) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--bf-f-texto);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 7px 9px;
  height: auto;
  border: 0;
}
.badge-inner .onsale { font-size: inherit; }
.is-larger .badge-inner { font-size: 15px; padding: 9px 11px; }

/* ===== 11. Loja e categorias ===== */
.shop-page-title, .category-page-title { background: var(--bf-papel); }
.shop-page-title .page-title-inner, .category-page-title .page-title-inner { padding-top: 16px; padding-bottom: 6px; }
.shop-page-title h1, .category-page-title h1, .page-title h1.shop-page-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.woocommerce-result-count { color: var(--bf-ardosia); font-size: 14px; }
.category-page-title .page-title-inner { text-align: left; }
.category-page-title .breadcrumbs { font-size: 14px; color: var(--bf-ardosia); font-weight: 400; }
.category-page-title .breadcrumbs a { color: var(--bf-ardosia); }
.category-page-title h1 { margin-bottom: 4px; }
@media (max-width: 849px) {
  .category-page-title .page-title-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding-bottom: 10px; }
  .category-page-title .page-title-inner > .flex-col { display: contents; }
  .category-page-title .page-title-inner .is-large { grid-column: 1 / -1; grid-row: 1; }
  .category-page-title .page-title-inner h1 { grid-column: 1 / -1; grid-row: 2; font-size: 1.75rem; margin: 0 0 8px; }
  .category-page-title .category-filtering { grid-column: 1; grid-row: 3; margin: 0; }
  .category-page-title .woocommerce-ordering { grid-column: 2; grid-row: 3; margin: 0; }
  .category-page-title .woocommerce-ordering select { width: 100%; margin: 0; }
  .category-page-title .medium-text-center { text-align: left !important; }
}

.woocommerce-ordering select { min-height: 44px; border-radius: var(--bf-r-btn); }
.category-filtering .filter-button, .filter-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--bf-r-btn);
  background: var(--bf-nevoa); color: var(--bf-marinho) !important; font-weight: 600; text-decoration: none;
}
.category-filtering .filter-button i { color: var(--bf-marinho); }
.page-loader, .infinite-scroll-loader { color: var(--bf-tropa); }
.woocommerce-pagination .page-number, .nav-pagination > li > a, .nav-pagination > li > span { border-radius: var(--bf-r-btn); min-width: 44px; min-height: 44px; line-height: 42px; border-color: var(--bf-linha); color: var(--bf-marinho); }
.nav-pagination > li > .current { background: var(--bf-marinho); border-color: var(--bf-marinho); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .message-container { border-radius: var(--bf-r-btn); }
.woocommerce-message, .message-container.success-color { background: var(--bf-menta); color: var(--bf-marinho); padding: 12px 14px; border: 0; }
.woocommerce-error, .alert { background: #FBEBEF; color: var(--bf-framboesa); border-radius: var(--bf-r-btn); }
.woocommerce-info { background: var(--bf-nevoa); color: var(--bf-marinho); padding: 12px 14px; border: 0; }

/* Filtros (barra lateral, painel em mobile; logica em bf-catalogo.php) */
#shop-sidebar .widget-title { font-family: var(--bf-f-texto); font-weight: 700; font-size: 16px; color: var(--bf-marinho); }
#shop-sidebar .is-divider { display: none; }
#shop-sidebar .bf-filtro > .widget-title { display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; min-height: 48px; margin: 0; }
#shop-sidebar .bf-filtro > .widget-title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 6px 0 12px; transition: transform .2s; }
#shop-sidebar .bf-filtro.is-collapsed > .widget-title::after { transform: rotate(-45deg); margin-top: 0; }
#shop-sidebar .bf-filtro.is-collapsed > :not(.widget-title) { display: none !important; }
#shop-sidebar .bf-filtro { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--bf-linha); }
#shop-sidebar .bf-filtro > .is-divider { display: none; }
#shop-sidebar .bf-filtro > ul, #shop-sidebar .bf-filtro > form { margin-top: 4px; }
#shop-sidebar .bf-filtro-tamanhos ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
#shop-sidebar .bf-filtro-tamanhos li { margin: 0; padding: 0; border: 0 !important; }
#shop-sidebar .bf-filtro-tamanhos li a, #shop-sidebar .bf-filtro-tamanhos li > span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--bf-r-btn); background: var(--bf-nevoa); color: var(--bf-marinho); font-weight: 700; font-size: 15px; padding: 0; text-decoration: none; }
#shop-sidebar .bf-filtro-tamanhos li .count { display: none; }
#shop-sidebar .bf-filtro-tamanhos li a:hover { background: var(--bf-nevoa-2); }
#shop-sidebar .bf-filtro-tamanhos li.chosen a { background: var(--bf-tropa); color: #fff; }
#shop-sidebar .bf-filtro-tamanhos li.chosen a::before { display: none; }
#shop-sidebar .bf-cor { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(30, 36, 22, .25); margin-right: 8px; vertical-align: -3px; }
#shop-sidebar .bf-filtro-cores li.chosen .bf-cor { outline: 2px solid var(--bf-tropa); outline-offset: 2px; }
#shop-sidebar .bf-filtro-categorias li > a { display: inline-block; padding: 9px 0; color: var(--bf-marinho); }
#shop-sidebar .bf-filtro-categorias li.current-cat > a { font-weight: 700; color: var(--bf-tropa); }
#shop-sidebar .widget_layered_nav li a, #shop-sidebar .widget_layered_nav_filters li a { color: var(--bf-marinho); }
#shop-sidebar .widget_layered_nav_filters li a { background: var(--bf-nevoa); border-radius: var(--bf-r-btn); padding: 8px 12px; display: inline-block; }
.price_slider_wrapper .ui-slider .ui-slider-range, .price_slider_wrapper .ui-slider .ui-slider-handle { background-color: var(--bf-tropa); }
.widget_price_filter .price_slider_amount .button { min-height: 44px; background: var(--bf-marinho); color: #fff; }
.single-product .product_meta .tagged_as { display: none; }

/* ===== 12. Ficha de produto ===== */
.product-main { padding-top: 12px; }
.product-gallery .product-images { border-radius: var(--bf-r-img); overflow: hidden; background: var(--bf-nevoa); }
.product-gallery-slider .woocommerce-product-gallery__image { background: var(--bf-nevoa); }
.product-gallery-slider img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.product-gallery-slider .woocommerce-product-gallery__image > a { display: block; }
.product-gallery .flickity-prev-next-button { opacity: 1; }
.product-gallery .flickity-prev-next-button svg { fill: var(--bf-marinho); }
.product-thumbnails a { border-radius: var(--bf-r-btn); overflow: hidden; background: var(--bf-nevoa); }
.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover { border-color: var(--bf-tropa); }
.bf-contador { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(255, 255, 255, .92); color: var(--bf-marinho); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
@media (max-width: 849px) {
  .product-gallery { padding-left: var(--bf-gutter) !important; padding-right: var(--bf-gutter) !important; }
  .product-gallery .product-thumbnails { display: none; }
  .product-gallery .flickity-prev-next-button { display: none; }
}
.product-info { padding-top: 14px; }
.product-info .breadcrumbs { font-size: 14px; color: var(--bf-ardosia); margin-bottom: 4px; }
.product-info .breadcrumbs a { color: var(--bf-ardosia); }
.product-info .product-title { font-size: 1.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 8px; }
.product-info .is-divider { display: none; }
.product-info .price-wrapper .price { font-size: 1.5rem; font-weight: 700; margin: 0 0 14px; }
.product-info .price-wrapper .price del { font-size: 1.05rem; margin-right: 6px; }
.single-product .product-short-description { color: var(--bf-ardosia); }
.single-product form.cart .quantity { display: none !important; } /* um par de cada vez; a quantidade muda-se no carrinho */
.single-product form.cart .single_add_to_cart_button { width: 100%; min-height: 54px; font-size: 1.05rem; margin: 6px 0 0; }
.single-product .variations_button, .single-product form.cart:not(.variations_form) { display: block; }

.bf-tam-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 4px; }
.bf-tam-label { font-weight: 700; }
.single-product table.variations th.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.single-product table.variations, .single-product table.variations tbody, .single-product table.variations td { border: 0; padding: 0; display: block; width: 100% !important; }
.single-product table.variations tr { display: block; margin-bottom: 4px; }
.woocommerce-variation-price .price { display: none; } /* o preco da variacao repete o de cima */
.single-product .woocommerce-variation-price, .single-product .single_variation_wrap .woocommerce-variation { border: 0 !important; padding: 0 !important; margin: 0 !important; }

/* Grelha de tamanhos de 48px (Variation Swatches) */
.woo-variation-swatches .variable-items-wrapper { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; margin: 8px 0 4px !important; padding: 0; }
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  width: auto !important;
  height: 48px !important;
  min-width: 48px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--bf-r-btn) !important;
  box-shadow: none !important;
  background: var(--bf-papel) !important;
  border: 1px solid var(--bf-borda) !important;
  color: var(--bf-marinho) !important;
}
/* O reset acima tira a sombra do plugin e com ela o anel de foco: volta so com teclado (WCAG 2.4.7) */
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus-visible {
  outline: none;
  box-shadow: var(--bf-foco) !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item .variable-item-span { font-family: var(--bf-f-texto); font-weight: 700; font-size: 16px; padding: 0 !important; }
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { border-color: var(--bf-marinho) !important; background: var(--bf-nevoa) !important; }
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
  background: var(--bf-tropa) !important;
  border-color: var(--bf-tropa) !important;
  color: #fff !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item.disabled, .woo-variation-swatches .variable-items-wrapper .variable-item.disabled:hover { opacity: .45; background: var(--bf-nevoa) !important; }
.woo-variation-swatches .variable-item.disabled .variable-item-contents:before { background-color: var(--bf-framboesa) !important; }
.woo-variation-swatches .wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item { min-width: 48px; }
.woo-variation-swatches [data-wvstooltip]::before, .woo-variation-swatches [data-wvstooltip]::after, .woo-variation-swatches .image-tooltip-wrapper { display: none !important; } /* o numero ja esta no botao */
.reset_variations { display: none !important; } /* ha sempre um tamanho escolhido (bf-cro), "Limpar" so confunde */

/* Garantias junto ao botao */
.bf-garantias-produto { margin: 18px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--bf-linha); display: grid; gap: 12px; }
.bf-garantias-produto span { font-size: 14px; }

/* Descricao em acordeoes */
.product-footer { padding-top: 8px; }
.product-footer .woocommerce-tabs { border-top: 0; padding-top: 0; }
.product-footer .accordion { border-top: 1px solid var(--bf-linha); }
.product-footer .accordion-item { border-bottom: 1px solid var(--bf-linha); }
.product-footer .accordion-title {
  font-family: var(--bf-f-texto);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bf-marinho);
  border: 0 !important;
  padding: 14px 40px 14px 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  position: relative;
  background: none !important;
}
.product-footer .accordion-title .toggle { left: auto; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; color: var(--bf-marinho); }
.product-footer .accordion-title.active { color: var(--bf-marinho); }
.product-footer .accordion-inner { padding: 0 0 18px; color: var(--bf-marinho); }
.product-footer .accordion-inner p:last-child { margin-bottom: 0; }
.product-footer .shop_attributes { border: 0; }
.product-footer .shop_attributes th, .product-footer .shop_attributes td { border-color: var(--bf-linha); padding: 10px 0; font-size: 15px; }
.product-footer .shop_attributes th { font-weight: 700; width: 40%; }
.related .product-section-title, .related h3, .related-products-wrapper h3, .product-section-title {
  font-family: var(--bf-f-titulo) !important;
  font-weight: 800;
  font-size: 1.5rem !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  border: 0;
}
.related-products-wrapper .product-section-title-related { padding-top: 12px; }

/* Barra fixa (preco + botao) */
.bf-barra {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--bf-gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--bf-papel);
  border-top: 1px solid var(--bf-linha);
  transform: translateY(110%);
  visibility: hidden; /* fora do ecra nao recebe foco: so fica escondida depois de acabar de descer */
  transition: transform .2s ease, visibility 0s linear .2s;
}
.bf-barra[hidden] { display: flex; visibility: hidden; }
.bf-barra.is-on { transform: translateY(0); visibility: visible; transition: transform .2s ease, visibility 0s; }
.bf-barra-preco { flex: 0 1 auto; font-weight: 700; font-size: 1.1rem; line-height: 1.15; white-space: nowrap; }
.bf-barra-preco del { display: block; font-size: 13px; font-weight: 400; }
.bf-barra-btn { flex: 1 1 auto; margin: 0 !important; min-height: 50px; }
@media (min-width: 850px) { .bf-barra { display: none !important; } }

/* Guia de tamanhos: painel que sobe de baixo (dialog nativo) */
.bf-folha {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  border-radius: var(--bf-r-img) var(--bf-r-img) 0 0;
  background: var(--bf-papel);
  color: var(--bf-marinho);
}
.bf-folha::backdrop { background: rgba(30, 36, 22, .5); }
.bf-folha[open] { animation: bf-sobe .22s ease-out; }
@keyframes bf-sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.bf-folha-in { display: flex; flex-direction: column; max-height: 86vh; }
.bf-folha-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 8px 10px var(--bf-gutter); border-bottom: 1px solid var(--bf-linha); }
.bf-folha-topo h2 { font-size: 1.35rem; margin: 0; }
.bf-folha-x { width: 48px; height: 48px; min-height: 48px; margin: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--bf-marinho); border-radius: var(--bf-r-btn); cursor: pointer; }
.bf-folha-x:hover { background: var(--bf-nevoa); }
.bf-folha-corpo { overflow-y: auto; padding: 14px var(--bf-gutter) calc(20px + env(safe-area-inset-bottom)); font-size: 15px; }
.bf-folha-corpo table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.bf-folha-corpo th, .bf-folha-corpo td { padding: 9px 10px; border-bottom: 1px solid var(--bf-linha); text-align: left; font-size: 15px; }
.bf-folha-corpo thead th { background: var(--bf-nevoa); font-weight: 700; border-bottom: 0; }
.bf-folha-corpo thead th:first-child { border-radius: 8px 0 0 8px; }
.bf-folha-corpo thead th:last-child { border-radius: 0 8px 8px 0; }
.bf-folha-corpo td:first-child { font-weight: 700; }
@media (min-width: 850px) { .bf-folha { margin: auto; border-radius: var(--bf-r-img); } }
html.bf-sem-scroll { overflow: hidden; }

/* ===== 13. Carrinho lateral ===== */
.off-canvas-cart .mfp-content, .off-canvas .mfp-content { background: var(--bf-papel) !important; }
.off-canvas-right .mfp-content { width: min(400px, 92vw); }
.cart-popup-inner { padding: 18px var(--bf-gutter) !important; }
.cart-popup-title { text-align: left !important; margin-bottom: 12px; }
.cart-popup-title .heading-font { font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.4rem; color: var(--bf-marinho); }
.cart-popup-title .is-divider { display: none; }
.bf-portes-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--bf-menta); color: var(--bf-marinho); border-radius: var(--bf-r-btn); padding: 12px 14px; margin: 0 0 14px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bf-portes-barra span { flex: 1 1 auto; }
.bf-portes-pista { flex: 1 1 100% !important; display: block; height: 6px; background: rgba(30, 36, 22, .12); border-radius: 6px; overflow: hidden; }
.bf-portes-pista i { display: block; height: 100%; background: var(--bf-marinho); border-radius: 6px; }
.woocommerce-mini-cart .mini_cart_item { padding: 12px 0 12px 84px !important; min-height: 112px; border-bottom: 1px solid var(--bf-linha); position: relative; }
.woocommerce-mini-cart .mini_cart_item img { position: absolute; left: 0; top: 12px; width: 70px !important; height: 88px !important; object-fit: cover; border-radius: var(--bf-r-btn); background: var(--bf-nevoa); margin: 0 !important; }
.woocommerce-mini-cart .mini_cart_item > a:not(.remove) { font-weight: 600; color: var(--bf-marinho); font-size: 15px; line-height: 1.3; display: block; padding-right: 30px; }
.woocommerce-mini-cart .mini_cart_item a.remove { position: absolute; right: -8px; top: 4px; width: 44px; height: 44px; line-height: 44px; text-align: center; border: 0; color: var(--bf-ardosia) !important; font-size: 22px; }
.woocommerce-mini-cart .variation { font-size: 14px; color: var(--bf-ardosia); margin: 2px 0; }
.woocommerce-mini-cart .variation dt, .woocommerce-mini-cart .variation dd, .woocommerce-mini-cart .variation p { display: inline; margin: 0; font-weight: 400; }
.woocommerce-mini-cart .variation dt { margin-right: 4px; }
.woocommerce-mini-cart .quantity { font-size: 15px; color: var(--bf-marinho); font-weight: 600; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; border-top: 0 !important; padding: 14px 0 6px !important; font-size: 1.05rem; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column-reverse; gap: 8px; }
.woocommerce-mini-cart__buttons .button { width: 100%; margin: 0 !important; min-height: 50px; }
.bf-mini-nota { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 12px 0 0; font-size: 14px; color: var(--bf-ardosia); }
.woocommerce-mini-cart__empty-message { color: var(--bf-ardosia); }
.ux-mini-cart-empty .button { background: var(--bf-marinho); color: #fff; }

/* Menu em painel (mobile) */
.off-canvas .nav-vertical > li > a, .off-canvas .nav-sidebar > li > a { font-family: var(--bf-f-texto); font-size: 17px; font-weight: 600; color: var(--bf-marinho); min-height: 52px; display: flex; align-items: center; padding-left: var(--bf-gutter); }
.off-canvas .nav-sidebar > li + li { border-top: 1px solid var(--bf-linha) !important; }
.off-canvas .nav-sidebar > li > a:hover, .off-canvas .nav-sidebar > li.active > a, .off-canvas .nav-sidebar > li > a:focus { background: var(--bf-nevoa) !important; }
.off-canvas .nav-sidebar > li.bf-menu-info > a { font-weight: 400; font-size: 16px; color: var(--bf-ardosia); }
.off-canvas .nav-sidebar .sub-menu > li > a { font-size: 16px; color: var(--bf-marinho); min-height: 46px; display: flex; align-items: center; padding-left: calc(var(--bf-gutter) + 12px); }
.mfp-close { color: var(--bf-marinho) !important; opacity: 1 !important; width: 48px; height: 48px; mix-blend-mode: normal !important; }
.off-canvas:not(.off-canvas-center) .mfp-close { top: 8px; right: 8px; }

/* ===== 14. Carrinho (pagina) ===== */
.woocommerce-cart .page-wrapper, .woocommerce-cart .cart-container { padding-top: 16px; }
.woocommerce-cart-form .shop_table { border: 0; }
.woocommerce-cart-form .shop_table thead th { font-size: 14px; color: var(--bf-ardosia); font-weight: 600; border-bottom: 1px solid var(--bf-linha); }
.woocommerce-cart-form .shop_table td { border-color: var(--bf-linha); }
.woocommerce-cart-form .product-thumbnail img { border-radius: var(--bf-r-btn); background: var(--bf-nevoa); width: 80px; height: 100px; object-fit: cover; }
.woocommerce-cart-form .product-name a { color: var(--bf-marinho); font-weight: 600; }
.woocommerce-cart-form .variation { color: var(--bf-ardosia); font-size: 14px; }
.cart_totals { border-radius: var(--bf-r-img); background: var(--bf-nevoa); padding: 18px 18px 6px; }
.cart_totals > h2, .cart_totals .shop_table thead th { font-family: var(--bf-f-titulo) !important; font-size: 1.3rem; font-weight: 800; color: var(--bf-marinho); border: 0; }
.cart_totals .shop_table th, .cart_totals .shop_table td { border-color: rgba(30, 36, 22, .12); }
.cart_totals .order-total .amount { font-size: 1.2rem; }
.cart-sidebar .is-divider, .cart_totals .is-divider { display: none; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 1.05rem; }
.bf-ship-progress { background: var(--bf-menta); border-radius: var(--bf-r-btn); padding: 12px 14px; margin: 0 0 14px; font-size: 14px; color: var(--bf-marinho); }
.bf-ship-progress .bar { display: block; height: 6px; background: rgba(30, 36, 22, .12); border-radius: 6px; margin-top: 8px; overflow: hidden; }
.bf-ship-progress .bar i { display: block; height: 100%; background: var(--bf-marinho); }
.cart-empty, .woocommerce-cart .cart-empty { font-size: 1.1rem; }

/* Cupao (bf-cupao.php) */
.ux-cart-coupon, .woocommerce-form-coupon-toggle, form.checkout_coupon { display: none !important; }
.bf-cupao { margin: 16px 0; padding: 4px 0; border-top: 1px solid var(--bf-linha); border-bottom: 1px solid var(--bf-linha); }
.bf-cupao-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0; padding: 0; background: none; border: 0; color: var(--bf-marinho); font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.bf-cupao-toggle span { text-decoration: underline; text-underline-offset: 3px; }
.bf-cupao-toggle svg { flex: 0 0 auto; color: var(--bf-tropa); }
.bf-cupao-toggle[aria-expanded="true"] span { text-decoration: none; }
.bf-cupao-campos { display: flex; gap: 8px; margin: 4px 0 12px; }
.bf-cupao-campos[hidden] { display: none; }
.bf-cupao .bf-cupao-input { flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.bf-cupao .bf-cupao-input::placeholder { text-transform: none; letter-spacing: 0; }
.bf-cupao .bf-cupao-aplicar { flex: 0 0 auto; height: 48px; min-height: 48px; min-width: 96px; margin: 0; padding: 0 18px; border: 0; border-radius: var(--bf-r-btn); background: var(--bf-marinho); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.bf-cupao .bf-cupao-aplicar:hover { background: #151A0F; }
.bf-cupao .bf-cupao-aplicar[disabled] { opacity: .6; cursor: wait; }
.bf-cupao-msg { margin: 0 0 12px; font-size: 14px; line-height: 1.4; font-weight: 600; }
.bf-cupao-msg.is-ok { color: var(--bf-marinho); }
.bf-cupao-msg.is-erro { color: var(--bf-framboesa); }

/* ===== 15. Checkout (pagina unica, sem cabecalho) ===== */
.bf-focus-checkout #header, .bf-focus-checkout #top-bar, .bf-focus-checkout .header-wrapper, .bf-focus-checkout #footer, .bf-focus-checkout .footer-wrapper,
.bf-focus-checkout .absolute-footer, .bf-focus-checkout .checkout-page-title, .bf-focus-checkout .page-title, .bf-focus-checkout .woocommerce-form-coupon-toggle,
.bf-focus-checkout .bf-wa, .bf-focus-checkout #msg-envio-cobranca { display: none !important; }
#msg-envio-cobranca { display: none !important; }
.bf-hidden-field { display: none !important; }
.bf-checkout-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 8px var(--bf-gutter); border-bottom: 1px solid var(--bf-linha); background: var(--bf-papel); }
.bf-checkout-header .bf-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--bf-marinho); font-weight: 600; font-size: 15px; text-decoration: none; justify-self: start; }
.bf-checkout-header .bf-logo { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.bf-checkout-header .bf-wordmark { font-size: 24px; }
.bf-checkout-header .bf-checkout-logo-img { height: 36px; width: auto; }
.bf-checkout-header .bf-secure { justify-self: end; font-size: 14px; font-weight: 600; color: var(--bf-ardosia); text-align: right; }
@media (max-width: 549px) { .bf-checkout-header .bf-secure { font-size: 12px; } }

/* Barra de progresso: 3 segmentos */
.bf-progresso { margin: 16px 0 18px; }
.bf-progresso ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bf-progresso li { margin: 0; padding-top: 10px; position: relative; font-size: 13px; font-weight: 600; color: var(--bf-ardosia); }
.bf-progresso li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 4px; background: var(--bf-linha); }
.bf-progresso li.is-feito::before { background: var(--bf-marinho); }
.bf-progresso li.is-atual::before { background: var(--bf-tropa); }
.bf-progresso li.is-atual { color: var(--bf-marinho); }
.bf-progresso li a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; }

/* Resumo recolhivel no topo (so mobile) */
.bf-resumo-mob { background: var(--bf-nevoa); border-radius: var(--bf-r-img); margin: 0 0 18px; }
.bf-resumo-mob summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; cursor: pointer; font-weight: 600; }
.bf-resumo-mob summary::-webkit-details-marker { display: none; }
.bf-resumo-mob summary > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; }
.bf-resumo-mob summary > span:first-child::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.bf-resumo-mob[open] summary > span:first-child::after { transform: rotate(-135deg); margin-top: 3px; }
.bf-resumo-total { font-weight: 700; font-size: 1.1rem; }
.bf-resumo-lista { list-style: none; margin: 0; padding: 0 16px; }
.bf-resumo-lista li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(30, 36, 22, .1); margin: 0; }
.bf-resumo-img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--bf-papel); }
.bf-resumo-nome { font-weight: 600; font-size: 15px; line-height: 1.3; }
.bf-resumo-nome small { display: block; font-weight: 400; color: var(--bf-ardosia); font-size: 13px; }
.bf-resumo-preco { font-weight: 700; }
.bf-resumo-nota { margin: 0; padding: 10px 16px 14px; font-size: 13px; color: var(--bf-ardosia); }
@media (min-width: 850px) { .bf-resumo-mob { display: none; } }

.woocommerce-checkout .checkout .large-7 > .col-inner, .woocommerce-checkout .checkout .large-5 > .col-inner { padding-top: 0; }
.woocommerce-billing-fields { border-top: 0 !important; padding-top: 0 !important; }
.woocommerce-billing-fields h3, #order_review_heading, form.checkout h3 { font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-transform: none; }
.woocommerce-checkout .form-row { margin-bottom: 14px; }
.woocommerce-checkout .form-row .input-text { width: 100%; }
.woocommerce-checkout .col-inner.has-border { border: 0 !important; background: var(--bf-nevoa); border-radius: var(--bf-r-img); padding: 18px 18px 8px !important; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border-color: rgba(30, 36, 22, .12) !important; font-size: 15px; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.1rem; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order-table .variation { font-weight: 400; color: var(--bf-ardosia); }
#payment { background: transparent !important; }
#payment .wc_payment_methods { border: 0 !important; padding: 0 !important; margin: 0 0 12px !important; }
#payment .wc_payment_method { background: var(--bf-papel); border: 2px solid var(--bf-tropa); border-radius: var(--bf-r-btn); padding: 12px 14px !important; list-style: none; }
#payment .wc_payment_method label { font-weight: 700; display: inline; margin: 0; }
#payment .wc_payment_method input[type="radio"] { accent-color: var(--bf-tropa); margin-right: 6px; }
#payment .payment_box { background: transparent !important; padding: 6px 0 0 !important; margin: 0 !important; font-size: 14px; color: var(--bf-ardosia); }
#payment .payment_box::before { display: none !important; }
#payment .place-order { padding: 0 !important; margin: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 1.05rem; padding-left: 12px; padding-right: 12px; margin: 6px 0 0 !important; float: none; white-space: normal; }
.woocommerce-checkout .bf-garantias-checkout { margin: 14px 0 8px; display: grid; gap: 10px; }
.woocommerce-checkout .bf-garantias-checkout span { font-size: 14px; }
.bf-guarantees { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
/* +351 no telemovel */
.bf-phone { display: flex; align-items: stretch; }
.bf-phone-prefix { display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--bf-borda); border-right: 0; background: var(--bf-nevoa); font-size: 16px; font-weight: 600; white-space: nowrap; border-radius: var(--bf-r-btn) 0 0 var(--bf-r-btn); }
.bf-phone input { flex: 1; min-width: 0; margin: 0 !important; border-radius: 0 var(--bf-r-btn) var(--bf-r-btn) 0 !important; }
/* Mensagens do codigo postal (inc/checkout.php) */
.bf-cp-msg { margin-top: 8px; padding: 10px 12px; border-radius: var(--bf-r-btn); font-size: 14px; line-height: 1.4; }
.bf-cp-msg.is-ok { background: var(--bf-menta); color: var(--bf-marinho); }
.bf-cp-msg.is-ilhas { background: var(--bf-nevoa); color: var(--bf-marinho); }
.bf-checkout-note { background: var(--bf-nevoa); border-radius: var(--bf-r-btn); padding: 10px 12px; font-size: 14px; }
/* Confianca (html dos theme_mods antigos, se existirem) */
.bf-trust { list-style: none; margin: 12px 0 4px; padding: 0; font-size: 14px; line-height: 1.45; }
.bf-trust li { margin: 0 0 6px; }
@media (min-width: 850px) {
  .bf-focus-checkout .checkout-page-wrapper, .bf-focus-checkout #main > .page-wrapper { padding-top: 8px; }
}

/* ===== 16. Obrigado ===== */
.woocommerce-order-received .page-title, .woocommerce-order-received .checkout-page-title { display: none; }
.bf-thankyou { background: var(--bf-menta); border-radius: var(--bf-r-img); padding: 18px 20px; margin: 16px 0 24px; font-size: 16px; line-height: 1.55; color: var(--bf-marinho); }
.woocommerce-order.row > .bf-thankyou { flex: 0 0 calc(100% - 30px); max-width: calc(100% - 30px); margin: 16px 15px 24px; } /* o template do Flatsome pe-lo dentro de uma .row */
.bf-thankyou h2, .bf-thankyou h3 { margin: 0 0 8px; font-size: 1.35rem; }
.bf-thankyou p { margin: 0 0 10px; }
.bf-thankyou p:last-child { margin-bottom: 0; }
.bf-thankyou a { color: var(--bf-marinho); font-weight: 700; }
@media (max-width: 849px) {
  .woocommerce-order.row > .bf-thankyou { order: -2; }
  .woocommerce-order.row > .large-5 { order: -1; }
}
.woocommerce-customer-details address, .woocommerce-order address { font-style: normal; line-height: 1.6; }
.woocommerce-thankyou-order-received { font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.woocommerce-order-overview { background: var(--bf-nevoa); border-radius: var(--bf-r-img); padding: 14px 18px !important; list-style: none; }
.woocommerce-order-overview li { border-color: rgba(30, 36, 22, .12) !important; }
.woocommerce-order-details .shop_table, .woocommerce-customer-details address { border-radius: var(--bf-r-btn); }
.woocommerce-order-received .is-well, .woocommerce-order-received .has-border { border: 0 !important; background: var(--bf-nevoa); border-radius: var(--bf-r-img); box-shadow: none !important; }

/* ===== 17. Rodape (verde tropa) ===== */
#footer, .footer-wrapper { background: var(--bf-tropa); }
.bf-rodape { background: var(--bf-tropa); color: #fff; margin-top: 48px; }
.bf-rodape-in { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); margin: 0 auto; padding: 32px var(--bf-gutter) 16px; display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.bf-rod-marca { grid-column: 1 / -1; }
.bf-rod-marca p { margin: 10px 0 0; color: #D2D7C4; max-width: 40ch; font-size: 15px; }
.bf-rod-marca .bf-wordmark { color: #fff; font-size: 28px; display: inline-flex; align-items: center; min-height: 44px; }
.bf-rod-t { font-weight: 700; margin: 0 0 4px; font-size: 15px; color: #fff; }
.bf-rod-lista { list-style: none; margin: 0; padding: 0; }
.bf-rod-lista li { margin: 0; }
.bf-rod-lista a { display: inline-flex; align-items: center; min-height: 44px; color: #D2D7C4; font-size: 15px; text-decoration: none; }
.bf-rod-lista a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bf-rodape-base { max-width: calc(var(--bf-larg) + 2 * var(--bf-gutter)); margin: 0 auto; padding: 14px var(--bf-gutter) 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; color: #D2D7C4; }
.bf-rod-pag { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 850px) {
  .bf-rodape-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-top: 44px; }
  .bf-rod-marca { grid-column: auto; }
  /* Coluna "Loja" com as marcas em 2 ou 3 colunas (pedido do Pedro a 2026-11-11: 18 marcas numa so coluna davam ~800 px de rodape).
     No computador clica-se com o rato: linhas de 34 px em vez dos 44 px do telemovel. */
  .bf-rodape-in:has(.bf-rod-loja) { grid-template-columns: 1fr 2.6fr 1fr 1fr; column-gap: 32px; }
  .bf-rod-lista a { min-height: 34px; }
  .bf-rod-loja .bf-rod-lista { columns: 2; column-gap: 24px; }
  .bf-rod-loja .bf-rod-lista li { break-inside: avoid; }
}
@media (min-width: 1200px) { .bf-rod-loja .bf-rod-lista { columns: 3; } }
@media (max-width: 849px) { body:not(.bf-focus-checkout) .bf-rodape-base { padding-bottom: 88px; } }
.absolute-footer { display: none; }

/* ===== 18. WhatsApp (botao flutuante) ===== */
.bf-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 97;
  width: 52px;
  height: 52px;
  border-radius: var(--bf-r-img);
  background: var(--bf-marinho);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s;
}
.bf-wa:hover, .bf-wa:focus-visible { background: var(--bf-tropa); color: #fff; }
body.bf-com-barra .bf-wa { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 850px) { body.bf-com-barra .bf-wa { bottom: 16px; } }
.whatsapp-button { display: none !important; }

/* ===== 19. Paginas de texto (envios, trocas, pagamento, contacto) ===== */
.page-wrapper .entry-content, .page .entry-content { max-width: 72ch; }
.page-title-inner h1, .entry-title { font-weight: 800; letter-spacing: -0.03em; }
.bf-pag-topo { padding: 28px 0 6px; }
.bf-pag-t { margin: 0 0 14px; font-family: var(--bf-f-titulo); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.045em; }
@media (min-width: 850px) { .bf-pag-topo { padding-top: 44px; } .bf-pag-t { font-size: 3rem; } }
.entry-content h2 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content li { margin-bottom: .35em; }
/* Perguntas frequentes (setup/setup_faq.php): respostas em <details>, abrem ao toque */
.bf-faq { margin: 18px 0 8px; border-top: 1px solid var(--bf-linha); }
.bf-faq-item { border-bottom: 1px solid var(--bf-linha); }
.bf-faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 2px; cursor: pointer; list-style: none; font-family: var(--bf-f-titulo); font-weight: 700; font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--bf-marinho); }
.bf-faq-item > summary::-webkit-details-marker { display: none; }
.bf-faq-item > summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--bf-r-btn); background: var(--bf-nevoa); display: inline-flex; align-items: center; justify-content: center; font-family: var(--bf-f-texto); font-weight: 600; font-size: 20px; line-height: 1; color: var(--bf-tropa); }
.bf-faq-item[open] > summary::after { content: "−"; background: var(--bf-tropa); color: #fff; }
.bf-faq-item > summary:hover { color: var(--bf-tropa); }
.bf-faq-item > summary:focus-visible { outline: 3px solid var(--bf-tropa); outline-offset: 2px; }
.bf-faq-r { padding: 0 2px 16px; color: var(--bf-marinho); }
.bf-faq-r p:last-child { margin-bottom: 0; }
.wpcf7 input[type="submit"] { background: var(--bf-tropa); color: #fff; border-radius: var(--bf-r-btn); min-height: 48px; }
.wpcf7-response-output { border-radius: var(--bf-r-btn); }

/* ===== 20. Diversos ===== */
.product-small .price, .product-small .category, .product_meta, .woocommerce-breadcrumb, .is-small.uppercase { color: var(--bf-ardosia); }
.product-small .price { color: var(--bf-marinho); }
.loading-spin, .processing:before { border-left-color: var(--bf-tropa) !important; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; }
.is-divider { background-color: var(--bf-linha); }
.tooltipster-base { display: none !important; }

/* ===== 21. Descontos (mu-plugins/bf-descontos.php) ===== */
/* Barra de topo: a frase do desconto, com a etiqueta em menta (sobre o marinho) */
.bf-topo-desc { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bf-topo-desc .bf-desc-ico { flex: 0 0 auto; color: var(--bf-menta); }
/* Ficha de produto: faixa menta por baixo do preco */
.bf-desc-faixa { display: flex; align-items: flex-start; gap: 12px; background: var(--bf-menta); color: var(--bf-marinho); border-radius: var(--bf-r-btn); padding: 12px 14px; margin: -4px 0 16px; }
.bf-desc-selo { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; background: var(--bf-framboesa); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bf-desc-faixa p { margin: 0; font-size: 15px; line-height: 1.4; }
.bf-desc-faixa strong { display: block; font-weight: 700; }
.bf-desc-faixa p span { display: block; margin-top: 2px; font-size: 13px; color: var(--bf-ardosia); }
/* Cartao de produto: etiqueta curta */
.bf-desc-chip { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0; padding: 4px 8px; border-radius: 8px; background: var(--bf-menta); color: var(--bf-marinho); font-size: 13px; font-weight: 700; line-height: 1.25; }
.bf-desc-chip .bf-desc-ico { flex: 0 0 auto; color: var(--bf-framboesa); }
/* Carrinho, carrinho lateral e checkout: desconto aplicado (menta) e dica (nevoa) */
.bf-desc-avisos { display: grid; gap: 8px; margin: 0 0 14px; }
.bf-desc-avisos[hidden] { display: none; }
.bf-desc-avisos p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; border-radius: var(--bf-r-btn); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--bf-marinho); }
.bf-desc-avisos p strong { font-weight: 800; }
.bf-desc-avisos .is-feito { background: var(--bf-menta); }
.bf-desc-avisos .is-dica { background: var(--bf-nevoa); }
.bf-desc-avisos .bf-desc-ico { flex: 0 0 auto; color: var(--bf-framboesa); }
.bf-desc-avisos .is-feito .bf-desc-ico { color: var(--bf-marinho); }
.bf-desc-num, .bf-desc-num .amount { white-space: nowrap; font-weight: 800; }
.woocommerce-cart-form .bf-desc-avisos { margin-top: 4px; }
/* Valor da linha de desconto nos totais e no resumo do checkout */
.bf-desc-valor, .bf-desc-valor .amount { color: var(--bf-framboesa) !important; font-weight: 700; }
.bf-resumo-lista .bf-resumo-desc[hidden] { display: none; }
.bf-resumo-desc-ico { width: 56px; display: inline-flex; justify-content: center; color: var(--bf-framboesa); }

/* Guia de tamanhos: nota de que a tabela e indicativa */
.bf-folha-corpo .bf-guia-nota { margin: 0; padding: 12px 14px; border-radius: var(--bf-r-btn); background: var(--bf-nevoa); font-size: 14px; line-height: 1.45; color: var(--bf-marinho); }

/* Checkout: aviso dos dados da ultima encomenda (assets/js/bf.js, guardados so neste dispositivo) */
.bf-dados-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--bf-r-btn); background: var(--bf-menta); color: var(--bf-marinho); font-size: 14px; line-height: 1.4; }
.bf-dados-apagar { background: none; border: 0; padding: 0; margin: 0; min-height: 32px; font: 600 14px var(--bf-f-texto); color: var(--bf-tropa); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bf-dados-apagar:hover { color: var(--bf-marinho); }

/* ===== 22. Contas de cliente (mu-plugins/bf-contas.php, setup/setup_contas.php) ===== */
/* Cabecalho: "Entrar" como botao de contorno no computador. "A minha conta" quando ha sessao. */
.header-main .header-nav-main .account-item > a.nav-top-link { min-height: 40px; padding: 0 14px !important; border: 1px solid var(--bf-marinho); border-radius: var(--bf-r-btn); font-family: var(--bf-f-texto); font-weight: 600; font-size: 15px; color: var(--bf-marinho); text-transform: none; letter-spacing: 0; }
.header-main .header-nav-main .account-item > a.nav-top-link:hover { background: var(--bf-marinho); color: #fff; }
.bf-pag-sub { margin: -4px 0 0; color: var(--bf-ardosia); max-width: 60ch; }

/* Entrar / Criar conta: dois cartoes lado a lado no computador, um por baixo do outro no telemovel */
.woocommerce-account #customer_login { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 8px 0 0 !important; }
.woocommerce-account #customer_login > .col { flex: none; max-width: none; width: auto; padding: 22px 20px !important; border: 0 !important; border-radius: var(--bf-r-img); background: var(--bf-nevoa); }
.woocommerce-account #customer_login > .col::after, .woocommerce-account #customer_login > .col::before { display: none !important; }
.woocommerce-account #customer_login h3 { font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; text-transform: none; margin: 0 0 14px; }
.woocommerce-account #customer_login input.input-text { background: var(--bf-papel); }
.woocommerce-account #customer_login .button { width: 100%; margin: 6px 0 0; background-color: var(--bf-tropa) !important; border-color: var(--bf-tropa) !important; color: #fff !important; }
.woocommerce-account #customer_login .button:hover { background-color: var(--bf-tropa-2) !important; }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.woocommerce-account .lost_password a, .woocommerce-account .woocommerce-LostPassword a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--bf-tropa); }
.bf-reg-vantagens { list-style: none; margin: -4px 0 14px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.bf-reg-vantagens li { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.bf-reg-vantagens li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--bf-tropa); }
@media (min-width: 850px) { .woocommerce-account #customer_login { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .woocommerce-account #customer_login > .col { padding: 28px !important; } }

/* Area de cliente: menu em fila que desliza no telemovel, coluna a esquerda no computador */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; flex: 0 0 auto; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--bf-r-btn); background: var(--bf-nevoa); color: var(--bf-marinho); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--bf-tropa); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account ul.dashboard-links { display: none; } /* botoes grandes do Flatsome no inicio: o menu .bf-conta-menu ja os mostra */
.woocommerce-account .woocommerce-orders-table tr { background: none; box-shadow: none; }
.bf-conta-ultima { margin: 18px 0; padding: 18px 20px; border-radius: var(--bf-r-img); background: var(--bf-nevoa); }
.bf-conta-ultima-t { margin: 0 0 4px; font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.bf-conta-ultima .bf-btn { margin: 6px 0 0; }
.bf-conta-loja .bf-btn { margin: 0; }
.woocommerce-account .woocommerce-orders-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.woocommerce-account .woocommerce-orders-table th, .woocommerce-account .woocommerce-orders-table td { padding: 12px 8px; border-bottom: 1px solid var(--bf-linha); text-align: left; vertical-align: middle; }
.woocommerce-account .woocommerce-orders-table .button { min-height: 40px; margin: 0; padding: 8px 14px; background: var(--bf-tropa) !important; border-color: var(--bf-tropa) !important; color: #fff !important; }
.woocommerce-account .woocommerce-Address { padding: 18px 20px; border-radius: var(--bf-r-img); background: var(--bf-nevoa); }
.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-Address-title h3 { font-size: 1.25rem; margin: 0 0 6px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.6; }
.woocommerce-account .woocommerce-address-fields .button, .woocommerce-account .woocommerce-EditAccountForm .button { background: var(--bf-tropa) !important; border-color: var(--bf-tropa) !important; color: #fff !important; }
@media (max-width: 849px) {
  .woocommerce-account .woocommerce-orders-table thead { display: none; }
  .woocommerce-account .woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--bf-linha); }
  .woocommerce-account .woocommerce-orders-table td { display: block; padding: 0; border: 0; text-align: left !important; }
}
@media (min-width: 850px) {
  .woocommerce-account.logged-in .page-wrapper .col-inner > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; overflow: visible; }
  .woocommerce-account .woocommerce-MyAccount-navigation a { width: 100%; }
}

/* Checkout: "Ja tem conta?" e "Criar conta" */
.woocommerce-checkout form.woocommerce-form-login { padding: 18px 20px; border: 0; border-radius: var(--bf-r-img); background: var(--bf-nevoa); margin: 0 0 20px; }
.woocommerce-checkout form.woocommerce-form-login .button { background: var(--bf-tropa) !important; border-color: var(--bf-tropa) !important; color: #fff !important; }
.woocommerce-checkout .woocommerce-account-fields { margin: 6px 0 4px; padding: 14px 16px; border-radius: var(--bf-r-btn); background: var(--bf-menta); }
.woocommerce-checkout .woocommerce-account-fields .create-account { margin: 0; }
.woocommerce-checkout .woocommerce-account-fields label.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.35; cursor: pointer; }
.woocommerce-checkout .woocommerce-account-fields input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--bf-tropa); }
.woocommerce-checkout .woocommerce-account-fields div.create-account { margin-top: 12px; }
.woocommerce-checkout .woocommerce-account-fields input.input-text { background: var(--bf-papel); }

/* Pagina de obrigado: criar conta com um clique */
.bf-conta-pos { margin: 0 0 24px; padding: 18px 20px; border-radius: var(--bf-r-img); background: var(--bf-nevoa); color: var(--bf-marinho); }
.bf-conta-pos.is-feito { background: var(--bf-menta); }
.woocommerce-order.row > .bf-conta-pos { flex: 0 0 calc(100% - 30px); max-width: calc(100% - 30px); margin: 0 15px 24px; } /* dentro da .row do template do Flatsome, como o .bf-thankyou */
.bf-conta-pos-t { margin: 0 0 6px; font-family: var(--bf-f-titulo); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.bf-conta-pos p { margin: 0 0 10px; }
.bf-conta-pos-erro { color: var(--bf-framboesa); font-weight: 600; }
.bf-conta-pos-form { display: grid; gap: 8px; max-width: 420px; }
.bf-conta-pos-form label { font-weight: 600; }
.bf-conta-pos-form input[type="password"] { background: var(--bf-papel); }
.bf-conta-pos-form .bf-btn { margin: 4px 0 0; justify-self: start; min-width: 200px; }

/* Area de cliente: acoes da encomenda (validar, cancelar) e dados da conta sem o "Nome a apresentar" (o cliente nao o usa) */
.bf-conta-acoes { margin: 0 0 20px; padding: 16px 18px; border-radius: var(--bf-r-img); background: var(--bf-menta); }
.bf-conta-acoes p { margin: 0 0 10px; }
.bf-conta-acoes-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.bf-conta-acoes-btns .bf-btn { margin: 0; }
.woocommerce-EditAccountForm p:has(#account_display_name) { display: none; }

/* Indicador de carregamento nos formularios da conta (assets/js/bf.js): spinner no botao, sem segundo clique */
.bf-carregar { pointer-events: none; cursor: progress; opacity: .9; gap: 10px; }
.bf-spinner { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bf-gira .7s linear infinite; }
@keyframes bf-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bf-spinner { animation-duration: 2s; } }

/* ===== Verde tropa no resto (pedido do cliente a 2026-10-16, fotos no grupo de WhatsApp): o que era marinho e se via azul ===== */
/* Titulos (Marcas, Novidades, paginas, ficha de produto) e o logotipo */
h1, h2, .bf-sec-t, .bf-titulo .section-title-main, .product-title, .bf-wordmark, a.bf-wordmark:hover, .bf-logo-link:hover .bf-wordmark { color: var(--bf-tropa); }
/* Lupa, chips das marcas, botoes secundarios e o botao "Entrar" do cabecalho */
.header-search-form-wrapper .searchform .button.icon { background: var(--bf-tropa); }
.bf-chips-lista .current-menu-item > a, .bf-chips-lista .current-product_cat-ancestor > a, .bf-chips-lista .current-menu-parent > a,
.bf-chips-modelos .bf-chips-lista .current-menu-item > a { background: var(--bf-tropa); border-color: var(--bf-tropa); color: #fff; }
.button.primary:not(.is-outline), .button.secondary:not(.is-outline), .widget_price_filter .price_slider_amount .button, .ux-mini-cart-empty .button { background-color: var(--bf-tropa); }
.header-main .header-nav-main .account-item > a.nav-top-link { border-color: var(--bf-tropa); color: var(--bf-tropa); }
.header-main .header-nav-main .account-item > a.nav-top-link:hover { background: var(--bf-tropa); color: #fff; }
.bf-wa { background: var(--bf-tropa); }
.bf-wa:hover, .bf-wa:focus-visible { background: var(--bf-tropa-2); }

/* ===== Feedback de clientes (mu-plugins/bf-feedbacks.php, shortcode [bf_feedbacks], pagina /feedback-de-clientes/; pedido do cliente a 2026-10-19) =====
 * Grelha de capturas de mensagens e avaliacoes: 2 colunas no telemovel, 3 a partir de 600 px, 4 a partir de 1000 px.
 * Sem JS sao colunas CSS. Com JS as imagens vao para a coluna mais baixa pela ordem da lista (.is-colunas, colunas em flex).
 * Imagem grande num <dialog> de ecra inteiro com anterior e seguinte (em baixo no telemovel, nos lados no computador). */
.bf-fb { margin: 20px 0 12px; }
.bf-fb-grelha { --bf-fb-cols: 2; --bf-fb-gap: 10px; columns: 2; column-gap: var(--bf-fb-gap); }
.bf-fb-grelha.is-colunas { columns: auto; display: flex; align-items: flex-start; gap: var(--bf-fb-gap); }
.bf-fb-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--bf-fb-gap); }
.bf-fb-item { margin: 0 0 var(--bf-fb-gap); break-inside: avoid; }
.bf-fb-col .bf-fb-item { margin: 0; }
.bf-fb-link { display: block; overflow: hidden; border-radius: var(--bf-r-img); border: 1px solid var(--bf-linha); background: var(--bf-nevoa); transition: border-color .15s; }
.bf-fb-link:hover { border-color: var(--bf-tropa); }
.bf-fb-link:focus-visible { outline: none; box-shadow: var(--bf-foco); }
.bf-fb-img { display: block; width: 100%; height: auto; margin: 0; }
.bf-fb-leg { margin: 6px 2px 0; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--bf-ardosia); }
.bf-fb-vazio p { margin: 0; padding: 28px 18px; border-radius: var(--bf-r-img); background: var(--bf-nevoa); color: var(--bf-ardosia); text-align: center; }
@media (min-width: 600px) { .bf-fb-grelha { --bf-fb-cols: 3; --bf-fb-gap: 14px; columns: 3; } }
@media (min-width: 1000px) { .bf-fb-grelha { --bf-fb-cols: 4; --bf-fb-gap: 16px; columns: 4; } }

.bf-fb-caixa { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 24, 14, .95); color: #fff; overflow: hidden; }
.bf-fb-caixa[open] { display: flex; flex-direction: column; }
.bf-fb-caixa::backdrop { background: rgba(20, 24, 14, .95); }
.bf-fb-caixa-topo { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; padding-top: max(8px, env(safe-area-inset-top)); }
.bf-fb-caixa-n { font-family: var(--bf-f-texto); font-weight: 600; font-size: 15px; }
.bf-fb-caixa-fig { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 12px 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bf-fb-caixa-img { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--bf-r-img); background: #fff; }
.bf-fb-caixa-leg { flex: 0 0 auto; margin: 10px 0 0; font-weight: 600; font-size: 15px; text-align: center; color: #fff; }
.bf-fb-caixa-leg[hidden] { display: none; }
.bf-fb-caixa .bf-fb-caixa-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; line-height: 1; text-transform: none; cursor: pointer; transition: background .15s; }
.bf-fb-caixa .bf-fb-caixa-btn:hover { background: rgba(255, 255, 255, .26); }
.bf-fb-caixa .bf-fb-caixa-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.bf-fb-caixa .bf-fb-ant, .bf-fb-caixa .bf-fb-seg { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); }
.bf-fb-caixa .bf-fb-ant { left: calc(50% - 60px); }
.bf-fb-caixa .bf-fb-seg { right: calc(50% - 60px); }
.bf-fb-caixa.so-uma .bf-fb-ant, .bf-fb-caixa.so-uma .bf-fb-seg { display: none; }
.bf-fb-caixa.so-uma .bf-fb-caixa-fig { padding-bottom: 20px; }
@media (min-width: 850px) {
  .bf-fb-caixa-fig { padding: 0 84px 28px; }
  .bf-fb-caixa.so-uma .bf-fb-caixa-fig { padding: 0 28px 28px; }
  .bf-fb-caixa .bf-fb-ant, .bf-fb-caixa .bf-fb-seg { bottom: auto; top: 50%; transform: translateY(-50%); }
  .bf-fb-caixa .bf-fb-ant { left: 20px; }
  .bf-fb-caixa .bf-fb-seg { right: 20px; }
}
