/* ==========================================================================
   Clássica Essencial — estilos do tema
   1. Tokens  2. Base  3. Componentes  4. Header/Footer  5. Home
   6. Catálogo/Produto  7. Carrinho/Checkout/Conta  8. Utilidades
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter";    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");    font-weight: 100 900; font-display: swap; }

:root {
  --verde: #234C40;
  --verde-escuro: #1a3a31;
  --salvia: #DDE8CF;
  --salvia-claro: #EEF3E6;
  --off: #F7F5EF;
  --grafite: #292D2A;
  --cinza: #6a706b;
  --linha: #e3e1d8;
  --branco: #fff;
  --oferta: #B8412B;
  --ouro: #C9A24B;
  --ok: #2f7a4f;
  --erro: #b3261e;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --sombra: 0 1px 2px rgba(41,45,42,.05), 0 8px 24px rgba(41,45,42,.06);
  --max: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--off); color: var(--grafite); font: 400 16px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--verde); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 999; }
.skip-link:focus { left: 8px; }
.container { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(32px, 6vw, 72px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }
.link-more { font-weight: 600; font-size: .95rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* 3. COMPONENTES ----------------------------------------------------------- */
.btn, .button, button.button, a.button, input[type=submit].button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  background: var(--verde); color: #fff; border: 0; border-radius: var(--r-pill); font: 600 .98rem var(--f-ui);
  text-decoration: none; cursor: pointer; transition: background .15s, transform .1s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--verde-escuro); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn--ghost:hover { background: var(--verde); color: #fff; }
.btn--light { background: #fff; color: var(--verde); }
.btn--light:hover { background: var(--salvia); color: var(--verde); }
.btn--block { width: 100%; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.button.checkout-button { background: var(--verde); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled { opacity: .5; }

.pills { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: var(--r-pill); border: 1.5px solid var(--linha); background: transparent; color: var(--grafite); text-decoration: none; font-weight: 500; transition: .15s; }
.pill:hover { border-color: var(--verde); }
.pill.is-active, .pill[aria-current=true] { background: var(--verde); border-color: var(--verde); color: #fff; }

.badge { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: var(--oferta); color: #fff; font: 700 .72rem/1.2 var(--f-ui); letter-spacing: .02em; }
.badge--verde { background: var(--salvia); color: var(--verde); }

.stars { color: var(--ouro); letter-spacing: 2px; font-size: .95rem; }

/* Campos */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], select, textarea, .select2-container--default .select2-selection--single {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #fff; border: 1.5px solid var(--linha); border-radius: var(--r-md); font: inherit; color: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--verde); outline: none; box-shadow: 0 0 0 3px rgba(35,76,64,.15); }
label { font-weight: 500; font-size: .92rem; }

/* 4. HEADER / FOOTER ------------------------------------------------------- */
.topbar { background: var(--verde); color: #fff; font-size: .85rem; text-align: center; padding: 8px var(--gut); }
.topbar a { color: #fff; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-stuck { border-color: var(--linha); }
.site-header__row { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr) minmax(150px, auto); align-items: center; gap: 28px; min-height: 84px; }
.site-header__brand { display: flex; align-items: center; gap: 10px; }
.site-header__navrow { padding-bottom: 10px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--verde); }
.logo__main { font: 600 1.55rem/1 var(--f-display); letter-spacing: -.02em; }
.logo__sub { font: 600 .62rem/1 var(--f-ui); letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--cinza); }
.nav { display: flex; justify-content: center; gap: 4px; }
.nav a { padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current=page] { background: var(--salvia-claro); color: var(--verde); }
.nav a.nav__ofertas { color: var(--oferta); font-weight: 700; }
.header-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.icon-btn { position: relative; width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--linha); background: transparent; color: var(--grafite); cursor: pointer; text-decoration: none; transition: .15s; }
.icon-btn:hover { border-color: var(--verde); color: var(--verde); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--verde); color: #fff; font: 700 .7rem var(--f-ui); }
.cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }

.search { position: relative; width: 100%; max-width: 640px; justify-self: center; }
.search__form { position: relative; display: flex; align-items: center; margin: 0; }
.search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--cinza); display: grid; pointer-events: none; }
.search__icon svg, .search__submit-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search__form input[type=search] { width: 100%; height: 52px; padding: 0 118px 0 48px; border-radius: var(--r-pill); border: 1.5px solid var(--linha); background: #fff; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.search__form input[type=search]:focus { border-color: var(--verde); outline: 3px solid rgba(35,76,64,.15); outline-offset: 0; }
.search__form input[type=search]::-webkit-search-cancel-button { display: none; }
.search__submit { position: absolute; right: 6px; top: 6px; height: 40px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--verde); color: #fff; font: 600 .95rem var(--f-ui); cursor: pointer; transition: background .15s; }
.search__submit:hover { background: #1b3b31; }
.search__submit-icon { display: none; }
.search__panel { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra), 0 0 0 1px var(--linha); padding: 10px; z-index: 60; }
.search.is-open .search__panel { display: block; }
.search__results { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.search__results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; }
.search__results a:hover, .search__results a:focus { background: var(--salvia-claro); }
.search__results img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--salvia-claro); }
.search__results .p { font-weight: 600; white-space: nowrap; }
.search__hint { color: var(--cinza); font-size: .9rem; padding: 8px; }

