/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* =====================================================================
   FD — Tipografia das descrições de produto (2026-11-02)
   Escopo: somente body.single-product, em
     • descrição curta ...... .woocommerce-product-details__short-description
     • descrição completa ... #tab-description .wc-tab-inner
   Não altera: cores, margens, paddings, estrutura (grid/flex), títulos
   (h1–h6 e títulos decorativos em Georgia inline), outras páginas.
   Fonte: Poppins (SIL OFL 1.1), arquivos locais em ./fonts/
   (subset latin + latin-ext), pesos 400/500/600, sem itálico.
   ===================================================================== */

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/woodmart-child/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/wp-content/themes/woodmart-child/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/themes/woodmart-child/fonts/poppins-600.woff2") format("woff2");
}

/* 1. Família — todo o conteúdo das duas áreas, exceto títulos h1–h6.
      Sem !important: font-family inline só existe em <div>/<h3>
      (wrapper "inherit"/"Helvetica Neue" e títulos Georgia); o inline
      continua vencendo nesses elementos, então os títulos Georgia ficam
      intactos e os filhos do wrapper recebem Poppins por esta regra. */
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description :not(:where(h1, h2, h3, h4, h5, h6), :where(h1, h2, h3, h4, h5, h6) *),
body.single-product #tab-description .wc-tab-inner :not(:where(h1, h2, h3, h4, h5, h6), :where(h1, h2, h3, h4, h5, h6) *) {
	font-family: "Poppins", "DM Sans", Arial, Helvetica, sans-serif;
}

/* 2. Peso padrão 400 — elementos de texto (nunca <div>, para não mudar o
      peso herdado pelos títulos decorativos em <div> Georgia). */
body.single-product .woocommerce-product-details__short-description :is(p, li, span, a, summary, td, th, dt, dd, blockquote):not(:where(h1, h2, h3, h4, h5, h6) *),
body.single-product #tab-description .wc-tab-inner :is(p, li, span, a, summary, td, th, dt, dd, blockquote):not(:where(h1, h2, h3, h4, h5, h6) *) {
	font-weight: 400;
}

/* 3. Negritos pontuais = 600 (nenhum strong/b tem peso inline). */
body.single-product .woocommerce-product-details__short-description :is(strong, b),
body.single-product #tab-description .wc-tab-inner :is(strong, b) {
	font-weight: 600;
}
body.single-product .woocommerce-product-details__short-description :is(strong, b) :is(span, a, em, i),
body.single-product #tab-description .wc-tab-inner :is(strong, b) :is(span, a, em, i),
body.single-product .woocommerce-product-details__short-description :is(em, i),
body.single-product #tab-description .wc-tab-inner :is(em, i) {
	font-weight: inherit;
}

/* 4. Itens da composição (nomes) = 500.
      Linha = span "badge" redondo (border-radius: 50%) + nome + pontilhado
      + quantidade; o nome é sempre o 2º <span> da linha (modelos A e B).
      !important: no modelo A o nome tem font-weight:400 inline.
      Fragilidade: depende do texto inline "border-radius: 50%" no badge
      e da ordem dos spans. Tamanho do nome não é alterado (14/14.5px). */
body.single-product #tab-description .wc-tab-inner span[style*="border-radius: 50%"]:first-of-type ~ span:nth-of-type(2) {
	font-weight: 500 !important;
}

/* 5. Destaque leve = 500: perguntas do FAQ embutido na descrição. */
body.single-product #tab-description .wc-tab-inner summary,
body.single-product #tab-description .wc-tab-inner summary span {
	font-weight: 500;
}

/* 6. Tamanhos e entrelinha do texto corrido.
      Observações secundárias (12.5–13px) NÃO são alteradas. */

/* 6a. Descrição curta: ~16px (sem inline em nenhum produto). */
body.single-product .woocommerce-product-details__short-description :is(p, li) {
	font-size: 16px;
	line-height: 1.75;
}

/* 6b. Descrição completa sem wrapper (HTML simples) e listas. */
body.single-product #tab-description .wc-tab-inner > p,
body.single-product #tab-description .wc-tab-inner li {
	font-size: 15px;
	line-height: 1.8;
}

/* 6c. Parágrafo de abertura dentro do wrapper (modelos A e B) e respostas
      do FAQ embutido. !important só no font-size: no modelo B o <p> tem
      font-size inline (14.5px; respostas do FAQ 14px). Line-height inline
      já está em 1.8 e é preservado. */
