/* =========================================================================
   Ateliê Olonan — loja
   Direção: boutique afro-contemporânea. Bordô profundo com brilho de sol,
   creme luminoso, laranja como luz. Mostarda, verde e vermelho só em detalhes.
   ========================================================================= */
:root {
  --fundo: #FBF7F1;
  --fundo-2: #F4EDE2;
  --fundo-card: #FFFFFF;
  --texto: #2E140C;
  --texto-suave: #6E554B;
  --bordo: #6E1A16;
  --bordo-claro: #8C2A20;
  --bordo-escuro: #4A0F0C;
  --bordo-noite: #240605;
  --laranja: #F7A21B;
  --laranja-hover: #EC8F08;
  --laranja-suave: #FFF1DA;
  --preco: #6E1A16;
  --mostarda: #A3862C;
  --verde: #4F7A2C;
  --vermelho: #B8352A;
  --linha: #EDE4D6;
  --linha-forte: #DCCDB6;
  --creme-2: #F4EDE2;

  --font-brand: 'Playfair Display', Georgia, serif;
  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow-xs: 0 1px 2px rgba(74, 15, 12, .06);
  --shadow-sm: 0 2px 6px rgba(74, 15, 12, .05), 0 8px 24px rgba(74, 15, 12, .06);
  --shadow: 0 10px 30px rgba(74, 15, 12, .10), 0 2px 8px rgba(74, 15, 12, .05);
  --shadow-lg: 0 30px 60px -12px rgba(36, 6, 5, .35), 0 12px 24px -8px rgba(36, 6, 5, .18);
  --glow: 0 10px 30px -6px rgba(247, 162, 27, .55);
  --grad-bordo: radial-gradient(120% 120% at 80% 20%, #8E2B1F 0%, #6E1A16 38%, #4A0F0C 72%, #2A0806 100%);
  --grad-sol: linear-gradient(135deg, #FFB43A 0%, #F7A21B 45%, #EC8608 100%);
  --fio: linear-gradient(90deg, transparent, var(--laranja) 20%, var(--mostarda) 50%, var(--bordo) 80%, transparent);
  --gutter: 16px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(247, 162, 27, .07), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(110, 26, 22, .045), transparent 60%),
    var(--fundo);
  color: var(--texto);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--laranja); }
p { margin: 0 0 1em; }
::selection { background: var(--laranja); color: var(--bordo-noite); }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--laranja); color: var(--texto); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--texto-suave); }
svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 1.9; flex-shrink: 0; }

/* revelar ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .97rem; letter-spacing: .005em; line-height: 1.1; text-align: center; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-sol); color: var(--bordo-noite); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:hover { box-shadow: 0 16px 36px -8px rgba(247, 162, 27, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-dark { background: var(--bordo); color: #FFF6EA; box-shadow: 0 10px 24px -10px rgba(74, 15, 12, .7); }
.btn-dark:hover { background: var(--bordo-claro); }
.btn-outline { border-color: rgba(110, 26, 22, .35); color: var(--bordo); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--bordo); background: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost-light { border-color: rgba(255, 241, 218, .35); color: #FFF4E4; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { border-color: rgba(255, 241, 218, .8); background: rgba(255, 255, 255, .12); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  border: 0; background: transparent; position: relative; color: var(--bordo); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: rgba(110, 26, 22, .07); }
.badge-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--grad-sol); color: var(--bordo-noite); font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff;
}

/* ---------- topo ---------- */
.announce { background: var(--bordo-noite); color: #F4D8B5; font-size: .8rem; font-weight: 600; text-align: center; padding: 8px 0; letter-spacing: .04em; }
.announce span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 241, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(74, 15, 12, .35); }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(247, 162, 27, .55), 0 6px 18px -6px rgba(74, 15, 12, .5); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-brand); font-weight: 700; color: var(--bordo); font-size: 1.42rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.brand-tag { font-size: .74rem; color: var(--texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.search {
  flex: 1; max-width: 440px; margin-left: auto; position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: 0 18px; height: 48px;
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: rgba(247, 162, 27, .7); box-shadow: 0 0 0 5px rgba(247, 162, 27, .14); }
.search > svg { color: var(--texto-suave); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; padding: 0 10px; height: 100%; min-width: 0; }
.search-suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; border: 1px solid var(--linha); }
.search-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s; }
.search-suggest a:hover { background: var(--fundo); }
.search-suggest img { width: 44px; height: 54px; object-fit: cover; border-radius: 10px; }
.search-suggest span { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.search-suggest strong { color: var(--preco); font-size: .9rem; }
.search-suggest .all { justify-content: center; font-weight: 700; color: var(--bordo); }
.header-actions { display: flex; gap: 2px; }
.menu-btn, .search-mobile { display: none; }

.cat-nav { border-top: 1px solid rgba(110, 26, 22, .07); }
.cat-nav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 4px; padding-bottom: 4px; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { position: relative; white-space: nowrap; padding: 10px 14px; font-weight: 600; font-size: .9rem; color: var(--texto-suave); transition: color .2s; }
.cat-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-sol); transform: scaleX(0); transition: transform .3s var(--ease); }
.cat-nav a:hover { color: var(--bordo); }
.cat-nav a:hover::after, .cat-nav a.is-active::after { transform: scaleX(1); }
.cat-nav a.is-active { color: var(--bordo); }
/* filete: substitui a faixa listrada */
.kente { height: 2px; background: var(--fio); opacity: .85; }

