/* ==========================================================================
   Franlago — estilos do tema
   Cores e fontes: altere aqui (variáveis) para mudar o site todo.
   ========================================================================== */

:root {
	--fl-primary: #9C5F5C;        /* rosé nude: botões, preços, links */
	--fl-primary-dark: #7E4A47;   /* hover */
	--fl-cocoa: #51382C;          /* textos e títulos */
	--fl-text-muted: #6B564B;
	--fl-text-soft: #7A6458;
	--fl-cream: #F7F3F0;          /* fundos claros */
	--fl-sand: #EDE9E6;           /* rodapé */
	--fl-blush: #F4E9E3;          /* fundo nude */
	--fl-gold: #C9A24C;           /* detalhes (nunca texto) */
	--fl-gold-light: #E8D9B4;
	--fl-line: #EFE6E1;
	--fl-line-strong: #DED3CA;
	--fl-white: #FFFFFF;
	--fl-error: #A23B2E;
	--fl-success: #3F6B4B;

	--fl-font: "Jost", "Helvetica Neue", Arial, sans-serif;
	--fl-font-display: "Cardo", Georgia, "Times New Roman", serif;

	--fl-radius: 14px;
	--fl-radius-sm: 10px;
	--fl-pill: 999px;
	--fl-shadow: 0 12px 30px rgba(81, 56, 44, .10);
	--fl-shadow-lg: 0 24px 40px rgba(81, 56, 44, .12);
	--fl-container: 1280px;
	--fl-gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.fl-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--fl-font); font-size: 16px; line-height: 1.6; color: var(--fl-cocoa); background: var(--fl-white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--fl-primary); text-underline-offset: 3px; }
a:hover { color: var(--fl-primary-dark); }
:focus-visible { outline: 2px solid var(--fl-primary); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--fl-font-display); font-weight: 400; line-height: 1.12; color: var(--fl-cocoa); margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 4.4vw, 56px); }
h2 { font-size: clamp(28px, 3vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.fl-icon { flex-shrink: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.fl-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--fl-cocoa); color: #fff; padding: 10px 16px; border-radius: var(--fl-radius-sm); }
.fl-skip:focus { top: 12px; color: #fff; }
.fl-container { width: 100%; max-width: var(--fl-container); margin-inline: auto; padding-inline: var(--fl-gutter); }
.fl-main { display: block; outline: none; }
.fl-eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--fl-text-soft); margin: 0; }
.fl-hide-sm { display: inline; }
@media (max-width: 600px) { :root { --fl-gutter: 16px; } .fl-hide-sm { display: none; } }

/* ---------- Botões ---------- */
.fl-btn, .button, button.button, a.button, input.button, #respond input#submit, .woocommerce-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--fl-pill);
	background: var(--fl-primary); color: var(--fl-white); font-weight: 600; font-size: 15px; letter-spacing: .02em;
	text-decoration: none; line-height: 1.2; text-align: center; transition: background .2s, color .2s, box-shadow .2s;
}
.fl-btn:hover, .button:hover, button.button:hover, a.button:hover, .woocommerce-button:hover { background: var(--fl-primary-dark); color: var(--fl-white); }
.fl-btn--outline, .button.alt-outline { background: transparent; color: var(--fl-cocoa); box-shadow: inset 0 0 0 1.5px var(--fl-cocoa); }
.fl-btn--outline:hover { background: var(--fl-cocoa); color: var(--fl-white); }
.fl-btn--large { min-height: 54px; padding: 0 32px; font-size: 16px; }
.fl-btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.fl-btn--block { width: 100%; }
.button:disabled, .button.disabled, .fl-btn:disabled { opacity: .55; cursor: not-allowed; }
.button.loading { opacity: .7; pointer-events: none; }
.button.added::after { content: " ✓"; }
a.added_to_cart { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.fl-link { background: none; border: 0; padding: 0; color: var(--fl-primary); font-weight: 600; font-size: 14px; text-decoration: underline; }
.fl-iconbtn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--fl-cocoa); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--fl-pill); }
.fl-iconbtn:hover { background: var(--fl-cream); }
.fl-roundbtn { width: 40px; height: 40px; border-radius: var(--fl-pill); border: 1px solid var(--fl-line-strong); background: var(--fl-white); color: var(--fl-cocoa); display: inline-flex; align-items: center; justify-content: center; }
.fl-roundbtn:hover:not(:disabled) { border-color: var(--fl-cocoa); }
.fl-roundbtn:disabled { opacity: .35; cursor: default; }
.fl-roundbtn--prev .fl-icon { transform: rotate(90deg); }
.fl-roundbtn--next .fl-icon { transform: rotate(-90deg); }