.site-footer { background: var(--verde); color: #e6efe4; margin-top: 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 32px; }
.footer__grid h3 { color: #fff; font: 600 .8rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__logo .logo__main { color: #fff; } .footer__logo .logo__sub { color: var(--salvia); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-block: 20px 28px; font-size: .84rem; color: #c3d2c0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.newsletter { display: grid; gap: 10px; }
.newsletter .row { display: flex; gap: 8px; }
.newsletter input[type=email] { border-color: transparent; }
.newsletter .consent { font-size: .8rem; color: #c3d2c0; display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.newsletter .consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--salvia); }
.newsletter .msg { font-size: .88rem; min-height: 1.3em; }

/* 5. HOME ------------------------------------------------------------------ */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(360px, 42vw, 520px); margin-top: 12px; }
.hero__text { padding: clamp(28px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.hero__eyebrow { font: 600 .78rem var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--verde); margin-bottom: 8px; }
.hero h1 { margin-bottom: 14px; }
.hero p { color: var(--cinza); font-size: 1.08rem; max-width: 46ch; margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; background: var(--salvia); display: grid; place-items: center; overflow: hidden; border-radius: var(--r-lg); margin: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .ph { width: 100%; height: 100%; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 28px 8px; }
.benefit { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--salvia-claro); }
.benefit svg { flex: none; width: 26px; height: 26px; stroke: var(--verde); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; font-size: .92rem; line-height: 1.25; }
.benefit span { font-size: .82rem; color: var(--cinza); }

.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile { text-decoration: none; text-align: center; }
.cat-tile__img { aspect-ratio: 1; border-radius: 50%; background: var(--salvia); display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; transition: transform .2s; font: 500 2rem var(--f-display); color: var(--verde); }
.cat-tile:hover .cat-tile__img { transform: translateY(-3px); }
.cat-tile span { font-weight: 500; font-size: .95rem; }

.flash { background: var(--verde); color: #fff; border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); }
.flash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.flash__title { display: flex; align-items: center; gap: 14px; }
.flash__title h2 { color: #fff; margin: 0; }
.flash__title .badge { background: var(--oferta); }
.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 58px; padding: 8px 6px; text-align: center; background: rgba(255,255,255,.12); border-radius: var(--r-md); }
.countdown b { display: block; font: 600 1.35rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--salvia); }
.flash .link-more { color: #fff; }

.promo-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; text-decoration: none; background: var(--salvia); color: var(--verde); }
.promo--escuro { background: var(--grafite); color: #fff; }
.promo h3 { font-size: 1.6rem; margin: 0; }
.promo p { margin: 0 0 8px; opacity: .85; }

/* 6. CATÁLOGO / PRODUTO ---------------------------------------------------- */
.page-head { padding-block: 28px 8px; }
.breadcrumb, .woocommerce-breadcrumb { font-size: .86rem; color: var(--cinza); margin-bottom: 10px; }
.breadcrumb a, .woocommerce-breadcrumb a { text-decoration: none; }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; padding-bottom: 48px; }
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.shop-toolbar select { width: auto; min-width: 220px; }
.filters { background: #fff; border-radius: var(--r-lg); padding: 20px; position: sticky; top: 96px; }
.filters h3 { font: 600 .8rem var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--cinza); }
.filters ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.filters a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; }
.filters a:hover, .filters .current-cat > a { background: var(--salvia-claro); color: var(--verde); font-weight: 600; }
.filters .count { color: var(--cinza); font-size: .82rem; }
.filter-toggle { display: none; }

ul.products, .product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop-layout ul.products { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; }
.woocommerce ul.products li.product, .product-card { width: auto !important; float: none !important; margin: 0 !important; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: 14px 14px 16px; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--salvia-claro); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__brand { margin-top: 12px; font: 600 .72rem var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--cinza); }
.product-card__title { font: 500 1.08rem/1.25 var(--f-display); margin: 4px 0 10px; min-height: 2.5em; }
.product-card__title a { text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.product-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.price { display: flex; flex-direction: column; font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.price del { color: var(--cinza); font-size: .85rem; font-weight: 400; }
.price ins { text-decoration: none; color: var(--grafite); }
.price .woocommerce-Price-amount { font-variant-numeric: tabular-nums; }
.price-pix { font-size: .78rem; color: var(--ok); font-weight: 500; }
.product-card__cta { position: relative; z-index: 2; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; border: 0; text-decoration: none; transition: background .15s, transform .1s; }
.product-card__cta:hover { background: var(--verde-escuro); color: #fff; }
.product-card__cta svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-card__cta.loading { opacity: .6; }
.product-card__cta.added { background: var(--ok); }
.product-card a.added_to_cart { display: none; }
.product-card--esgotado .product-card__media img { opacity: .55; }

.flash .product-card { background: #fff; color: var(--grafite); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail--4 { grid-auto-columns: calc((100% - 48px) / 4); }
ul.products.rail { grid-template-columns: none; grid-auto-flow: column; }
.cat-tile__img { max-width: 180px; margin-inline: auto; }

.single-product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); padding-block: 12px 56px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); background: var(--salvia-claro); }
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.7rem; flex-direction: row; align-items: baseline; gap: 10px; color: var(--grafite); }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 20px 0; }
.woocommerce .quantity .qty { width: 84px; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 180px; }
.buy-info { display: grid; gap: 10px; margin: 20px 0; padding: 18px; border-radius: var(--r-md); background: var(--salvia-claro); font-size: .93rem; }
.buy-info div { display: flex; gap: 10px; align-items: flex-start; }
.buy-info svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--verde); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; list-style: none; margin: 0 0 18px; border: 0; overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { border: 1.5px solid var(--linha) !important; border-radius: var(--r-pill) !important; background: transparent !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-tabs ul.tabs li a { padding: 10px 20px !important; display: block; text-decoration: none; font-weight: 500; }
.woocommerce-tabs ul.tabs li.active { background: var(--verde) !important; border-color: var(--verde) !important; }
.woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.related.products, .upsells.products { grid-column: 1 / -1; }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--verde); color: #fff; }