body.single-product #tab-description .wc-tab-inner > div > p:first-of-type,
body.single-product #tab-description .wc-tab-inner details > p {
	font-size: 15px !important;
}

/* =====================================================================
   FD — Selos compactos 2026-11-06
   Escopo: .fd-product-badges / .fd-product-badge + modificadores slug.
   Não altera: posição (top/left/position), product-labels, cards, preços.
   Ícones: SVG linear via mask (data-URI), 12px, currentColor.
   Poppins 500: @font-face global neste arquivo; uso explícito nos selos.
   Altura alvo linha única: min-height 22px (border-box) ≈ 22–24px visual.
   ===================================================================== */

/* Stack: só gap + max-width seguro. Sem margin/position (plugin mantém). */
.fd-product-badges {
	gap: 4px;
	max-width: 100%;
}

/* Base compacta — sobrescreve visual do plugin (fdpe-frontend.css).
   min-height 22px + border-box: padding 2+2 + border 1+1 + conteúdo ≥22.
   align-self:flex-start: largura intrínseca por selo (evita stretch do column).
   !important em padding/font-size: plugin usa !important ≤782px. */
.fd-product-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 5px;
	box-sizing: border-box;
	width: auto;
	max-width: min(100%, 12.5rem);
	min-height: 22px;
	height: auto;
	padding: 2px 7px !important;
	border: 1px solid #9A9A9A;
	border-radius: 5px;
	background-color: #FFFFFF;
	box-shadow: none;
	color: #5C5C5C;
	font-family: "Poppins", "DM Sans", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 10.5px !important;
	line-height: 1.25;
	text-transform: none;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.fd-product-badge::before {
	content: "";
	display: block;
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Campeão de vendas → estrela / ocre */
.fd-product-badge.fd-product-badge--campeao-de-vendas {
	color: #8E6A14;
	border-color: #C4A04A;
	background-color: #FFFCF5;
}
.fd-product-badge.fd-product-badge--campeao-de-vendas::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.6l2.35%204.76%205.25.76-3.8%203.7.9%205.24L12%2015.9l-4.7%202.46.9-5.24-3.8-3.7%205.25-.76L12%203.6z%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.6l2.35%204.76%205.25.76-3.8%203.7.9%205.24L12%2015.9l-4.7%202.46.9-5.24-3.8-3.7%205.25-.76L12%203.6z%22%2F%3E%3C%2Fsvg%3E");
}

/* Pronta entrega → caminhão / verde */
.fd-product-badge.fd-product-badge--pronta-entrega {
	color: #2F6B45;
	border-color: #6FA884;
	background-color: #F6FBF7;
}
.fd-product-badge.fd-product-badge--pronta-entrega::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207.5h11.5v9H3z%22%2F%3E%3Cpath%20d%3D%22M14.5%2010.5H18l2.5%203v3h-1.7%22%2F%3E%3Ccircle%20cx%3D%227.2%22%20cy%3D%2217.4%22%20r%3D%221.55%22%2F%3E%3Ccircle%20cx%3D%2216.8%22%20cy%3D%2217.4%22%20r%3D%221.55%22%2F%3E%3Cpath%20d%3D%22M3%2012.2h11.5%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207.5h11.5v9H3z%22%2F%3E%3Cpath%20d%3D%22M14.5%2010.5H18l2.5%203v3h-1.7%22%2F%3E%3Ccircle%20cx%3D%227.2%22%20cy%3D%2217.4%22%20r%3D%221.55%22%2F%3E%3Ccircle%20cx%3D%2216.8%22%20cy%3D%2217.4%22%20r%3D%221.55%22%2F%3E%3Cpath%20d%3D%22M3%2012.2h11.5%22%2F%3E%3C%2Fsvg%3E");
}

/* 1 dia de antecedência → calendário-relógio / azul */
.fd-product-badge.fd-product-badge--um-dia-antecedencia {
	color: #355F8A;
	border-color: #6E92B5;
	background-color: #F5F8FC;
}
.fd-product-badge.fd-product-badge--um-dia-antecedencia::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3.5%209.5h17M8%203.5v3.2M16%203.5v3.2%22%2F%3E%3Ccircle%20cx%3D%2215.3%22%20cy%3D%2214.6%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M15.3%2013.3v1.5l1.05.75%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3.5%209.5h17M8%203.5v3.2M16%203.5v3.2%22%2F%3E%3Ccircle%20cx%3D%2215.3%22%20cy%3D%2214.6%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M15.3%2013.3v1.5l1.05.75%22%2F%3E%3C%2Fsvg%3E");
}

