/* =========================================================
   Be Lofty — design system aplicado ao WoodMart
   1. Fonte e tokens
   2. Variáveis do WoodMart (cores, fontes, raios)
   3. Base e títulos
   4. Botões
   5. Cards de produto (WoodMart)
   6. Página de produto (WoodMart + blocos bl-)
   7. Carrinho lateral e barra de frete (WoodMart)
   8. Blocos da home (shortcodes bl-)
   9. Animações
   Seletores do WoodMart conferidos na versão 7/8; se algum não pegar,
   inspecione a classe no navegador e ajuste só o seletor.
   ========================================================= */

/* ---------- 1. Fonte e tokens ---------- */
@font-face {
  font-family: 'Begies';
  src: url('../fonts/Begies.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* paleta oficial (manual de marca) */
  --bl-olive: #6D7B29;
  --bl-sage: #DEE1C6;
  --bl-gold: #A7783B;
  --bl-cream: #F2F0E3;
  /* derivadas para legibilidade */
  --bl-olive-deep: #56611F;
  --bl-olive-ink: #414A15;
  --bl-gold-deep: #8C6329;
  --bl-sage-light: #E8EAD6;
  --bl-sage-dark: #C5C9A5;
  --bl-white: #FFFFFF;
  --bl-line: rgba(86, 97, 31, .15);
  --bl-tint: rgba(86, 97, 31, .10);
  /* cor do sabor (a página de produto sobrescreve pelo campo "Cor do sabor") */
  --bl-accent: var(--bl-olive-deep);
  --bl-accent-rgb: 86, 97, 31;

  --bl-display: 'Begies', Georgia, serif;
  --bl-sans: 'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bl-r-btn: 8px;
  --bl-r-card: 20px;
  --bl-r-pill: 999px;
  --bl-ease: cubic-bezier(.25, .46, .45, .94);
  --bl-ease-acc: cubic-bezier(.4, 0, .2, 1);

  /* ---------- 2. Variáveis do WoodMart ---------- */
  --wd-primary-color: var(--bl-olive-deep);
  --wd-alternative-color: var(--bl-gold-deep);
  --wd-link-color: var(--bl-olive-deep);
  --wd-link-color-hover: var(--bl-gold-deep);
  --wd-title-font: var(--bl-display);
  --wd-title-font-weight: 400;
  --wd-title-color: var(--bl-olive);
  --wd-text-font: var(--bl-sans);
  --wd-text-color: var(--bl-olive-deep);
  --wd-entities-title-font: var(--bl-sans);
  --wd-entities-title-font-weight: 700;
  --wd-entities-title-color: var(--bl-olive-ink);
  --wd-entities-title-color-hover: var(--bl-gold-deep);
  --wd-widget-title-font: var(--bl-sans);
  --wd-header-el-font: var(--bl-sans);
  --wd-brd-radius: var(--bl-r-card);
  --wd-form-brd-radius: var(--bl-r-btn);
  --btn-accented-bgcolor: var(--bl-gold-deep);
  --btn-accented-bgcolor-hover: var(--bl-white);
  --btn-accented-color: var(--bl-white);
  --btn-accented-color-hover: var(--bl-gold-deep);
  --btn-accented-brd-radius: var(--bl-r-btn);
  --btn-default-bgcolor: var(--bl-olive-deep);
  --btn-default-bgcolor-hover: var(--bl-gold-deep);
  --btn-default-color: var(--bl-cream);
  --btn-default-color-hover: var(--bl-white);
  --btn-default-brd-radius: var(--bl-r-btn);
}

/* ---------- 3. Base e títulos ---------- */
body { background-color: var(--bl-cream); color: var(--bl-olive-deep); font-family: var(--bl-sans); letter-spacing: .02em; }
h1, h2, h3, .title, .wd-el-title, .elementor-heading-title { text-wrap: balance; }
.bl-title, .elementor-widget-heading.bl-heading .elementor-heading-title {
  font-family: var(--bl-display); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; color: var(--bl-olive); letter-spacing: 0; margin: 0 0 8px;
}
.bl-eyebrow, .elementor-widget-text-editor.bl-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--bl-gold-deep); margin: 0 0 10px; }
.bl-dark { background: var(--bl-olive-deep); color: var(--bl-cream); }
.bl-dark .bl-title, .bl-dark .elementor-heading-title { color: var(--bl-cream); }
.bl-dark .bl-eyebrow { color: var(--bl-sage); }
.bl-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.bl-section { max-width: 1400px; margin: 0 auto 40px; padding: 0 20px; }
.bl-muted { opacity: .75; font-size: 14px; }
:focus-visible { outline: 2px solid var(--bl-olive); outline-offset: 2px; }