/* 7. CARRINHO / CHECKOUT / CONTA ------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px 14px 18px; border-radius: var(--r-md); border: 0; border-left: 4px solid var(--verde); background: var(--salvia-claro); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-left-color: var(--erro); background: #fbeceb; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; min-height: 38px; padding: 0 18px; }
.page-content { padding-block: 24px 64px; }
.page-content > .container > h1.entry-title { margin-bottom: 24px; }
.prose { max-width: 760px; } .prose h2 { margin-top: 1.6em; font-size: 1.5rem; }

.woocommerce table.shop_table { border: 0; border-collapse: separate; border-spacing: 0 10px; background: transparent; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; padding: 16px; background: #fff; vertical-align: middle; }
.woocommerce table.shop_table td:first-child, .woocommerce table.shop_table th:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.woocommerce table.shop_table td:last-child, .woocommerce table.shop_table th:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.woocommerce table.cart img { width: 72px; border-radius: 12px; }
.woocommerce a.remove { color: var(--cinza) !important; font-size: 1.4rem; }
.woocommerce a.remove:hover { background: var(--erro) !important; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 440px; margin-left: auto; background: #fff; padding: 24px; border-radius: var(--r-lg); }
.woocommerce .cart-collaterals .cart_totals table.shop_table { border-spacing: 0; }
.woocommerce .cart-collaterals .cart_totals table.shop_table th, .woocommerce .cart-collaterals .cart_totals table.shop_table td { padding: 10px 0; border-bottom: 1px solid var(--linha); }
.woocommerce .coupon { display: flex; gap: 8px; }
.woocommerce .coupon input { width: 200px; }

.woocommerce-checkout .col2-set { display: block; width: 100%; float: none; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.checkout-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.checkout-card { background: #fff; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); margin-bottom: 18px; }
.checkout-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.checkout-summary { position: sticky; top: 96px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; }
.woocommerce #payment { background: transparent; border-radius: 0; }
.woocommerce #payment ul.payment_methods { border: 0; padding: 0; display: grid; gap: 10px; }
.woocommerce #payment ul.payment_methods li { border: 1.5px solid var(--linha); border-radius: var(--r-md); padding: 14px 16px; background: #fff; list-style: none; }
.woocommerce #payment div.payment_box { background: var(--salvia-claro); border-radius: var(--r-sm); color: var(--grafite); }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce #place_order { width: 100%; min-height: 56px; font-size: 1.05rem; float: none; }
.woocommerce ul#shipping_method { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; }
.woocommerce ul#shipping_method li { padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: var(--r-sm); display: flex; gap: 8px; align-items: center; }
.assist-whats { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px dashed var(--linha); font-size: .92rem; color: var(--cinza); text-align: center; }
.assist-whats a { color: var(--verde); font-weight: 600; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 12px; background: #fff; border-radius: var(--r-lg); display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--salvia-claro); color: var(--verde); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 460px; margin-inline: auto; }

.empty-state { text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--r-lg); }
.empty-state h2 { margin-bottom: 8px; } .empty-state p { color: var(--cinza); }

/* 8. UTILIDADES / RESPONSIVO ----------------------------------------------- */
.ph { background: linear-gradient(135deg, var(--salvia) 0%, var(--salvia-claro) 100%); display: grid; place-items: center; color: var(--verde); font: 500 .8rem var(--f-ui); opacity: .95; }
.demo-note { font-size: .72rem; color: var(--cinza); text-align: center; padding: 6px; }