/* ---------- Barra superior e cabeçalho ---------- */
.fl-topbar { background: var(--fl-cocoa); color: var(--fl-cream); font-size: 13px; letter-spacing: .04em; text-align: center; padding: 9px 16px; }
.fl-header { position: relative; z-index: 50; background: var(--fl-white); border-bottom: 1px solid var(--fl-line); }
.fl-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 14px; }
.fl-header__burger { display: none; margin-left: -10px; }
.fl-logo { display: block; flex-shrink: 0; }
.fl-logo__img { height: 78px; width: auto; }
.fl-search { flex: 1 1 320px; max-width: 560px; display: flex; align-items: center; background: var(--fl-cream); border-radius: var(--fl-pill); padding: 0 5px 0 20px; height: 48px; border: 1px solid transparent; transition: border-color .2s; }
.fl-search:focus-within { border-color: var(--fl-line-strong); }
.fl-search__input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; outline: none; color: var(--fl-cocoa); }
.fl-search__input::placeholder { color: var(--fl-text-soft); }
.fl-search__input::-webkit-search-cancel-button { display: none; }
.fl-search__btn { width: 38px; height: 38px; border-radius: var(--fl-pill); border: 0; background: var(--fl-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.fl-search__btn:hover { background: var(--fl-primary-dark); }
.fl-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.fl-header__account { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--fl-cocoa); text-decoration: none; font-size: 14px; border-radius: var(--fl-pill); }
.fl-header__account:hover { color: var(--fl-primary); }
.fl-header__cart { position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--fl-cocoa); border-radius: var(--fl-pill); }
.fl-header__cart:hover { color: var(--fl-primary); }
.fl-cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--fl-pill); background: var(--fl-primary); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; line-height: 1; }
.fl-cart-count.is-empty { background: var(--fl-line-strong); color: var(--fl-cocoa); }

/* Menu de categorias */
.fl-nav__list { list-style: none; margin: 0 auto; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0 4px; }
.fl-nav__item { position: static; }
.fl-nav__link { position: relative; display: flex; align-items: center; gap: 6px; padding: 13px 14px 15px; font-size: 15px; font-weight: 500; color: var(--fl-cocoa); text-decoration: none; background: none; border: 0; white-space: nowrap; }
.fl-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--fl-primary); transform: scaleX(0); transition: transform .2s; }
.fl-nav__item:hover > .fl-nav__link, .fl-nav__item.is-open > .fl-nav__link, .fl-nav__link:focus-visible { color: var(--fl-primary); }
.fl-nav__item:hover > .fl-nav__link::after, .fl-nav__item.is-open > .fl-nav__link::after { transform: scaleX(1); }
.fl-nav__item--all { margin-left: auto; }
.fl-nav__all { color: var(--fl-primary); font-weight: 600; }
.fl-nav__item--offers .fl-nav__link { color: var(--fl-primary-dark); font-weight: 600; }
.fl-nav__item--offers .fl-icon { color: var(--fl-gold); }
.fl-nav__item--brands { margin-left: auto; }
.fl-nav__item--brands + .fl-nav__item--all { margin-left: 0; }
.fl-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--fl-white); border-top: 1px solid var(--fl-line); box-shadow: var(--fl-shadow-lg); }
.fl-nav__item.has-mega:not(.fl-nav__item--all):hover > .fl-mega,
.fl-nav__item.has-mega:not(.fl-nav__item--all):focus-within > .fl-mega,
.fl-nav__item.is-open > .fl-mega { display: block; }
.fl-mega__inner { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 32px 36px; }
.fl-mega__main { flex: 1 1 520px; min-width: 0; }
.fl-mega__title { font-family: var(--fl-font-display); font-size: 30px; margin: 0 0 16px; line-height: 1.1; }
.fl-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.fl-mega__grid a { display: block; padding: 9px 0; font-size: 15px; color: var(--fl-cocoa); text-decoration: none; border-bottom: 1px solid #F3ECE8; }
.fl-mega__grid a:hover { color: var(--fl-primary); }
.fl-mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 600; text-decoration: none; }
.fl-mega__promo { flex: 0 1 300px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 210px; padding: 22px; border-radius: 16px; background: var(--fl-cream); color: var(--fl-cocoa); text-decoration: none; }
.fl-mega__promo-img { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; object-fit: cover; border-radius: 50%; opacity: .95; }
.fl-mega__promo-eyebrow { position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-text-soft); }
.fl-mega__promo-title { position: relative; font-family: var(--fl-font-display); font-size: 26px; line-height: 1.1; }
.fl-mega__promo-cta { position: relative; font-size: 14px; font-weight: 600; color: var(--fl-primary); text-decoration: underline; }
.fl-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 32px; padding-block: 28px 36px; max-height: 70vh; overflow-y: auto; }
.fl-mega__col { display: flex; flex-direction: column; gap: 4px; }
.fl-mega__col a { font-size: 14px; color: var(--fl-cocoa); text-decoration: none; padding: 3px 0; }
.fl-mega__col a:hover { color: var(--fl-primary); }
.fl-mega__col .fl-mega__col-title { font-weight: 600; font-size: 15px; color: var(--fl-primary); padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--fl-line); }
.fl-mega__brands { padding-block: 32px 36px; max-height: 70vh; overflow-y: auto; }
.fl-mega__brandlist { list-style: none; margin: 0; padding: 0; column-width: 180px; column-gap: 32px; }
.fl-mega__brandlist li { break-inside: avoid; }
.fl-mega__brandlist a { display: block; padding: 9px 0; font-size: 15px; color: var(--fl-cocoa); text-decoration: none; border-bottom: 1px solid #F3ECE8; }
.fl-mega__brandlist a:hover { color: var(--fl-primary); }

@media (max-width: 900px) {
	.fl-header__burger { display: inline-flex; }
	.fl-nav { display: none; }
	.fl-header__row { gap: 10px 8px; padding-block: 10px 12px; }
	.fl-logo { margin-right: auto; }
	.fl-logo__img { height: 58px; }
	.fl-header__actions { margin-left: 0; }
	.fl-header__account { padding: 10px; }
	.fl-search { order: 5; flex-basis: 100%; max-width: none; height: 46px; }
}

/* Menu lateral (celular) */
.fl-drawer { position: fixed; inset: 0; z-index: 200; }
.fl-drawer[hidden] { display: none; }
.fl-drawer__backdrop { position: absolute; inset: 0; background: rgba(81, 56, 44, .45); opacity: 0; transition: opacity .25s; }
.fl-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--fl-white); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(81, 56, 44, .2); }
.fl-drawer.is-open .fl-drawer__backdrop { opacity: 1; }
.fl-drawer.is-open .fl-drawer__panel { transform: none; }
.fl-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 12px 20px; border-bottom: 1px solid var(--fl-line); }
.fl-drawer__title { font-family: var(--fl-font-display); font-size: 26px; }
.fl-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.fl-drawer__group { border-bottom: 1px solid #F3ECE8; }
.fl-drawer__group summary, .fl-drawer__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; font-size: 16px; font-weight: 500; color: var(--fl-cocoa); text-decoration: none; cursor: pointer; list-style: none; }
.fl-drawer__link { border-bottom: 1px solid #F3ECE8; }
.fl-drawer__link--offers { color: var(--fl-primary-dark); font-weight: 600; }
.fl-drawer__link--offers span { display: inline-flex; align-items: center; gap: 10px; }
.fl-drawer__link--offers .fl-icon { color: var(--fl-gold); }
.fl-drawer__group summary::-webkit-details-marker { display: none; }
.fl-drawer__sign { position: relative; width: 14px; height: 14px; }
.fl-drawer__sign::before, .fl-drawer__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; border-radius: 2px; }
.fl-drawer__sign::after { transform: rotate(90deg); transition: transform .2s; }
.fl-drawer__group[open] .fl-drawer__sign { color: var(--fl-primary); }
.fl-drawer__group[open] .fl-drawer__sign::after { transform: rotate(0); }
.fl-drawer__subs { display: flex; flex-direction: column; background: var(--fl-cream); padding: 6px 0; }
.fl-drawer__subs a { padding: 11px 32px; font-size: 15px; color: var(--fl-cocoa); text-decoration: none; }
.fl-drawer__subs .fl-drawer__all { font-weight: 600; color: var(--fl-primary); }
.fl-drawer__foot { border-top: 1px solid var(--fl-line); padding: 12px 12px 20px; display: flex; flex-direction: column; }
.fl-drawer__foot a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; color: var(--fl-cocoa); text-decoration: none; }