/* ---------- 4. Botões ---------- */
.bl-btn, .single_add_to_cart_button, .wd-add-btn .button, .checkout-button, .wd-button-wrapper .btn {
  font-family: var(--bl-sans) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .05em;
  border-radius: var(--bl-r-btn) !important;
  transition: color .5s var(--bl-ease), background-color .5s var(--bl-ease), border-color .5s var(--bl-ease) !important;
}
.bl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 22px; padding: 11px 22px; border: 1px solid; text-decoration: none; cursor: pointer; }
.bl-btn--buy, .single_add_to_cart_button { background: var(--bl-gold-deep) !important; border: 1px solid var(--bl-gold-deep) !important; color: var(--bl-white) !important; }
.bl-btn--buy:hover, .single_add_to_cart_button:hover { background: var(--bl-white) !important; color: var(--bl-gold-deep) !important; }
.bl-btn--dark { background: var(--bl-olive-deep); border-color: var(--bl-olive-deep); color: var(--bl-cream); }
.bl-btn--dark:hover { background: var(--bl-gold-deep); border-color: var(--bl-gold-deep); color: var(--bl-white); }
.bl-btn--gold { background: var(--bl-gold-deep); border-color: var(--bl-gold-deep); color: var(--bl-white); }
.bl-btn--gold:hover { background: var(--bl-cream); border-color: var(--bl-cream); color: var(--bl-olive-deep); }
.bl-btn--outline-light { background: transparent; border-color: var(--bl-cream); color: var(--bl-cream); }
.bl-btn--outline-light:hover { background: var(--bl-cream); color: var(--bl-olive-deep); }

/* ---------- 5. Cards de produto (WoodMart) ---------- */
.wd-product .product-element-top, .product-grid-item .product-element-top { border-radius: var(--bl-r-card); overflow: hidden; background: var(--bl-white); }
.wd-product .wd-entities-title, .product-grid-item .wd-entities-title { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--bl-olive-ink); }
.wd-product .price, .product-grid-item .price { color: var(--bl-olive-ink); font-weight: 700; font-size: 18px; }
.wd-product .price del, .product-grid-item .price del { opacity: .55; font-weight: 500; font-size: 14px; }
.wd-product .wd-product-cats a, .product-grid-item .wd-product-cats a { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bl-gold-deep); }
.wd-product .wd-add-btn .button, .product-grid-item .wd-add-btn .button { background: var(--bl-gold-deep); color: var(--bl-white); }
.wd-product .wd-add-btn .button:hover, .product-grid-item .wd-add-btn .button:hover { background: var(--bl-white); color: var(--bl-gold-deep); }
/* selos */
.product-labels .product-label { border-radius: 10px; font-family: var(--bl-sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 22px; padding: 0 10px; min-height: 0; }
.product-labels .product-label.onsale { background: var(--bl-olive-deep); color: var(--bl-cream); }
.product-labels .product-label.new, .product-labels .product-label.featured { background: var(--bl-gold-deep); color: var(--bl-white); }
.product-labels .product-label.out-of-stock { background: var(--bl-sage-dark); color: var(--bl-olive-ink); }
/* favoritos e ações flutuantes do card */
.wd-product .wd-buttons, .product-grid-item .wd-buttons { border-radius: var(--bl-r-pill); }

/* ---------- 6. Página de produto ---------- */
.single-product .woocommerce-product-gallery .wd-carousel-item img,
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .product-image-wrap img { border-radius: var(--bl-r-card); }
.single-product .product_title { font-family: var(--bl-display); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.02; color: var(--bl-accent); letter-spacing: 0; }
.single-product .summary-inner > .price, .single-product .summary .price { font-size: 32px; font-weight: 800; color: var(--bl-olive-ink); }
.single-product .summary .price del { font-size: 16px; opacity: .55; }
.single-product .woocommerce-product-details__short-description { background: rgba(var(--bl-accent-rgb), .09); border-radius: 16px; padding: 16px 18px; line-height: 1.6; margin-bottom: 20px; }
.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.single-product .quantity { background: var(--bl-tint); border-radius: var(--bl-r-btn); }
.single-product .quantity input, .single-product .quantity .minus, .single-product .quantity .plus { background: transparent; border: 0; color: var(--bl-olive-ink); }
.single-product .single_add_to_cart_button { min-height: 50px; font-size: 15px !important; }
.single-product .product_meta { font-size: 12px; opacity: .8; }

/* preço PIX, peso, economia, pílulas (bloco "destaques") */
.bl-pix { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bl-olive-deep); margin: -4px 0 6px; }
.bl-pix svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.bl-pix em { font-style: normal; font-weight: 500; opacity: .8; }
.bl-pix .woocommerce-Price-amount { font-size: inherit; }
.bl-weight { font-size: 13px; font-weight: 600; opacity: .8; margin: 0 0 14px; }
.bl-save { background: var(--bl-sage); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.bl-bullets { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.bl-bullets li { border: 2px solid var(--bl-accent); color: var(--bl-accent); background: var(--bl-cream); border-radius: var(--bl-r-pill); padding: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }

/* faixa de confiança */
.bl-trust { list-style: none; padding: 16px 0; margin: 18px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--bl-line); border-bottom: 1px solid var(--bl-line); }
.bl-trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.bl-trust svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* abas / sanfona do WooCommerce (WoodMart em modo "accordion" ou abas) */
.single-product .woocommerce-tabs .wd-accordion-title, .single-product .woocommerce-tabs .tabs li a {
  font-family: var(--bl-sans); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--bl-olive-deep);
}
.single-product .woocommerce-tabs .wd-accordion-item { border-color: var(--bl-line); }