/* Sob encomenda → calendário-relógio / roxo */
.fd-product-badge.fd-product-badge--sob-encomenda {
	color: #5A4A78;
	border-color: #8F7EB0;
	background-color: #F8F6FB;
}
.fd-product-badge.fd-product-badge--sob-encomenda::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3.5%209.5h17M8%203.5v3.2M16%203.5v3.2%22%2F%3E%3Ccircle%20cx%3D%2215.3%22%20cy%3D%2214.6%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M15.3%2013.3v1.5l1.05.75%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3.5%209.5h17M8%203.5v3.2M16%203.5v3.2%22%2F%3E%3Ccircle%20cx%3D%2215.3%22%20cy%3D%2214.6%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M15.3%2013.3v1.5l1.05.75%22%2F%3E%3C%2Fsvg%3E");
}

/* Rosas importadas → flor / vinho */
.fd-product-badge.fd-product-badge--rosas-importadas {
	color: #7A3040;
	border-color: #B06B78;
	background-color: #FCF6F7;
}
.fd-product-badge.fd-product-badge--rosas-importadas::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.85%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%226.35%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%2216.7%22%20cy%3D%229.35%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%2215.05%22%20cy%3D%2214.85%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%228.95%22%20cy%3D%2214.85%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%227.3%22%20cy%3D%229.35%22%20r%3D%222.25%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.85%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%226.35%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%2216.7%22%20cy%3D%229.35%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%2215.05%22%20cy%3D%2214.85%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%228.95%22%20cy%3D%2214.85%22%20r%3D%222.25%22%2F%3E%3Ccircle%20cx%3D%227.3%22%20cy%3D%229.35%22%20r%3D%222.25%22%2F%3E%3C%2Fsvg%3E");
}

/* Produto adicional → presente / cinza */
.fd-product-badge.fd-product-badge--produto-adicional {
	color: #5C5C5C;
	border-color: #9A9A9A;
	background-color: #FAFAFA;
}
.fd-product-badge.fd-product-badge--produto-adicional::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M4%2013.5h16M12%2010v10%22%2F%3E%3Cpath%20d%3D%22M12%2010c-2.1-3.2-5.2-2.5-5.2-.7S9.6%2011.1%2012%2010c2.1-3.2%205.2-2.5%205.2-.7S14.4%2011.1%2012%2010z%22%2F%3E%3C%2Fsvg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%2210%22%20rx%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M4%2013.5h16M12%2010v10%22%2F%3E%3Cpath%20d%3D%22M12%2010c-2.1-3.2-5.2-2.5-5.2-.7S9.6%2011.1%2012%2010c2.1-3.2%205.2-2.5%205.2-.7S14.4%2011.1%2012%2010z%22%2F%3E%3C%2Fsvg%3E");
}

/* Mobile estreito (cards ~360–390): leitura primeiro; wrap pode elevar
   altura acima de 22px — sem clipping e sem fonte <10.5px. */
@media (max-width: 430px) {
	.fd-product-badge {
		max-width: min(100%, 11.25rem);
		padding: 2px 7px !important;
		font-size: 10.5px !important;
		min-height: 22px;
	}
	.fd-product-badges {
		gap: 3px;
		max-width: 100%;
	}
}

.fd-product-badges {
    gap: 2px;
}

.fd-product-badge {
    gap: 3px;
    min-height: 18px;
    padding: 1px 5px !important;
    border-radius: 4px;
    font-size: 9px !important;
    line-height: 1.2;
    max-width: min(100%, 11rem);
}

.fd-product-badge::before {
    flex-basis: 10px;
    width: 10px;
    height: 10px;
}

@media (max-width: 430px) {
    .fd-product-badge {
        min-height: 18px;
        padding: 1px 5px !important;
        font-size: 9px !important;
        max-width: min(100%, 10.5rem);
    }

    .fd-product-badges {
        gap: 2px;
    }
}

/* =====================================================================
   /FD — Selos compactos 2026-11-06
   ===================================================================== */