/* ---------- Banners (carrossel) ---------- */
.fl-hero { position: relative; }
.fl-hero__track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fl-hero__track::-webkit-scrollbar { display: none; }
.fl-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.fl-slide--fields { background: var(--fl-slide-bg, var(--fl-cream)); }
.fl-slide__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-block: 52px 64px; min-height: 480px; }
.fl-slide__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fl-slide__title { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.fl-slide__desc { margin: 0; font-size: 18px; line-height: 1.6; max-width: 460px; color: var(--fl-text-muted); }
.fl-slide__actions { margin: 6px 0 0; }
.fl-slide__art { flex: 1 1 340px; position: relative; display: flex; justify-content: center; align-items: center; }
.fl-slide__ring { width: min(420px, 80vw); height: auto; }
.fl-slide__product { position: absolute; width: min(250px, 46vw); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px rgba(81, 56, 44, .16); }
.fl-slide--image .fl-slide__link, .fl-slide--image picture { display: block; }
.fl-slide__img { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
@media (max-width: 700px) { .fl-slide__img { aspect-ratio: 4 / 5; } }
.fl-hero__controls { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; pointer-events: none; }
.fl-hero__controls > * { pointer-events: auto; }
.fl-hero__dots { display: flex; gap: 2px; }
.fl-hero__dot { width: 32px; height: 32px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; }
.fl-hero__dot span { width: 8px; height: 8px; border-radius: 8px; background: #CDB9AE; transition: width .2s, background .2s; }
.fl-hero__dot[aria-current="true"] span { width: 28px; background: var(--fl-primary); }
.fl-hero__arrow { width: 36px; height: 36px; border-radius: var(--fl-pill); border: 0; background: rgba(255, 255, 255, .85); color: var(--fl-cocoa); display: inline-flex; align-items: center; justify-content: center; }
.fl-hero__arrow .fl-icon { transform: rotate(90deg); }
.fl-hero__arrow--next .fl-icon { transform: rotate(-90deg); }
@media (max-width: 700px) {
	.fl-slide__inner { padding-block: 32px 64px; min-height: 0; flex-direction: column-reverse; align-items: stretch; text-align: left; }
	.fl-slide__art { flex-basis: auto; }
	.fl-slide__ring { width: 240px; }
	.fl-slide__product { width: 150px; }
	.fl-slide__desc { font-size: 16px; }
}

/* ---------- Seções da home ---------- */
.fl-section { padding-block: 56px 8px; }
.fl-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.fl-section__title { margin: 0; }
.fl-section__title--center { text-align: center; margin-bottom: 28px; }
.fl-section__tools { display: flex; align-items: center; gap: 8px; }
.fl-section__more { margin-left: 8px; font-size: 15px; font-weight: 600; }
.fl-shelf.is-static .fl-roundbtn { display: none; }
.fl-home-content { padding-block: 48px; }

.fl-cats__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 24px 16px; }
.fl-cats__item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--fl-cocoa); font-size: 15px; font-weight: 500; text-align: center; }
.fl-cats__img { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--fl-gold-light); display: flex; align-items: center; justify-content: center; background: var(--fl-cream); transition: transform .2s, border-color .2s; }
.fl-cats__img img { width: 100%; height: 100%; object-fit: contain; padding: 14%; background: var(--fl-white); }
.fl-cats__initial { font-family: var(--fl-font-display); font-size: 40px; color: var(--fl-primary); }
.fl-cats__item:hover .fl-cats__img { transform: translateY(-3px); border-color: var(--fl-gold); }
.fl-cats__item:hover { color: var(--fl-primary); }
@media (max-width: 600px) {
	.fl-cats__list { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 8px; scrollbar-width: none; margin-inline: calc(var(--fl-gutter) * -1); padding-inline: var(--fl-gutter); }
	.fl-cats__list li { flex: 0 0 84px; }
	.fl-cats__img { width: 76px; height: 76px; }
	.fl-cats__item { font-size: 13px; gap: 8px; }
}