/* ingredientes, alérgicos, tabela */
.bl-allergen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.bl-allergen__lbl { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; min-width: 92px; }
.bl-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--bl-r-pill); background: var(--bl-tint); }
.bl-pill--accent { background: var(--bl-accent); color: var(--bl-white); }
.bl-allergen__note { font-weight: 700; font-size: 14px; }
.bl-table-wrap { overflow-x: auto; }
.bl-nutri { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; background: var(--bl-white); border-radius: 12px; overflow: hidden; margin: 0; }
.bl-nutri th, .bl-nutri td { padding: 8px 12px; text-align: right; border: 0; border-bottom: 1px solid rgba(86,97,31,.12); }
.bl-nutri th[scope="row"], .bl-nutri thead th:first-child { text-align: left; font-weight: 600; }
.bl-nutri thead th { background: var(--bl-olive-deep); color: var(--bl-cream); font-weight: 700; font-size: 13px; }
.bl-nutri .lv1 th { padding-left: 26px; font-weight: 500; }
.bl-nutri .lv2 th { padding-left: 40px; font-weight: 500; }
.bl-nutri__portion { font-size: 14px; font-weight: 600; }
.bl-nutri__foot { font-size: 12px; opacity: .75; }
.bl-kitlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bl-kitlist a { display: flex; gap: 14px; align-items: center; background: var(--bl-white); border-radius: 14px; padding: 8px; }
.bl-kitlist img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.bl-kitlist span { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; }
.bl-kitlist small { font-weight: 500; font-size: 12px; opacity: .75; }