/* ---------- menu lateral (celular) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(36, 6, 5, .5); backdrop-filter: blur(3px); animation: fade .25s ease; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--fundo); display: flex; flex-direction: column; animation: slide-in .35s var(--ease); overflow-y: auto; border-radius: 0 28px 28px 0; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 18px; background: var(--grad-bordo); color: #FFF4E4; }
.drawer-head img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(247, 162, 27, .6); }
.drawer-head strong { font-family: var(--font-brand); font-size: 1.15rem; flex: 1; }
.drawer-head .icon-btn { color: #FFF4E4; }
.drawer-search { display: flex; margin: 16px; background: #fff; border: 1px solid var(--linha); border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-xs); }
.drawer-search input { flex: 1; border: 0; padding: 12px 18px; outline: 0; background: transparent; min-width: 0; }
.drawer-search button { border: 0; background: var(--grad-sol); width: 52px; color: var(--bordo-noite); }
.drawer-links { display: flex; flex-direction: column; padding: 0 10px; }
.drawer-links a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; font-weight: 600; transition: background .2s; }
.drawer-links a svg { color: var(--bordo); background: var(--laranja-suave); width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.drawer-links a:hover { background: #fff; }
.drawer-foot { margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--linha); color: var(--texto-suave); font-weight: 600; }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- banner ---------- */
.hero { position: relative; background: var(--grad-bordo); color: #FFF4E4; overflow: hidden; isolation: isolate; }
.hero::after { /* grão sutil */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-pattern { position: absolute; inset: 0; z-index: -1; background: url('/images/patterns/hero-pattern.svg') repeat center / 96px; opacity: .045; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); color: #FFF8EE; margin: 22px 0 22px; max-width: 14ch; font-weight: 600; line-height: 1.04; letter-spacing: -.025em; }
.hero h1 em { color: var(--laranja); font-weight: 500; text-shadow: 0 0 40px rgba(247, 162, 27, .35); }
.hero-sub { font-size: 1.12rem; color: rgba(255, 238, 215, .82); max-width: 50ch; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; font-weight: 600; font-size: .86rem; color: rgba(255, 238, 215, .9); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 238, 215, .12); }
.hero-points svg { color: var(--laranja); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-sun { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(247, 162, 27, .55) 0%, rgba(247, 162, 27, .18) 38%, transparent 68%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.hero-ring { position: absolute; width: 104%; max-width: 560px; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 238, 215, .18); animation: spin 90s linear infinite; }
.hero-ring::before { content: ''; position: absolute; top: 8%; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 18px 4px rgba(247, 162, 27, .7); }
.hero-emblem, .hero-photo { position: relative; width: min(100%, 480px); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); animation: float 8s ease-in-out infinite; }
.hero-photo { border-radius: 32px; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(255, 255, 255, .2); }
.hero-badge {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px;
  background: rgba(255, 248, 238, .12); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 248, 238, .22); color: #FFF4E4; font-weight: 700; font-size: .84rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  animation: float 9s ease-in-out infinite;
}
.hero-badge svg { color: var(--laranja); }
.hb-1 { top: 12%; left: -2%; animation-delay: -2s; }
.hb-2 { top: 46%; right: -4%; animation-delay: -5s; }
.hb-3 { top: 2%; right: 10%; animation-delay: -7s; }
/* peças reais flutuando ao lado do emblema */
.hero-pick {
  position: absolute; z-index: 2; width: 168px; display: flex; flex-direction: column; padding: 8px; border-radius: 20px; text-decoration: none;
  background: rgba(255, 250, 243, .96); color: var(--texto); box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .55); transition: transform .35s var(--ease);
}
.hero-pick img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: #EFE5D6; }
.hp-body { display: flex; flex-direction: column; gap: 2px; padding: 8px 4px 2px; }
.hp-name { font-size: .78rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-pick strong { font-size: .92rem; color: var(--bordo); }
.hp-1 { left: -7%; top: 0; transform: rotate(-6deg); animation: pick-l 9s ease-in-out infinite; }
.hp-2 { right: -3%; top: 38%; transform: rotate(5deg); animation: pick-r 10s ease-in-out -3s infinite; }
@keyframes pick-l { 50% { transform: rotate(-6deg) translateY(-10px); } }
@keyframes pick-r { 50% { transform: rotate(5deg) translateY(-10px); } }
.hero-art:has(.hero-pick) .hb-1 { top: auto; left: auto; right: 4%; bottom: 2%; }
@media (max-width: 1180px) { .hero-pick { width: 140px; } .hp-1 { left: -2%; } .hp-2 { right: 0; } }
.hero-pick:hover { transform: rotate(0) scale(1.04); animation-play-state: paused; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--fundo); }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
@keyframes spin { to { transform: rotate(360deg); } }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mostarda); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 4px rgba(247, 162, 27, .18); }
.kicker svg { display: none; }
.kicker-light { color: #FFD9A0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 238, 215, .14); padding: 8px 16px 8px 12px; border-radius: 999px; backdrop-filter: blur(8px); }

/* ---------- seções ---------- */
.section { padding: 88px 0; position: relative; }
.section-tight { padding: 36px 0 72px; }
.section-tint { background: linear-gradient(180deg, transparent, var(--fundo-2) 18%, var(--fundo-2) 82%, transparent); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 10px 0 0; color: var(--bordo); }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center .kicker { justify-content: center; }
.section-lead { color: var(--texto-suave); margin: 14px auto 0; max-width: 54ch; font-size: 1.05rem; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bordo); white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-xs); border: 1px solid var(--linha); transition: box-shadow .25s, transform .25s var(--ease); }
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.link-more:hover svg { transform: translateX(3px); }

