/* Loja Consumos da Martina */
:root {
  /* WOMM · paleta da marca */
  --sage: #557570;          /* verde sálvia: apoio, rodapé, faixa */
  --sage-deep: #3E5753;
  --terracotta: #A2543D;    /* ação principal */
  --terracotta-deep: #7E3E2C;
  --blush: #D39A89;         /* bordas ativas, foco */
  --mist: #D6DCD8;          /* neutro frio */
  --peach: #F7D1BA;         /* superfícies suaves */
  --clay: #CE7E5D;          /* destaque decorativo (símbolo) */
  --cream: #F8F3EE;         /* fundo */
  /* papéis */
  --accent: var(--terracotta);
  --accent-deep: var(--terracotta-deep);
  --accent-line: var(--blush);
  --accent-soft: var(--peach);
  --accent-faint: #FBF0E8;
  --ink: #3A2620;
  --ink-2: #6F5A52;
  --line: #E8DDD5;
  --bg: var(--cream);
  --surface: #FFFFFF;
  --ok: #3F6B5F;
  --warn: #9A5B12;
  --bad: #A8322A;
  --info: #3F5F7A;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 8px 28px rgba(58, 38, 32, .08);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; color: var(--ink); text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: .4em 0 .5em; }
h2 { font-size: 1.5rem; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 1080px; }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--surface); border: 0; border-radius: var(--radius); padding: 12px 24px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; min-height: 44px; }
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: var(--mist); color: var(--ink-2); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--accent-deep); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: .74rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-buy { background: var(--accent); font-size: .86rem; }
.link-btn { background: none; border: 0; color: var(--accent-deep); cursor: pointer; text-decoration: underline; padding: 4px; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 8px; }

/* Topo */
.announce { background: var(--sage); color: var(--cream); text-align: center; font-size: .74rem; padding: 8px 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.logo img { width: 132px; height: auto; }
.search { flex: 1; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; min-width: 0; outline: none; }
.search button { border: 0; background: transparent; padding: 0 16px; color: var(--accent-deep); cursor: pointer; }
.search-big { max-width: 520px; margin: 16px auto; }
.header-actions { display: flex; gap: 6px; }
.action { display: flex; align-items: center; gap: 6px; color: var(--ink); padding: 8px 10px; border-radius: var(--radius); position: relative; font-weight: 400; font-size: .88rem; }
.action:hover { background: var(--accent-faint); text-decoration: none; }
.cart-count { position: absolute; top: -2px; left: 22px; background: var(--accent); color: var(--surface); font-size: .7rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; }

/* Menu */
.mainnav { border-top: 1px solid var(--line); background: var(--bg); }
.mainnav-head { display: none; }
.nav-l1 { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 auto; padding-top: 2px; padding-bottom: 2px; }
.nav-l1 > li > a { display: block; padding: 10px 10px; color: var(--ink); font-weight: 400; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius); }
.nav-l1 > li > a:hover, .nav-l1 > li:focus-within > a { color: var(--accent-deep); background: var(--accent-faint); text-decoration: none; }
.sub-toggle { display: none; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); max-height: 70vh; overflow: auto; }
.nav-l1 > li.has-kids:hover > .mega, .nav-l1 > li.has-kids:focus-within > .mega { display: block; }
.mega-inner { max-width: 1240px; margin: 0 auto; padding: 18px 16px 24px; }
.mega-all { font-weight: 700; display: inline-block; margin-bottom: 10px; }
.mega-cols { list-style: none; padding: 0; margin: 0; columns: 5 190px; column-gap: 24px; }
.mega-cols > li { break-inside: avoid; margin-bottom: 12px; }
.mega-l2 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.mega-cols ul { list-style: none; padding: 2px 0 0; margin: 0; }
.mega-cols ul a { color: var(--ink-2); font-size: .88rem; line-height: 1.8; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(58, 38, 32, .45); z-index: 49; }