/* card "Economize no kit" */
.bl-kitoffer { display: flex; gap: 16px; align-items: center; background: var(--bl-olive-deep); color: var(--bl-cream); border-radius: var(--bl-r-card); padding: 18px; transition: transform .3s var(--bl-ease); text-decoration: none; }
.bl-kitoffer:hover { transform: translateY(-3px); color: var(--bl-cream); }
.bl-kitoffer img { width: 110px; height: 110px; border-radius: 14px; object-fit: cover; background: var(--bl-white); flex: none; }
.bl-kitoffer__txt { display: flex; flex-direction: column; gap: 4px; font-size: 14px; flex: 1; min-width: 0; }
.bl-kitoffer__txt strong { font-family: var(--bl-display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.bl-kitoffer__price, .bl-kitoffer__price .amount { font-weight: 800; font-size: 16px; color: var(--bl-cream); }
.bl-kitoffer__price del { opacity: .6; }
.bl-kitoffer__go { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.bl-badge { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 700; line-height: 22px; letter-spacing: .06em; text-transform: uppercase; padding: 0 10px; border-radius: 10px; background: var(--bl-sage); color: var(--bl-olive-ink); }
.bl-badge .amount { color: inherit; }

/* faixa escura com vídeo de textura */
.bl-texture-band { padding: 50px 0; margin-top: -1px; }
.bl-texture { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 56px; align-items: center; }
.bl-texture__video { border-radius: var(--bl-r-card); overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 8px solid rgba(255,255,255,.08); }
.bl-texture__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-texture__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.bl-texture__list li { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid var(--bl-sage); }
.bl-texture__list strong { color: var(--bl-sage); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 800px) { .bl-texture { grid-template-columns: 1fr; gap: 28px; } .bl-texture__video { max-width: 320px; width: 100%; margin: 0 auto; } }

/* ---------- 7. Carrinho lateral e barra de frete (WoodMart) ---------- */
.cart-widget-side, .wd-side-hidden.cart-widget-side { background: var(--bl-cream); }
.cart-widget-side .wd-heading .title, .cart-widget-side .widget-heading .title { font-family: var(--bl-display); font-weight: 400; font-size: 30px; color: var(--bl-olive); text-transform: none; letter-spacing: 0; }
.cart-widget-side .woocommerce-mini-cart-item img { border-radius: 12px; }
.wd-free-progress-bar .progress-area, .wd-progress-bar .progress-area { height: 8px; border-radius: 20px; background: rgba(86,97,31,.14); }
.wd-free-progress-bar .progress-bar, .wd-progress-bar .progress-bar { border-radius: 20px; background-color: var(--bl-gold-deep);
  background-image: linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.18) 75%, transparent 75%);
  background-size: 28px 28px; animation: bl-stripes 1.4s linear infinite; }

/* ---------- 8. Blocos da home ---------- */
/* onda */
.bl-wave { display: block; width: 100%; height: clamp(40px, 6vw, 98px); margin-bottom: -1px; }
.bl-wave__back { fill: var(--bl-gold); }
.bl-wave__front { fill: var(--bl-olive-deep); }

/* topo com três vídeos */
.bl-hero { position: relative; background: var(--bl-olive-deep); overflow: hidden; }
.bl-hero__videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: min(78vh, 760px); }
.bl-hero__videos video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(40,45,15,.82) 0%, rgba(40,45,15,.35) 38%, transparent 62%); }
.bl-hero__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 20px 48px; color: var(--bl-cream); }
.bl-hero__kicker { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--bl-sage); margin: 0 0 10px; }
.bl-hero__title { font-family: var(--bl-display); font-weight: 400; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; margin: 0 0 22px; color: var(--bl-cream); }
@media (max-width: 767px) { .bl-hero__videos { grid-template-columns: 1fr; height: 78vh; } .bl-hero__videos video:not(:nth-child(2)) { display: none; } .bl-hero__content { padding-bottom: 32px; } }