/* faixa escura (como a peça nasce) */
.section-dark { background: var(--grad-bordo); color: #FFF4E4; margin: 40px auto; border-radius: 40px; max-width: calc(1240px + 64px); overflow: hidden; isolation: isolate; }
.section-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/patterns/hero-pattern.svg') repeat center / 96px; opacity: .04; }
.section-dark .section-head h2 { color: #FFF8EE; }
.section-dark .section-lead { color: rgba(255, 238, 215, .75); }
.section-dark .kicker { color: #FFD9A0; }
.section-dark .link-more { background: rgba(255, 255, 255, .08); color: #FFF4E4; border-color: rgba(255, 238, 215, .2); box-shadow: none; }

/* categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 12px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(110, 26, 22, .05); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.cat-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-bordo); opacity: 0; transition: opacity .4s var(--ease); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #FFF4E4; }
.cat-card:hover::before { opacity: 1; }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.cat-icon { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: var(--bordo); background: var(--laranja-suave); transition: transform .5s var(--ease), background .3s, color .3s; }
.cat-icon::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, var(--laranja), var(--bordo), var(--mostarda), var(--laranja)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
.cat-icon svg { width: 28px; height: 28px; }
.cat-card:hover .cat-icon { transform: rotate(-8deg) scale(1.06); background: rgba(255, 255, 255, .12); color: var(--laranja); }
.cat-name { font-weight: 700; line-height: 1.25; font-size: .92rem; }
.cat-count { font-size: .76rem; color: var(--texto-suave); font-weight: 600; transition: color .3s; }
.cat-card:hover .cat-count { color: rgba(255, 238, 215, .7); }

/* produtos */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card-product { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #F7F0E6, #EFE5D6); overflow: hidden; margin: 8px 8px 0; border-radius: 16px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.card-media::after { content: 'Ver peça'; position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 16px); opacity: 0; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); color: var(--bordo); font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), opacity .45s var(--ease); white-space: nowrap; }
.card-product:hover .card-media::after { transform: translate(-50%, 0); opacity: 1; }
.card-hover { position: absolute; inset: 0; opacity: 0; }
.card-product:hover .card-hover { opacity: 1; }
.card-product:hover .card-media > img:first-child { transform: scale(1.06); }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--linha-forte); }
.card-noimg svg { width: 48px; height: 48px; }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; line-height: 1.1; backdrop-filter: blur(8px); }
.tag-sale { background: var(--vermelho); color: #fff; box-shadow: 0 6px 14px -6px rgba(184, 53, 42, .8); }
.tag-unique { background: rgba(46, 20, 12, .82); color: #FFD9A0; }
.tag-new { background: rgba(255, 255, 255, .92); color: var(--verde); }
.card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 18px; flex: 1; }
.card-ribbon { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: var(--verde); background: #EFF5E8; padding: 4px 10px 4px 8px; border-radius: 999px; }
.card-ribbon svg { width: 12px; height: 12px; }
.card-title { font-weight: 600; line-height: 1.35; font-size: .97rem; color: var(--texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; transition: color .2s; }
.card-title:hover { color: var(--bordo); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .76rem; color: var(--texto-suave); font-weight: 600; }
.dot-sep::before { content: '·'; margin-right: 6px; }
.modality { display: inline-flex; align-items: center; gap: 6px; }
.modality::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mostarda); box-shadow: 0 0 0 3px rgba(163, 134, 44, .15); }
.modality-pronta_entrega::before { background: var(--verde); box-shadow: 0 0 0 3px rgba(79, 122, 44, .15); }
.modality svg { width: 15px; height: 15px; }
.price-line { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; padding-top: 6px; }
.price-line small { width: 100%; font-size: .72rem; color: var(--texto-suave); font-weight: 600; letter-spacing: .02em; }
.price-line s { color: var(--texto-suave); font-size: .84rem; }
.price { color: var(--preco); font-weight: 800; font-size: 1.22rem; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.soldout { font-size: .74rem; color: var(--vermelho); font-weight: 700; }

/* como funciona */
.steps { list-style: none; padding: 0; margin: 10px 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; border-top: 1px dashed rgba(255, 238, 215, .25); }
.steps li { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 238, 215, .12); border-radius: var(--radius); padding: 30px 22px 24px; backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s; }
.steps li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.steps li > svg { width: 30px; height: 30px; color: var(--laranja); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; color: #FFF8EE; }
.steps p { margin: 0; color: rgba(255, 238, 215, .72); font-size: .93rem; }
.step-n { position: absolute; top: -18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-sol); color: var(--bordo-noite); display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; box-shadow: var(--glow); }

/* sobre */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; background: #fff; border-radius: 36px; padding: 48px; box-shadow: var(--shadow); position: relative; overflow: hidden; isolation: isolate; }
.about::before { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 162, 27, .16), transparent 70%); z-index: -1; }
.about-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--grad-bordo); box-shadow: inset 0 0 60px rgba(0, 0, 0, .35), var(--shadow); }
.about-art img { width: 86%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--bordo); margin-top: 10px; }
.about-copy p { color: var(--texto-suave); font-size: 1.06rem; line-height: 1.8; }
.about-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- listagem ---------- */
.page-band { position: relative; background: var(--grad-bordo); color: #FFF4E4; padding: 44px 0 56px; overflow: hidden; isolation: isolate; border-radius: 0 0 36px 36px; }
.page-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/patterns/hero-pattern.svg') repeat center / 96px; opacity: .045; }
.page-band::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 162, 27, .35), transparent 65%); z-index: -1; }
.page-band h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 12px 0 8px; color: #FFF8EE; }
.page-band p { color: rgba(255, 238, 215, .78); margin: 0; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: rgba(255, 220, 180, .75); letter-spacing: .02em; }
.crumbs a:hover { color: var(--laranja); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }
.crumbs-dark { color: var(--texto-suave); padding: 22px 0 8px; }
.crumbs-dark span { color: var(--texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50vw; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; padding: 10px 10px 10px 18px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); }
.toolbar-count { color: var(--texto-suave); margin-right: auto; font-size: .92rem; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--linha); background: var(--fundo); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; transition: all .2s; }
.chip:hover { border-color: var(--bordo); color: var(--bordo); }
.chip.is-active { background: var(--bordo); border-color: var(--bordo); color: #FFF4E4; box-shadow: 0 6px 16px -8px rgba(74, 15, 12, .8); }
.select-wrap select { appearance: none; border: 1px solid var(--linha); background: var(--fundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E1A16' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; padding: 9px 40px 9px 16px; border-radius: 999px; font-weight: 600; font-size: .86rem; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); font-weight: 700; transition: all .2s; }
.pager a:hover { box-shadow: var(--shadow-sm); }
.pager a.is-active { background: var(--bordo); color: #fff; }
.empty { text-align: center; background: #fff; border-radius: 28px; padding: 56px 24px; box-shadow: var(--shadow-sm); }
.empty > svg { width: 48px; height: 48px; color: var(--laranja); margin: 0 auto 14px; }
.empty h2 { color: var(--bordo); }
.empty p { color: var(--texto-suave); }

/* ---------- produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; padding-top: 10px; padding-bottom: 56px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 60px); }
.pdp-main { position: relative; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #F7F0E6, #EFE5D6); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.pdp-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; } /* foto inteira, sem corte */
.pdp-caption { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--bordo); font-weight: 800; font-size: .88rem; box-shadow: var(--shadow-sm); white-space: nowrap; animation: toast-in .35s var(--ease); }
.pdp-off { position: absolute; top: 16px; left: 16px; font-size: .82rem; padding: 7px 13px; }
.pdp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--bordo); transition: transform .25s var(--ease), background .2s; }
.pdp-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pdp-nav.prev { left: 16px; }
.pdp-nav.next { right: 16px; }
.pdp-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pdp-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .65); transition: width .3s var(--ease), background .3s; }
.pdp-dots span.is-active { width: 24px; border-radius: 4px; background: #fff; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px; }
.pdp-thumbs button { flex: 0 0 74px; border: 2px solid transparent; border-radius: 14px; padding: 0; overflow: hidden; background: none; opacity: .6; transition: opacity .2s, border-color .2s, transform .2s; }
.pdp-thumbs button.is-active, .pdp-thumbs button:hover { opacity: 1; border-color: var(--laranja); transform: translateY(-2px); }
.pdp-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-info { padding-top: 6px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 10px 0 14px; color: var(--texto); }
.pdp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; font-weight: 600; color: var(--texto-suave); }
.pdp-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--texto); }
.pdp-rating svg { color: var(--laranja); fill: var(--laranja); }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 24px 0 14px; padding: 20px 22px; background: linear-gradient(135deg, #fff, var(--laranja-suave)); border-radius: 20px; border: 1px solid rgba(247, 162, 27, .25); }
.pdp-price s { color: var(--texto-suave); }
.price-xl { font-size: 2.1rem; font-family: var(--font-body); }
.pdp-price .save { font-size: .8rem; font-weight: 800; color: #fff; background: var(--vermelho); padding: 4px 10px; border-radius: 999px; }
.pdp-lead { color: var(--texto-suave); font-size: 1.06rem; line-height: 1.75; }
.pdp-buy { margin-top: 22px; display: flex; flex-direction: column; gap: 20px; }
.var-group { border: 0; padding: 0; margin: 0; }
.var-group legend { font-weight: 700; margin-bottom: 12px; padding: 0; font-size: .95rem; }
.var-group legend span { font-weight: 600; color: var(--bordo); }
.var-options { display: flex; flex-wrap: wrap; gap: 10px; }
.var-opt {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 6px 16px;
  background: #fff; border: 1.5px solid var(--linha); border-radius: 14px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.var-opt.has-img { padding-left: 6px; }
.var-opt img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.var-opt b { color: var(--bordo); font-weight: 800; }
.var-opt .swatch { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.var-opt:hover { border-color: rgba(110, 26, 22, .4); transform: translateY(-2px); }
.var-opt[aria-pressed="true"] { border-color: var(--laranja); background: #FFFBF4; box-shadow: 0 0 0 4px rgba(247, 162, 27, .18), var(--shadow-sm); }
.var-opt[aria-pressed="true"]::after {
  content: ''; position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px #fff;
  background: var(--grad-sol);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23240605' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"), var(--grad-sol);
  background-size: 13px, cover; background-position: center; background-repeat: no-repeat;
}
.var-opt[data-unavailable="true"] { opacity: .42; border-style: dashed; box-shadow: none; }
.var-opt[data-unavailable="true"] span { text-decoration: line-through; }
.field { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: .92rem; }
.field small { font-weight: 500; color: var(--texto-suave); }
.field input, .field textarea, .field select { border: 1px solid var(--linha-forte); border-radius: 14px; padding: 12px 15px; background: #fff; font-weight: 500; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--laranja); box-shadow: 0 0 0 5px rgba(247, 162, 27, .14); }
.link-small { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--bordo); margin-top: -10px; }
.var-desc { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(247, 162, 27, .35); border-left: 4px solid var(--laranja); box-shadow: var(--shadow-xs); animation: toast-in .3s var(--ease); }
.var-desc strong { color: var(--bordo); font-size: .9rem; }
.var-desc p { margin: 4px 0 0; color: var(--texto-suave); font-size: .92rem; line-height: 1.6; }
.var-desc p + strong { display: block; margin-top: 10px; }
.pdp-stock { font-size: .9rem; font-weight: 700; min-height: 1.2em; }
.pdp-stock.ok { color: var(--verde); }
.pdp-stock.low { color: var(--vermelho); }
.buy-row { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; background: #fff; border: 1px solid var(--linha-forte); border-radius: 999px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.qty button { width: 46px; height: 54px; border: 0; background: transparent; display: grid; place-items: center; color: var(--bordo); transition: background .2s; }
.qty button:hover { background: var(--fundo); }
.qty input { width: 38px; border: 0; text-align: center; font-weight: 800; outline: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.form-error { color: var(--vermelho); font-weight: 700; margin: -6px 0 0; }
.pdp-assurances { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pdp-assurances li { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--texto-suave); background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-xs); border: 1px solid var(--linha); }
.pdp-assurances svg { color: var(--bordo); background: var(--laranja-suave); width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.pdp-assurances strong { color: var(--texto); display: block; }
.pdp-alt { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--texto-suave); }
.pdp-alt a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--bordo); }
.pdp-alt svg { width: 14px; height: 14px; }
.pdp-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-bottom: 44px; align-items: start; }
.pdp-desc, .pdp-specs, .pdp-reviews { background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow-sm); }
.pdp-desc h2, .pdp-specs h2, .pdp-reviews h2 { font-size: 1.6rem; color: var(--bordo); }
.pdp-desc p { color: #4F352B; line-height: 1.85; }
.pdp-specs dl { margin: 0; }
.pdp-specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--linha-forte); }
.pdp-specs dl div:last-child { border: 0; }
.pdp-specs dt { color: var(--texto-suave); font-weight: 500; }
.pdp-specs dd { margin: 0; font-weight: 700; text-align: right; }
.pdp-video { padding-bottom: 44px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; max-width: 920px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pdp-reviews { margin-bottom: 20px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.review { background: var(--fundo); border-radius: 20px; padding: 20px; }
.review img { border-radius: 12px; margin: 6px 0 10px; width: 120px; height: 120px; object-fit: cover; }
.review footer { font-size: .84rem; color: var(--texto-suave); }
.review-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--laranja); background: #fff; border-radius: 0 12px 12px 0; font-size: .9rem; }
.stars { display: flex; gap: 2px; margin-bottom: 8px; }
.stars svg { width: 16px; height: 16px; color: var(--linha-forte); }
.stars svg.on { color: var(--laranja); fill: var(--laranja); }


/* ---------- institucionais ---------- */
.prose { max-width: 780px; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-sm); }
.prose h2 { color: var(--bordo); font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #4F352B; font-size: 1.04rem; line-height: 1.8; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--laranja); }
.prose a { color: var(--bordo); font-weight: 700; text-decoration: underline; text-decoration-color: var(--laranja); text-underline-offset: 3px; }
.prose .btn { text-decoration: none; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; border-radius: 16px; overflow: hidden; margin-bottom: 1em; box-shadow: 0 0 0 1px var(--linha); }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--linha); }
.prose th { background: var(--bordo); color: #FFF4E4; font-weight: 700; }
.prose-cta { margin-top: 40px; padding: 26px; background: linear-gradient(135deg, var(--laranja-suave), #fff); border-radius: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.prose-cta p { margin: 0; font-weight: 700; color: var(--texto); }

.flash { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; font-weight: 700; box-shadow: var(--shadow-xs); }
.flash-success { background: #EFF5E8; color: var(--verde); }
.flash-error { background: #FBEAE7; color: var(--vermelho); }

.error-page { text-align: center; padding: 72px 0 96px; }
.error-page img { margin: 0 auto 18px; filter: drop-shadow(0 20px 30px rgba(74, 15, 12, .3)); }
.error-page h1 { color: var(--bordo); font-size: clamp(2rem, 4.4vw, 3rem); }
.error-page p { color: var(--texto-suave); max-width: 46ch; margin: 0 auto; }
.error-page .hero-ctas { justify-content: center; }
.maintenance main { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 10px; }
.maintenance h1 { color: var(--bordo); }

/* ---------- rodapé ---------- */
.site-footer { position: relative; background: var(--grad-bordo); color: rgba(255, 238, 215, .82); margin-top: 72px; border-radius: 44px 44px 0 0; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/patterns/hero-pattern.svg') repeat center / 96px; opacity: .035; }
.site-footer > .kente { margin: 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.footer-brand img { width: 128px; margin-bottom: 14px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .4)); }
.footer-slogan { font-family: var(--font-title); font-style: italic; font-size: 1.3rem; color: var(--laranja); margin-bottom: 10px; }
.footer-desc { font-size: .92rem; color: rgba(255, 238, 215, .66); max-width: 36ch; }
.site-footer h3 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #FFD9A0; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--laranja); }
.footer-bottom { border-top: 1px solid rgba(255, 238, 215, .1); padding: 18px 0; font-size: .82rem; color: rgba(255, 238, 215, .55); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #5E9135, var(--verde)); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(79, 122, 44, .65); transition: transform .3s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(79, 122, 44, .35); animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- sacola, favoritos, frete ---------- */
.fav-btn { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); color: var(--bordo); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), color .2s; }
.fav-btn:hover { transform: scale(1.12); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn.is-on { color: var(--vermelho); }
.fav-btn.is-on svg { fill: var(--vermelho); animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.pdp-title { display: flex; align-items: flex-start; gap: 14px; }
.pdp-title h1 { flex: 1; }
.fav-inline { position: static; flex-shrink: 0; margin-top: 14px; box-shadow: var(--shadow-xs); border: 1px solid var(--linha); }
.btn.is-busy { opacity: .7; pointer-events: none; }
.link-wa { display: inline-flex; align-self: center; align-items: center; gap: 6px; border: 0; background: none; color: var(--verde); font-weight: 700; font-size: .9rem; padding: 4px; }
.link-wa:hover { text-decoration: underline; }
.pdp-ship { margin-top: 20px; padding: 18px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-xs); border: 1px solid var(--linha); }
.pdp-ship label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 12px; }
.pdp-ship label svg { color: var(--bordo); }
.pdp-ship-row { display: flex; gap: 8px; }
.pdp-ship-row input { flex: 1; min-width: 0; border: 1px solid var(--linha-forte); border-radius: 999px; padding: 11px 18px; outline: 0; background: var(--fundo); }
.pdp-ship-row input:focus { border-color: var(--laranja); background: #fff; }
.pdp-ship-row .btn { min-height: 46px; }
.pdp-ship-result { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.pdp-ship-result li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--fundo); border-radius: 12px; }
.pdp-ship-result li.ship-err { color: var(--vermelho); background: #FBEAE7; font-weight: 700; }
.pdp-ship-result li.ship-load, .pdp-ship-result li.ship-note { color: var(--texto-suave); background: none; padding: 2px 4px; }
.cart-toast { position: fixed; z-index: 90; right: 20px; top: 96px; display: flex; align-items: center; gap: 12px; max-width: min(430px, calc(100vw - 32px)); padding: 14px 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--linha); animation: toast-in .4s var(--ease); transition: opacity .4s, transform .4s; }
.cart-toast.is-out { opacity: 0; transform: translateY(-8px); }
.cart-toast img { width: 48px; height: 58px; object-fit: cover; border-radius: 12px; }
.cart-toast div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .88rem; }
.cart-toast strong { color: var(--verde); }
.cart-toast span { color: var(--texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-toast .btn { min-height: 40px; padding: .4em 1.1em; font-size: .86rem; }
.cart-toast > button { border: 0; background: none; font-size: 1.4rem; color: var(--texto-suave); line-height: 1; padding: 4px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

/* ---------- conta no topo e no menu ---------- */
.btn-sm { min-height: 38px; padding: .45em 1.1em; font-size: .86rem; }
.acc-btn img, .acc-initial { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.acc-initial { display: grid; place-items: center; background: var(--grad-sol); color: var(--bordo-noite); font-weight: 800; font-size: .9rem; }
.drawer-account { display: grid; gap: 2px; padding: 12px 18px; border-top: 1px solid var(--linha); }
.drawer-account a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 700; color: var(--texto); }
.drawer-account svg { width: 20px; height: 20px; color: var(--bordo); }
.drawer-account .drawer-login { justify-content: center; margin-bottom: 6px; padding: 12px; border-radius: 14px; background: var(--grad-sol); color: var(--bordo-noite); }
.drawer-account .drawer-login svg { color: var(--bordo-noite); }

/* ---------- vídeo do produto (primeira mídia, estilo Shopee) ---------- */
.pdp-video-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; background: #120604; }
.pdp-video-slide video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--bordo); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.pdp-play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.pdp-sound { position: absolute; left: 14px; bottom: 44px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.pdp-sound svg { width: 18px; height: 18px; }
.pdp-dots span.is-video { background: var(--laranja); }
.pdp-thumbs .thumb-video { position: relative; }
.pdp-thumbs .thumb-video svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; fill: #fff; }
.card-video { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(20, 8, 6, .65); color: #fff; font-size: .7rem; font-weight: 800; }
.card-video svg { width: 12px; height: 12px; fill: #fff; }

/* ---------- visualizador de fotos ---------- */
.pdp-track img { cursor: zoom-in; }
.pdp-zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); color: var(--bordo); box-shadow: var(--shadow-sm); }
.pdp-zoom svg { width: 18px; height: 18px; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 8, 6, .96); display: flex; flex-direction: column; animation: lb-in .2s ease; }
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: max(12px, env(safe-area-inset-top)) 14px 8px 20px; color: #fff; }
.lb-count { font-weight: 700; font-size: .9rem; letter-spacing: .04em; opacity: .85; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; min-width: 0; margin: 0; display: grid; place-items: center; padding: 8px 12px max(24px, env(safe-area-inset-bottom)); scroll-snap-align: center; }
.lb-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; touch-action: pinch-zoom pan-x; }
.lb-caption { position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--bordo); font-weight: 800; font-size: .88rem; white-space: nowrap; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
@media (hover: none) { .lb-nav { display: none; } }

/* ---------- banner da categoria ---------- */
.cat-banner { padding: 0; min-height: clamp(200px, 24vw, 380px); display: flex; align-items: flex-end; background: var(--bordo-noite); }
.cat-banner::before { display: none; }
.cat-banner::after { content: ''; position: absolute; inset: 0; right: auto; top: auto; width: 100%; height: 100%; border-radius: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 6, 4, .78) 0%, rgba(20, 6, 4, .45) 45%, rgba(20, 6, 4, 0) 75%), linear-gradient(0deg, rgba(20, 6, 4, .55), transparent 55%); }
.cat-banner-img { position: absolute; inset: 0; z-index: -2; }
.cat-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-banner > .container { padding-top: 40px; padding-bottom: 40px; }
.cat-banner h1, .cat-banner p { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 620px) {
  .cat-banner { min-height: 0; aspect-ratio: 4 / 3; }
  .cat-banner:not(:has(source)) { aspect-ratio: auto; min-height: 220px; }
  .cat-banner > .container { padding-top: 24px; padding-bottom: 24px; }
}

/* ---------- compra no celular (estilo Shopee) ---------- */
/* No computador o formulário fica na página; o painel e a barra só existem no celular. */
.pick-row, .buy-bar, .qty-label { display: none; }
.buy-sheet, .sheet-panel, .buy-actions { display: contents; }
.sheet-backdrop, .sheet-head { display: none; }

@media (max-width: 860px) {
  body:has(.buy-bar) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  .pick-row {
    display: flex; align-items: center; gap: 12px; width: 100%; margin: 18px 0 4px; padding: 12px 14px; text-align: left;
    background: #fff; border: 1px solid var(--linha); border-radius: 18px; box-shadow: var(--shadow-xs); color: var(--texto);
  }
  .pick-row:active { background: var(--fundo); }
  .pick-thumbs { display: flex; flex-shrink: 0; }
  .pick-thumbs img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 2px solid #fff; margin-left: -12px; box-shadow: var(--shadow-xs); }
  .pick-thumbs img:first-child { margin-left: 0; }
  .pick-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .pick-text strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pick-text strong span { color: var(--bordo); }
  .pick-text small { color: var(--texto-suave); font-size: .8rem; }
  .pick-row > svg { flex-shrink: 0; color: var(--texto-suave); }

  .buy-bar {
    display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(62px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 -6px 20px rgba(74, 15, 12, .08);
  }
  .bb-chat { flex: 0 0 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--verde); font-size: .68rem; font-weight: 700; border-right: 1px solid var(--linha); }
  .bb-chat svg { width: 22px; height: 22px; }
  .bb-cart, .bb-buy { flex: 1; border: 0; font-weight: 800; font-size: .9rem; line-height: 1.15; padding: 0 10px; }
  .bb-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--laranja-suave); color: var(--bordo); font-size: .76rem; }
  .bb-cart svg { width: 20px; height: 20px; }
  .bb-buy { background: var(--grad-sol); color: var(--bordo-noite); font-size: .98rem; }

  /* painel que sobe de baixo */
  .buy-sheet { display: block; position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
  .buy-sheet.is-open { visibility: visible; pointer-events: auto; }
  html.sheet-open, html.sheet-open body { overflow: hidden; }
  .sheet-backdrop { display: block; position: absolute; inset: 0; background: rgba(20, 8, 6, .55); opacity: 0; transition: opacity .25s; }
  .buy-sheet.is-open .sheet-backdrop { opacity: 1; }
  .sheet-panel {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; bottom: 0; max-height: 86svh; background: #fff;
    border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(20, 8, 6, .25); transform: translateY(100%); transition: transform .32s var(--ease);
  }
  .buy-sheet.is-open .sheet-panel { transform: none; }
  .sheet-head { display: flex; align-items: flex-end; gap: 14px; padding: 0 16px 14px; border-bottom: 1px solid var(--linha); position: relative; }
  .sheet-img { position: relative; flex-shrink: 0; width: 118px; height: 118px; margin-top: -34px; padding: 0; border: 3px solid #fff; border-radius: 16px; overflow: hidden; background: var(--fundo); box-shadow: var(--shadow); }
  .sheet-img img { width: 100%; height: 100%; object-fit: cover; }
  .sheet-img img.is-swap { animation: sheet-swap .3s ease; }
  @keyframes sheet-swap { from { opacity: .3; transform: scale(1.06); } }
  .sheet-img svg { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: rgba(255, 255, 255, .88); color: var(--bordo); }
  .sheet-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 14px; }
  .sheet-info .price { font-size: 1.4rem; color: var(--vermelho); }
  .sheet-stock { font-size: .82rem; color: var(--texto-suave); }
  .sheet-chosen { font-size: .86rem; font-weight: 700; color: var(--texto); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sheet-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fundo); color: var(--texto-suave); display: grid; place-items: center; }
  .sheet-close svg { width: 18px; height: 18px; }

  .buy-sheet .pdp-buy { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 16px 16px 0; gap: 18px; }
  .buy-sheet .var-options { gap: 8px; }
  .buy-sheet .var-opt { min-height: 44px; }
  .buy-sheet .var-opt img { width: 40px; height: 40px; }
  .buy-sheet .link-wa { display: none; }
  .buy-sheet .pdp-stock:empty { display: none; }

  /* página do produto enxuta: foto, preço, nome, escolha da estampa */
  body:has(.buy-bar) .crumbs-dark { display: none; }
  body:has(.buy-bar) .pdp { padding-top: 0; gap: 0; }
  body:has(.buy-bar) .pdp-main { height: min(125vw, 64svh); border-radius: 0 0 22px 22px; }
  body:has(.buy-bar) .pdp-thumbs { display: none; }
  body:has(.buy-bar) .pdp-info { display: flex; flex-direction: column; padding-top: 14px; }
  body:has(.buy-bar) .pdp-info > .kicker { display: none; }
  body:has(.buy-bar) .pdp-price { order: -1; margin: 0 0 10px; padding: 0; background: none; border: 0; border-radius: 0; }
  body:has(.buy-bar) .pdp-price .price-xl { font-size: 1.7rem; color: var(--vermelho); }
  body:has(.buy-bar) .pdp-title h1 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 8px; }
  body:has(.buy-bar) .pdp-lead { font-size: .95rem; margin: 10px 0 0; }
  body:has(.buy-bar) .pdp-ship { margin-top: 14px; }

  .buy-actions {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; position: sticky; bottom: 0; margin: auto -16px 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linha);
  }
  .buy-actions .buy-row { display: contents; }
  .qty-label { display: block; grid-row: 1; font-weight: 700; font-size: .92rem; }
  .buy-actions .qty { grid-row: 1; grid-column: 2; justify-self: end; }
  .buy-actions .qty button { width: 40px; height: 40px; }
  .buy-actions .form-error { grid-row: 2; grid-column: 1 / -1; margin: 0; font-size: .88rem; }
  .buy-actions [data-buy-now], .buy-actions [data-add-cart] { grid-row: 3; min-height: 50px; font-size: .95rem; }
  .buy-actions [data-add-cart] { grid-column: 1; }
  .buy-actions [data-buy-now] { grid-column: 2; }
  .mode-cart .buy-actions [data-buy-now], .mode-buy .buy-actions [data-add-cart] { display: none; }
  .mode-cart .buy-actions [data-add-cart], .mode-buy .buy-actions [data-buy-now] { grid-column: 1 / -1; }
  .mode-cart .buy-actions [data-add-cart] { background: var(--grad-sol); color: var(--bordo-noite); border-color: transparent; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .steps::before { display: none; }
  .hb-2 { right: 0; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .search-mobile { display: inline-grid; }
  .brand { gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1.08rem; }
  .header-row { gap: 8px; }
  .header-actions .icon-btn { width: 40px; }
  .brand-tag { display: none; }
  .search { display: none; }
  .header-actions { margin-left: auto; }
  .cat-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 84px; gap: 4px; text-align: center; }
  .hero-art { order: -1; min-height: 0; padding: 18px 0 6px; }
  .hero-emblem, .hero-photo { width: min(52vw, 220px); }
  .hero-pick { display: none; }
  .hero-art:has(.hero-pick) .hb-1 { top: 6%; left: 0; right: auto; bottom: auto; }
  .hero-ring { width: min(84vw, 360px); }
  .hero-badge { padding: 7px 12px; font-size: .74rem; border-radius: 12px; }
  .hb-1 { top: 6%; left: 0; }
  .hb-2, .hb-3 { display: none; }
  .header-actions .icon-btn[aria-label="Falar no WhatsApp"], .header-actions .hide-sm { display: none; }
  .brand { flex-shrink: 1; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { margin: 16px auto 16px; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 1.02rem; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-dark { border-radius: 28px; margin: 24px 12px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pdp-gallery { position: static; margin: 0 calc(var(--gutter) * -1); }
  .pdp-main { border-radius: 0 0 28px 28px; box-shadow: none; }
  .pdp-thumbs { padding: 4px var(--gutter); }
  .pdp-nav { display: none; }
  .pdp-details { grid-template-columns: minmax(0, 1fr); }
  .pdp-main { aspect-ratio: auto; height: min(125vw, 66svh); }
  .about { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; gap: 22px; border-radius: 28px; }
  .about-art { width: 220px; margin: 0 auto; }
  .about-copy .kicker, .about-ctas { justify-content: center; }
  .prose { padding: 26px 20px; }
  .page-band { border-radius: 0 0 28px 28px; }
  /* Na página do produto o WhatsApp está no botão "Conversar" da barra de compra. */
  body:has(.buy-bar) .wa-float { display: none; }
  .cart-toast { left: 12px; right: 12px; top: auto; bottom: 92px; max-width: none; }
  .site-footer { border-radius: 32px 32px 0 0; margin-top: 48px; }
  .site-footer > .kente { margin: 0 28px; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-product { border-radius: 18px; }
  .card-media { margin: 6px 6px 0; border-radius: 13px; }
  .card-media::after { display: none; }
  .card-body { padding: 10px 11px 14px; }
  .card-title { font-size: .88rem; }
  .price { font-size: 1.06rem; }
  .fav-btn { top: 12px; right: 12px; width: 34px; height: 34px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { padding: 18px 6px 14px; border-radius: 18px; }
  .cat-icon { width: 52px; height: 52px; }
  .cat-icon svg { width: 22px; height: 22px; }
  .cat-name { font-size: .8rem; }
  .section-head { margin-bottom: 22px; }
  .section-head .link-more { padding: 8px 12px; font-size: .85rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .toolbar { border-radius: 22px; padding: 12px; }
  .toolbar-count { width: 100%; }
  .pdp-desc, .pdp-specs, .pdp-reviews { padding: 22px; border-radius: 22px; }
  .price-xl { font-size: 1.75rem; }
}
@media (max-width: 380px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-name { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
