/* Dhora Semijoias — visual da loja (paleta da marca: marrom canela, bege, café e dourado) */
:root {
  --background: #fbf7f1;
  --foreground: #2b1d16;
  --surface: #f3eadf;
  --card: #fffdf9;
  --primary: #7a4630;
  --primary-hover: #693b27;
  --primary-foreground: #fff9f0;
  --secondary: #eadcc8;
  --accent: #b8955b;
  --muted: #f0e6d8;
  --muted-foreground: #6f5f51;
  --success: #7a5a24;
  --error: #a2392f;
  --warning: #b0601c;
  --border: #e6d8c4;
  --brand-cinnamon: #9a6b3f;
  --brand-espresso: #3a2418;
  --brand-beige: #efe3d3;
  --brand-champagne-soft: #e2c9a0;
  --page-max: 1360px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --font-base: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --section: clamp(3.5rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--primary); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.page { max-width: var(--page-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); }
.narrow { max-width: 1100px; }

/* ---------- Fotos: sempre quadradas, inteiras no quadro, de ponta a ponta, sem borda ---------- */
.photo { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo.round { border-radius: 50%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-base); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn-lg { min-height: 52px; padding: 0 1.9rem; }
.btn-sm { min-height: 36px; padding: 0 .9rem; font-size: .6875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: rgba(122, 70, 48, .06); }
.btn-outline-light { background: transparent; color: var(--primary-foreground); border-color: var(--brand-champagne-soft); align-self: flex-start; }
.btn-outline-light:hover { background: rgba(255, 249, 240, .1); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { color: var(--primary); }
.btn-danger { background: transparent; color: var(--error); border-color: rgba(162, 57, 47, .4); }
.btn-danger:hover { background: rgba(162, 57, 47, .06); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted-foreground); font-size: .75rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link-btn:hover { color: var(--primary); }
.text-link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--primary); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.text-link:hover { color: var(--brand-cinnamon); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; border-radius: 999px; color: var(--foreground); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--primary); background: rgba(122, 70, 48, .06); }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
  font-size: .625rem; font-weight: 700; line-height: 18px; text-align: center;
}