/* pílulas de benefício */
.bl-policies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bl-policy { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 72px; background: var(--bl-sage); color: var(--bl-olive-deep); border-radius: 50px; padding: 13px 22px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
.bl-policy svg { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bl-policy:hover svg { animation: bl-jelly .5s ease; }
@media (max-width: 1024px) {
  .bl-policies { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .bl-policies::-webkit-scrollbar { display: none; }
  .bl-policy { min-width: 78%; scroll-snap-align: center; }
}

/* sabores: abas + slider + foto circular */
.bl-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 44px; }
.bl-tab { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--bl-olive-deep); color: var(--bl-olive-deep); background: transparent; border-radius: var(--bl-r-pill); padding: 10px 32px; min-width: 150px; font: 500 24px/1.05 var(--bl-sans); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; transition: all .3s ease; }
.bl-tab:hover, .bl-tab.is-active { background: var(--bl-olive-deep); color: var(--bl-cream); }
.bl-tab-panel { display: none; }
.bl-tab-panel.is-active { display: block; animation: bl-fade .25s ease; }
.bl-slider { position: relative; }
.bl-slider__viewport { overflow: hidden; }
.bl-slider__track { display: flex; transition: transform .5s var(--bl-ease); }
.bl-slide { flex: 0 0 100%; min-width: 0; }
.bl-flavor { display: flex; align-items: center; justify-content: space-evenly; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 70px; }
.bl-flavor > * { flex: 1; max-width: 540px; }
.bl-flavor__title { font-family: var(--bl-display); font-weight: 400; font-size: 52px; line-height: 1; margin: 0 0 18px; color: var(--bl-olive); }
.bl-flavor__text { line-height: 1.55; margin: 0 0 22px; max-width: 500px; }
.bl-flavor__price { font-weight: 700; margin-bottom: 18px; }
.bl-flavor__price span { color: var(--bl-olive); }
.bl-flavor__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.bl-ring { position: relative; border: 15px solid var(--bl-sage); border-radius: 50%; aspect-ratio: 1; width: 100%; max-width: 520px; margin-left: auto; }
.bl-ring__img { border-radius: 50%; overflow: hidden; width: 100%; height: 100%; background: var(--bl-white); }
.bl-ring__img img { width: 100%; height: 100%; object-fit: cover; }
.bl-video-bubble { position: absolute; top: 30px; left: 0; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; z-index: 2; border: 0; padding: 0; outline: 2px solid var(--bl-olive); outline-offset: 3px; cursor: pointer; background: var(--bl-olive-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M10 8v8l6-4z' fill='white'/%3E%3C/svg%3E") center / 50px no-repeat; transition: background-size .3s; }
.bl-video-bubble:hover { background-size: 58px; }
.bl-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px; border-radius: 50%; background: transparent; border: 2px solid var(--bl-olive-deep); color: var(--bl-olive-deep); display: grid; place-items: center; cursor: pointer; transition: all .3s; padding: 0; }
.bl-slider__arrow:hover { background: var(--bl-olive-deep); color: var(--bl-cream); }
.bl-slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.bl-slider__arrow--prev { left: 0; }
.bl-slider__arrow--next { right: 0; }
.bl-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.bl-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--bl-olive-deep); background: transparent; padding: 0; cursor: pointer; }
.bl-dots button.is-active { background: var(--bl-olive-deep); }
.bl-slider.is-single .bl-slider__arrow, .bl-slider.is-single .bl-dots { display: none; }
@media (max-width: 767px) {
  .bl-tabs { justify-content: flex-start; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .bl-tab { font-size: 15px; padding: 10px 16px; min-width: 120px; white-space: nowrap; }
  .bl-flavor { flex-direction: column-reverse; padding: 0 4px; gap: 24px; }
  .bl-flavor__title { font-size: 38px; }
  .bl-ring { margin: 0 auto; max-width: 340px; }
  .bl-video-bubble { width: 72px; height: 72px; top: -4px; background-size: 38px; }
  .bl-slider__arrow { display: none; }
}

/* categorias */
.bl-spotlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .bl-spotlight-grid { grid-template-columns: repeat(2, 1fr); } }
.bl-spotlight { display: block; text-decoration: none; }
.bl-image-zoom { overflow: hidden; border-radius: var(--bl-r-card); aspect-ratio: 1; background: var(--bl-sage-light); }
.bl-image-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .64s; }
.bl-spotlight:hover .bl-image-zoom img { transform: scale(1.06); }
.bl-spotlight__title { text-align: center; font-family: var(--bl-display); font-size: 26px; margin-top: 14px; color: var(--bl-olive-deep); }
.bl-spotlight__title span { border-bottom: 2px solid transparent; transition: border-color .3s; }
.bl-spotlight:hover .bl-spotlight__title span { border-color: currentColor; }

/* depoimentos (dentro de seção .bl-dark) */
.bl-rating-sum { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; color: var(--bl-sage); font-weight: 600; flex-wrap: wrap; }
.bl-rating-sum strong { font-size: 28px; color: var(--bl-cream); }
.bl-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bl-review { background: rgba(255,255,255,.10); border-radius: var(--bl-r-card); padding: 22px; display: flex; flex-direction: column; gap: 10px; margin: 0; color: var(--bl-cream); }
.bl-review__stars { color: var(--bl-sage); font-size: 22px; letter-spacing: 3px; }
.bl-review__prod { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bl-sage); }
.bl-review__text { margin: 0; flex: 1; border: 0; padding: 0; font-size: 16px; font-style: normal; color: inherit; }
.bl-review__meta { font-size: 13px; opacity: .8; }
.bl-review__meta b { display: block; font-size: 14px; }
@media (max-width: 1024px) {
  .bl-reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bl-review { min-width: 80%; scroll-snap-align: center; }
}