.fl-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.fl-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 280px; padding: 36px; border-radius: 18px; text-decoration: none; }
.fl-promo--escuro { background: var(--fl-cocoa); color: var(--fl-cream); }
.fl-promo--claro { background: var(--fl-blush); color: var(--fl-cocoa); }
.fl-promo__ring { position: absolute; right: -30px; top: -30px; width: 300px; opacity: .8; }
.fl-promo__img { position: absolute; right: 28px; top: 28px; width: 150px; height: 150px; object-fit: cover; border-radius: 16px; }
.fl-promo--escuro .fl-promo__img { border-radius: 50%; right: 46px; top: 46px; width: 160px; height: 160px; }
.fl-promo__eyebrow { position: relative; }
.fl-promo--escuro .fl-promo__eyebrow { color: var(--fl-gold-light); }
.fl-promo__title { position: relative; font-family: var(--fl-font-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; max-width: 70%; }
.fl-promo__cta { position: relative; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fl-promo--claro .fl-promo__cta { color: var(--fl-primary); }
.fl-promo:hover .fl-promo__cta { text-decoration-thickness: 2px; }
@media (max-width: 600px) { .fl-promo { min-height: 0; padding: 150px 24px 24px; } .fl-promo__img, .fl-promo--escuro .fl-promo__img { width: 110px; height: 110px; top: 22px; right: 22px; } .fl-promo__ring { width: 200px; right: -20px; top: -20px; } .fl-promo__title { max-width: none; } }

/* ---------- Grade de produtos e cartão ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
ul.products::before, ul.products::after { display: none; }
.fl-card { position: relative; display: flex; flex-direction: column; background: var(--fl-white); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; margin: 0; }
.fl-card:hover { box-shadow: var(--fl-shadow); }
.fl-card__media { position: relative; display: block; background: var(--fl-white); aspect-ratio: 1 / 1; overflow: hidden; padding: 10%; border-bottom: 1px solid var(--fl-line); }
.fl-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.fl-card:hover .fl-card__media img { transform: scale(1.03); }
.fl-badge, .onsale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--fl-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--fl-pill); line-height: 1.4; min-height: 0; min-width: 0; margin: 0; }
.fl-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fl-card__brand { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fl-text-soft); }
.fl-card__title { margin: 0; font-family: var(--fl-font); font-size: 15px; font-weight: 400; line-height: 1.4; min-height: 42px; }
.fl-card__title a { color: var(--fl-cocoa); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-card__title a:hover { color: var(--fl-primary); }
.fl-card__price { margin-top: 4px; }
.fl-card__actions { margin-top: auto; padding-top: 8px; }
.fl-card__actions .button { width: 100%; min-height: 44px; font-size: 14px; padding: 0 14px; }

/* Preços */
.price { color: var(--fl-primary); font-weight: 600; font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price del { order: -1; color: #8C786D; font-weight: 400; font-size: 13px; opacity: 1; }
.price ins { text-decoration: none; }
.fl-card__price .price, .fl-card__price > .woocommerce-Price-amount { font-size: 20px; }
.fl-card__price { color: var(--fl-primary); font-weight: 600; font-size: 20px; }
.fl-card__price del { color: #8C786D; font-weight: 400; font-size: 13px; margin-right: 6px; }
.fl-card__price ins { text-decoration: none; }

/* Vitrines em linha */
.fl-shelf__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 80px) / 5)); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.fl-shelf__track::-webkit-scrollbar { display: none; }
.fl-shelf__track > li { scroll-snap-align: start; }
@media (max-width: 1100px) { .fl-shelf__track { grid-auto-columns: minmax(200px, calc((100% - 40px) / 3)); } }
@media (max-width: 600px) {
	.fl-shelf__track { grid-auto-columns: 62%; gap: 12px; margin-inline: calc(var(--fl-gutter) * -1); padding-inline: var(--fl-gutter); scroll-padding-inline: var(--fl-gutter); }
	.fl-section__tools .fl-roundbtn { display: none; }
}

/* ---------- Vantagens e rodapé ---------- */
.fl-benefits { background: var(--fl-cream); border-top: 1px solid var(--fl-line); margin-top: 64px; }
.fl-benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding-block: 30px; }
.fl-benefit { display: flex; align-items: center; gap: 14px; }
.fl-benefit .fl-icon { color: var(--fl-primary); stroke-width: 1.4; }
.fl-benefit strong { display: block; font-weight: 600; font-size: 15px; }
.fl-benefit span { display: block; font-size: 14px; color: var(--fl-text-muted); }
.fl-footer { background: var(--fl-sand); color: var(--fl-cocoa); }
.fl-footer__grid { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 52px 32px; }
.fl-footer__brand { flex: 1 1 200px; }
.fl-footer__brand .fl-logo__img { width: 140px; height: auto; }
.fl-footer__col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; }
.fl-footer__col a { color: var(--fl-cocoa); text-decoration: none; font-size: 15px; }
.fl-footer__col a:hover { color: var(--fl-primary); text-decoration: underline; }
.fl-footer__title { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 4px; }
.fl-footer__title--spaced { margin-top: 12px; }
.fl-footer__contact { display: inline-flex; align-items: center; gap: 8px; }
.fl-footer__hours { margin: 0; font-size: 14px; color: var(--fl-text-muted); }
.fl-footer__pay { margin: 0; align-self: flex-start; background: var(--fl-white); border: 1px solid var(--fl-line-strong); border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.fl-footer__legal { border-top: 1px solid var(--fl-line-strong); }
.fl-footer__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 26px; font-size: 13px; line-height: 1.7; color: var(--fl-text-muted); }