/* ---------- Formulários ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 .5rem; display: flex; flex-direction: column; gap: 1rem; }
.form legend { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: .75rem; padding: 0; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span, .label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--muted-foreground); }
.field input, .field select, .field textarea, .input {
  width: 100%; min-height: 46px; padding: .7rem .9rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; color: var(--foreground);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 149, 91, .25); }
.field small { color: var(--muted-foreground); font-size: .75rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-row-3 { display: grid; grid-template-columns: 1.2fr 2fr .8fr; gap: 1rem; }
@media (max-width: 640px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; cursor: pointer; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--primary); flex-shrink: 0; }

.alert { margin: 0 0 1rem; padding: .85rem 1rem; border-left: 2px solid var(--accent); background: var(--card); font-size: .9rem; }
.alert-erro { border-color: var(--error); color: var(--error); background: #fdf5f3; }
.alert-ok { border-color: var(--success); color: var(--success); }
.alert-info { border-color: var(--accent); color: var(--foreground); }
.flashes { max-width: 760px; margin: 1rem auto 0; padding: 0 var(--gutter); }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar { background: var(--brand-espresso); color: var(--brand-champagne-soft); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.topbar-track { display: flex; align-items: center; justify-content: center; gap: .9rem; min-height: 34px; padding: 0 1rem; text-align: center; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: var(--page-max); margin: 0 auto; padding: .45rem var(--gutter); }
.header-left, .header-right { display: flex; align-items: center; gap: .25rem; }
.header-right { justify-content: flex-end; }
.logo-link { display: block; }
.logo { height: 68px; width: auto; }
.search-trigger {
  display: inline-flex; align-items: center; gap: .6rem; min-width: 220px; height: 40px; padding: 0 .9rem;
  background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--muted-foreground); font-size: .8125rem; cursor: pointer;
}
.search-trigger:hover { border-color: var(--accent); color: var(--foreground); }
.main-nav ul { list-style: none; display: flex; justify-content: center; gap: clamp(1rem, 2.6vw, 2.4rem); margin: 0; padding: 0 var(--gutter) .55rem; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: inline-block; padding: .35rem 0; white-space: nowrap;
  color: var(--foreground); text-decoration: none; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--primary); border-color: var(--accent); }
.mobile-only { display: none; }
@media (max-width: 860px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-grid; }
  .main-nav { display: none; }
  .logo { height: 52px; }
  .hide-sm { display: none; }
}

/* ---------- Gavetas (menu e sacola) e janelas ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(43, 29, 22, .38); animation: fade .25s ease; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--background); display: flex; flex-direction: column; overflow-y: auto; }
.drawer-left .drawer-panel { left: 0; animation: slideL .3s var(--ease); }
.drawer-right .drawer-panel { right: 0; animation: slideR .3s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.drawer-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.menu-nav { display: flex; flex-direction: column; padding: 1rem 1.25rem 2rem; }
.menu-link { padding: .7rem 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); text-decoration: none; border-bottom: 1px solid var(--border); }
.menu-link-sm { padding: .55rem 0; font-size: .9rem; color: var(--muted-foreground); text-decoration: none; }
.menu-divider { height: 1px; margin: 1rem 0 .5rem; }
.modal-panel { position: relative; margin: 8vh auto 0; width: min(640px, calc(100% - 2rem)); background: var(--background); animation: rise .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideL { from { transform: translateX(-100%); } }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
body.no-scroll { overflow: hidden; }

.search-form { display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1.25rem; border-bottom: 1px solid var(--border); }
.search-form input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; font-size: 1.05rem; outline: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-results:empty { display: none; }
.search-results { max-height: 60vh; overflow-y: auto; padding: .5rem; }
.search-results ul { list-style: none; margin: 0; padding: 0; }
.result { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .9rem; padding: .5rem .75rem; text-decoration: none; color: var(--foreground); }
.result:hover, .result:focus { background: var(--surface); }
.result-name { font-size: .9rem; }
.result-price { font-size: .875rem; font-weight: 600; color: var(--primary); }
.no-results { padding: 1rem; color: var(--muted-foreground); font-size: .9rem; }
.all-results { display: block; width: 100%; margin-top: .25rem; padding: .85rem; background: none; border: 0; border-top: 1px solid var(--border); color: var(--primary); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center; }

/* Sacola lateral */
.cart-panel { width: min(440px, 94vw); }
.cart-body { flex: 1; display: flex; flex-direction: column; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 3rem 1.5rem; text-align: center; color: var(--muted-foreground); }
.cart-empty .ic { color: var(--accent); }
.cart-lines { list-style: none; margin: 0; padding: .5rem 1.25rem; flex: 1; }
.cart-line { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-thumb { display: block; }
.cart-line-info { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.cart-line-name { color: var(--foreground); text-decoration: none; font-size: .9rem; font-weight: 500; line-height: 1.35; }
.cart-line-price { color: var(--primary); font-weight: 600; font-size: .9rem; }
.cart-line-warn { color: var(--error); font-size: .75rem; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; }
.cart-foot { position: sticky; bottom: 0; padding: 1.25rem; background: var(--background); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .6rem; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; }
.cart-sub strong { font-size: 1.15rem; color: var(--primary); }
.cart-note { margin: 0 0 .25rem; font-size: .75rem; color: var(--muted-foreground); }

/* Quantidade */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--card); }
.qty button { display: grid; place-items: center; width: 44px; height: 46px; background: none; border: 0; cursor: pointer; color: var(--foreground); }
.qty button:hover:not([disabled]) { color: var(--primary); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty span, .qty input { width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; border: 0; background: none; }
.qty-sm button { width: 34px; height: 34px; }
.qty-sm span { width: 28px; font-size: .85rem; }

/* Avisos rápidos */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 200; transform: translateX(-50%); max-width: calc(100% - 2rem); padding: .85rem 1.25rem; background: var(--brand-espresso); color: var(--primary-foreground); font-size: .875rem; box-shadow: 0 12px 32px rgba(43, 29, 22, .18); animation: rise .25s var(--ease); }