@media (max-width: 1100px) {
  ul.products, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout ul.products { grid-template-columns: repeat(2, 1fr); }
  .rail--4, ul.products.rail--4 { grid-auto-columns: calc((100% - 32px) / 3); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .site-header__row { grid-template-columns: 1fr auto; gap: 10px 12px; min-height: 0; padding-block: 10px 12px; }
  .site-header__brand { grid-row: 1; grid-column: 1; }
  .header-actions { grid-row: 1; grid-column: 2; }
  .search { grid-row: 2; grid-column: 1 / -1; max-width: none; }
  .search__form input[type=search] { height: 48px; padding-right: 64px; }
  .search__submit { width: 40px; padding: 0; display: grid; place-items: center; }
  .search__submit-label { display: none; }
  .search__submit-icon { display: grid; }
  .site-header__navrow { padding: 0; height: 0; }
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: var(--off); flex-direction: column; justify-content: flex-start; padding: 80px 20px 20px; transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 40px rgba(0,0,0,.15); z-index: 70; gap: 2px; }
  .nav { visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .25s; }
  .site-header { backdrop-filter: none; background: var(--off); }
  .nav a { font-size: 1.1rem; padding: 14px 16px; }
  .nav-close { position: absolute; top: 14px; right: 14px; }
  .header-actions .icon-btn--account { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: 220px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .promo-band { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex; }
  .single-product-grid, .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  ul.products, .product-grid, .shop-layout ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rail--4, .rail, ul.products.rail { grid-template-columns: none; grid-auto-columns: 62%; }
  .product-card { padding: 10px 10px 12px; border-radius: 18px; }
  .product-card__title { font-size: .98rem; }
  .product-card__cta { width: 42px; height: 42px; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 20px; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
  .section__head { align-items: start; flex-direction: column; gap: 4px; }
  .countdown div { min-width: 50px; }
  .woocommerce table.shop_table_responsive tr td::before { color: var(--cinza); }
  .benefit { padding: 12px; } .benefit span { display: none; }
}
