/* Visual da loja (clientes): claro e elegante, com tons de areia.
   Referências: Holy Home Store e catálogo Faenza. O painel não usa este arquivo. */
:root {
  --ink: #1d1b19;
  --sand: #d9ccbd;
  --sand-2: #c9b8a6;
  --sand-soft: #f5f0ea;
  --paper: #ffffff;
  --bg: #fbf9f6;
  --line: #ebe4da;
  --muted: #7a736b;
  --text: #1d1b19;
  --green: #1d1b19;
  --green-2: #3a3530;
  --gold: #a88a5c;
  --gold-soft: #f3ece2;
  --radius: 4px;
  --shadow: none;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.store { font-family: var(--sans); font-weight: 400; background: var(--bg); color: var(--ink); }
body.store a { color: var(--ink); }
body.store h1, body.store h2 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; }
body.store h1 { font-size: 34px; }
body.store h2 { font-size: 26px; }

/* Botões: retos, escuros, com letras espaçadas */
body.store .btn {
  border-radius: 2px; background: var(--ink); color: #fff; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; min-height: 42px; padding: 0 20px;
}
body.store .btn:hover { background: #3a3530; }
body.store .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
body.store .btn.ghost:hover { background: var(--sand-soft); }
body.store .btn.gold { background: var(--ink); }
body.store .btn.gold:hover { background: #3a3530; }
body.store input, body.store select, body.store textarea { border-radius: 2px; border-color: var(--line); }
body.store input:focus, body.store select:focus, body.store textarea:focus { outline: 2px solid var(--sand-2); outline-offset: 0; border-color: var(--sand-2); }
body.store a:focus-visible, body.store button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Faixa de aviso no topo */
.announce {
  background: var(--sand); color: #3f362c; text-align: center; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 8px 16px; font-weight: 500;
}

/* Cabeçalho: busca à esquerda, logo no centro, conta e sacola à direita */
body.store .top { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
body.store .top .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 92px; flex-wrap: nowrap;
}
body.store .logo { color: var(--ink); align-items: center; text-align: center; grid-column: 2; grid-row: 1; }
body.store .logo b { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: 0.18em; line-height: 1; padding-left: 0.18em; }
body.store .logo span { color: var(--muted); font-size: 11px; letter-spacing: 0.42em; margin-top: 4px; padding-left: 0.42em; }
body.store .search { grid-column: 1; grid-row: 1; max-width: 340px; min-width: 0; }
body.store .search input {
  border: 1px solid var(--line); border-right: 0; border-radius: 99px 0 0 99px; padding-left: 18px;
  background: #fff; min-height: 42px; font-size: 14px;
}
body.store .search button {
  border: 1px solid var(--line); border-left: 0; border-radius: 0 99px 99px 0; background: #fff;
  color: var(--ink); min-height: 42px; padding: 0 14px; letter-spacing: 0;
}
body.store .search button:hover { background: var(--sand-soft); }
body.store .search svg, body.store .top-actions svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
body.store .top-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; gap: 4px; }
body.store .top-actions .btn {
  background: transparent; color: var(--ink); border: 0; text-transform: none; letter-spacing: 0.02em;
  font-size: 14px; font-weight: 400; padding: 0 10px;
}
body.store .top-actions .btn:hover { background: var(--sand-soft); }
body.store .cart-count { background: var(--ink); color: #fff; font-weight: 500; }

@media (max-width: 760px) {
  body.store .top .wrap { grid-template-columns: 1fr auto; min-height: 0; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  body.store .logo { grid-column: 1; align-items: flex-start; text-align: left; }
  body.store .logo b { font-size: 30px; }
  body.store .top-actions { grid-column: 2; }
  body.store .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  body.store .top-actions .label { display: none; }
}

/* Menu das representadas: texto em caixa alta, centralizado */
body.store .brandbar { background: var(--paper); border-bottom: 1px solid var(--line); }
body.store .brandbar .wrap { justify-content: center; gap: 4px 28px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
body.store .brandbar button {
  border: 0; background: none; border-radius: 0; padding: 4px 0; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; font-weight: 500;
}
body.store .brandbar button:hover { color: var(--ink); }
body.store .brandbar button.active { background: none; color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 760px) { body.store .brandbar .wrap { justify-content: flex-start; flex-wrap: nowrap; gap: 22px; } }

body.store main { padding: 28px 0 70px; }

/* Faixa de boas-vindas (passo a passo) */
body.store .hero {
  background: var(--sand-soft); color: var(--ink); border-radius: 0; padding: 40px 36px; margin-bottom: 28px;
  grid-template-columns: 1fr 2fr; gap: 36px;
}
body.store .hero h1 { color: var(--ink); font-size: 38px; margin: 0; }
body.store .hero h1 small { color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; font-weight: 500; }
body.store .step { background: transparent; border: 0; border-left: 1px solid var(--sand-2); border-radius: 0; padding: 4px 0 4px 18px; }
body.store .step b { color: var(--gold); font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; margin-bottom: 6px; }
body.store .step span { font-size: 14px; color: #4a453f; }

/* Avisos */
body.store .notice { background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 14px 18px; }

/* Filtros da lateral: sem caixa, só texto */
body.store .catalog { grid-template-columns: 220px 1fr; gap: 36px; }
body.store .sidebar.panel, body.store .sidebar { background: transparent; border: 0; box-shadow: none; padding: 0 4px 0 0; }
body.store .sidebar h3 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
body.store .sidebar button { padding: 6px 0; border-radius: 0; font-size: 14px; color: #4a453f; }
body.store .sidebar button:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
body.store .sidebar button.active { background: none; color: var(--ink); font-weight: 600; }
body.store .sidebar button.active::before { content: "— "; color: var(--gold); }
body.store .facet + .facet { border-top-color: var(--line); padding-top: 18px; }
body.store .chip { background: var(--paper); border-color: var(--line); border-radius: 99px; }

/* Grade de produtos: fotos grandes, sem bordas */
body.store .products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
body.store .product { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
body.store .product .img { background: var(--paper); border: 0; border-radius: 0; overflow: hidden; }
body.store .product .img img { transition: transform 0.6s cubic-bezier(.16, 1, .3, 1); }
body.store .product:hover .img img { transform: scale(1.04); }
body.store .product .body { padding: 14px 2px 0; gap: 3px; }
body.store .product .brand { color: var(--muted); font-size: 10px; letter-spacing: 0.22em; font-weight: 500; }
body.store .product .name { font-size: 15px; font-weight: 500; line-height: 1.35; }
body.store .product a.name:hover { text-decoration: none; color: var(--gold); }
body.store .product .meta, body.store .product .dims { font-size: 12px; color: var(--muted); }
body.store .product .price { font-family: var(--sans); color: var(--ink); font-size: 17px; font-weight: 500; }
body.store .product.selected { border: 0; box-shadow: none; }
body.store .product.selected .img { outline: 1px solid var(--sand-2); outline-offset: -1px; }
body.store .product .in-cart { color: var(--gold); font-weight: 500; }

/* Selos: pequenos, retos, em caixa alta */
body.store .badge { border-radius: 0; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 4px 8px; }
body.store .badge.new { background: var(--ink); color: #fff; }
body.store .badge.ok { background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--line); }
body.store .badge.warn { background: var(--sand); color: #3f362c; }
body.store .badge.bad { background: rgba(255,255,255,.92); color: var(--bad); border: 1px solid var(--line); }

/* Quantidade */
body.store .qty { border-radius: 2px; border-color: var(--line); }
body.store .qty button { background: var(--paper); color: var(--ink); }
body.store .qty button:hover { background: var(--sand-soft); }

/* Página do produto */
body.store .stage { border: 0; border-radius: 0; background: var(--paper); }
body.store .thumbs button { border-radius: 0; }
body.store .pdp-info h1 { font-size: 34px; }
body.store .crumbs, body.store .crumbs a { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* Carrinho, painéis e tabelas */
body.store .panel { border-radius: 0; box-shadow: none; border-color: var(--line); }
body.store .cart-group { color: var(--muted); letter-spacing: 0.22em; font-weight: 600; font-size: 11px; }
body.store .summary-row.total { color: var(--ink); font-weight: 500; }
body.store .table-wrap { border-radius: 0; }
body.store table.list th { background: var(--sand-soft); }

/* Rodapé */
body.store footer { background: var(--sand-soft); border-top: 0; text-align: center; padding: 34px 0; color: var(--muted); letter-spacing: 0.04em; }
body.store .foot-brand { font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: 0.12em; margin-bottom: 4px; }

body.store #toast { background: var(--ink); border-radius: 2px; }

/* Sugestões da busca: mais largas que o campo */
body.store .suggest { min-width: min(560px, calc(100vw - 32px)); border-radius: 4px; }
body.store .suggest button.sg-all { color: var(--ink); text-transform: none; letter-spacing: 0; }

@media (max-width: 820px) {
  body.store .hero { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  body.store .hero h1 { font-size: 30px; }
  body.store .steps { gap: 14px; }
  body.store .catalog { grid-template-columns: 1fr; gap: 18px; }
  body.store .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  body.store .product .name { font-size: 14px; }
}

/* Voltar para a lista (página do produto) */
body.store .back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--ink); text-decoration: none;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
body.store .back-link .sico { width: 18px; height: 18px; transition: transform .2s ease; }
body.store .back-link:hover .sico { transform: translateX(-4px); }
body.store .back-link.continue { margin: 22px 0 0; }

/* ---- Polimento ---- */

/* Ícones de traço fino (mesmo desenho dos ícones do topo) */
.sico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
body.store .btn .sico { width: 16px; height: 16px; }
body.store ::selection { background: var(--sand); color: var(--ink); }
body.store main { min-height: 62vh; }
body.store .toolbar > h1, body.store .toolbar > h2 { margin: 0; }
body.store .page-head { margin-bottom: 20px; }
body.store .count { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 10px; vertical-align: 5px; white-space: nowrap; }
.center { text-align: center; }
.auth-foot { margin-top: 18px; }
.upper { text-transform: uppercase; }
body.store .auth { padding: 32px; }
body.store .auth h1 { margin-bottom: 18px; }

/* Aviso de acesso aos preços */
body.store .notice.access { background: var(--paper); border-color: var(--line); padding: 18px 22px; gap: 10px 14px; }
body.store .notice.access b { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; }
body.store .notice.access .small { color: var(--muted); }

/* Cartões de produto */
body.store .in-cart { display: inline-flex; align-items: center; gap: 4px; }
body.store .in-cart .sico { width: 15px; height: 15px; }
body.store .chip { display: inline-flex; align-items: center; gap: 4px; }
body.store .chip .sico { width: 13px; height: 13px; }
body.store .chip:hover .sico { color: var(--bad); }
body.store .product .price .ipi { letter-spacing: 0; }
body.store .locked-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
body.store .locked-link .sico { width: 14px; height: 14px; transition: transform .2s ease; }
body.store .locked-link:hover { color: var(--ink); }
body.store .locked-link:hover .sico { transform: translateX(3px); }
body.store .pdp-buy .locked-link { color: var(--ink); font-weight: 500; }

/* Paginação e links "ver todos" */
body.store .pager { gap: 14px; margin-top: 36px; }
.pager-info { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
body.store .more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
body.store .more-link .sico { width: 16px; height: 16px; transition: transform .2s ease; }
body.store .more-link:hover .sico { transform: translateX(3px); }

/* Página do produto */
body.store .g-nav { display: flex; align-items: center; justify-content: center; border-color: var(--line); color: var(--ink); }
body.store .g-nav:hover { background: #fff; border-color: var(--sand-2); }
body.store .g-nav .sico { width: 20px; height: 20px; }
#lightbox button { display: flex; align-items: center; justify-content: center; }
#lightbox button .sico { width: 24px; height: 24px; }
.pdp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.buy-hint { margin-top: 10px; }

/* Carrinho */
body.store .brand-rule { display: flex; align-items: flex-start; gap: 8px; border-radius: 2px; }
body.store .brand-rule .sico { width: 18px; height: 18px; margin-top: 1px; }
body.store .cart-name { color: var(--ink); font-weight: 500; text-decoration: none; }
body.store .cart-name:hover { text-decoration: underline; text-underline-offset: 3px; }
body.store .cart-empty { padding: 64px 16px; }
body.store .cart-empty h2 { margin-bottom: 6px; }
body.store .cart-empty .btn { margin-top: 10px; }
body.store .summary-row span:last-child { font-variant-numeric: tabular-nums; }
body.store table.list td { font-variant-numeric: tabular-nums; }
.account-card { margin-bottom: 24px; }

/* Botão de filtros: só aparece no celular */
.filters-toggle { display: none; }

@media (max-width: 820px) {
  /* Os produtos aparecem logo: filtros atrás de um botão e passo a passo compacto. */
  .filters-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-bottom: 16px;
    border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
    font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase;
  }
  .filters-toggle[aria-expanded="true"] { border-color: var(--ink); }
  .filters-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; }
  body.store .catalog .sidebar { display: none; }
  body.store .catalog.filters-open .sidebar { display: block; max-height: none; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  body.store .toolbar h2 { flex-basis: 100%; }

  body.store .hero { padding: 22px 20px; gap: 14px; margin-bottom: 18px; }
  body.store .hero h1 { font-size: 26px; }
  body.store .steps { gap: 10px; }
  body.store .step { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: baseline; padding: 0 0 0 14px; }
  body.store .step b { font-size: 24px; margin: 0; }
  body.store .step span { font-size: 13px; }

  body.store .notice.access { padding: 16px; }
  body.store .notice.access .grow { flex-basis: 100%; }
  body.store .notice.access .btn { flex: 1; padding: 0 12px; }
  body.store .notice.access b { font-size: 19px; }

  body.store .qty button { width: 36px; }
  body.store .qty input { width: 44px; min-height: 38px; }
}
@media (max-width: 760px) {
  body.store .brandbar .wrap { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  body.store .brandbar .wrap::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.store *, body.store *::before, body.store *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Página de cada representada: logo e nome no topo (sem o menu das outras) */
body.store .brand-head { margin: 4px 0 26px; }
body.store .brand-head .back-link { margin-bottom: 14px; }
body.store .brand-id { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
body.store .brand-id img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
body.store .brand-id h1 { margin: 0; font-size: 40px; letter-spacing: 0.04em; }
body.store .brand-id p { margin: 4px 0 0; letter-spacing: 0.04em; }

/* Página inicial: cartões das representadas */
body.store .brand-cards { margin: 0 0 30px; }
body.store .brand-cards h2 { text-align: center; margin-bottom: 18px; }
body.store .brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
body.store .brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px 16px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-align: center; transition: border-color .2s, transform .2s;
}
body.store .brand-card:hover { border-color: var(--sand-2); transform: translateY(-2px); }
body.store .brand-card img, body.store .brand-card .brand-initials {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line);
}
body.store .brand-card .brand-initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px; background: var(--sand-soft); }
body.store .brand-card b { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
@media (max-width: 560px) {
  body.store .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.store .brand-id h1 { font-size: 30px; }
  body.store .brand-id img { width: 58px; height: 58px; }
}

/* Visão "Catálogo" de uma representada (ex.: Decortextil): página larga, coleções na faixa de cima,
   foto ambientada grande e, ao lado, os produtos dela. Os blocos alternam o lado da foto, como no PDF. */
body.store.wide main .wrap { max-width: 1680px; }
body.store.wide .brandbar { position: sticky; top: 0; z-index: 20; }
body.store .catalog-tabs { display: flex; gap: 28px; margin-top: 18px; border-bottom: 1px solid var(--line); }
body.store .catalog-tabs a {
  padding: 10px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 500;
}
body.store .catalog-tabs a:hover { color: var(--ink); }
body.store .catalog-tabs a.active { color: var(--ink); border-bottom-color: var(--ink); }
body.store .col-head {
  font-size: 44px; text-align: center; margin: 56px 0 8px; padding-top: 8px; scroll-margin-top: 64px;
}
body.store .spreads > .col-head:first-child { margin-top: 12px; }
body.store .spread {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
body.store .spread.flip .spread-banner { order: 2; }
body.store .spread-banner {
  position: sticky; top: 64px; display: block; width: 100%; padding: 0; border: 0; background: var(--sand-soft); cursor: zoom-in;
}
body.store .spread-banner img { display: block; width: 100%; height: auto; max-height: calc(100vh - 88px); object-fit: cover; }
body.store .spread-products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 20px; }
body.store .spreads-more { height: 1px; }
body.store .spread.cont { grid-template-columns: 1fr; padding-top: 0; }
body.store .spread:has(+ .spread.cont) { border-bottom: 0; }
@media (max-width: 900px) {
  body.store .spread { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  body.store .spread.flip .spread-banner { order: 0; }
  body.store .spread-banner { position: static; }
  body.store .spread-banner img { max-height: none; }
  body.store .spread-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  body.store .col-head { font-size: 32px; margin-top: 36px; }
}

/* Lista "Todos os produtos": carrega mais ao rolar (sem páginas) */
body.store .list-more { text-align: center; padding: 28px 0 8px; }

/* Catálogo por linhas (Oxford): cartões com a foto do conjunto e o nome da linha */
body.store .line-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; margin: 18px 0 8px; }
body.store .line-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
body.store .line-img {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: border-color .2s;
}
body.store .line-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .35s; }
body.store .line-card:hover .line-img { border-color: var(--sand-2); }
body.store .line-card:hover .line-img img { transform: scale(1.04); }
body.store .line-name { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin-top: 4px; }
body.store .line-count { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.store .line-back { display: inline-flex; margin-top: 18px; }
body.store .line-head { margin-top: 10px; }
@media (max-width: 560px) {
  body.store .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  body.store .line-name { font-size: 18px; }
}

/* ---- Catálogo premium (Strauss): abertura escura, capítulos com a foto do PDF, títulos em itálico fino
   como o PP Eiko do catálogo. Se as fontes PP Eiko licenciadas forem colocadas em public/fonts/
   (PPEiko-LightItalic.woff2 e PPEiko-Light.woff2), elas passam a ser usadas; senão, Cormorant Light. ---- */
@font-face { font-family: "PP Eiko"; font-style: italic; font-weight: 300; font-display: swap;
  src: local("PP Eiko Light Italic"), local("PPEiko-LightItalic"), url("/fonts/PPEiko-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "PP Eiko"; font-style: normal; font-weight: 300; font-display: swap;
  src: local("PP Eiko Light"), local("PPEiko-Light"), url("/fonts/PPEiko-Light.woff2") format("woff2"); }
body.store.premium {
  --display: "PP Eiko", "Cormorant Garamond", Georgia, serif;
  --pm-accent: #e8641b;
  --pm-gold: #a8875a;
  --pm-night: #15120f;
}
body.store.premium .pm-title { font-family: var(--display); font-weight: 300; line-height: 1; letter-spacing: -0.01em; margin: 0; }
body.store.premium .pm-title em { font-style: italic; }
body.store.premium .pm-eyebrow {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--pm-gold); margin-bottom: 14px;
}
body.store.premium .pm-meta { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Abertura da marca */
body.store.premium .pm-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin: 28px 0 8px;
  background: var(--pm-night); color: #efe7dc; min-height: 520px;
}
body.store.premium .pm-intro img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; display: block; }
body.store.premium .pm-intro-text { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(28px, 6vw, 96px); }
body.store.premium .pm-intro .pm-title { font-size: clamp(44px, 5.4vw, 84px); color: #f6efe6; }
body.store.premium .pm-intro .pm-title em { color: var(--pm-accent); }
body.store.premium .pm-intro p { margin: 28px 0 0; max-width: 520px; font-size: 15px; line-height: 1.75; font-weight: 300; color: #cfc5b8; }

/* Capítulos */
body.store.premium .pm-chapter {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  margin: 96px 0 36px; scroll-margin-top: 64px;
}
body.store.premium .pm-chapter.flip .pm-cover { order: 2; }
body.store.premium .pm-cover { overflow: hidden; background: var(--sand-soft); aspect-ratio: 16 / 10; }
body.store.premium .pm-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.store.premium .pm-chapter.portrait { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
body.store.premium .pm-chapter.portrait.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
body.store.premium .pm-chapter.portrait .pm-cover { aspect-ratio: 4 / 5; }
body.store.premium .pm-chapter .pm-title { font-size: clamp(44px, 5vw, 76px); }
body.store.premium .pm-chapter .pm-title em { color: var(--pm-gold); }
body.store.premium .pm-chapter p { margin: 22px 0 0; max-width: 440px; font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--muted); }
body.store.premium .pm-chapter-text { border-top: 1px solid var(--line); padding-top: 22px; }

/* Cartões das linhas: retrato, foto ambientada / metade do prato / peças no branco */
body.store.premium .pm-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 24px; }
body.store.premium .pm-card .line-img { aspect-ratio: 4 / 5; border: 0; background: #fff; }
body.store.premium .pm-card.photo .line-img img,
body.store.premium .pm-card.prato .line-img img { object-fit: cover; padding: 0; }
body.store.premium .pm-card.prato .line-img img { object-position: 50% 100%; }
body.store.premium .pm-card.pecas .line-img { background: #fff; outline: 1px solid var(--line); outline-offset: -1px; }
body.store.premium .pm-card.pecas .line-img img { padding: 18px; }
body.store.premium .pm-card .line-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
body.store.premium .pm-card:hover .line-img img { transform: scale(1.035); }
body.store.premium .pm-card .line-name { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 30px; margin-top: 10px; }
body.store.premium .pm-card .line-count { font-size: 11px; letter-spacing: .2em; }

/* Página da linha: foto no topo (metade do prato / peças) e as peças embaixo */
body.store.premium .pm-line { margin-top: 18px; }
body.store.premium .pm-hero-wrap { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; }
body.store.premium .pm-line.split .pm-hero-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: min(68vh, 640px); }
body.store.premium .pm-line.split .pm-hero { height: 100%; }
body.store.premium .pm-line.split .pm-hero.pm-hero img { width: 100%; height: 100%; max-height: none; }
body.store.premium .pm-line.split .pm-hero.pm-photo img { object-fit: cover; }
body.store.premium .pm-line.split .pm-hero:not(.pm-photo) img { object-fit: contain; padding: 4% 6%; }
body.store.premium .pm-hero {
  display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; overflow: hidden;
}
body.store.premium .pm-hero img { display: block; width: 100%; height: auto; }
body.store.premium .pm-line.prato .pm-hero img { max-height: 52vh; object-fit: cover; object-position: 50% 100%; }
body.store.premium .pm-line.pecas .pm-hero { border-bottom: 1px solid var(--line); }
body.store.premium .pm-line.pecas .pm-hero img { max-height: 62vh; object-fit: contain; }
body.store.premium .pm-line-head { padding: 44px 0 8px; max-width: 680px; }
body.store.premium .pm-line-head .pm-title { font-size: clamp(54px, 6vw, 92px); color: var(--pm-gold); }
body.store.premium .pm-line-head p { margin: 22px 0 0; font-size: 16px; line-height: 1.75; font-weight: 300; color: var(--text); }
body.store.premium .pm-products {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 40px 24px; margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line);
}

/* Página da linha em retrato (ex.: Chantrêe): a foto do catálogo ao lado do nome e do texto da fragrância */
body.store.premium .pm-line.retrato {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 28px;
}
body.store.premium .pm-line.retrato .pm-hero-wrap, body.store.premium .pm-line.retrato .pm-hero { background: var(--pm-night); }
body.store.premium .pm-line.retrato .pm-hero { aspect-ratio: 4 / 5; }
body.store.premium .pm-line.retrato .pm-hero img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
body.store.premium .pm-line.retrato .pm-line-head { padding: 0; }
body.store.premium .pm-card.retrato .line-img { background: var(--pm-night); }
body.store.premium .pm-card.retrato .line-img img { object-fit: cover; padding: 0; }

/* Chantrêe: a paleta do catálogo (marrom quente e dourado) */
body.store.premium.brand-chantree { --pm-accent: #d9a860; --pm-gold: #a67c3b; --pm-night: #2b1b10; }
body.store.premium.brand-chantree .pm-intro { background: linear-gradient(135deg, #3d2816 0%, #22150c 100%); color: #f1e4d2; }
body.store.premium.brand-chantree .pm-intro p { color: #d8c4a6; }

/* Kaza Zaira: a paleta do portfólio (bege claro, marrom café e dourado) */
body.store.premium.brand-kaza-zaira { --pm-accent: #8a6a46; --pm-gold: #9c7a52; --pm-night: #eadfce; }
body.store.premium.brand-kaza-zaira .pm-intro { background: linear-gradient(135deg, #f3ebe0 0%, #e6d8c4 100%); color: #3b2a1e; }
body.store.premium.brand-kaza-zaira .pm-intro .pm-title { color: #3b2a1e; }
body.store.premium.brand-kaza-zaira .pm-intro .pm-title em { color: #9c7a52; }
body.store.premium.brand-kaza-zaira .pm-intro p { color: #6b5848; }

/* MACLAN: a paleta da tabela (preto, bege da logo e rosé do "&") */
body.store.premium.brand-maclan { --pm-accent: #d9a49a; --pm-gold: #a39c86; --pm-night: #0b0a0a; }
body.store.premium.brand-maclan .pm-intro { background: linear-gradient(135deg, #1c1b19 0%, #0b0a0a 100%); color: #ecebe3; }
body.store.premium.brand-maclan .pm-intro p { color: #cbc8b8; }

@media (max-width: 900px) {
  body.store.premium .pm-intro { grid-template-columns: 1fr; min-height: 0; }
  body.store.premium .pm-intro img { max-height: 360px; }
  body.store.premium .pm-intro-text { padding: 36px 24px 40px; }
  body.store.premium .pm-chapter { grid-template-columns: 1fr; gap: 22px; margin: 56px 0 24px; }
  body.store.premium .pm-chapter.flip .pm-cover { order: 0; }
  body.store.premium .pm-chapter.portrait, body.store.premium .pm-chapter.portrait.flip { grid-template-columns: 1fr; }
  body.store.premium .pm-line.split .pm-hero-wrap { grid-template-columns: 1fr; height: auto; }
  body.store.premium .pm-line.split .pm-hero { height: auto; }
  body.store.premium .pm-line.split .pm-photo { aspect-ratio: 4 / 3; }
  body.store.premium .pm-line.retrato { grid-template-columns: 1fr; gap: 22px; margin-top: 16px; }
  body.store.premium .pm-line.retrato .pm-hero { aspect-ratio: 4 / 3; }
  body.store.premium .pm-line-head { padding-top: 28px; }
  body.store.premium .pm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
}
@media (max-width: 560px) {
  body.store.premium .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  body.store.premium .pm-card .line-name { font-size: 22px; }
}

/* Ao rolar para baixo o topo (logo, busca e faixa das representadas) recolhe; rolando para cima, volta.
   Dentro de uma representada a faixa dos capítulos fica presa logo abaixo do topo (ou no alto, se ele recolheu). */
body.store .top { transition: transform .25s ease; }
body.store.top-hidden .top { transform: translateY(-100%); }
body.store.wide .brandbar { top: var(--top-h, 0px); transition: top .25s ease, transform .25s ease; }
/* rolando para baixo a faixa dos capítulos/categorias também recolhe (na Lucatti ela ocupa 4 linhas) */
body.store.wide.top-hidden .brandbar { top: 0; transform: translateY(-100%); pointer-events: none; }

/* ---- Identidade ABK (cartão de visita): verde da marca, logo com o ramo de oliveira e os filetes laterais.
   Refinamento sobre o visual areia: o verde entra só onde antes era o preto de destaque. ---- */
:root {
  --brand: #12352c;
  --brand-2: #1e4a3d;
  --brand-soft: #e9efe9;
}

/* Logo do cartão no topo e no rodapé */
body.store .logo { display: block; line-height: 0; }
body.store .logo img { display: block; height: 78px; width: auto; }
body.store .foot-logo { display: block; height: 70px; width: auto; margin: 0 auto 10px; }
body.store footer { padding: 40px 0 34px; }
@media (max-width: 760px) {
  body.store .logo img { height: 54px; }
  body.store .foot-logo { height: 58px; }
}

/* Faixa de aviso no verde da marca */
.announce { background: var(--brand); color: #e6ddd0; font-weight: 400; }

/* Botões e destaques: verde da marca no lugar do preto */
body.store .btn, body.store .btn.gold { background: var(--brand); border-color: var(--brand); }
body.store .btn:hover, body.store .btn.gold:hover { background: var(--brand-2); border-color: var(--brand-2); }
body.store .btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
body.store .btn.ghost:hover { background: var(--brand-soft); }
body.store .top-actions .btn, body.store .top-actions .btn:hover { border-color: transparent; }
body.store .top-actions .btn { background: transparent; }
body.store .top-actions .btn:hover { background: var(--sand-soft); }
body.store .search button { background: #fff; border-color: var(--line); }
body.store .search button:hover { background: var(--sand-soft); border-color: var(--line); }
body.store .cart-count, body.store .filters-count { background: var(--brand); }
body.store .badge.new { background: var(--brand); }
body.store #toast { background: var(--brand); }
body.store .brandbar button.active, body.store .catalog-tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }
body.store .sidebar button.active { color: var(--brand); }
body.store .product a.name:hover { color: var(--brand-2); }
body.store a:focus-visible, body.store button:focus-visible { outline-color: var(--brand-2); }
body.store input:focus, body.store select:focus, body.store textarea:focus { outline-color: #b9c8bd; border-color: #b9c8bd; }
body.store h1, body.store h2 { color: var(--brand); }
body.store.premium .pm-intro .pm-title, body.store.premium .pm-line-head .pm-title { color: inherit; }
body.store.premium .pm-intro .pm-title { color: #f6efe6; }
body.store.premium .pm-line-head .pm-title { color: var(--pm-gold); }

/* Passo a passo: números no verde, filete fino como no cartão */
body.store .hero h1 { color: var(--brand); }
body.store .step b { color: var(--brand-2); }
body.store .step { border-left-color: #c7d2c9; }

/* Títulos de seção com os filetes laterais do logo */
body.store .brand-cards h2 {
  display: flex; align-items: center; gap: 22px; max-width: 620px; margin: 0 auto 22px;
}
body.store .brand-cards h2::before, body.store .brand-cards h2::after {
  content: ""; flex: 1; height: 1px; background: var(--brand); opacity: .35;
}

/* Cartões das representadas: realce verde suave no hover */
body.store .brand-card { transition: border-color .2s, transform .2s, box-shadow .2s; }
body.store .brand-card:hover { border-color: #c7d2c9; box-shadow: 0 10px 24px -18px rgba(18, 53, 44, .45); }
body.store .brand-card b { color: var(--brand); }
/* O catálogo premium (Strauss) mantém a identidade dele: títulos no tom original */
body.store.premium .pm-chapter .pm-title, body.store.premium .pm-card .line-name { color: var(--ink); }

/* Início: vitrines de destaques (promoções, lançamentos) */
body.store .shelf { margin: 44px 0 0; }
body.store .shelf-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
body.store .shelf-head h2 { margin: 0; font-size: 30px; }
body.store .shelf-head::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--brand); opacity: .25; align-self: center; }
body.store .shelf-head .more-link { order: 2; background: none; border: 0; padding: 0; cursor: pointer; color: var(--brand); font-family: var(--sans); }
body.store .shelf .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.store .badge.promo { background: var(--gold); color: #fff; }
@media (max-width: 820px) {
  body.store .shelf { margin-top: 32px; }
  body.store .shelf .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.store .shelf-head h2 { font-size: 24px; }
  body.store .shelf-head .more-link .muted { display: none; }
}

/* As sugestões da busca ficam por cima da faixa de categorias presa no topo (mesmo z-index, e ela vem depois) */
body.store .top { z-index: 25; }

/* Botão "Voltar" flutuante: aparece ao subir a página (no celular o gesto de arrastar faz o papel dele) */
.float-nav { position: fixed; left: 18px; bottom: 18px; z-index: 30; display: flex; gap: 10px; pointer-events: none; }
.float-back, .float-top {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 18px 0 12px; border: 1px solid var(--brand); border-radius: 99px; background: var(--brand); color: #fff;
  font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(18, 53, 44, .55);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, background .2s;
}
.float-top { width: 44px; padding: 0; justify-content: center; background: #fff; color: var(--brand); }
.float-top:hover { background: var(--brand-soft); }
.float-back svg, .float-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-back:hover { background: var(--brand-2); }
body.back-show .float-back, body.back-show .float-top { opacity: 1; transform: none; pointer-events: auto; }
body.home-view .float-back { display: none; }
@media (max-width: 760px) { .float-back { display: none; } .float-nav { left: 14px; bottom: 14px; } }

/* Aba "Outlet" da representada: em dourado, como o selo de promoção */
body.store .catalog-tabs a.outlet-tab { color: var(--gold); }
body.store .catalog-tabs a.outlet-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Rodapé: contato da ABK */
body.store .foot-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 16px; font-size: 13px; color: var(--text); }
body.store .foot-whats { color: var(--brand); font-weight: 500; text-underline-offset: 3px; }
body.store .auth-forgot { margin: 14px 0 0; }
body.store .auth-forgot a { color: var(--brand); }
body.store .error-panel .btn { margin-top: 14px; }

/* Celular: produtos aparecem antes. Marcas numa faixa que rola de lado, aviso de login compacto,
   passo a passo no fim da página inicial. */
@media (max-width: 760px) {
  body.store .home { display: flex; flex-direction: column; }
  body.store .home > .hero { order: 9; margin: 32px 0 0; }
  body.store .brand-cards { margin-bottom: 14px; }
  body.store .brand-cards h2 { font-size: 20px; margin-bottom: 12px; gap: 14px; }
  body.store .brand-grid {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; margin: 0 -16px; padding: 0 16px 6px;
    scrollbar-width: none;
  }
  body.store .brand-grid::-webkit-scrollbar { display: none; }
  body.store .brand-card { flex: 0 0 92px; padding: 10px 6px; gap: 6px; scroll-snap-align: start; }
  body.store .brand-card img, body.store .brand-card .brand-initials { width: 56px; height: 56px; }
  body.store .brand-card .brand-initials { font-size: 20px; }
  body.store .brand-card b { font-size: 10px; letter-spacing: .04em; }
  body.store .brand-card .small { display: none; }
  body.store .home .notice.access { padding: 12px 14px; margin-bottom: 4px; }
  body.store .home .notice.access b { font-size: 16px; }
  body.store .home .notice.access .small { display: none; }
  body.store .home .notice.access .btn { min-height: 38px; }
  body.store .home .shelf:first-of-type { margin-top: 18px; }
}

/* Aviso "Produtos à pronta entrega" no topo da página da representada */
body.store .stock-banner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 18px 0 0; padding: 14px 18px;
  background: var(--brand); color: #eef3ef; text-decoration: none; border-radius: 2px;
}
body.store .stock-banner b { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
body.store .stock-banner span { font-size: 14px; }
body.store .stock-banner .stock-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
body.store .stock-banner .stock-go .sico { width: 16px; height: 16px; transition: transform .2s; }
body.store .stock-banner:hover .stock-go .sico { transform: translateX(3px); }

/* Página Catálogos (downloads) */
body.store .dl-head { margin-bottom: 24px; }
body.store .dl-head p { margin: 6px 0 0; }
body.store .dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
body.store .dl-brand { padding: 18px 20px; margin: 0; }
body.store .dl-brand header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
body.store .dl-brand header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
body.store .dl-brand h2 { margin: 0; font-size: 24px; }
body.store .dl-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
body.store .dl-ico { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); border-radius: 50%; flex: none; }
body.store .dl-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
body.store .dl-go { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
body.store .dl-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
body.store .dl-open:hover b { text-decoration: underline; text-underline-offset: 3px; }
body.store .dl-down { text-decoration: none; padding: 6px 0 6px 12px; border-left: 1px solid var(--line); }
body.store .dl-down:hover { text-decoration: underline; text-underline-offset: 4px; }
body.store .dl-brand .dl-extra { display: none; }
body.store .dl-brand.dl-open .dl-extra { display: flex; }
body.store .dl-more {
  width: 100%; margin-top: 4px; padding: 11px 0 2px; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer;
  font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); text-align: left;
}
body.store .dl-more:hover { text-decoration: underline; text-underline-offset: 4px; }

body.store .quote-btn { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Vendedor(a): botão flutuante embaixo + painel de atendimento (funciona igual no celular e no tablet) */
body.store .seller-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45; width: max-content; max-width: calc(100vw - 150px); }
body.store .sb-fab {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 46px; padding: 0 18px; border: 0; border-radius: 99px; cursor: pointer;
  background: #7a5410; color: #fff; font: 500 13px var(--sans); letter-spacing: .03em; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55);
}
body.store .sb-fab.on { background: var(--brand); }
body.store .sb-fab .sico { width: 18px; height: 18px; flex: none; }
body.store .sb-fab-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.store .sb-panel {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(420px, calc(100vw - 24px));
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); color: var(--ink);
}
body.store .sb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
body.store .sb-x { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; display: flex; }
body.store .sb-x .sico { width: 18px; height: 18px; }
body.store .sb-who { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--brand-soft); border-radius: 8px; font-size: 13px; margin-bottom: 10px; }
body.store .sb-who b:first-child { font-size: 15px; }
body.store .sb-label { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
body.store .sb-search { position: relative; }
body.store .sb-search input { width: 100%; min-height: 42px; border: 1px solid var(--line); padding: 0 12px; font-size: 16px; }
body.store .sb-results { position: absolute; bottom: calc(100% + 4px); left: 0; right: 0; z-index: 2; background: #fff; border: 1px solid var(--line); box-shadow: 0 -12px 30px -14px rgba(0,0,0,.3); max-height: 300px; overflow: auto; border-radius: 6px; }
body.store .sb-results button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
body.store .sb-results button:hover { background: var(--sand-soft); }
body.store .sb-results span { font-size: 12px; color: var(--muted); }
body.store .sb-empty { padding: 12px 14px; color: var(--muted); }
body.store .sb-btn { margin-top: 12px; width: 100%; min-height: 40px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: 4px; }
body.store .sb-btn:hover { background: var(--sand-soft); }
/* com o botão do vendedor, os botões Voltar/subir sobem um pouco no celular para não encostar */
@media (max-width: 760px) {
  body.store .seller-bar { bottom: 14px; max-width: calc(100vw - 140px); }
  body.store .sb-fab { min-height: 44px; padding: 0 14px; font-size: 12px; }
}

body.store .admin-note { max-width: 560px; margin: 0 auto 16px; gap: 10px 14px; flex-wrap: wrap; align-items: center; background: #fdf3df; border-color: #f0dfb5; }

/* Convite para entrar/cadastrar (visitante sem login) */
dialog.gate {
  width: min(420px, calc(100vw - 32px)); padding: 34px 30px 28px; border: 0; border-radius: 4px; background: var(--paper);
  color: var(--ink); text-align: center; box-shadow: 0 30px 80px -30px rgba(18, 53, 44, .55);
}
dialog.gate::backdrop { background: rgba(21, 18, 15, .55); backdrop-filter: blur(2px); }
dialog.gate .gate-logo { height: 70px; width: auto; margin: 0 auto 14px; display: block; }
dialog.gate h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--brand); }
dialog.gate p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
dialog.gate .gate-or { margin: 18px 0 8px; font-size: 13px; letter-spacing: .04em; }
dialog.gate .btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
dialog.gate .btn.ghost { color: var(--brand); }
dialog.gate .gate-logout { margin-top: 10px; }
dialog.gate .gate-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
dialog.gate .gate-close:hover { background: var(--sand-soft); color: var(--ink); }
dialog.gate .gate-close .sico { width: 20px; height: 20px; }

/* Rodapé em colunas (referência: Faenza): areia, logo e frase à esquerda, Navegar e Atendimento,
   e a faixa de direitos embaixo separada por um filete. */
body.store footer { background: var(--sand); color: #4a4036; text-align: left; padding: 0; letter-spacing: 0; font-size: 15px; }
body.store footer > .wrap { padding-top: 0; padding-bottom: 0; }
body.store .foot-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; padding: 64px 0 56px; }
body.store .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
body.store .foot-col h4 {
  margin: 6px 0 8px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #5d5246;
}
body.store .foot-col a { color: var(--brand); text-decoration: none; font-size: 16px; line-height: 1.3; }
body.store .foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.store .foot-col span { font-size: 15px; line-height: 1.3; color: #4a4036; }
body.store .foot-col span a { font-size: inherit; }
body.store .foot-brand-col .foot-logo { height: 76px; margin: 0 0 6px; }
body.store .foot-brand-col p { margin: 0; max-width: 340px; font-size: 16px; line-height: 1.6; color: #4a4036; }
body.store .foot-legal { border-top: 1px solid rgba(74, 64, 54, .22); padding: 22px 0 26px; font-size: 14px; color: #5d5246; }
@media (max-width: 760px) {
  body.store .foot-cols { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 34px; }
  body.store .foot-brand-col .foot-logo { height: 60px; }
}

/* Nossas representadas: 4 colunas (3 linhas com 11 marcas), centralizado */
@media (min-width: 761px) {
  body.store .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; }
  body.store .brand-card { padding: 24px 12px 18px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  body.store .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Promoção do fornecedor: preço "de" riscado e validade, acima do preço "por" */
body.store .promo-line { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.3; }
body.store .promo-line s { color: var(--muted); }
body.store .promo-line span { color: var(--gold); font-weight: 600; }
body.store .promo-line + .price { margin-top: 0; padding-top: 2px; }

/* Título do catálogo simples de uma representada (ex.: MACLAN: "Catálogo de taças ultra resistentes para eventos") */
body.store .catalog-intro { text-align: center; margin: 8px auto 28px; max-width: 760px; padding: 0 16px; }
body.store .catalog-intro h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0; }
body.store .catalog-intro p { color: var(--muted, #8a837a); margin: 10px 0 0; }

/* Destaque do dia na página inicial (Painel → Destaques): foto grande + marca, frase e botões */
body.store .featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
body.store .featured-photo { height: clamp(340px, 52vh, 520px); overflow: hidden; background: var(--sand-soft); }
body.store .featured-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.store .featured-text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 36px; }
body.store .featured-text small { color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; font-weight: 500; text-transform: uppercase; }
body.store .featured-text h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0; }
body.store .featured-text p { color: var(--muted); font-size: 16px; margin: 0; }
body.store .featured-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 980px) {
  body.store .featured { grid-template-columns: 1fr; }
  body.store .featured-photo { height: min(58vh, 70vw); }
  body.store .featured-text { padding: 22px 20px; gap: 10px; }
}
/* Destaque com post/vídeo do Instagram (embed oficial): o quadro do Instagram no centro da coluna da foto */
body.store .featured-embed { height: auto; min-height: 0; display: flex; justify-content: center; padding: 18px; background: var(--sand-soft); }
body.store .featured-embed iframe { width: 100%; max-width: 420px; height: clamp(520px, 74vh, 700px); border: 0; background: #fff; display: block; }
@media (max-width: 980px) { body.store .featured-embed { height: auto; padding: 12px; } body.store .featured-embed iframe { height: min(640px, 120vw); } }

/* Modo vendedor: letra de desconto da Oxford/Strauss do cliente atendido */
body.store .sb-letras { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; border: 1px solid var(--line, #e6ddd1); border-radius: 8px; margin-bottom: 10px; }
body.store .sb-letras .sb-label { width: 100%; margin: 0; }
body.store .sb-letra { display: flex; align-items: center; gap: 6px; font-size: 13px; }
body.store .sb-letra select { padding: 4px 6px; font-size: 13px; }
body.store .sb-hint { width: 100%; font-size: 12px; color: var(--muted, #8a837a); }
body.store .sb-fab-txt small { font-weight: 400; opacity: 0.85; }
body.store .sb-desc { width: 64px; padding: 4px 6px; font-size: 13px; text-align: right; }
body.store .sb-desc-ok { padding: 4px 10px; font-size: 13px; border: 1px solid var(--line, #e6ddd1); border-radius: 6px; background: transparent; cursor: pointer; }