/* ---------- Cabeçalho de páginas e trilha ---------- */
.fl-pagehead { background: var(--fl-cream); }
.fl-pagehead .fl-container { padding-block: 28px 32px; }
.fl-pagehead__title { margin: 10px 0 6px; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.fl-pagehead--compact .fl-container { padding-block: 22px 20px; }
.fl-pagehead--compact .fl-pagehead__title { font-size: clamp(30px, 3vw, 40px); margin: 0; }
.fl-pagehead .term-description, .fl-pagehead .page-description { max-width: 680px; color: var(--fl-text-muted); }
.fl-pagehead .term-description p:last-child { margin-bottom: 0; }
.fl-crumbs { font-size: 14px; color: var(--fl-text-muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.fl-crumbs a { color: var(--fl-text-muted); }
.fl-crumbs a:hover { color: var(--fl-primary); }
.fl-crumbs__sep { color: var(--fl-line-strong); }

/* ---------- Listagem: filtros, barra e paginação ---------- */
.fl-archive { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-block: 32px 24px; }
.fl-archive__filters { flex: 1 1 240px; max-width: 290px; }
.fl-archive__main { flex: 999 1 560px; min-width: 0; }
.fl-filters__toggle { display: none; }
.fl-filters__body { display: flex; flex-direction: column; gap: 28px; }
.fl-filter { border: 0; margin: 0; padding: 0; min-width: 0; }
.fl-filter__title { display: block; width: 100%; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--fl-line); }
.fl-filter__cats { list-style: none; margin: 0; padding: 0; }
.fl-filter__back { display: inline-block; margin-bottom: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.fl-filter__cats a { display: block; padding: 7px 0; font-size: 15px; color: var(--fl-cocoa); text-decoration: none; }
.fl-filter__cats a:hover, .fl-filter__cats a[aria-current] { color: var(--fl-primary); font-weight: 600; }
.fl-filter-form { display: flex; flex-direction: column; gap: 28px; }
.fl-filter__brands { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.fl-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.fl-check input { width: 18px; height: 18px; accent-color: var(--fl-primary); margin: 0; }
.fl-check__name { flex: 1; }
.fl-check__count { color: var(--fl-text-soft); font-size: 14px; }
.fl-price { display: flex; align-items: flex-end; gap: 10px; }
.fl-price__field { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fl-text-muted); }
.fl-price__field input { height: 44px; width: 100%; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); padding: 0 12px; font-size: 15px; color: var(--fl-cocoa); background: #fff; }
.fl-price__dash { padding-bottom: 11px; color: var(--fl-text-soft); }
.fl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fl-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--fl-pill); border: 1px solid var(--fl-line-strong); font-size: 13px; color: var(--fl-cocoa); text-decoration: none; background: #fff; }
.fl-chip:hover { border-color: var(--fl-cocoa); color: var(--fl-cocoa); }
.fl-chip.is-active { background: var(--fl-cocoa); border-color: var(--fl-cocoa); color: #fff; }
.fl-filter__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.woocommerce-result-count { margin: 0; font-size: 15px; color: var(--fl-text-muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, select.orderby { height: 44px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); padding: 0 36px 0 12px; font-size: 15px; color: var(--fl-cocoa); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2351382C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul.page-numbers { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { min-width: 44px; height: 44px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border-radius: var(--fl-pill); border: 1px solid var(--fl-line-strong); color: var(--fl-cocoa); text-decoration: none; }
.woocommerce-pagination .page-numbers span.current { background: var(--fl-primary); border-color: var(--fl-primary); color: #fff; font-weight: 600; }
.woocommerce-pagination .page-numbers a:hover { border-color: var(--fl-cocoa); }
.fl-empty { background: var(--fl-cream); border-radius: var(--fl-radius); padding: 40px; text-align: center; }
@media (max-width: 900px) {
	.fl-archive { gap: 20px; padding-top: 20px; }
	.fl-archive__filters { max-width: none; flex-basis: 100%; }
	.fl-filters { border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius); }
	.fl-filters__toggle { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font-weight: 600; cursor: pointer; list-style: none; }
	.fl-filters__toggle::-webkit-details-marker { display: none; }
	.fl-filters__body { padding: 8px 16px 20px; }
}
@media (max-width: 600px) {
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fl-card__body { padding: 12px 12px 14px; }
	.fl-card__title { font-size: 14px; min-height: 40px; }
	.fl-card__price, .fl-card__price .price { font-size: 17px; }
	.fl-card__actions .button { font-size: 13px; padding: 0 8px; }
	.fl-shelf__track { grid-template-columns: none; }
}

/* ---------- Página do produto ---------- */
.fl-single { padding-block: 24px 24px; }
.fl-single div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 56px; margin-top: 20px; position: relative; }
.fl-single div.product > .onsale { top: 16px; left: 16px; z-index: 10; font-size: 13px; padding: 5px 12px; }
.fl-single div.product > .woocommerce-tabs, .fl-single div.product > .related, .fl-single div.product > .upsells, .fl-single div.product > section { grid-column: 1 / -1; }
.woocommerce-product-gallery { position: relative; margin: 0; height: auto !important; }
.woocommerce-product-gallery__wrapper { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--fl-line); background: var(--fl-white); }
/* Todas as fotos num quadro quadrado, inteiras e com respiro: sem espaço vazio quando as fotos têm formatos diferentes. */
.woocommerce-product-gallery__image { aspect-ratio: 1 / 1; background: var(--fl-white); display: flex !important; align-items: center; justify-content: center; }
.woocommerce-product-gallery__image > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; padding: 6%; }
.woocommerce-product-gallery__image img, .woocommerce-product-gallery__image .wp-post-image { width: 100% !important; height: 100% !important; object-fit: contain; }
.woocommerce-product-gallery .flex-viewport { border-radius: 18px; overflow: hidden; border: 1px solid var(--fl-line); }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { border: 0; border-radius: 0; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.woocommerce-product-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; background: var(--fl-white); border-radius: 12px; border: 1px solid var(--fl-line); cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--fl-primary); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--fl-cocoa); border-radius: 50%; margin: -3px 0 0 -3px; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--fl-cocoa); transform: rotate(-45deg); margin: 13px 0 0 13px; }
.summary.entry-summary { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.summary .product_title { margin: 0; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.fl-single__brand { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-text-soft); }
.fl-single__sku { margin: -6px 0 0; font-size: 13px; color: var(--fl-text-soft); }
.summary .price { font-size: 34px; margin: 0; }
.summary .price del { font-size: 16px; }
.summary .woocommerce-product-details__short-description { color: var(--fl-text-muted); }
.summary .woocommerce-product-details__short-description p:last-child { margin: 0; }
.summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0; }
.summary form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 54px; font-size: 16px; }
.summary form.variations_form { display: block; }
.summary form.variations_form .single_variation_wrap { margin-top: 12px; }
.summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.summary .woocommerce-variation-price .price { font-size: 28px; margin-bottom: 8px; }
.summary .woocommerce-variation-availability p { margin: 0 0 8px; font-size: 14px; }
table.variations { border: 0; border-collapse: collapse; margin: 0 0 4px; width: 100%; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th.label { padding-bottom: 8px; font-weight: 600; font-size: 15px; }
table.variations td.value { padding-bottom: 12px; }
table.variations select { height: 48px; min-width: 220px; max-width: 100%; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); padding: 0 40px 0 14px; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2351382C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; }
.reset_variations { display: inline-block; margin-left: 12px; font-size: 13px; }
.stock { font-size: 14px; margin: 0; }
.stock.out-of-stock { color: var(--fl-error); font-weight: 600; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-pill); height: 54px; background: #fff; }
.quantity .qty { width: 46px; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 600; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fl-qty__btn { width: 44px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--fl-cocoa); border-radius: var(--fl-pill); }
.fl-qty__btn:hover { color: var(--fl-primary); }