/* faixa de texto */
.bl-marquee { display: flex; overflow: hidden; background: var(--bl-olive-deep); padding: 20px 0; }
.bl-marquee__list { display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; will-change: transform; animation: bl-marquee 25s linear infinite; }
.bl-marquee__item { color: var(--bl-sage); font-family: var(--bl-display); font-size: 40px; line-height: 1; padding: 0 14px; }
@media (min-width: 1200px) { .bl-marquee:hover .bl-marquee__list { animation-play-state: paused; } }
@media (max-width: 1199px) { .bl-marquee { padding: 14px 0; } .bl-marquee__item { font-size: 28px; } }

/* FAQ */
.bl-faq-grid { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1100px) { .bl-faq-grid { flex-direction: row; align-items: flex-start; } }
.bl-faq-col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.bl-faq { border: 2px solid var(--bl-olive-deep); border-radius: 20px; color: var(--bl-olive-deep); transition: all .3s ease; }
.bl-faq:hover, .bl-faq.is-open { background: var(--bl-olive-deep); color: var(--bl-white); }
.bl-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; font: 700 14px/1.3 var(--bl-sans); letter-spacing: .05em; text-transform: uppercase; }
.bl-faq__icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.bl-faq.is-open .bl-faq__icon { transform: rotate(180deg); }
.bl-faq__a { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-10px); padding: 0 20px; font-size: 14px; line-height: 1.6; transition: all .4s var(--bl-ease-acc); }
.bl-faq.is-open .bl-faq__a { max-height: 600px; opacity: 1; transform: none; padding: 0 20px 20px; }
.bl-faq__a p { margin: 0 0 10px; color: inherit; }

/* modal de vídeo */
.bl-modal { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(40,45,15,.6); }
.bl-modal.is-open { display: flex; animation: bl-fade .3s ease; }
.bl-modal__box { position: relative; width: min(420px, 92vw); background: #000; border-radius: 16px; overflow: hidden; }
.bl-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bl-olive-deep); color: #fff; font-size: 20px; cursor: pointer; padding: 0; }
.bl-video-frame video { display: block; width: 100%; max-height: 85vh; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---------- 9. Animações ---------- */
@keyframes bl-marquee { to { transform: translate3d(-100%, 0, 0); } }
@keyframes bl-jelly { 0%,100% { transform: scale(1); } 25% { transform: scale(.9,1.1); } 50% { transform: scale(1.1,.9); } 75% { transform: scale(.95,1.05); } }
@keyframes bl-fade { from { opacity: .01; } to { opacity: 1; } }
@keyframes bl-stripes { to { background-position: 28px 0; } }
@media (prefers-reduced-motion: reduce) {
  .bl-marquee__list, .wd-free-progress-bar .progress-bar { animation: none; }
  .bl-slider__track, .bl-faq__a, .bl-image-zoom img { transition: none; }
}

/* barra de anúncio (shortcode bl_anuncio, no Top bar do Header Builder) */
.bl-announce { background: var(--bl-gold-deep); color: var(--bl-cream); overflow: hidden; width: 100%; }
.bl-announce__track { display: flex; width: max-content; animation: bl-announce 45s linear infinite; }
.bl-announce__item { white-space: nowrap; font: 700 13px/1 var(--bl-sans); text-transform: uppercase; letter-spacing: .06em; padding: 11px 22px; }
.whb-top-bar:has(.bl-announce) { background: var(--bl-gold-deep); }
.whb-top-bar:has(.bl-announce) .container { max-width: none; padding: 0; }
@keyframes bl-announce { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .bl-announce__track { animation: none; } }

/* topo da loja e categorias (shortcode bl_loja_topo, inc/shop-header.php) */
body.woocommerce-shop, body.tax-product_cat { overflow-x: clip; }
.bl-shop-top { width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 30px; }
.bl-shop-hero { background: var(--bl-sage-light); padding: 26px 0 40px; }
.bl-shop-crumb, .bl-shop-crumb a, .bl-shop-crumb .woocommerce-breadcrumb { font-size: 13px; font-weight: 600; color: var(--bl-olive); margin: 0; }
.bl-shop-crumb { margin-bottom: 28px; }
.bl-shop-crumb a:hover { color: var(--bl-gold-deep); }
.bl-shop-hero .bl-eyebrow { margin: 0 0 6px; }
.bl-shop-title { margin: 0 0 14px; font-size: clamp(40px, 5vw, 58px); }
.bl-shop-desc, .bl-shop-desc p { max-width: 640px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--bl-olive); }
.bl-shop-filters { background: var(--bl-cream); padding: 28px 0 6px; }
.bl-shop-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bl-shop-pills a { display: inline-block; padding: 10px 20px; border: 2px solid var(--bl-olive-deep); border-radius: var(--bl-r-pill); font: 700 13px/1.2 var(--bl-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--bl-olive-deep); text-decoration: none; transition: all .3s ease; }
.bl-shop-pills a:hover, .bl-shop-pills a.is-active { background: var(--bl-olive-deep); color: var(--bl-cream); }
@media (max-width: 768px) {
  .bl-shop-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .bl-shop-pills a { white-space: nowrap; }
}
/* garante que a descrição nativa não duplique o texto da faixa verde */
body.woocommerce-shop .term-description, body.tax-product_cat .term-description,
body.woocommerce-shop .woocommerce-products-header, body.tax-product_cat .woocommerce-products-header .term-description { display: none; }