/* ---------- Títulos de seção ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-text { max-width: 640px; }
.eyebrow { margin: 0 0 .75rem; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-cinnamon); }
.sec-head.center .eyebrow::before, .sec-head.center .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin: 0 .75rem; }
.sec-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.01em; }
.sec-title em, .page-title em { font-style: italic; color: var(--brand-cinnamon); }
.sec-desc { margin: .75rem 0 0; color: var(--muted-foreground); font-size: .95rem; line-height: 1.6; }
.sec-link { flex-shrink: 0; display: inline-flex; align-items: flex-end; min-height: 32px; padding-bottom: 2px; color: var(--primary); text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--accent); }
@media (max-width: 640px) { .sec-head:not(.center) { flex-direction: column; align-items: flex-start; } }
.page-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.05; }
.more-link { margin: 2rem 0 0; text-align: center; }
.more-link a { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

/* ---------- Cartão de produto (com a peça isolada ao passar o mouse) ---------- */
.card { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.card-frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.card-photo { position: absolute; inset: 0; display: block; }
.card-photo:focus-visible { outline-offset: -4px; }
.layer { position: absolute; inset: 0; display: block; transition: opacity 480ms cubic-bezier(.4, 0, .2, 1), transform 900ms var(--ease); }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.layer-piece { opacity: 0; transform: scale(1.03); }
@media (hover: hover) and (pointer: fine) {
  .has-piece:hover .layer-piece, .has-piece:focus-within .layer-piece { opacity: 1; transform: scale(1); }
  .piece-toggle { display: none !important; }
}
.card-frame.show-piece .layer-piece { opacity: 1; transform: scale(1); }
.no-photo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface); color: var(--muted-foreground); font-size: .8rem; }
.card-flag { position: absolute; top: .75rem; left: .75rem; padding: .3rem .6rem; background: var(--primary); color: var(--primary-foreground); font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.card-flag.muted { background: var(--card); color: var(--muted-foreground); }
.card-fav { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(255, 253, 249, .85); color: var(--foreground); cursor: pointer; }
.card-fav:hover { background: var(--card); }
.card-fav[aria-pressed="true"], .fav-btn[aria-pressed="true"] { color: var(--brand-cinnamon); }
.card-fav[aria-pressed="true"] .ic, .fav-btn[aria-pressed="true"] .ic { fill: currentColor; }
.piece-toggle { position: absolute; bottom: .5rem; right: .5rem; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .7rem; border: 0; border-radius: 999px; background: rgba(255, 253, 249, .9); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.card-info { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.card-cat { font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-cinnamon); }
.card-name { margin: 0; font-family: var(--font-base); font-size: .9375rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 2); }
.card-name a { color: var(--foreground); text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--accent); }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: .15rem; }
.price { font-size: 1rem; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.old-price { font-size: .8125rem; color: var(--muted-foreground); }
.card-pay { font-size: .75rem; color: var(--muted-foreground); }
@media (prefers-reduced-motion: reduce) { .layer { transition: opacity .2s linear; transform: none !important; } }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(.75rem, 2vw, 1.75rem); }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .75rem; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(.75rem, 2vw, 1.75rem)) / 4); gap: clamp(.75rem, 2vw, 1.75rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.rail-item { scroll-snap-align: start; }
@media (max-width: 1024px) { .rail { grid-auto-columns: 31%; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 64%; } }

/* ---------- Página inicial ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); width: 100%; min-height: min(84vh, 760px); background: var(--brand-beige); }
.hero-text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: 4rem clamp(1.5rem, 6vw, 6rem); }
.hero-text::after { content: ""; position: absolute; left: clamp(1.5rem, 6vw, 6rem); bottom: 3rem; width: 64px; height: 1px; background: var(--accent); }
.hero-eyebrow { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brand-cinnamon); }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.9rem, 1.6rem + 4.2vw, 5.4rem); line-height: 1.06; letter-spacing: -.015em; max-width: 11ch; }
.hero-title em { color: var(--primary); }
.hero-lead { margin: 0; max-width: 38ch; line-height: 1.65; color: var(--muted-foreground); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: .5rem; }
.hero-collection { margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.hero-collection-label { align-self: flex-start; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-cinnamon); text-decoration: none; }
.hero-collection ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 72px); gap: .5rem; }
.hero-collection a { display: block; transition: transform .32s ease; }
.hero-collection a:hover { transform: translateY(-2px); }
.hero-media { position: relative; overflow: hidden; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 32%; }
.hero-tag { position: absolute; left: 1.5rem; bottom: 1.5rem; display: flex; flex-direction: column; gap: 2px; padding: .7rem 1rem; background: rgba(255, 253, 249, .92); color: var(--foreground); text-decoration: none; font-size: .8125rem; font-weight: 500; border-left: 2px solid var(--accent); }
.hero-tag span { font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-cinnamon); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 4.6; min-height: 0; }
  .hero-media img { object-position: 45% 25%; }
  .hero-text { padding: 3rem var(--gutter) 4rem; gap: 1rem; }
  .hero-text::after { left: var(--gutter); bottom: 2rem; }
  .hero-tag { left: 1rem; bottom: 1rem; }
}

.categories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.75rem); }
.categories:has(> li:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-decoration: none; color: var(--foreground); }
.arch { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category:hover .arch img { transform: scale(1.04); }
.category-name { margin-top: .5rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.category-count { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
@media (max-width: 900px) {
  .categories, .categories:has(> li:nth-child(6)) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px .5rem; margin: 0 -6px; scrollbar-width: none; }
  .categories::-webkit-scrollbar { display: none; }
  .categories li { scroll-snap-align: start; }
}
@media (max-width: 520px) { .categories, .categories:has(> li:nth-child(6)) { grid-auto-columns: 46%; } .category-name { font-size: 1.25rem; } }

.band { margin-top: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--brand-espresso); color: var(--primary-foreground); }
.band-media { position: relative; min-height: 520px; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.band-text { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: 4rem clamp(1.5rem, 6vw, 6rem); }
.band-eyebrow { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-champagne-soft); }
.band-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.02; max-width: 14ch; }
.band-title em { color: var(--brand-champagne-soft); }
.band-lead { margin: 0; max-width: 42ch; line-height: 1.65; color: rgba(255, 249, 240, .82); }
.band-thumbs { display: flex; gap: .75rem; }
.band-thumb { display: block; width: 88px; transition: transform .32s ease; }
.band-thumb:hover { transform: translateY(-2px); }
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; }
  .band-media { min-height: 0; aspect-ratio: 1; }
  .band-text { padding: 3rem var(--gutter); }
  .band-thumb { width: 72px; }
}

.gift-intro { color: var(--accent); margin-bottom: .75rem; }

.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 1.1rem; border: 1px solid var(--border); background: transparent; color: var(--foreground); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: all .16s ease; }
.tab span { color: var(--muted-foreground); font-weight: 500; }
.tab:hover { border-color: var(--primary); }
.tab.is-on { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.tab.is-on span { color: var(--brand-champagne-soft); }

.signature { margin-top: var(--section); background: #fff; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); overflow: hidden; text-align: center; }
.signature-head { max-width: 720px; margin: 0 auto; }
.signature-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem); line-height: 1.05; }
.signature-title em { color: var(--brand-cinnamon); }
.signature-lead { margin: 1rem auto 0; max-width: 52ch; line-height: 1.7; color: var(--muted-foreground); }
.signature-stage { position: relative; max-width: var(--page-max); margin: clamp(2.5rem, 5vw, 4rem) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 26vw, 380px) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.wordmark { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(6rem, 21vw, 21rem); line-height: .8; letter-spacing: .04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.75px #c9a97c; user-select: none; pointer-events: none; }
@supports not (-webkit-text-stroke: 1px black) { .wordmark { color: #efe4d2; } }
.signature-arch { position: relative; z-index: 1; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--surface); }
.signature-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .6s var(--ease); }
.signature-arch:hover img { transform: scale(1.03); }
.signature-feature { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .5rem; max-width: 250px; font-size: .875rem; line-height: 1.55; color: var(--muted-foreground); padding: .5rem 0; }
.signature-feature strong { font-size: .95rem; font-weight: 600; color: var(--foreground); }
.feature-left { justify-self: end; text-align: right; align-items: flex-end; }
.feature-right { justify-self: start; text-align: left; align-items: flex-start; }
.feature-rule { width: 44px; height: 1px; background: var(--accent); margin-bottom: .5rem; }
.signature-actions { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 760px) {
  .signature-stage { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .signature-arch { grid-column: 1 / -1; grid-row: 1; width: min(78vw, 340px); justify-self: center; }
  .signature-stage { padding-top: 15vw; }
  .wordmark { top: 0; transform: translate(-50%, 0); font-size: 23vw; letter-spacing: .02em; -webkit-text-stroke-width: 1px; }
  .feature-left, .feature-right { justify-self: stretch; text-align: left; align-items: flex-start; max-width: none; }
}

.benefits-wrap { margin-top: var(--section); background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefits { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
.benefits li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; color: var(--muted-foreground); font-size: .8125rem; line-height: 1.5; }
.benefits .ic { color: var(--brand-cinnamon); margin-bottom: .25rem; stroke-width: 1.3; }
.benefits strong { color: var(--foreground); font-weight: 600; font-size: .875rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } .benefits li:last-child { grid-column: 1 / -1; } }

.social { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: var(--section); }
.social-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 560px; width: 100%; justify-self: end; }
.mosaic-tile { display: block; transition: transform .6s var(--ease); }
.mosaic-tile:hover { transform: scale(1.02); }
@media (max-width: 760px) { .social { grid-template-columns: 1fr; } .mosaic { justify-self: stretch; max-width: none; } }

/* ---------- Loja (catálogo com filtros) ---------- */
.shop-head { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted-foreground); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--border); }
.crumbs a { color: var(--muted-foreground); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.shop-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: var(--section); }
.filters { display: flex; flex-direction: column; gap: 1.75rem; }
.filter-group h2 { margin: 0 0 .6rem; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-cinnamon); }
.filter-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.filter-group a { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem 0; color: var(--foreground); text-decoration: none; font-size: .9rem; }
.filter-group a span { color: var(--muted-foreground); font-size: .8rem; }
.filter-group a:hover, .filter-group a.is-on { color: var(--primary); }
.filter-group a.is-on { font-weight: 600; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.shop-count { font-size: .875rem; color: var(--muted-foreground); }
.shop-bar select { min-height: 40px; padding: 0 2rem 0 .75rem; border: 1px solid var(--border); background: var(--card); font-size: .8125rem; border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; background: var(--surface); color: var(--foreground); text-decoration: none; font-size: .75rem; }
.chip:hover { background: var(--secondary); }
.filters-toggle { display: none; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted-foreground); }
.empty .page-title { color: var(--foreground); font-size: 2rem; margin-bottom: .5rem; }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; padding: 1.25rem; background: var(--card); border: 1px solid var(--border); }
  .filters.is-open { display: flex; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Página do produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); padding-top: 1.5rem; }