/* Frete */
.fl-frete { background: var(--fl-cream); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fl-frete__label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.fl-frete__label .fl-icon { color: var(--fl-primary); }
.fl-frete__row { display: flex; gap: 10px; flex-wrap: wrap; }
.fl-frete__input { flex: 1 1 160px; height: 46px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); padding: 0 14px; font-size: 15px; background: #fff; }
.fl-frete__btn { min-height: 46px; border-radius: var(--fl-radius-sm); }
.fl-frete__help { font-size: 13px; color: var(--fl-text-muted); align-self: flex-start; }
.fl-frete__result:empty { display: none; }
.fl-frete__list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 12px; border: 1px solid var(--fl-line); }
.fl-frete__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #F3ECE8; font-size: 15px; }
.fl-frete__list li:last-child { border-bottom: 0; }
.fl-frete__name { font-weight: 500; }
.fl-frete__days { color: var(--fl-text-muted); font-weight: 400; }
.fl-frete__price { font-weight: 600; white-space: nowrap; }
.fl-frete__note, .fl-frete__msg { margin: 8px 0 0; font-size: 13px; color: var(--fl-text-muted); }
.fl-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--fl-text-muted); }
.fl-trust li { display: flex; align-items: center; gap: 8px; }
.fl-trust .fl-icon { color: var(--fl-primary); }