/* barra: pílulas à esquerda, busca + ordenar à direita */
.bl-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.bl-shop-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bl-shop-search { position: relative; margin: 0; }
.bl-shop-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--bl-olive-deep); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.bl-shop-search input[type=search] { width: 270px; max-width: 100%; height: 44px; margin: 0; padding: 0 18px 0 44px; border: 1px solid var(--bl-line); border-radius: var(--bl-r-pill); background: var(--bl-white); color: var(--bl-olive-deep); font: 500 14px/1 var(--bl-sans); box-shadow: none; }
.bl-shop-search input[type=search]:focus { border-color: var(--bl-olive-deep); outline: none; }
.bl-shop-order { display: flex; align-items: center; gap: 10px; margin: 0; }
.bl-shop-order label { margin: 0; font: 700 13px/1 var(--bl-sans); letter-spacing: .04em; color: var(--bl-olive-deep); }
.bl-shop-order select { height: 44px; margin: 0; padding: 0 34px 0 18px; border: 1px solid var(--bl-line); border-radius: var(--bl-r-pill); background-color: var(--bl-white); color: var(--bl-olive-deep); font: 600 14px/1 var(--bl-sans); cursor: pointer; }
.bl-shop-count { margin: 14px 0 0; font: 700 13px/1 var(--bl-sans); letter-spacing: .02em; color: var(--bl-olive); opacity: .8; }
/* esconde ordenação e contador nativos do WoodMart (a barra nova já tem os dois) */
body.woocommerce-shop .shop-loop-head .woocommerce-ordering, body.tax-product_cat .shop-loop-head .woocommerce-ordering,
body.woocommerce-shop .shop-loop-head .woocommerce-result-count, body.tax-product_cat .shop-loop-head .woocommerce-result-count { display: none; }
@media (max-width: 768px) {
  .bl-shop-tools { width: 100%; }
  .bl-shop-search { flex: 1 1 100%; }
  .bl-shop-search input[type=search] { width: 100%; }
}

/* cápsulas no card do produto */
.bl-card-tags { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 8px; margin: 12px 0 14px; text-align: left; }
.bl-card-tag { display: inline-block; padding: 7px 12px; border-radius: var(--bl-r-pill); background: var(--bl-sage-light); color: var(--bl-olive-deep); font: 600 12px/1.2 var(--bl-sans); letter-spacing: .01em; }