/* Flash */
.flashes { padding-top: 12px; }
.flash { border-radius: 10px; padding: 10px 14px; margin: 8px 0; font-weight: 600; }
.flash-ok { background: #E3ECE8; color: var(--ok); }
.flash-error { background: #fdecea; color: var(--bad); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--accent-faint); }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { flex: 0 0 100%; }
.hero-slide img { width: 100%; max-height: 480px; object-fit: cover; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(248, 243, 238, .9); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; color: var(--accent-deep); cursor: pointer; box-shadow: var(--shadow); }
.hero-nav.prev { left: 14px; }
.hero-nav.next { right: 14px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(248, 243, 238, .8); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--accent); width: 26px; border-radius: 5px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.perks div { background: transparent; border-top: 1px solid var(--accent-line); padding: 14px 4px 4px; display: flex; flex-direction: column; }
.perks strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.perks span { font-size: .85rem; color: var(--ink-2); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.departments { margin-top: 28px; }
.dep-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dep-grid a, .subcats a, .brand-chips a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; color: var(--ink); font-weight: 400; font-size: .86rem; }
.dep-grid a:hover, .subcats a:hover, .brand-chips a:hover { border-color: var(--accent-line); color: var(--accent-deep); text-decoration: none; }
.shelf { margin-top: 34px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.strips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 30px; }
.strips img { border-radius: var(--radius); }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brands-strip { margin-top: 34px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.grid-scroll { grid-auto-flow: column; grid-auto-columns: minmax(190px, 210px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.grid-scroll > * { scroll-snap-align: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link { color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-img { position: relative; aspect-ratio: 1; background: var(--surface); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-out .card-img img { opacity: .5; }
.tag { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .06em; border-radius: var(--radius); padding: 3px 8px; }
.tag-sale { background: var(--accent); color: var(--surface); }
.tag-out { background: var(--ink-2); color: var(--surface); top: auto; bottom: 10px; }
.card-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); font-weight: 500; }
.card-name { font-family: var(--font); font-size: .9rem; font-weight: 400; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: auto; display: flex; flex-direction: column; }
.card-price s { color: var(--ink-2); font-size: .8rem; }
.card-price strong { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.card-price small { font-weight: 400; font-size: .75rem; color: var(--ink-2); }
.card-inst { font-size: .78rem; color: var(--ink-2); }

/* Listagem */
.crumbs { font-size: .85rem; color: var(--ink-2); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.list-intro { color: var(--ink-2); max-width: 820px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.list-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.list-layout.no-side { grid-template-columns: 1fr; }
.filters { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.filters summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; font-family: var(--display); }
.filters ul { list-style: none; padding: 0; margin: 8px 0 0; }
.filters li { font-size: .88rem; padding: 2px 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 16px; padding: 10px 12px; background: var(--accent-faint); border-radius: var(--radius); font-size: .88rem; }
.toolbar select, .toolbar input[type=number] { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 8px; background: var(--surface); }
.toolbar input[type=number] { width: 80px; }
.price-range { display: flex; align-items: center; gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0; }
.pager a, .pager span { padding: 8px 13px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); }
.pager .current { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.empty { text-align: center; padding: 40px 16px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.letters a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--display); font-size: 1.1rem; }
.letter-group ul { columns: 4 200px; list-style: none; padding: 0; }
.letter-group li { padding: 3px 0; break-inside: avoid; }

/* Produto */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; margin-top: 10px; }
.gallery-main { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; background: var(--surface); cursor: pointer; flex: 0 0 72px; }
.thumbs button.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pdp-brand { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: .76rem; color: var(--sage); }
.pdp-name { margin-top: 4px; }
.pdp-price { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 18px; }
.pdp-price s { color: var(--ink-2); }
.pdp-price strong { font-size: 2.2rem; font-weight: 600; font-family: var(--display); color: var(--ink); }
.pix-line { color: var(--ok); }
.variants { border: 0; padding: 0; margin: 0 0 16px; }
.variants legend { font-weight: 600; margin-bottom: 8px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; font-size: .9rem; min-height: 40px; }
.variant.on { border-color: var(--accent); background: var(--accent-faint); box-shadow: inset 0 0 0 1px var(--accent); }
.variant.off { color: #B4A49C; text-decoration: line-through; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn-buy { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.qty button { border: 0; background: var(--surface); width: 38px; height: 44px; font-size: 1.2rem; cursor: pointer; color: var(--accent-deep); }
.qty input { width: 44px; text-align: center; border: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm input { width: 56px; padding: 8px 4px; }
.out-msg { color: var(--bad); font-size: .9rem; }
.pdp-info { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .92rem; }
.ship-calc label { font-weight: 600; display: block; margin-bottom: 6px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.ship-result ul { list-style: none; padding: 0; margin: 10px 0 0; }
.ship-result li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.fav-btn { margin-top: 14px; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; color: var(--ink-2); }
.fav-btn.on { color: var(--accent); border-color: var(--accent-line); }
.pdp-desc { margin-top: 36px; max-width: 900px; }
.rich { line-height: 1.7; }
.rich img { margin: 10px 0; border-radius: 10px; }
.rich table { border-collapse: collapse; }
.rich td, .rich th { border: 1px solid var(--line); padding: 6px; }

/* Carrinho / checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { border-radius: var(--radius); border: 1px solid var(--line); object-fit: contain; background: var(--surface); }
.line-info { display: flex; flex-direction: column; gap: 2px; }
.line-off { opacity: .55; }
.line-total { font-weight: 700; text-align: right; display: flex; flex-direction: column; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 130px; }
.summary h2 { margin-top: 0; }
.coupon, .ship-calc { margin-bottom: 14px; }
.coupon label { font-weight: 600; display: block; margin-bottom: 6px; }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .disc { color: var(--ok); }
.totals .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.15rem; }
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.co-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.co-step h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.co-step h2 span { background: var(--accent); color: var(--surface); font-family: var(--font); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.fields .full { grid-column: 1 / -1; }
.fields .span2 { grid-column: span 2; }
label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; font-weight: 500; }
label.check { flex-direction: row; font-weight: 400; margin: 6px 0; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); font-weight: 400; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.ship-options, .pay-options { display: grid; gap: 8px; }
.ship-opt, .pay-option { flex-direction: row; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 12px 14px; cursor: pointer; font-weight: 400; }
.ship-opt:has(input:checked), .pay-option:has(input:checked) { border-color: var(--accent); background: var(--accent-faint); box-shadow: inset 0 0 0 1px var(--accent); }
.ship-opt span, .pay-option span { display: flex; flex-direction: column; flex: 1; }
.ship-opt small, .pay-option small { color: var(--ink-2); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: .88rem; }
.mini-lines img { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); object-fit: contain; }
.mini-lines small { display: block; color: var(--ink-2); }
.co-coupon { max-width: 420px; }

/* Pedido */
.order-hero { background: var(--accent-faint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; }
.order-hero h1 { margin-top: 0; }
.pay-box { background: var(--surface); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 18px; margin: 18px 0; text-align: center; }
.pay-box img { margin: 10px auto; }
.copy-row { display: flex; gap: 8px; max-width: 520px; margin: 10px auto; }
.bank { text-align: left; background: var(--accent-faint); padding: 12px; border-radius: var(--radius); white-space: pre-wrap; font-family: inherit; display: inline-block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.badge { display: inline-block; border-radius: var(--radius); padding: 3px 9px; font-size: .74rem; font-weight: 500; letter-spacing: .04em; }
.badge-ok { background: #E3ECE8; color: var(--ok); }
.badge-warn { background: #fff4e0; color: var(--warn); }
.badge-bad { background: #fdecea; color: var(--bad); }
.badge-info { background: #e8f1fb; color: var(--info); }

/* Conta / formulários */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin-top: 20px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.form-card.soft { background: var(--accent-faint); }
.form-card h1, .form-card h2 { margin: 0; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 500; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--accent-deep); border-color: var(--accent); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.addr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }

/* Newsletter e rodapé */
.newsletter { background: var(--accent-soft); margin-top: 50px; padding: 28px 0; }
.newsletter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter h2 { margin: 0; font-size: 1.9rem; }
.newsletter p { margin: 4px 0 0; color: var(--ink-2); }
.newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.site-footer { background: var(--sage-deep); color: var(--cream); padding: 44px 0 20px; }
.site-footer a { color: var(--cream); }
.site-footer h3 { color: var(--cream); font-family: var(--font); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 16px; }
.site-footer li { padding: 3px 0; font-size: .9rem; }
.site-footer .muted { color: #CFDAD6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid img { margin-bottom: 10px; }
.socials { display: flex; gap: 10px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { border: 1px solid rgba(248, 243, 238, .3); border-radius: 6px; padding: 2px 8px; font-size: .78rem; }
.footer-legal { border-top: 1px solid rgba(248, 243, 238, .18); margin-top: 18px; padding-top: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: #CFDAD6; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); z-index: 30; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: var(--radius); z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast a { color: var(--peach); font-weight: 700; margin-left: 8px; }

/* Responsivo */
@media (max-width: 1000px) {
  .pdp, .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters details:not([open]) { }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .header-row { flex-wrap: wrap; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .logo img { width: 120px; }
  .search { order: 5; flex-basis: 100%; }
  .action-text { display: none; }
  .header-actions { margin-left: auto; }
  .mainnav { background: var(--bg); position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); z-index: 50; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; border: 0; box-shadow: var(--shadow); }
  .mainnav.open { transform: none; }
  .mainnav-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
  .nav-l1 { display: block; padding: 0; }
  .nav-l1 > li { position: relative; border-bottom: 1px solid var(--line); }
  .nav-l1 > li > a { padding: 13px 52px 13px 16px; font-size: .95rem; }
  .sub-toggle { display: block; position: absolute; right: 6px; top: 4px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.3rem; color: var(--accent-deep); cursor: pointer; }
  .mega { position: static; box-shadow: none; border: 0; max-height: none; }
  .nav-l1 > li.has-kids:hover > .mega, .nav-l1 > li.has-kids:focus-within > .mega { display: none; }
  .nav-l1 > li.expanded > .mega { display: block; }
  .mega-inner { padding: 4px 16px 14px; }
  .mega-cols { columns: 1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-scroll { grid-template-columns: none; grid-auto-columns: 46%; }
  .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .perks div { padding: 10px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .span2 { grid-column: 1 / -1; }
  .cart-line { grid-template-columns: 64px 1fr auto; grid-template-areas: 'img info info' 'img qty total' 'img rm rm'; gap: 6px 10px; }
  .cart-line > a { grid-area: img; }
  .cart-line img { width: 64px; height: 64px; }
  .line-info { grid-area: info; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; }
  .cart-line .link-btn { grid-area: rm; justify-self: start; }
  .two-col, .auth { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-slide img { max-height: 260px; }
  .hero-nav { display: none; }
  .buy-row { flex-direction: column; }
  .buy-row .qty { align-self: flex-start; }
  .pdp-price strong { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Ajustes: rótulos em linha onde o padrão em coluna não serve */
.filters label, label.qty, .toolbar label, .price-range { flex-direction: row; align-items: center; font-weight: 400; }
.toolbar label { gap: 6px; }
.filters label { gap: 6px; align-items: flex-start; }
.filters input[type=checkbox] { margin-top: 3px; }
.list-layout > *, .pdp > *, .cart-layout > *, .checkout > *, .co-main { min-width: 0; }
.header-row > * { min-width: 0; }
@media (max-width: 760px) {
  .filters details:not([data-keep]) > ul { max-height: 260px; overflow: auto; }
  .toolbar { gap: 8px 12px; }
  .toolbar input[type=number] { width: 70px; }
}

/* Abertura da home quando não há banner cadastrado: a marca em destaque */
.brand-hero { background: var(--peach); }
.brand-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 56px; }
.brand-hero .eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 14px; }
.brand-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 16px; line-height: 1.02; }
.brand-hero h1 em { font-style: italic; color: var(--accent); }
.brand-hero p.lead { max-width: 46ch; color: var(--ink-2); font-size: 1.05rem; margin: 0 0 24px; }
.brand-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-hero-art { position: relative; aspect-ratio: 1; max-width: 360px; justify-self: center; width: 100%; }
.brand-hero-art span { position: absolute; border-radius: 50%; }
.brand-hero-art .c1 { inset: 8% 18% 18% 8%; background: var(--clay); }
.brand-hero-art .c2 { width: 42%; height: 42%; right: 4%; bottom: 4%; background: var(--sage); }
.brand-hero-art .c3 { width: 20%; height: 20%; right: 22%; top: 4%; border: 1px solid var(--accent); }
@media (max-width: 760px) {
  .brand-hero-inner { grid-template-columns: 1fr; padding-block: 36px; }
  .brand-hero-art { max-width: 220px; order: -1; }
}