.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; align-items: start; position: sticky; top: 140px; }
.thumbs { display: flex; flex-direction: column; gap: .75rem; }
.thumb { display: flex; flex-direction: column; gap: .35rem; padding: 0; background: none; border: 0; cursor: pointer; text-align: center; }
.thumb small { font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.thumb.is-on small { color: var(--primary); border-color: var(--brand-cinnamon); }
.main-photo { position: relative; }
.zoom-btn { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border: 0; background: rgba(255, 253, 249, .92); font-size: .8125rem; cursor: zoom-in; }
.pdp-info { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2rem; }
.pdp-cat { margin: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-cinnamon); }
.pdp-cat a { color: inherit; text-decoration: none; }
.pdp-name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.05; }
.pdp-price { display: flex; align-items: baseline; gap: .75rem; }
.pdp-price .price { font-size: 1.6rem; }
.pdp-pay { margin: -.5rem 0 0; font-size: .85rem; color: var(--muted-foreground); }
.stock { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.stock.low::before { background: var(--warning); }
.stock.out::before { background: var(--error); }
.buy { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.buy-row { display: flex; gap: .75rem; }
.buy-row .btn { flex: 1; }
.fav-btn { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .25rem 0; background: none; border: 0; color: var(--foreground); font-size: .8125rem; cursor: pointer; }
.fav-btn:hover { color: var(--primary); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .875rem; color: var(--muted-foreground); }
.facts li { display: flex; gap: .7rem; align-items: flex-start; }
.facts .ic { color: var(--brand-cinnamon); margin-top: 2px; }
.facts strong { color: var(--foreground); font-weight: 600; }
.details { border-top: 1px solid var(--border); }
.details details { border-bottom: 1px solid var(--border); }
.details summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; color: var(--brand-cinnamon); }
.details details[open] summary::after { content: "–"; }
.details .details-body { padding: 0 0 1.25rem; font-size: .9rem; line-height: 1.7; color: var(--muted-foreground); }
.details-body ul { margin: 0; padding-left: 1.1rem; }
.ask { font-size: .85rem; color: var(--muted-foreground); }
.ask a { color: var(--primary); }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(251, 247, 241, .98); display: flex; flex-direction: column; }
.lightbox-head { display: flex; justify-content: flex-end; padding: .75rem; }
.lightbox-img { flex: 1; display: grid; place-items: center; padding: 0 1rem; min-height: 0; }
.lb-photo { width: min(92vw, calc(100vh - 190px)); }
.lightbox-thumbs { display: flex; justify-content: center; gap: .75rem; padding: 1rem; }
.lightbox-thumbs button { width: 64px; padding: 0; background: none; border: 0; cursor: pointer; opacity: .6; }
.lightbox-thumbs button.is-on { opacity: 1; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .gallery { position: static; grid-template-columns: 1fr; margin: 0 calc(var(--gutter) * -1); }
  .thumbs { order: 2; flex-direction: row; padding: 0 var(--gutter); }
  .thumb { width: 72px; }
}