/* ===== card de produto: SÓ na loja e nas categorias (a home não é afetada) ===== */
.bl-card-badge { position: absolute; top: 14px; left: 14px; z-index: 6; padding: 6px 12px; border-radius: var(--bl-r-pill); background: var(--bl-olive-deep); color: var(--bl-cream); font: 700 12px/1 var(--bl-sans); letter-spacing: .03em; text-transform: uppercase; pointer-events: none; }
.bl-card-pix { margin: 4px 0 14px; font: 700 13px/1.3 var(--bl-sans); color: var(--bl-olive-deep); text-align: left; }
body.woocommerce-shop .products .product .product-element-top, body.woocommerce-shop .products .wd-product .product-element-top, body.tax-product_cat .products .product .product-element-top, body.tax-product_cat .products .wd-product .product-element-top { border-radius: var(--bl-r-card); overflow: hidden; }
body.woocommerce-shop .products .product, body.woocommerce-shop .products .wd-product, body.tax-product_cat .products .product, body.tax-product_cat .products .wd-product { position: relative; }
body.woocommerce-shop .products .product .onsale, body.woocommerce-shop .products .wd-product .onsale, body.tax-product_cat .products .product .onsale, body.tax-product_cat .products .wd-product .onsale { display: none !important; }
body.woocommerce-shop .products .wd-product-cats, body.woocommerce-shop .products .product-cats, body.tax-product_cat .products .wd-product-cats, body.tax-product_cat .products .product-cats { font-size: 0; margin: 14px 0 6px; text-align: left; }
body.woocommerce-shop .products .wd-product-cats a, body.woocommerce-shop .products .product-cats a, body.tax-product_cat .products .wd-product-cats a, body.tax-product_cat .products .product-cats a { font: 700 12px/1.2 var(--bl-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bl-gold-deep); }
body.woocommerce-shop .products .wd-product-cats a ~ a, body.woocommerce-shop .products .product-cats a ~ a, body.tax-product_cat .products .wd-product-cats a ~ a, body.tax-product_cat .products .product-cats a ~ a { display: none; }
body.woocommerce-shop .products .wd-entities-title, body.woocommerce-shop .products .woocommerce-loop-product__title, body.tax-product_cat .products .wd-entities-title, body.tax-product_cat .products .woocommerce-loop-product__title { font-weight: 700; color: var(--bl-olive-ink); }
body.woocommerce-shop .products .wrap-price, body.tax-product_cat .products .wrap-price { display: block !important; width: 100%; text-align: left !important; justify-content: flex-start !important; }
body.woocommerce-shop .products .product .price, body.woocommerce-shop .products .wd-product .price, body.tax-product_cat .products .product .price, body.tax-product_cat .products .wd-product .price { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; margin: 0 auto 0 0 !important; float: none !important; }
body.woocommerce-shop .products .product .price del, body.tax-product_cat .products .product .price del { font-size: 14px; opacity: .6; }
body.woocommerce-shop .products .product .price ins, body.tax-product_cat .products .product .price ins { text-decoration: none; font-size: 22px; font-weight: 800; color: var(--bl-olive-deep); background: transparent; }
body.woocommerce-shop .products .product .add_to_cart_button, body.woocommerce-shop .products .wd-product .add_to_cart_button, body.tax-product_cat .products .product .add_to_cart_button, body.tax-product_cat .products .wd-product .add_to_cart_button { display: block; width: 100%; height: auto !important; min-height: 0 !important; padding: var(--bl-card-btn-py, 14px) 20px !important; margin: 0; border: 0; border-radius: var(--bl-r-btn); background: var(--bl-gold-deep) !important; color: #fff !important; font: 800 14px/1.2 var(--bl-sans); line-height: 1.2 !important; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
body.woocommerce-shop .products .product .add_to_cart_button:hover, body.woocommerce-shop .products .wd-product .add_to_cart_button:hover, body.tax-product_cat .products .product .add_to_cart_button:hover, body.tax-product_cat .products .wd-product .add_to_cart_button:hover { background: var(--bl-gold) !important; }

/* esconde a faixa de título/breadcrumb nativa do WoodMart na loja e nas categorias (o topo novo já tem breadcrumb) */
body.woocommerce-shop .wd-page-title, body.tax-product_cat .wd-page-title,
body.woocommerce-shop .page-title-default, body.tax-product_cat .page-title-default,
body.woocommerce-shop .woocommerce-products-header .page-title, body.tax-product_cat .woocommerce-products-header .page-title { display: none !important; }

/* valor do selo "Economize": herda a cor do selo (o preço do WooCommerce vinha em verde sobre verde) */
.bl-card-badge .woocommerce-Price-amount, .bl-card-badge bdi, .bl-card-badge .woocommerce-Price-currencySymbol { color: inherit !important; font: inherit !important; }