/* Abas */
.woocommerce-tabs { margin-top: 40px; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; border-bottom: 1px solid var(--fl-line); overflow-x: auto; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; min-height: 48px; line-height: 48px; padding: 0 18px; font-size: 16px; font-weight: 600; color: var(--fl-text-muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--fl-primary); border-bottom-color: var(--fl-primary); }
.woocommerce-Tabs-panel { max-width: 780px; padding-top: 24px; font-size: 16px; line-height: 1.75; }
.woocommerce-product-attributes { width: 100%; max-width: 560px; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 12px 0; border-bottom: 1px solid #F3ECE8; font-weight: 400; vertical-align: top; }
.woocommerce-product-attributes th { color: var(--fl-text-muted); width: 40%; }
.woocommerce-product-attributes td p { margin: 0; }
.related.products, .upsells.products { margin-top: 48px; background: var(--fl-cream); border-radius: 20px; padding: 36px; }
.related.products > h2, .upsells.products > h2 { margin-bottom: 24px; }
@media (min-width: 901px) { .related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.fl-single div.product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.summary .price { font-size: 28px; }
	.related.products, .upsells.products { padding: 24px 16px; margin-inline: calc(var(--fl-gutter) * -1); border-radius: 0; }
}

/* ---------- Avisos ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .fl-notice { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: var(--fl-cream); border-left: 0; color: var(--fl-cocoa); }
.woocommerce-message, .fl-notice--success { background: #EEF3EC; color: #2E5137; }
.woocommerce-error, .fl-notice--error { background: #F8E9E6; color: #7E2A1F; flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 0 18px; font-size: 14px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

/* ---------- Formulários (checkout, conta, contato) ---------- */
.form-row, .fl-form__field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label, .fl-form__field label { font-size: 14px; font-weight: 500; }
.form-row .required { color: var(--fl-primary); text-decoration: none; border: 0; }
.form-row .optional { color: var(--fl-text-soft); font-weight: 400; }
.input-text, .form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row input[type="password"], .form-row input[type="number"], .form-row select, .form-row textarea, .fl-form input[type="text"], .fl-form input[type="email"], .fl-form textarea, #coupon_code {
	width: 100%; min-height: 48px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); padding: 10px 14px; font-size: 16px; background: #fff; color: var(--fl-cocoa); transition: border-color .2s, box-shadow .2s;
}
textarea.input-text, .fl-form textarea { min-height: 120px; resize: vertical; }
.input-text:focus, .form-row select:focus, .fl-form input:focus, .fl-form textarea:focus, #coupon_code:focus { outline: none; border-color: var(--fl-primary); box-shadow: 0 0 0 3px rgba(156, 95, 92, .15); }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--fl-error); }
.form-row .description { font-size: 13px; color: var(--fl-text-muted); margin: 0; }
.form-row.fl-loading::after { content: "Buscando endereço…"; font-size: 13px; color: var(--fl-text-muted); }
.form-row-first, .form-row-last { width: calc(50% - 8px); display: inline-flex; vertical-align: top; }
.form-row-first { margin-right: 12px; }
.form-row-wide { width: 100%; }
.woocommerce-form__label-for-checkbox, .woocommerce-form__label-for-checkbox span { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--fl-primary); width: 18px; height: 18px; }
.select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-radius-sm); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; color: var(--fl-cocoa); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.select2-dropdown { border-color: var(--fl-line-strong); border-radius: var(--fl-radius-sm); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--fl-primary); }
@media (max-width: 600px) { .form-row-first, .form-row-last { width: 100%; margin-right: 0; } .woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-address-fields__field-wrapper .form-row { flex-basis: 100% !important; } }
.fl-form { max-width: 720px; }
.fl-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.fl-form__consent { font-size: 13px; color: var(--fl-text-muted); }
.fl-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Páginas e textos ---------- */
.fl-page { padding-block: 40px 24px; }
.fl-prose { max-width: 780px; font-size: 17px; line-height: 1.75; }
.fl-prose--wide { max-width: none; font-size: 16px; line-height: 1.6; }
.fl-prose h2 { margin-top: 1.6em; font-size: 30px; }
.fl-prose h3 { margin-top: 1.4em; }
.fl-prose ul, .fl-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.fl-prose li { margin-bottom: .35em; }
.fl-prose .has-large-font-size { font-size: 21px; line-height: 1.6; color: var(--fl-cocoa); }
.fl-prose table { width: 100%; border-collapse: collapse; }
.fl-postitem { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--fl-line); }
.fl-404 { text-align: center; padding-block: 64px 24px; max-width: 640px; }
.fl-404__ring { margin: 0 auto 20px; width: 160px; }
.fl-404__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Carrinho ---------- */
.woocommerce-cart .fl-prose--wide > .woocommerce, .woocommerce-checkout .fl-prose--wide > .woocommerce { display: block; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); overflow: hidden; margin: 0 0 24px; font-size: 15px; }
table.shop_table th, table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--fl-line); vertical-align: middle; }
table.shop_table thead th { background: var(--fl-cream); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
table.shop_table tr:last-child > * { border-bottom: 0; }
table.cart .product-thumbnail img { width: 84px; height: 84px; object-fit: contain; padding: 4px; background: #fff; border-radius: 10px; border: 1px solid var(--fl-line); }
table.cart .product-name a { color: var(--fl-cocoa); text-decoration: none; font-weight: 500; }
table.cart .product-remove a.remove { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: var(--fl-text-muted); text-decoration: none; font-size: 22px; }
table.cart .product-remove a.remove:hover { background: #F8E9E6; color: var(--fl-error); }
table.cart .quantity { height: 44px; }
table.cart td.actions { background: var(--fl-cream); }
table.cart td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
table.cart td.actions .coupon label { position: absolute; left: -9999px; }
table.cart td.actions .coupon #coupon_code { width: 200px; min-height: 44px; }
table.cart td.actions > .button { float: right; }
table.cart td.actions .button { min-height: 44px; background: var(--fl-cocoa); }
table.cart td.actions .button:hover { background: #3B281F; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 460px; }
.cart_totals h2 { font-size: 28px; }
.cart_totals table.shop_table th { width: 40%; font-weight: 500; }
.cart_totals .order-total .amount { font-size: 22px; color: var(--fl-primary); }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.woocommerce-shipping-calculator .shipping-calculator-button { font-size: 14px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
.cart-empty.woocommerce-info { justify-content: center; font-size: 17px; }
.return-to-shop { text-align: center; }
@media (max-width: 700px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--fl-line); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 10px 14px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title) ": "; font-weight: 600; text-align: left; }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { display: none; }
	table.cart td.product-thumbnail { justify-content: center; }
	table.cart td.actions { display: block; text-align: left; }
	table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }
	table.cart td.actions .coupon #coupon_code { width: 100%; }
	table.cart td.actions .coupon { display: flex; }
}

/* ---------- Checkout ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 48px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup, form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 1; }
form.checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; min-width: 0; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 28px; }
form.checkout #order_review { grid-column: 2; grid-row: 3; background: var(--fl-cream); border-radius: 18px; padding: 24px; position: sticky; top: 24px; }
.col2-set { display: block; width: 100%; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; max-width: none; }
.col2-set h3 { font-size: 26px; margin: 8px 0 16px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 16px; }
.woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-address-fields__field-wrapper .form-row { flex: 1 1 100%; width: auto; margin-right: 0; }
.woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-billing-fields__field-wrapper .form-row-last, .woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce-shipping-fields__field-wrapper .form-row-last, .woocommerce-address-fields__field-wrapper .form-row-first, .woocommerce-address-fields__field-wrapper .form-row-last { flex: 1 1 calc(50% - 8px); }
#ship-to-different-address { font-family: var(--fl-font); font-size: 16px; font-weight: 500; }
#order_review table.shop_table { background: #fff; }
#order_review .order-total .amount { font-size: 22px; color: var(--fl-primary); }
#payment { margin-top: 8px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#payment ul.payment_methods li { background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 14px 16px; }
#payment ul.payment_methods li > label { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
#payment ul.payment_methods li img { display: inline; max-height: 24px; width: auto; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--fl-text-muted); }
#payment .payment_box p:last-child { margin: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; margin-bottom: 14px; }
.woocommerce-privacy-policy-text p { font-size: 13px; color: var(--fl-text-muted); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { background: var(--fl-cream); }
form.checkout_coupon, form.woocommerce-form-login { border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 20px; margin-bottom: 24px; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	form.checkout > .woocommerce-NoticeGroup, form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; }
	form.checkout #order_review { position: static; padding: 18px; }
}

/* Pedido recebido */
.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received { font-family: var(--fl-font-display); font-size: 30px; line-height: 1.2; }
ul.woocommerce-order-overview { list-style: none; padding: 20px; margin: 0 0 32px; background: var(--fl-cream); border-radius: var(--fl-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fl-text-muted); }
ul.woocommerce-order-overview strong { display: block; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--fl-cocoa); margin-top: 4px; }