/* ---------- Sacola, checkout, pedido ---------- */
.commerce { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--section); }
.commerce-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 2rem; }
@media (max-width: 960px) { .commerce-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 2rem); }
.panel + .panel { margin-top: 1.25rem; }
.panel-title { margin: 0 0 1.25rem; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.panel-title small { font-family: var(--font-base); font-size: .75rem; color: var(--muted-foreground); font-weight: 500; margin-left: .5rem; }
.summary { position: sticky; top: 140px; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .9rem; }
.sum-row.total { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 1.05rem; }
.sum-row.total strong { color: var(--primary); font-size: 1.3rem; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.line:first-child { padding-top: 0; }
.line-name { color: var(--foreground); text-decoration: none; font-weight: 500; }
.line-meta { font-size: .8rem; color: var(--muted-foreground); }
.line-total { font-weight: 600; color: var(--primary); white-space: nowrap; }
.line-sm { grid-template-columns: 56px minmax(0, 1fr) auto; }
.line-thumb { position: relative; }
.qty-badge { position: absolute; top: -6px; right: -6px; z-index: 2; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand-espresso); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 20px; text-align: center; }
@media (max-width: 560px) { .line { grid-template-columns: 76px minmax(0, 1fr); } .line-total { grid-column: 2; } }

.options { display: flex; flex-direction: column; gap: .6rem; }
.option { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem; border: 1px solid var(--border); background: var(--background); cursor: pointer; }
.option:has(input:checked) { border-color: var(--primary); background: #fff; box-shadow: inset 0 0 0 1px var(--primary); }
.option input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.option strong { display: block; font-size: .95rem; font-weight: 600; }
.option span { font-size: .8125rem; color: var(--muted-foreground); }
.option .option-price { font-weight: 600; color: var(--primary); font-size: .9rem; }
.address-text { font-size: .875rem; line-height: 1.55; color: var(--muted-foreground); font-style: normal; }
.address-text strong { color: var(--foreground); }

.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--surface); color: var(--foreground); }
.status-pill.warn { background: #f8ead7; color: #8a4d17; }
.status-pill.ok { background: #efe5cf; color: var(--success); }
.status-pill.bad { background: #f6e1dd; color: var(--error); }
.order-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.order-num { font-family: var(--font-base); font-size: .8125rem; color: var(--muted-foreground); letter-spacing: .08em; }
.pix-box { background: var(--brand-beige); border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 2rem); }
.pix-amount { font-size: 2rem; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; margin: .25rem 0 1rem; }
.pix-key { display: flex; gap: .5rem; align-items: stretch; flex-wrap: wrap; }
.pix-key code { flex: 1; min-width: 0; display: flex; align-items: center; padding: .7rem .9rem; background: #fff; border: 1px dashed var(--accent); font-size: .9rem; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps { margin: 1.25rem 0 0; padding-left: 1.2rem; font-size: .9rem; line-height: 1.7; color: var(--muted-foreground); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.4rem; font-size: .875rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 3px; top: 1rem; bottom: 0; width: 1px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline small { display: block; color: var(--muted-foreground); font-size: .75rem; }

/* ---------- Conta e acesso ---------- */
.auth-wrap { max-width: 980px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) var(--section); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.auth-wrap.single { grid-template-columns: minmax(0, 480px); justify-content: center; }
@media (max-width: 760px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-intro { grid-column: 1 / -1; text-align: center; }
.auth-intro p { color: var(--muted-foreground); margin: .75rem auto 0; max-width: 52ch; }
.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; }
.account-nav { display: flex; flex-direction: column; gap: .25rem; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; background: none; border: 0; color: var(--foreground); text-decoration: none; font-size: .9rem; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { color: var(--primary); }
.account-nav .ic { color: var(--brand-cinnamon); }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; } .account-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem 1.25rem; } }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list li { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.order-list a { color: var(--foreground); font-weight: 600; text-decoration: none; }
.order-list small { color: var(--muted-foreground); }
.addr-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.addr-list li { padding: 1rem; border: 1px solid var(--border); background: var(--background); display: flex; flex-direction: column; gap: .75rem; }
.addr-actions { display: flex; gap: 1rem; }
.tag { display: inline-block; padding: .15rem .5rem; background: var(--surface); font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-cinnamon); }

/* ---------- Ajuda e Sobre ---------- */
.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: var(--section); }
.help-nav { display: flex; flex-direction: column; }
.help-nav a { padding: .5rem 0; color: var(--muted-foreground); text-decoration: none; font-size: .9rem; border-left: 2px solid transparent; padding-left: .9rem; }
.help-nav a:hover { color: var(--primary); }
.help-nav a.is-on { color: var(--primary); border-color: var(--brand-cinnamon); font-weight: 600; }
.prose { max-width: 68ch; font-size: 1rem; line-height: 1.75; }
.prose h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); margin: 0 0 1.5rem; line-height: 1.05; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 2rem 0 .5rem; }
.prose p, .prose li { color: #4a3a30; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.contact-list { list-style: none; padding: 0 !important; }
.contact-list li { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.contact-list span { min-width: 110px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-cinnamon); padding-top: .2rem; }
@media (max-width: 760px) { .help { grid-template-columns: 1fr; } .help-nav { flex-direction: row; overflow-x: auto; gap: .25rem; } .help-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: .5rem .6rem; } .help-nav a.is-on { border-color: var(--brand-cinnamon); } }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand-beige); }
.about-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(1.5rem, 6vw, 6rem); }
.about-hero-media { position: relative; min-height: 480px; overflow: hidden; }
.about-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-body { max-width: 1100px; margin: 0 auto; padding: var(--section) var(--gutter); }
.about-lead { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.3; max-width: 30ch; margin: 0 0 3rem; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.about-cols h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 0 0 .5rem; }
.about-cols p { color: var(--muted-foreground); line-height: 1.7; margin: 0; }
.about-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 3rem; }
@media (max-width: 760px) { .about-hero { grid-template-columns: 1fr; } .about-hero-media { order: -1; min-height: 0; aspect-ratio: 1; } .about-hero-text { padding: 3rem var(--gutter); } .about-cols { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--brand-espresso); color: rgba(255, 249, 240, .78); }
.footer-inner { max-width: var(--page-max); margin: 0 auto; padding: 4rem var(--gutter) 3rem; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer-brand img { height: 88px; width: auto; }
.footer-brand p { font-size: .875rem; line-height: 1.65; max-width: 32ch; margin: 1.25rem 0; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(226, 201, 160, .35); border-radius: 999px; color: var(--brand-champagne-soft); }
.footer-social a:hover { background: rgba(255, 249, 240, .08); }
.footer-col h2 { margin: 0 0 1rem; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-champagne-soft); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(255, 249, 240, .78); text-decoration: none; font-size: .875rem; }
.footer-col a:hover { color: #fff; }
.footer-col .fact { font-size: .8125rem; color: rgba(255, 249, 240, .6); }
.footer-bottom { max-width: var(--page-max); margin: 0 auto; padding: 1.25rem var(--gutter) 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .75rem; border-top: 1px solid rgba(226, 201, 160, .18); }
.footer-bottom strong { color: var(--brand-champagne-soft); }
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(226, 201, 160, .18); }
  .footer-brand img { display: block; margin: 0 auto; }
  .footer-brand p { margin: 1.25rem auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Painel da loja ---------- */
.admin-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.admin-tabs a { padding: .75rem 1rem; color: var(--muted-foreground); text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tabs a.is-on, .admin-tabs a:hover { color: var(--primary); border-color: var(--brand-cinnamon); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.stat { padding: 1.1rem; background: var(--card); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 600; color: var(--primary); }
.stat span { font-size: .75rem; color: var(--muted-foreground); letter-spacing: .06em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table th { text-align: left; padding: .8rem 1rem; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table a { color: var(--foreground); font-weight: 600; text-decoration: none; }
.table a:hover { color: var(--primary); }
.table .thumb-cell { width: 64px; }
.flags { display: flex; flex-wrap: wrap; gap: .25rem; }
.inactive td { opacity: .55; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; padding: 1.25rem; background: var(--background); border: 1px solid var(--border); }
@media (max-width: 640px) { .marks { grid-template-columns: 1fr; } }
.upload-box { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.upload-box .photo { background: var(--surface); }
.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.ship-row { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr auto; gap: .75rem; align-items: end; padding: 1rem 0; border-bottom: 1px solid var(--border); }
@media (max-width: 760px) { .ship-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Instalação ---------- */
.install { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: var(--brand-beige); }
.install-card { width: min(520px, 100%); background: var(--card); padding: clamp(1.5rem, 5vw, 2.75rem); border: 1px solid var(--border); }
.install-card h1 { font-family: var(--font-display); font-weight: 500; font-size: 2.4rem; margin: 1rem 0 .5rem; }
.install-logo { height: 110px; width: auto; margin: 0 auto; }
.install-lead { color: var(--muted-foreground); font-size: .9rem; margin: 0 0 1.5rem; }
.install-code { width: 100%; font-family: ui-monospace, monospace; font-size: .8rem; padding: .75rem; }

@media print { .topbar, .site-header, .site-footer, .drawer, .modal { display: none !important; } }

/* Evita rolagem lateral no celular */
.pdp > *, .gallery > *, .help > *, .commerce-grid > *, .shop-layout > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 640px) { .topbar { font-size: .5625rem; letter-spacing: .08em; } .topbar-track { white-space: nowrap; justify-content: center; } }

/* Finalizar compra em uma página (dados, entrega, pagamento) */
.checkout-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: .5rem 0 1.5rem; padding: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-cinnamon); }
.step-title { display: flex; align-items: center; gap: .75rem; }
.step-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-family: var(--font-base); font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.field-row-3.equal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .field-row-3.equal { grid-template-columns: 1fr 1fr; } .field-row-3.equal > :last-child { grid-column: 1 / -1; } }
.sum-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; }

/* Menu: escolha de público em cada categoria */
@media (min-width: 961px) {
  .main-nav ul { overflow: visible; flex-wrap: wrap; }
  .main-nav li.has-sub { position: relative; }
  .main-nav li.has-sub > a { display: inline-flex; align-items: center; gap: .3rem; }
  .nav-drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; padding: .5rem 0; background: var(--card); border: 1px solid var(--border); box-shadow: 0 14px 30px rgba(43, 29, 22, .1); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s; }
  .main-nav li.has-sub:hover .nav-drop, .main-nav li.has-sub:focus-within .nav-drop { opacity: 1; visibility: visible; }
  .nav-drop ul { display: block !important; padding: 0 !important; }
  .nav-drop a { display: block !important; padding: .55rem 1.1rem !important; border: 0 !important; text-transform: none !important; letter-spacing: .02em !important; font-size: .875rem !important; font-weight: 500 !important; white-space: nowrap; }
  .nav-drop a:hover { background: var(--surface); }
}
.menu-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: .25rem 0 .5rem; }
.menu-chip { padding: .45rem .9rem; border: 1px solid var(--border); font-size: .8125rem; color: var(--foreground); text-decoration: none; }
.menu-group-title { display: block; margin-top: .75rem; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-cinnamon); }
.audience-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.25rem; }
.audience-row .label { margin-right: .25rem; }

/* Situação dos pedidos: pago e enviado em verde */
.status-pill.ok { background: #e2f0e1; color: #2e6b35; }
.status-pill.info { background: #efe5cf; color: #7a5a24; }
.month-pick { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin: 0 0 1.5rem; }
.month-pick select { min-width: 220px; height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--border); background: var(--card); font: inherit; }
.row-link { color: inherit; text-decoration: none; }
.row-link:hover { color: var(--primary); }