/* ---------- Minha conta ---------- */
.woocommerce-account .fl-prose--wide > .woocommerce { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-MyAccount-navigation { flex: 1 1 220px; max-width: 280px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--fl-cocoa); text-decoration: none; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--fl-cream); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--fl-blush); color: var(--fl-primary-dark); font-weight: 600; }
.woocommerce-MyAccount-content { flex: 999 1 480px; min-width: 0; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.woocommerce-Address { border: 1px solid var(--fl-line); border-radius: var(--fl-radius); padding: 20px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-Address-title h2 { font-size: 24px; margin: 0; }
#customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; width: 100%; }
#customer_login .u-column1, #customer_login .u-column2 { border: 1px solid var(--fl-line); border-radius: 18px; padding: 28px; }
#customer_login h2 { font-size: 30px; }
.woocommerce-form-login__rememberme { margin-bottom: 12px; }
.woocommerce-LostPassword { font-size: 14px; }
.woocommerce-account:not(.logged-in) .fl-prose--wide > .woocommerce { display: block; }
@media (max-width: 700px) { .woocommerce-MyAccount-navigation { max-width: none; } }

/* Carregamento (blockUI do WooCommerce) */
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Mostrar senha (formulários de login) */
.password-input { position: relative; display: block; width: 100%; }
.password-input .input-text { padding-right: 48px; }
.show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2351382C' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center; cursor: pointer; font-size: 0; }
.show-password-input.display-password { opacity: .55; }

/* Carrinho: com JavaScript, o total recalcula sozinho; o botão "Atualizar carrinho" fica escondido. */
.fl-js table.cart td.actions > button[name="update_cart"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; min-height: 0; }

/* Criar conta no checkout */
.woocommerce-account-fields { margin-top: 8px; padding: 16px; background: var(--fl-cream); border-radius: var(--fl-radius-sm); }
.woocommerce-account-fields .create-account { margin: 0; }
.woocommerce-account-fields p.create-account label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.woocommerce-account-fields div.create-account { margin-top: 12px; }
.woocommerce-form-register p:not(.form-row) { font-size: 14px; color: var(--fl-text-muted); }
#customer_login form.woocommerce-form-login, #customer_login form.woocommerce-form-register { border: 0; padding: 0; margin: 0; }
#customer_login h2 { margin-top: 0; }

/* Campo País escondido (só Brasil) */
.fl-hidden-field { display: none !important; }

/* Pedido recebido: textos longos (e-mail) quebram linha */
ul.woocommerce-order-overview { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
ul.woocommerce-order-overview li { min-width: 0; overflow-wrap: anywhere; }

/* Filtro de categorias: 3º nível */
.fl-filter__cats li.is-open > a { font-weight: 600; }
.fl-filter__subcats { list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px; border-left: 1px solid var(--fl-line); }
.fl-filter__subcats a { font-size: 14px; padding: 5px 0; }
