:root {
  color-scheme: light;
  --bg: #f3ede4;
  --bg-2: #e9dfd2;
  --surface: #faf4ec;
  --surface-2: #ece2d6;
  --surface-3: #e2d6c8;
  --line: #d8ccbd;
  --line-2: #c4b5a4;
  --text: #1b1513;
  --muted: #6d5f55;
  --muted-2: #94857a;
  --accent: #7a1420;
  --accent-2: #5e0d17;
  --accent-soft: rgba(122, 20, 32, .12);
  --amber: #7a1420;
  --green: #3f6b4f;
  --blue: #7c6a4f;
  --purple: #7b5a4a;
  --red: #a33b32;
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: 0 18px 50px rgba(60, 45, 25, .10);
  --max: 1280px;
  --font: "Jost", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8em; }
.text-orange { color: var(--accent-2); }
.icon { display: inline-block; vertical-align: -.16em; flex: none; }
.icon.flip { transform: scaleX(-1); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
  transition: .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1668e3);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 125, 246, .3);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(47, 125, 246, .42); }
.btn-outline { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--accent); color: #fff; background: var(--accent-soft); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-2); color: #fff; }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { color: #0b2f63; background: #e8f2ff; }
.btn-sm { padding: 8px 13px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 15px 24px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.link-btn:hover { color: var(--accent-2); }
.link-btn.danger:hover { color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--text); }
.link-arrow:hover { color: var(--accent-2); gap: 10px; }
.icon-btn { background: none; border: 0; color: var(--text); display: inline-flex; padding: 6px; border-radius: 8px; }
.icon-btn:hover { background: var(--surface-2); color: var(--accent-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar { background: #04080c; border-bottom: 1px solid #131d27; font-size: .76rem; color: var(--muted); }
.topbar-inner { display: flex; gap: 22px; align-items: center; justify-content: space-between; min-height: 34px; flex-wrap: wrap; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-inner .icon { color: var(--accent-2); }
.demo-bar {
  background: linear-gradient(90deg, rgba(47, 125, 246, .2), rgba(56, 189, 248, .12));
  border-bottom: 1px solid rgba(47, 125, 246, .3);
  color: #c7e0ff;
  font-size: .78rem;
  padding: 6px 0;
}
.demo-bar .container { display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center; }
.masthead { background: rgba(7, 11, 16, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { color: var(--text); }
.brand-mark { filter: drop-shadow(0 4px 14px rgba(47, 125, 246, .34)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; letter-spacing: -.02em; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; color: var(--muted); }
.brand-text em { font-style: normal; font-size: 1.18rem; font-weight: 800; color: var(--text); }
.search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 4px 4px 14px;
  max-width: 620px;
  color: var(--muted);
  transition: .18s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input { flex: 1; background: none; border: 0; outline: 0; padding: 9px 0; color: var(--text); min-width: 0; }
.search input::placeholder { color: var(--muted-2); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: .72rem;
  color: var(--muted);
  position: relative;
}
.header-action:hover { background: var(--surface-2); color: var(--text); }
.header-action .icon { color: var(--text); }
.cart-action { background: var(--surface-2); border: 1px solid var(--line); margin-left: 6px; }
.cart-badge {
  position: absolute;
  top: 3px;
  right: 6px;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  font-weight: 800;
}
.catnav { background: #060a0f; border-bottom: 1px solid var(--line); }
.catnav-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav-all, .catnav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.catnav-all { color: var(--text); font-weight: 700; }
.catnav-link:hover, .catnav-all:hover { color: #fff; }
.catnav-link.is-active { color: var(--accent-2); border-bottom-color: var(--accent); }
.catnav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-2);
  padding: 8px 11px;
  border: 1px solid rgba(47, 125, 246, .34);
  border-radius: 8px;
  white-space: nowrap;
}
.catnav-cta:hover { background: var(--accent-soft); color: #dbeafe; }
.menu-btn { display: none; }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--surface);
  z-index: 120;
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow);
  border-right: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1.1rem; }
.search-mobile { max-width: none; margin-bottom: 14px; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a { padding: 11px 3px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.mobile-account { margin-top: 18px; display: grid; gap: 8px; }
.mobile-account form { margin: 0; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 110; backdrop-filter: blur(2px); }
.menu-backdrop[hidden] { display: none; }

/* Flash / toast */
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  margin: 18px 0;
  font-size: .9rem;
  border: 1px solid;
}
.flash-ok { background: rgba(51, 209, 122, .09); border-color: rgba(51, 209, 122, .3); color: #9ff0c2; }
.flash-err { background: rgba(255, 91, 91, .09); border-color: rgba(255, 91, 91, .3); color: #ffb4b4; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #182430;
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 200;
  font-size: .9rem;
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: calc(100vw - 40px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-ok { border-color: rgba(51, 209, 122, .45); }
.toast.is-err { border-color: rgba(255, 91, 91, .5); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin-top: 2px; }
.section-head .eyebrow { margin-bottom: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 74px 0 84px; background: #05090d; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(47, 125, 246, .26), transparent 65%),
    radial-gradient(700px 420px at 12% 8%, rgba(61, 165, 255, .12), transparent 65%),
    linear-gradient(180deg, #05090d, #070b10);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 16px 0 18px; font-size: clamp(2.3rem, 4.7vw, 4rem); letter-spacing: -.035em; }
.hero-copy h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #7cc8ff, var(--accent)); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { font-size: 1.06rem; max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(108, 182, 255, .32);
  background: rgba(47, 125, 246, .1);
  color: #cfe8ff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(51, 209, 122, .12); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-stats strong { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.hero-stats span { font-size: .76rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-product {
  display: block;
  background: linear-gradient(160deg, #14202c, #0a1118 70%);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: rotate(.6deg);
  transition: .25s;
}
.hero-product:hover { transform: rotate(0) translateY(-4px); border-color: rgba(47, 125, 246, .5); }
.hero-product-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hero-product img { width: 100%; height: 330px; object-fit: contain; border-radius: 12px; background: radial-gradient(circle at 50% 45%, #1a2836, #0a121a 70%); }
.hero-product-info { padding: 12px 4px 2px; }
.hero-product-info h3 { margin: 4px 0 10px; font-size: 1.02rem; }
.hero-price { display: flex; align-items: baseline; gap: 8px; }
.hero-price strong { font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.hero-price small { color: var(--muted); font-size: .75rem; }
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 17, 25, .92);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  color: var(--accent-2);
}
.hero-float div { display: flex; flex-direction: column; line-height: 1.2; }
.hero-float strong { color: var(--text); font-size: .85rem; }
.hero-float span { color: var(--muted); font-size: .72rem; }
.float-a { left: -28px; top: 32%; animation: floaty 6s ease-in-out infinite; }
.float-b { right: -22px; top: 24%; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge-cond { background: rgba(61, 165, 255, .12); color: #9ed3ff; border-color: rgba(61, 165, 255, .3); }
.badge-featured { background: rgba(47, 125, 246, .16); color: #bfe0ff; border-color: rgba(47, 125, 246, .35); }
.badge-ok { background: rgba(51, 209, 122, .1); color: #8be8b3; border-color: rgba(51, 209, 122, .28); }
.badge-low { background: rgba(255, 193, 7, .1); color: #ffd98a; border-color: rgba(255, 193, 7, .3); }
.badge-out { background: rgba(255, 91, 91, .1); color: #ffaaaa; border-color: rgba(255, 91, 91, .3); }

/* Trust */
.trust-strip { border-bottom: 1px solid var(--line); background: #080d13; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon { color: var(--accent-2); }
.trust-item div { display: flex; flex-direction: column; line-height: 1.25; }
.trust-item strong { font-size: .88rem; }
.trust-item span { font-size: .76rem; color: var(--muted); }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: .2s;
  overflow: hidden;
}
.category-tile::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 125, 246, .16), transparent 70%); transition: .25s; }
.category-tile:hover { border-color: rgba(47, 125, 246, .5); transform: translateY(-3px); color: var(--text); }
.category-tile:hover::after { transform: scale(1.35); }
.category-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 8px; }
.category-name { font-weight: 800; font-size: 1rem; }
.category-tagline { font-size: .78rem; color: var(--muted); }
.category-count { margin-top: 8px; font-size: .74rem; color: var(--accent-2); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s;
  position: relative;
}
.product-card:hover { border-color: rgba(47, 125, 246, .45); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(0, 0, 0, .35); }
.product-image { position: relative; display: block; background: radial-gradient(circle at 50% 45%, #1b2938, #0a121a 72%); aspect-ratio: 4 / 3; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: .3s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.product-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-brand { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.product-title { font-size: .95rem; line-height: 1.32; font-weight: 700; overflow-wrap: anywhere; }
.product-title a:hover { color: var(--accent-2); }
.product-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: -2px; }
.product-specs li { font-size: .7rem; color: var(--muted); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.price-block { display: flex; flex-direction: column; line-height: 1.15; }
.price { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; }
.price-block small { color: var(--muted); font-size: .68rem; }

/* AI banner */
.ai-banner {
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 85% 25%, rgba(47, 125, 246, .26), transparent 70%),
    linear-gradient(140deg, #101b26, #0a1118 70%);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}
.ai-copy h2 { margin: 6px 0 14px; }
.ai-copy > p { max-width: 520px; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 24px; }
.check-list li { display: flex; align-items: center; gap: 9px; color: #c8d5e2; font-size: .9rem; }
.check-list .icon { color: var(--green); }
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.ai-visual { position: relative; }
.ai-visual img { width: 100%; height: 320px; object-fit: contain; border-radius: 14px; background: radial-gradient(circle, #1b2938, #0a121a 70%); }
.ai-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(6, 10, 15, .9);
  border: 1px solid rgba(47, 125, 246, .45);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}
.ai-badge strong { font-size: 1.25rem; color: var(--accent-2); }
.ai-badge span { font-size: .72rem; color: var(--muted); }

/* Brands */
.brands-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #080d13; padding: 26px 0; }
.brands-band .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brands-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.brands-row { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 7px; font-size: .82rem; color: var(--muted); font-weight: 700; }

/* B2B */
.b2b-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(500px 260px at 90% 20%, rgba(255, 255, 255, .18), transparent 70%),
    linear-gradient(120deg, #1d5fd6, #2f7df6 55%, #38bdf8);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
}
.b2b-band h2 { margin: 4px 0 12px; color: #fff; }
.b2b-band p { color: rgba(255, 255, 255, .82); }
.b2b-band .eyebrow { color: #dbeafe; }
.b2b-band .check-list .icon { color: #fff; }
.b2b-band .check-list li { color: #f2f8ff; }
.b2b-band .btn-light { margin-top: 8px; color: #123d7a; }
.b2b-visual { display: grid; gap: 10px; }
.b2b-stat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 13px 16px; display: flex; align-items: baseline; gap: 12px; }
.b2b-stat strong { font-size: 1.5rem; letter-spacing: -.02em; color: #fff; }
.b2b-stat span { font-size: .8rem; color: rgba(255, 255, 255, .82); }

/* Newsletter */
.newsletter-band { border-top: 1px solid var(--line); background: #080d13; padding: 44px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter-inner h2 { font-size: 1.5rem; margin: 2px 0 6px; }
.newsletter-inner p { margin: 0; font-size: .88rem; }
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 5px 5px 5px 14px;
  min-width: min(440px, 100%);
  color: var(--muted);
}
.newsletter-form input { flex: 1; background: none; border: 0; outline: 0; padding: 8px 0; min-width: 0; }

/* Footer */
.site-footer { background: #05090d; border-top: 1px solid var(--line); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin: 14px 0 16px; font-size: .86rem; max-width: 340px; }
.footer-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 14px; }
.footer-grid > div > a, .footer-grid > div > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .86rem; padding: 4px 0; }
.footer-grid > div > a:hover { color: var(--accent-2); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent-2); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pay-chip { border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 3px 8px; font-size: .64rem; font-weight: 800; color: var(--muted); letter-spacing: .03em; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: .76rem;
}

/* Page head / breadcrumbs */
.page-head { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0b131b, #070b10); padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 8px 0 8px; }
.page-head p { max-width: 720px; margin: 0; font-size: .94rem; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted-2); flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs span { color: var(--muted-2); }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 30px 22px 70px; align-items: start; }
.filters { position: sticky; top: 150px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 16px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-head strong { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; }
.filters-reset { font-size: .76rem; color: var(--muted); }
.filter-block { border-top: 1px solid var(--line); padding: 14px 0; }
.filter-block:first-of-type { border-top: 0; padding-top: 4px; }
.filter-block h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 9px; }
.filter-links { display: flex; flex-direction: column; gap: 1px; }
.filter-links a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 7px; font-size: .84rem; color: var(--muted); }
.filter-links a:hover { background: var(--surface-2); color: var(--text); }
.filter-links a.is-active { background: var(--accent-soft); color: var(--accent-2); font-weight: 700; }
.filter-links a span { color: var(--muted-2); font-size: .74rem; }
.filter-checks { display: flex; flex-direction: column; gap: 5px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); cursor: pointer; padding: 3px 0; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.check span { flex: 1; }
.check em { font-style: normal; font-size: .72rem; color: var(--muted-2); }
.check:hover { color: var(--text); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; }
.price-inputs span { color: var(--muted-2); }
.filters-form input[type="number"], .field input, .field textarea, .field select, .newsletter-form input, .admin-search input, .ap-price input, .ap-stock input {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  outline: none;
  transition: .15s;
  width: 100%;
}
.filters-form input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.catalog-count { font-size: .86rem; color: var(--muted); }
.catalog-count strong { color: var(--text); }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.sort-form label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.sort-form select, .ao-status select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: 0; }
.filters-toggle { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .74rem; color: var(--muted); }
.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.chip-clear { font-size: .74rem; color: var(--accent-2); margin-left: 4px; }
.product-grid-catalog { grid-template-columns: repeat(3, 1fr); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.page-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 8px 13px; font-size: .82rem; }
.page-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.page-btn.is-disabled { opacity: .35; }
.page-info { font-size: .8rem; color: var(--muted); }
.empty-state { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 60px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.empty-state .icon { color: var(--muted-2); }
.empty-state h1, .empty-state h3 { color: var(--text); margin: 6px 0 0; }
.empty-state p { max-width: 420px; }
.empty-state.large { margin: 40px auto 80px; padding: 70px 20px; }
.empty-inline { text-align: center; padding: 30px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-inline .icon { color: var(--muted-2); }

/* Product page */
.product-crumbs { border-bottom: 1px solid var(--line); background: #080d13; padding: 14px 0; }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; padding: 34px 22px 30px; }
.product-gallery { min-width: 0; }
.gallery-main { position: relative; background: radial-gradient(circle at 50% 45%, #1b2938, #0a121a 72%); border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 5 / 4; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.save-tag { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; padding: 5px 10px; border-radius: 7px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 74px; height: 58px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--accent); }
.gallery-note { display: flex; gap: 7px; align-items: center; color: var(--muted-2); font-size: .76rem; margin-top: 12px; }
.product-buy { min-width: 0; }
.buy-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.product-buy h1 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); margin-bottom: 8px; }
.buy-brand { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; margin-bottom: 18px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-price strong { font-size: 2.3rem; letter-spacing: -.03em; }
.buy-price span { color: var(--muted); font-size: .8rem; }
.buy-price s { color: var(--muted-2); }
.buy-installment { font-size: .82rem; color: var(--muted); margin: 2px 0 20px; }
.buy-installment strong { color: var(--text); }
.buy-installment small { color: var(--muted-2); }
.buy-form { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-form .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 9px; overflow: hidden; flex: none; }
.qty button { background: none; border: 0; color: var(--muted); display: grid; place-items: center; width: 34px; height: 46px; }
.qty button:hover { color: var(--accent-2); background: var(--surface-3); }
.qty input { width: 46px; border: 0; background: none; text-align: center; outline: 0; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 30px; height: 34px; }
.qty-sm input { width: 38px; font-size: .85rem; }
.buy-trust { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); margin: 18px 0 14px; overflow: hidden; }
.buy-trust > div { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; border-top: 1px solid var(--line); }
.buy-trust > div:first-child { border-top: 0; }
.buy-trust .icon { color: var(--accent-2); margin-top: 2px; }
.buy-trust span { display: flex; flex-direction: column; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.buy-trust strong { color: var(--text); font-size: .85rem; }
.buy-trust em { font-style: normal; color: var(--muted-2); }
.buy-extra { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.buy-extra span { display: inline-flex; align-items: center; gap: 6px; }
.buy-extra a { color: var(--accent-2); }
.product-content { display: grid; grid-template-columns: 1fr 310px; gap: 26px; padding-bottom: 60px; }
.product-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.content-card h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.content-card h2 .icon { color: var(--accent-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 31%; background: rgba(255, 255, 255, .015); }
.spec-table td { color: #cfdae6; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.description { font-size: .9rem; color: #b9c7d5; line-height: 1.7; word-break: break-word; }
.description br + br { display: block; content: ""; margin: 4px 0; }
.description a { color: var(--accent-2); }
.source-link { margin-top: 14px; font-size: .76rem; }
.source-link a { color: var(--accent-2); display: inline-flex; align-items: center; gap: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-grid strong { display: block; font-size: .86rem; margin-bottom: 3px; }
.info-grid p { font-size: .82rem; margin: 0; }
.product-side { display: flex; flex-direction: column; gap: 14px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.side-card h3 { font-size: 1rem; }
.side-card p { font-size: .84rem; }
.side-card .btn { margin-top: 2px; }
.side-card .btn + .btn { margin-top: 0; }
.side-usp { gap: 8px; }
.side-usp div { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.side-usp .icon { color: var(--green); }
.side-links { display: flex; flex-direction: column; gap: 8px; }
.side-links a { font-size: .84rem; color: var(--muted); }
.side-links a:hover { color: var(--accent-2); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 28px; padding: 30px 22px 70px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-thumb { background: radial-gradient(circle, #1a2836, #0a121a 70%); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-info { min-width: 0; }
.cart-info h3 { font-size: .98rem; margin: 3px 0 7px; }
.cart-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.cart-line-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-form { display: flex; align-items: center; gap: 10px; }
.cart-price { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.cart-price strong { font-size: 1.15rem; }
.cart-price small { color: var(--muted); font-size: .72rem; }
.cart-continue { padding: 8px 2px; }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 150px; }
.cart-summary h2 { font-size: 1.1rem; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .88rem; color: var(--muted); }
.summary-row strong { color: var(--text); }
.summary-row .free { color: var(--green); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; margin-bottom: 16px; }
.summary-total span { font-weight: 700; }
.summary-total strong { font-size: 1.55rem; letter-spacing: -.02em; }
.summary-trust { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; font-size: .76rem; color: var(--muted); }
.summary-trust span { display: flex; align-items: center; gap: 7px; }
.summary-trust .icon { color: var(--accent-2); }
.demo-note { margin: 12px 0 0; font-size: .74rem; color: var(--muted-2); display: flex; gap: 6px; align-items: center; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 30px 22px 70px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.card-head { display: flex; gap: 13px; margin-bottom: 18px; }
.card-head h2 { font-size: 1.1rem; margin-bottom: 2px; }
.card-head p { margin: 0; font-size: .8rem; }
.step { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); }
.field > span { font-weight: 600; }
.field-full { grid-column: 1 / -1; }
.field input:disabled { opacity: .55; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.payment-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; padding: 12px; cursor: pointer; font-size: .82rem; position: relative; }
.payment-option:hover { border-color: var(--line-2); }
.payment-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.payment-option input { accent-color: var(--accent); }
.payment-option span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.payment-option small { color: var(--muted); font-size: .72rem; }
.pay-ico { color: var(--accent-2); display: grid; place-items: center; }
.terms-check { margin: 4px 0 12px; font-size: .8rem; }
.terms-check a { color: var(--accent-2); }
.demo-pay-note { display: flex; align-items: center; gap: 8px; background: rgba(61, 165, 255, .07); border: 1px solid rgba(61, 165, 255, .25); color: #a9d6ff; border-radius: 8px; padding: 10px 12px; font-size: .78rem; }
.checkout-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.checkout-summary { position: sticky; top: 150px; }
.checkout-lines { display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 10px; }
.checkout-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; }
.checkout-line img { width: 48px; height: 44px; object-fit: contain; background: var(--surface-2); border-radius: 6px; padding: 3px; }
.checkout-line div { display: flex; flex-direction: column; min-width: 0; }
.checkout-line strong { font-size: .78rem; font-weight: 600; line-height: 1.3; }
.checkout-line span { font-size: .72rem; color: var(--muted); }
.checkout-line b { font-size: .82rem; }
.checkout-summary .summary-trust { border-top: 1px solid var(--line); padding-top: 14px; }

/* Order */
.order-page { padding: 34px 22px 70px; display: flex; flex-direction: column; gap: 18px; }
.order-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.order-hero.is-ok { border-color: rgba(51, 209, 122, .35); background: linear-gradient(120deg, rgba(51, 209, 122, .08), var(--surface) 55%); }
.order-hero.is-fail { border-color: rgba(255, 91, 91, .35); background: linear-gradient(120deg, rgba(255, 91, 91, .08), var(--surface) 55%); }
.order-hero-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.is-ok .order-hero-icon { background: rgba(51, 209, 122, .14); color: var(--green); }
.is-fail .order-hero-icon { background: rgba(255, 91, 91, .13); color: var(--red); }
.order-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2px 0 6px; }
.order-hero p { margin: 0; font-size: .9rem; }
.order-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.order-card-head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.order-card-head > div { display: flex; flex-direction: column; gap: 3px; }
.order-card-head .eyebrow { margin: 0; font-size: .65rem; }
.order-card-head strong { font-size: .88rem; }
.order-items { padding: 8px 24px; }
.order-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-item:last-child { border-bottom: 0; }
.order-item-img img { width: 54px; height: 46px; object-fit: contain; background: var(--surface-2); border-radius: 6px; padding: 3px; }
.order-item div { display: flex; flex-direction: column; }
.order-item strong { font-size: .86rem; font-weight: 600; }
.order-item span { font-size: .76rem; color: var(--muted); }
.order-item b { font-size: .9rem; }
.order-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 24px; border-top: 1px solid var(--line); }
.order-address h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 6px; }
.order-address p { font-size: .85rem; margin-bottom: 4px; }
.order-totals { display: flex; flex-direction: column; }
.order-next { display: flex; gap: 9px; align-items: center; font-size: .82rem; color: var(--muted); padding: 0 4px; }
.order-next .icon { color: var(--accent-2); }

/* Auth */
.auth-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; max-width: 1020px; margin: 46px auto 70px; padding: 0 22px; align-items: stretch; }
.auth-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); padding: 40px; }
.auth-panel h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 8px; }
.auth-panel > p { font-size: .88rem; }
.auth-form { display: flex; flex-direction: column; gap: 13px; margin: 22px 0 16px; }
.auth-switch { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.auth-switch a { color: var(--accent-2); font-weight: 700; }
.auth-aside { background: linear-gradient(150deg, #14202c, #0a1118 70%); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.auth-aside h2 { font-size: 1.3rem; }
.auth-aside .check-list { margin: 4px 0; }
.auth-aside-card { display: flex; gap: 12px; background: rgba(47, 125, 246, .1); border: 1px solid rgba(47, 125, 246, .3); border-radius: 10px; padding: 14px; color: var(--accent-2); margin-top: 10px; }
.auth-aside-card div { display: flex; flex-direction: column; }
.auth-aside-card strong { color: var(--text); font-size: .86rem; }
.auth-aside-card span { color: var(--muted); font-size: .78rem; }

/* Account */
.account-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 30px 22px 70px; align-items: start; }
.account-main { display: flex; flex-direction: column; gap: 18px; }
.orders-table { display: flex; flex-direction: column; }
.order-row { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr auto auto; gap: 12px; align-items: center; padding: 13px 8px; border-top: 1px solid var(--line); font-size: .84rem; }
.order-row:hover { background: rgba(255, 255, 255, .02); color: var(--text); }
.order-row > div { display: flex; flex-direction: column; }
.order-row span { font-size: .76rem; color: var(--muted); }
.order-row .icon { color: var(--muted-2); }
.status-pill { display: inline-flex; font-style: normal; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 5px; background: var(--surface-3); color: var(--muted); width: fit-content; }
.status-pago { background: rgba(51, 209, 122, .12); color: #8be8b3; }
.status-processamento { background: rgba(61, 165, 255, .12); color: #9ed3ff; }
.status-enviado { background: rgba(167, 139, 250, .14); color: #c9b8ff; }
.status-entregue { background: rgba(51, 209, 122, .12); color: #8be8b3; }
.status-cancelado, .status-falhado { background: rgba(255, 91, 91, .12); color: #ffaaaa; }
.account-side { display: flex; flex-direction: column; gap: 14px; }

/* Content pages */
.content-page { display: grid; grid-template-columns: 1fr 310px; gap: 24px; padding: 30px 22px 70px; align-items: start; }
.prose h2 { margin: 22px 0 8px; font-size: 1.15rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: .9rem; }
.content-side { display: flex; flex-direction: column; gap: 14px; }

/* Admin */
.admin-body { background: #070b10; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #05090d; border-right: 1px solid var(--line); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.admin-brand { padding: 4px 6px 10px; }
.admin-tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding: 0 8px 14px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a.is-active { background: var(--accent-soft); color: var(--accent-2); }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.admin-side-foot a, .admin-side-foot button { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; font-size: .82rem; color: var(--muted); background: none; border: 0; width: 100%; text-align: left; }
.admin-side-foot a:hover, .admin-side-foot button:hover { background: var(--surface-2); color: var(--text); }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 30px; border-bottom: 1px solid var(--line); background: rgba(7, 11, 16, .8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.45rem; }
.admin-top p { margin: 2px 0 0; font-size: .8rem; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }
.admin-user { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.admin-content { padding: 26px 30px 50px; display: flex; flex-direction: column; gap: 18px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-stat { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
.admin-stat div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.admin-stat strong { font-size: 1.35rem; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; }
.admin-stat span { font-size: .74rem; color: var(--muted); }
.stat-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ico-orange { background: var(--accent-soft); color: var(--accent-2); }
.ico-blue { background: rgba(61, 165, 255, .1); color: var(--blue); }
.ico-green { background: rgba(51, 209, 122, .1); color: var(--green); }
.ico-purple { background: rgba(167, 139, 250, .12); color: var(--purple); }
.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.admin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-card-head h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.admin-card-head h2 .icon { color: var(--accent-2); }
.admin-card-head p { margin: 3px 0 0; font-size: .78rem; }
.sync-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sync-info > div { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 10px 12px; gap: 2px; }
.sync-info span { font-size: .7rem; color: var(--muted); }
.sync-info strong { font-size: .82rem; overflow-wrap: anywhere; }
.sync-ok { display: flex; align-items: center; gap: 7px; color: #8be8b3; font-size: .8rem; }
.health-list { display: flex; flex-direction: column; }
.health-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.health-list > div:last-child { border-bottom: 0; }
.health-list strong { color: var(--text); }
.admin-table { display: flex; flex-direction: column; }
.admin-tr { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr .7fr .8fr; gap: 12px; align-items: center; padding: 11px 6px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
a.admin-tr:hover { background: rgba(255, 255, 255, .02); color: var(--text); }
.admin-tr > span { display: flex; flex-direction: column; min-width: 0; }
.admin-tr strong { color: var(--text); font-size: .84rem; }
.admin-tr small { color: var(--muted-2); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; }
.admin-th { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); border-top: 0; }
.admin-table-users .admin-tr { grid-template-columns: 1.2fr 1.6fr .8fr .5fr .6fr .5fr; }
.mini-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-product { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 8px; }
.mini-product:hover { border-color: var(--line-2); color: var(--text); }
.mini-product img { width: 46px; height: 40px; object-fit: contain; background: #0a121a; border-radius: 5px; flex: none; }
.mini-product div { display: flex; flex-direction: column; min-width: 0; }
.mini-product strong { font-size: .76rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-product span { font-size: .7rem; color: var(--muted); }
.admin-search { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 4px 4px 11px; color: var(--muted); }
.admin-search input { background: none; border: 0; outline: 0; padding: 6px 0; width: 200px; }
.admin-filters { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pill-filter { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .76rem; color: var(--muted); }
.pill-filter.is-active { background: var(--accent-soft); border-color: rgba(47, 125, 246, .45); color: var(--accent-2); font-weight: 700; }
.admin-filters .muted { margin-left: auto; }
.admin-products { display: flex; flex-direction: column; }
.admin-product { display: grid; grid-template-columns: 2.6fr .9fr .8fr .55fr .5fr .5fr .8fr; gap: 12px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--line); font-size: .8rem; }
.admin-product-head { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); border-top: 0; }
.ap-media { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ap-media img { width: 54px; height: 44px; object-fit: contain; background: #0a121a; border-radius: 6px; flex: none; padding: 2px; }
.ap-media div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ap-media strong { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.ap-media span { font-size: .7rem; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-media em { margin-top: 2px; }
.ap-cat { color: var(--muted); font-size: .76rem; }
.ap-price { display: flex; flex-direction: column; gap: 2px; }
.ap-price input, .ap-stock input { padding: 7px 8px; font-size: .8rem; }
.ap-price small { font-size: .66rem; color: var(--muted-2); }
.ap-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.icon-link { color: var(--muted); display: grid; place-items: center; padding: 6px; border-radius: 6px; }
.icon-link:hover { background: var(--surface-2); color: var(--accent-2); }
.switch { position: relative; display: inline-flex; width: 36px; height: 20px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--surface-3); border: 1px solid var(--line-2); border-radius: 999px; transition: .16s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--muted); transition: .16s; }
.switch input:checked + span { background: rgba(47, 125, 246, .34); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(15px); background: var(--accent-2); }
.admin-orders { display: flex; flex-direction: column; gap: 8px; }
.admin-order { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.admin-order summary { display: grid; grid-template-columns: 1.1fr 1.5fr 1.2fr .7fr auto; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.admin-order summary::-webkit-details-marker { display: none; }
.admin-order summary > span { display: flex; flex-direction: column; min-width: 0; }
.admin-order summary strong { font-size: .84rem; }
.admin-order summary small { font-size: .72rem; color: var(--muted); }
.ao-chev { color: var(--muted-2); transition: .2s; }
.admin-order[open] .ao-chev { transform: rotate(90deg); }
.ao-detail { border-top: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.ao-items { display: flex; flex-direction: column; gap: 4px; }
.ao-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; font-size: .8rem; color: var(--muted); padding: 4px 0; }
.ao-item strong { color: var(--text); font-weight: 500; }
.ao-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ao-info span { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); }
.ao-info p { font-size: .78rem; margin: 3px 0 0; }
.ao-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.ao-totals { display: flex; gap: 16px; align-items: baseline; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.ao-totals strong { color: var(--text); font-size: .95rem; }
.ao-status { display: flex; align-items: flex-end; gap: 8px; }
.ao-status label { display: flex; flex-direction: column; gap: 3px; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr .85fr; gap: 34px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-catalog { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 16px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-product { grid-template-columns: 2fr .7fr .7fr .5fr .5fr .5fr .7fr; gap: 8px; }
  .admin-grid { grid-template-columns: 1fr; }
  .ao-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .search { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead-inner { min-height: 68px; gap: 12px; }
  .catnav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-product img { height: 280px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .product-content { grid-template-columns: 1fr; }
  .product-side { flex-direction: row; flex-wrap: wrap; }
  .product-side > * { flex: 1 1 260px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .cart-layout, .checkout-layout, .account-layout, .content-page { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .auth-wrap { grid-template-columns: 1fr; max-width: 640px; }
  .auth-panel { border-radius: var(--radius) var(--radius) 0 0; }
  .auth-aside { border-radius: 0 0 var(--radius) var(--radius); border-left: 1px solid var(--line); border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-banner, .b2b-band { grid-template-columns: 1fr; }
  .ai-visual img { height: 260px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 14px; }
  .admin-tag { display: none; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side-foot { margin: 0 0 0 auto; flex-direction: row; border-top: 0; padding-top: 0; }
  .admin-side-foot form { margin: 0; }
  .admin-content { padding: 20px 16px 40px; }
  .admin-top { padding: 16px; }
  .admin-product { grid-template-columns: 1.6fr .6fr .6fr .5fr .5fr .5fr .6fr; font-size: .74rem; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar-inner { justify-content: center; gap: 10px 18px; padding: 6px 0; }
  .hide-sm { display: none !important; }
  .brand-text strong { font-size: .92rem; }
  .brand-text em { font-size: 1.04rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-action span { display: none; }
  .header-action { padding: 9px; }
  .hero { padding: 50px 0 58px; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .section { padding: 44px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-grid, .product-grid-catalog { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-body { padding: 11px; }
  .product-title { font-size: .86rem; }
  .product-specs { display: none; }
  .price { font-size: 1.12rem; }
  .product-foot .btn { padding: 7px 9px; font-size: 0; gap: 0; }
  .product-foot .btn .icon { font-size: initial; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-tile { padding: 15px; }
  .ai-banner, .b2b-band { padding: 26px; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .page-head { padding: 24px 0 22px; }
  .cart-line { grid-template-columns: 88px 1fr; }
  .cart-price { grid-column: 2; text-align: left; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .payment-options { grid-template-columns: 1fr; }
  .order-hero { grid-template-columns: 1fr; text-align: left; }
  .order-hero-actions { justify-content: flex-start; }
  .order-card-head { grid-template-columns: 1fr 1fr; }
  .order-foot { grid-template-columns: 1fr; }
  .auth-panel, .auth-aside { padding: 26px; }
  .account-side { order: -1; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-card { padding: 16px; }
  .sync-info { grid-template-columns: 1fr; }
  .mini-products { grid-template-columns: 1fr; }
  .admin-table .admin-tr { grid-template-columns: 1fr 1fr; }
  .admin-th { display: none; }
  .admin-product { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 14px 4px; }
  .admin-product-head { display: none; }
  .ap-media { flex: 1 1 100%; }
  .ap-cat { display: none; }
  .ap-price, .ap-stock { flex: 1 1 100px; }
  .ap-actions { margin-left: auto; }
  .admin-order summary { grid-template-columns: 1fr 1fr; }
  .ao-chev { display: none; }
  .ao-info { grid-template-columns: 1fr; }
  .admin-user { display: none; }
  .admin-side { gap: 4px; }
  .admin-side .brand { flex: 1 1 100%; }
  .admin-nav { flex: 1 1 100%; }
  .admin-side-foot { flex: 1 1 100%; }
  .order-row { grid-template-columns: 1fr 1fr auto; }
  .order-row > div:nth-child(3) { display: none; }
  .auth-wrap { margin: 26px auto 50px; }
  .toast { bottom: 16px; }
}
@media (max-width: 480px) {
  .product-grid, .product-grid-catalog { grid-template-columns: 1fr; }
  .product-foot .btn { font-size: .78rem; padding: 8px 12px; }
  .hero-float { display: none; }
  .hero-product img { height: 230px; }
  .toolbar-actions .btn { padding: 7px 10px; }
  .sort-form label { font-size: .72rem; }
  .cart-line { grid-template-columns: 1fr; }
  .cart-thumb { max-width: 130px; }
  .cart-price { grid-column: auto; }
  .admin-stats { grid-template-columns: 1fr; }
}

/* Contact form */
.contact-form { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.contact-form h2 { margin-bottom: 0; }
.contact-form textarea { resize: vertical; min-height: 110px; }

/* Live search */
.search-toggle { display: none; }
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  background: #0d151e;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow-y: auto;
  max-height: min(68vh, 480px);
}
.ss-head { padding: 9px 14px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.ss-cats { display: flex; flex-wrap: wrap; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ss-cat { font-size: .72rem; border: 1px solid rgba(47, 125, 246, .3); border-radius: 999px; padding: 3px 9px; color: var(--accent-2); background: var(--accent-soft); }
.ss-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ss-item:hover, .ss-item.is-active { background: var(--surface-2); color: var(--text); }
.ss-item img { width: 46px; height: 40px; object-fit: contain; background: #0a121a; border-radius: 6px; }
.ss-info { display: flex; flex-direction: column; min-width: 0; }
.ss-info strong { font-size: .8rem; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ss-info span { font-size: .69rem; color: var(--muted); }
.ss-item b { font-size: .8rem; white-space: nowrap; }
.ss-empty { padding: 20px 14px; text-align: center; color: var(--muted); font-size: .84rem; }
.ss-all { display: flex; justify-content: center; gap: 6px; padding: 12px; font-size: .78rem; font-weight: 700; color: var(--accent-2); background: rgba(255, 255, 255, .015); }
.ss-all:hover { background: var(--accent-soft); }

/* Mobile sticky buy bar */
.mobile-buy-bar { display: none; }

@media (max-width: 940px) {
  .search-toggle { display: inline-flex; }
  .mobile-menu .search { display: flex; }
  .site-header.is-searching .masthead-inner { flex-wrap: wrap; padding-bottom: 12px; }
  .site-header.is-searching .search { display: flex; order: 20; flex: 1 1 100%; max-width: none; margin: 0; }
  .mobile-buy-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 11, 16, .97);
    border-top: 1px solid var(--line-2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
  }
  .mobile-buy-bar form { margin: 0; }
  .mobile-buy-bar .btn { min-width: 170px; }
  .mbb-price { display: flex; flex-direction: column; line-height: 1.1; }
  .mbb-price strong { font-size: 1.25rem; letter-spacing: -.02em; }
  .mbb-price span { font-size: .68rem; color: var(--muted); }
  .page-product main { padding-bottom: 82px; }
  .qty button { width: 40px; height: 46px; }
  .buy-form { flex-wrap: wrap; }
  .buy-form .qty { flex: 0 0 auto; }
  .buy-form .btn { flex: 1 1 200px; }
  .search-mobile .search-suggest { position: static; margin-top: 8px; max-height: 320px; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .search input, .field input, .field textarea, .field select, .newsletter-form input, .admin-search input, .ap-price input, .ap-stock input { font-size: 16px; }
  .demo-bar { font-size: .71rem; padding: 5px 0; }
  .demo-bar .container { padding: 0 12px; }
  .header-action { min-width: 44px; min-height: 44px; justify-content: center; }
  .search-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .product-crumbs { padding: 10px 0; }
  .product-layout { padding-top: 20px; }
  .product-buy h1 { font-size: 1.5rem; }
  .gallery-main { aspect-ratio: 1 / 1; }
  .gallery-main img { padding: 12px; }
  .buy-price strong { font-size: 1.9rem; }
  .buy-trust > div { padding: 10px 12px; }
  .cart-info h3, .checkout-line strong, .order-item strong { overflow-wrap: anywhere; }
  .filters.is-open { border-color: var(--line-2); box-shadow: var(--shadow); }
  .mobile-buy-bar { padding-left: 12px; padding-right: 12px; }
  .mobile-buy-bar .btn { min-width: 150px; }
}

@media (max-width: 480px) {
  .mobile-buy-bar .btn { min-width: 132px; }
  .mbb-price strong { font-size: 1.12rem; }
  .ss-item { grid-template-columns: 40px 1fr auto; padding: 8px 10px; }
  .ss-item img { width: 40px; height: 36px; }
}


/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--accent-2); }
.theme-ico { display: inline-flex; }
html[data-theme="dark"] .theme-ico-moon { display: none; }
html[data-theme="light"] .theme-ico-sun { display: none; }
.theme-toggle-row { width: 100%; justify-content: flex-start; border: 1px solid var(--line); background: var(--surface-2); padding: 11px 13px; margin-top: 12px; }
.theme-toggle-row .theme-toggle-label { flex: 1; text-align: left; }
@media (max-width: 720px) { .header-actions .theme-toggle { display: none; } }

/* Light theme — antique gallery */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3ede4;
  --bg-2: #e9dfd2;
  --surface: #faf4ec;
  --surface-2: #ece2d6;
  --surface-3: #e2d6c8;
  --line: #d8ccbd;
  --line-2: #c4b5a4;
  --text: #1b1513;
  --muted: #6d5f55;
  --muted-2: #94857a;
  --accent: #7a1420;
  --accent-2: #5e0d17;
  --accent-soft: rgba(122, 20, 32, .12);
  --amber: #7a1420;
  --green: #3f6b4f;
  --blue: #7c6a4f;
  --purple: #7b5a4a;
  --red: #a33b32;
  --shadow: 0 18px 50px rgba(60, 45, 25, .10);
}
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] .topbar { background: #1a1412; border-bottom-color: transparent; color: #d6cbc2; }
html[data-theme="light"] .masthead { background: rgba(246, 241, 231, .97); }
html[data-theme="light"] .catnav { background: var(--bg); }
html[data-theme="light"] .catnav-link:hover, html[data-theme="light"] .catnav-all:hover { color: var(--accent-2); }
html[data-theme="light"] .catnav-cta:hover { color: #fff8f1; }
html[data-theme="light"] .mobile-menu { background: var(--surface); }
html[data-theme="light"] .hero { background: var(--bg); }
html[data-theme="light"] .hero-bg { background: none; }
html[data-theme="light"] .hero-copy h1 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent-2); }
html[data-theme="light"] .hero-product { background: var(--surface-2); box-shadow: none; }
html[data-theme="light"] .hero-product img { background: var(--surface-2); }
html[data-theme="light"] .hero-float { background: var(--surface); }
html[data-theme="light"] .trust-strip,
html[data-theme="light"] .newsletter-band,
html[data-theme="light"] .site-footer { background: #1a1412; }
html[data-theme="light"] .brands-band { background: var(--bg); }
html[data-theme="light"] .product-crumbs { background: var(--bg); }
html[data-theme="light"] .page-head { background: var(--surface-2); }
html[data-theme="light"] .product-image,
html[data-theme="light"] .gallery-main,
html[data-theme="light"] .cart-thumb { background: var(--surface-2); }
html[data-theme="light"] .product-specs li { background: var(--surface-2); }
html[data-theme="light"] .product-card:hover { box-shadow: none; }
html[data-theme="light"] .badge-cond { background: rgba(255, 250, 241, .92); color: #5f5545; border-color: rgba(222, 211, 192, .9); }
html[data-theme="light"] .badge-featured { background: var(--accent); color: #fff8f1; border-color: var(--accent); }
html[data-theme="light"] .badge-ok { background: rgba(63, 107, 79, .1); color: #345541; border-color: rgba(63, 107, 79, .25); }
html[data-theme="light"] .badge-low { background: rgba(122, 20, 32, .12); color: #5e0d17; border-color: rgba(122, 20, 32, .3); }
html[data-theme="light"] .badge-out { background: rgba(163, 59, 50, .08); color: #8a2f28; border-color: rgba(163, 59, 50, .22); }
html[data-theme="light"] .check-list li { color: var(--muted); }
html[data-theme="light"] .auth-aside { background: #1a1412; }
html[data-theme="light"] .spec-table th { background: var(--surface-2); }
html[data-theme="light"] .spec-table td { color: var(--text); }
html[data-theme="light"] .description { color: var(--muted); }
html[data-theme="light"] .demo-pay-note { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
html[data-theme="light"] .order-card-head,
html[data-theme="light"] .ss-head,
html[data-theme="light"] .ss-all { background: var(--surface-2); }
html[data-theme="light"] .order-row:hover,
html[data-theme="light"] a.admin-tr:hover { background: var(--surface-2); }
html[data-theme="light"] .status-pago,
html[data-theme="light"] .status-entregue { background: rgba(63, 107, 79, .12); color: #345541; }
html[data-theme="light"] .status-processamento { background: rgba(122, 20, 32, .14); color: #5e0d17; }
html[data-theme="light"] .status-enviado { background: rgba(124, 106, 79, .14); color: #5c4c35; }
html[data-theme="light"] .status-cancelado,
html[data-theme="light"] .status-falhado { background: rgba(163, 59, 50, .1); color: #8a2f28; }
html[data-theme="light"] .admin-body { background: var(--bg); }
html[data-theme="light"] .admin-side { background: #1a1412; }
html[data-theme="light"] .admin-top { background: rgba(246, 241, 231, .9); }
html[data-theme="light"] .mini-product img,
html[data-theme="light"] .ap-media img,
html[data-theme="light"] .ss-item img { background: var(--surface-2); }
html[data-theme="light"] .sync-ok { color: #345541; }
html[data-theme="light"] .search-suggest { background: var(--surface); }
html[data-theme="light"] .ss-cat { background: var(--accent-soft); }
html[data-theme="light"] .mobile-buy-bar { background: rgba(255, 250, 241, .97); box-shadow: 0 -10px 30px rgba(60, 45, 25, .10); }

/* ============================================================
   ANABELA MATA — antique gallery theme
   ============================================================ */
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15.5px; }
h1, h2, h3, h4, .hero-copy h1, .product-title, .era-copy em, .wordmark strong, .brands-label {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-weight: 500; }
h2 { font-weight: 500; }
a:hover { color: var(--accent-2); }
::selection { background: var(--accent); color: #fff8f1; }
.container { max-width: var(--max); padding: 0 28px; }
.eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: .22em; font-size: .68rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn { border-radius: 1px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; font-size: .74rem; padding: 13px 24px; }
.btn-primary { background: var(--accent); color: #fff8f1; box-shadow: none; border-color: var(--accent); }
.btn-primary:hover { background: #5e0d17; color: #fff8f1; box-shadow: none; }
.btn-gold { background: var(--accent); color: #fff8f1; border-color: var(--accent); }
.btn-gold:hover { background: #5e0d17; color: #fff8f1; }
.btn-outline-gold { background: transparent; border-color: var(--accent); color: var(--accent-2); }
.btn-outline-gold:hover { background: var(--accent); color: #fff8f1; }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); background: transparent; }
.btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); background: var(--surface); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--accent); color: #fff8f1; }
.btn-lg { padding: 16px 30px; }
.btn-sm { padding: 9px 15px; font-size: .68rem; }
.link-arrow { color: var(--accent-2); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.link-arrow:hover { color: var(--text); }

/* Top bar + header */
.topbar { background: #1a1412; border-bottom: 0; color: #d6cbc2; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.topbar-inner { min-height: 38px; justify-content: center; gap: 42px; }
.topbar-inner .icon { color: #d8b4a8; }
.demo-bar { background: #efe4cf; border-bottom: 1px solid var(--line); color: #7a6032; }
.demo-bar .icon { color: var(--accent-2); }
.masthead { background: rgba(246, 241, 231, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: relative; }
.masthead-inner { min-height: 96px; position: relative; justify-content: space-between; }
.brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--text); }
.brand:hover { color: var(--text); }
.wordmark { display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.wordmark strong { font-size: clamp(1.65rem, 3.1vw, 2.6rem); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.wordmark em { font-family: var(--font); font-style: normal; font-size: .54rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.brand-mark { color: var(--accent-2); }
.header-actions { margin-left: auto; gap: 10px; }
.header-action { color: var(--text); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.header-action .icon { color: var(--text); }
.header-action:hover { color: var(--accent-2); }
.cart-badge { background: var(--accent); color: #fff8f1; }
.icon-btn { color: var(--text); border-radius: 50%; }
.icon-btn:hover { background: var(--surface-2); color: var(--accent-2); }
.menu-btn { margin-right: auto; }
.search-toggle { position: absolute; right: 210px; }
.masthead .search { display: none; }
.site-header.is-searching .masthead .search {
  display: flex; position: absolute; left: 28px; right: 28px; bottom: -1px; z-index: 20;
  background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; transform: translateY(50%);
  box-shadow: var(--shadow);
}
.search input { background: transparent; color: var(--text); }
.search input::placeholder { color: var(--muted-2); }
.search .icon { color: var(--muted); }
.catnav { background: var(--bg); border-bottom: 1px solid var(--line); }
.catnav-inner { justify-content: center; gap: 30px; min-height: 50px; }
.catnav-all, .catnav-link { color: var(--text); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 0; }
.catnav-all { border: 0; background: none; font-weight: 500; }
.catnav-link.is-active, .catnav-all.is-active, .catnav-link:hover, .catnav-all:hover { color: var(--accent-2); }
.catnav-link.is-active, .catnav-all.is-active { border-bottom: 1px solid var(--accent); }
.catnav-cta { margin-left: 12px; color: var(--accent-2); border: 1px solid var(--accent); background: transparent; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.catnav-cta:hover { background: var(--accent); color: #fff8f1; }
.mobile-menu { background: var(--surface); }
.mobile-links a { color: var(--text); border-bottom: 1px solid var(--line); }

/* Hero */
.hero, .hero-antiques { background: var(--bg); border-bottom: 1px solid var(--line); padding: 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 610px; padding: 0; max-width: none; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 84px 6vw 84px max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.hero-copy h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: .98; font-weight: 400; color: var(--text); margin: 18px 0 24px; }
.hero-copy h1 em { font-style: italic; color: var(--accent-2); }
.hero-copy p { max-width: 48ch; font-size: 1.02rem; line-height: 1.8; color: var(--muted); }
.hero-actions { gap: 12px; margin-top: 30px; }
.hero-stats { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); gap: 34px; }
.hero-stats strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 610px; background: var(--surface-2); overflow: hidden; }
.hero-product { display: block; height: 100%; position: relative; color: inherit; }
.hero-product img { width: 100%; height: 100%; object-fit: cover; }
.hero-product::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 20, 16, .62)); }
.hero-product-info { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 2; color: #fff8f1; }
.hero-product-info .product-brand { color: #e8d6cc; }
.hero-product-info h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 6px 0 10px; }
.hero-price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.hero-price small { color: #e8d6cc; }
.hero-caption { position: absolute; top: 24px; left: 24px; z-index: 2; color: #fff8f1; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; background: rgba(20,20,16,.42); padding: 7px 12px; backdrop-filter: blur(4px); }
.hero-float { display: none; }

/* Trust strip */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { gap: 0; }
.trust-item { border-right: 1px solid var(--line); padding: 26px 28px; }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { color: var(--accent); }
.trust-item strong { font-weight: 500; letter-spacing: .09em; text-transform: uppercase; font-size: .71rem; }
.trust-item span { color: var(--muted); font-size: .76rem; }

/* Sections */
.section { padding: 86px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; align-items: end; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; }
.section-head .eyebrow { margin-bottom: 6px; }

/* Category tiles */
.era-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.era-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-3); color: #fff8f1; }
.era-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.era-tile:hover img { transform: scale(1.045); }
.era-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,16,.04) 30%, rgba(20,20,16,.72)); }
.era-copy { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.era-copy em { display: block; font-size: 1.55rem; font-style: normal; line-height: 1.1; }
.era-copy small { display: block; margin-top: 7px; color: #e8d6cc; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.era-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.era-links a { color: var(--muted); font-size: .76rem; letter-spacing: .06em; }
.era-links a span { color: var(--accent-2); margin-left: 5px; }
.era-links a:hover { color: var(--text); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid-catalog { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1px; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.product-image { aspect-ratio: 4 / 5; background: var(--surface-2); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.badges { top: 14px; left: 14px; }
.badge { border-radius: 1px; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; padding: 5px 9px; font-weight: 500; }
.badge-cond { background: rgba(255,250,241,.92); color: #5f5545; border: 1px solid rgba(222,211,192,.9); }
.card-featured { position: absolute; top: 14px; right: 14px; left: auto; background: var(--accent); color: #fff8f1; }
.product-body { padding: 18px 18px 20px; }
.product-brand { color: var(--accent-2); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.product-title { font-size: 1.16rem; line-height: 1.25; margin: 8px 0 16px; font-weight: 500; }
.product-title a { color: var(--text); }
.product-title a:hover { color: var(--accent-2); }
.product-foot { margin-top: auto; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.price { font-family: var(--serif); font-size: 1.35rem; color: var(--text); }
.product-link { color: var(--accent-2); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

/* Editorial band */
.editorial-band { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); border: 1px solid var(--line); margin: 0 0 0; }
.editorial-visual { min-height: 460px; background: var(--surface-2); }
.editorial-visual img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; }
.editorial-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; margin: 12px 0 18px; }
.editorial-copy p { color: var(--muted); line-height: 1.85; }

/* Origins band */
.brands-band { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 42px 0; }
.brands-label { font-size: 1.15rem; color: var(--text); }
.brands-row { gap: 10px; }
.brand-chip { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 1px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 13px; }

/* Newsletter + footer */
.newsletter-band { background: #1a1412; color: #f3ede4; }
.newsletter-band .eyebrow { color: #d8b4a8; }
.newsletter-band h2 { color: #f3ede4; font-weight: 400; }
.newsletter-band p { color: #c9beb4; }
.newsletter-form { background: rgba(255,253,247,.06); border: 1px solid rgba(255,253,247,.18); border-radius: 1px; }
.newsletter-form input { color: #f3ede4; }
.newsletter-form input::placeholder { color: #a89b91; }
.newsletter-form .icon { color: #d8b4a8; }
.site-footer { background: #1a1412; color: #d6cbc2; border-top: 0; }
.site-footer h3 { color: #f3ede4; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.site-footer a, .site-footer span { color: #b8aca2; }
.site-footer a:hover { color: #e8d6cc; }
.footer-brand p { color: #b8aca2; }
.footer-social a { border: 1px solid rgba(246,241,231,.18); color: #d6cbc2; }
.footer-social a:hover { border-color: #d8b4a8; color: #d8b4a8; }
.brand-footer { position: static; transform: none; color: #f3ede4; }
.brand-footer .wordmark em { color: #a89b91; }
.pay-chip { background: transparent; border: 1px solid rgba(246,241,231,.2); color: #d6cbc2; }
.footer-bottom { border-top: 1px solid rgba(246,241,231,.14); color: #a89b91; }

/* Page heads and content */
.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 62px 0 54px; }
.page-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 400; }
.page-head p { color: var(--muted); }
.breadcrumbs { color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.content-card, .side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1px; box-shadow: none; }
.content-card h2, .side-card h2, .side-card h3 { font-family: var(--serif); font-weight: 500; }
.prose h2 { font-family: var(--serif); font-weight: 500; }
.field input, .field select, .field textarea, .filters-form input, .filters-form select { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 1px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }

/* Catalog */
.catalog-layout { gap: 36px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: 1px; }
.filters-head, .filter-block { border-color: var(--line); }
.filter-links a, .filter-checks .check { color: var(--muted); }
.filter-links a.is-active { color: var(--accent-2); border-color: var(--accent); }
.chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); border-radius: 1px; }
.catalog-toolbar { border-bottom: 1px solid var(--line); }
.catalog-count strong { color: var(--text); }
.sort-form select { background: var(--surface); border-color: var(--line); color: var(--text); }
.pagination .page-btn { background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 1px; }
.pagination .page-btn:hover { border-color: var(--accent); color: var(--accent-2); }

/* Product page */
.product-layout { gap: 44px; }
.product-gallery .gallery-main { background: var(--surface-2); border: 1px solid var(--line); }
.gallery-thumbs .thumb { border: 1px solid var(--line); background: var(--surface-2); }
.gallery-thumbs .thumb.is-active { border-color: var(--accent); }
.gallery-note { color: var(--muted); }
.product-buy h1 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; }
.buy-brand { color: var(--muted); }
.buy-price strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.buy-price span { color: var(--muted); }
.buy-trust, .buy-extra { border-color: var(--line); color: var(--muted); }
.buy-trust .icon, .buy-extra .icon { color: var(--accent); }
.qty { border: 1px solid var(--line); border-radius: 1px; background: var(--surface); }
.qty-btn { color: var(--muted); }
.qty input { background: transparent; color: var(--text); }
.spec-table th, .spec-table td { border-color: var(--line); }
.spec-table th { color: var(--muted); }
.info-grid > div { background: var(--surface-2); border: 1px solid var(--line); }
.source-link a { color: var(--accent-2); }
.mobile-buy-bar { background: var(--surface); border-top: 1px solid var(--line); }

/* Cart, checkout, auth, account */
.cart-line, .checkout-line, .order-card, .admin-card, .mini-product { border-color: var(--line); background: var(--surface); }
.cart-summary, .checkout-summary { background: var(--surface-2); border: 1px solid var(--line); }
.summary-total { border-color: var(--line); }
.auth-wrap { background: var(--surface-2); }
.auth-panel { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.auth-aside { background: #1a1412; color: #f3ede4; }
.account-side .side-card { background: var(--surface); }
.admin-shell, .admin-body { background: var(--bg); }
.admin-side { background: #1a1412; }
.admin-nav a { color: #d6cbc2; }
.admin-nav a.is-active { background: rgba(200,168,106,.14); color: #e8d6cc; }
.admin-card-head, .admin-th, .admin-tr { border-color: var(--line); }
.admin-table { color: var(--text); }

/* Misc */
.flash { border-radius: 1px; }
.toast { border-radius: 1px; }
.empty-state { color: var(--muted); }
.empty-state .icon { color: var(--line-2); }
.health-list, .sync-info { border-color: var(--line); }

/* Responsive */
@media (max-width: 1100px) {
  .era-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .search-toggle { right: 190px; }
}
@media (max-width: 860px) {
  .topbar-inner { gap: 16px; justify-content: center; flex-wrap: wrap; }
  .topbar-inner .hide-md { display: none; }
  .masthead-inner { min-height: 78px; }
  .wordmark strong { font-size: 1.45rem; }
  .wordmark em { display: none; }
  .search-toggle { position: static; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 64px 28px 50px; }
  .hero-visual { min-height: 460px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .catnav-inner { justify-content: flex-start; overflow-x: auto; gap: 22px; }
  .product-grid, .product-grid-catalog { grid-template-columns: repeat(2, 1fr); }
  .editorial-band { grid-template-columns: 1fr; }
  .editorial-copy { padding: 42px 30px; }
  .section { padding: 62px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .era-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .era-copy em { font-size: 1.15rem; }
  .era-copy { left: 14px; right: 14px; bottom: 14px; }
  .product-grid, .product-grid-catalog { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-title { font-size: 1rem; }
  .price { font-size: 1.1rem; }
  .product-link { font-size: .58rem; }
  .hero-copy { padding: 48px 18px 38px; }
  .hero-visual { min-height: 360px; }
}

/* header fixes */
.menu-btn { display: inline-flex; }
.search-toggle { display: inline-flex; }
html[data-theme="light"] .trust-strip { background: var(--surface); }
.trust-item strong { color: var(--text); }
.trust-item span { color: var(--muted); }
.search-suggest { background: var(--surface); }
.ss-cat { border-color: var(--line-2); }
.ss-item img { background: var(--surface-2); }
.ss-head, .ss-all { background: var(--surface-2); }

.theme-toggle { display: none !important; }
.era-copy { bottom: 26px; }
.era-copy em { line-height: 1.12; overflow-wrap: anywhere; }

/* Mobile header: prevent brand/search/menu overlap */
@media (max-width: 1024px) {
  .wordmark em { display: none; }
  .wordmark { gap: 0; }
  .wordmark strong { font-size: clamp(1.05rem, 4.6vw, 1.5rem); letter-spacing: .04em; white-space: nowrap; }
}
@media (max-width: 860px) {
  .masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 64px;
    flex-wrap: nowrap;
  }
  .brand {
    position: static;
    transform: none;
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .wordmark { display: block; width: 100%; text-align: center; }
  .wordmark strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1rem, 4.8vw, 1.38rem);
  }
  .menu-btn { order: 1; flex: none; margin: 0; }
  .search-toggle { order: 3; position: static; flex: none; margin: 0; }
  .header-actions { order: 4; margin: 0; gap: 2px; flex: none; }
  .header-action { padding: 5px; }
  .header-action > span { display: none; }
  .cart-action > span { display: none; }
  .header-actions .theme-toggle { display: none !important; }
  .catnav { display: none; }
  .site-header.is-searching .masthead-inner { flex-wrap: wrap; }
  .site-header.is-searching .masthead .search {
    position: static;
    transform: none;
    order: 20;
    flex: 1 1 100%;
    width: 100%;
    margin: 8px 0 10px;
    box-shadow: none;
    border: 1px solid var(--line);
    padding: 8px 12px;
  }
  .site-header.is-searching .masthead { padding-bottom: 4px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .product-foot { gap: 8px; flex-wrap: wrap; }
  .product-link { white-space: normal; }
  .catalog-toolbar { flex-wrap: wrap; gap: 10px; }
  .catalog-toolbar .toolbar-actions { flex-wrap: wrap; }
  .mobile-buy-bar { padding: 10px 14px; }
  .container { padding: 0 16px; }
}
@media (max-width: 420px) {
  .wordmark strong { font-size: 1.02rem; }
  .header-action { padding: 3px; }
  .icon-btn { padding: 4px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-stats { gap: 14px; }
  .era-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid-catalog { grid-template-columns: 1fr; }
}
.seller-brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.seller-brand img { height: 54px; width: auto; display: block; }
.seller-brand em { margin-top: 5px; font-family: var(--font); font-style: normal; font-size: .54rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .seller-brand img { height: 42px; }
  .seller-brand em { display: none; }
}

/* Contrast fixes: dark footer/auth */
.site-footer .footer-grid > div > a,
.site-footer .footer-grid > div > span,
.site-footer .footer-grid small,
.site-footer .footer-grid p,
.site-footer .footer-brand p { color: #e6dfd2; }
.site-footer .footer-grid h3 { color: #fff8f1; }
.site-footer .footer-grid a:hover { color: #f0d9c0; }
.auth-aside .check-list li { color: #e6d6c8; }
.breadcrumbs span { color: #5f5648; }
html[data-theme] .auth-aside .check-list li { color: #e6d6c8; }
.demo-bar em { color: #5f5648; }
html[data-theme] .auth-aside-card strong { color: #f6f1e7; }
html[data-theme] .auth-aside-card span { color: #cbbfb1; }
.demo-bar em, .buy-trust em { color: #6f675b; }

/* ============================================================
   JEWELRYLOVERS — editorial jewellery house
   Design language: jewel1 (oversized wordmark, gallery cards)
   + jewel2 (AURUM: oxblood, Bodoni, editorial serif)
   ============================================================ */
:root, html[data-theme="light"] {
  --bg: #f3eee5;
  --bg-2: #ece3d6;
  --surface: #fffdf9;
  --surface-2: #ece5da;
  --surface-3: #e5dacb;
  --line: #ddd3c5;
  --line-2: #c4b29d;
  --text: #2c2824;
  --muted: #7b7066;
  --muted-2: #a3968a;
  --accent: #6d3b45;
  --accent-2: #854c56;
  --accent-soft: rgba(109, 59, 69, .10);
  --gold: #b39a72;
  --gold-soft: #d3bc98;
  --amber: #b39a72;
  --green: #45654f;
  --blue: #5e6f7c;
  --purple: #6e4f55;
  --red: #9e2f2a;
  --radius: 0px;
  --radius-sm: 0px;
  --shadow: 0 22px 60px rgba(70, 55, 45, .12);
  --font: "Jost", "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; letter-spacing: .005em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: .98; }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.02; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fbf7f0; }
.eyebrow, .jl-eyebrow {
  font-family: var(--font); font-size: .66rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.jl-eyebrow { display: inline-block; margin-bottom: .9rem; }
.jl-arrow-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: .72rem;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--text);
}
.jl-arrow-link:hover { color: var(--accent); }

/* Buttons */
.btn { border-radius: 0; font-family: var(--font); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fbf7f0; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fbf7f0; }
.btn-light { background: #fbf7f0; border-color: #fbf7f0; color: var(--accent); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--accent); }
.btn-ghost, .btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-gold { background: var(--accent); border-color: var(--accent); color: #fbf7f0; }
.btn-outline-gold { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline-gold:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* Header */
.site-header.jl-header { background: var(--bg); border: 0; }
.jl-announce { background: var(--accent); color: #f7f1e7; }
.jl-announce-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 30px; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
}
.jl-announce-inner span:nth-child(2) { opacity: .72; }
.jl-header .demo-bar { background: #efe5d7; color: #7b7066; border-bottom: 1px solid var(--line); }
.jl-header .demo-bar .icon { color: var(--accent); }
.jl-masthead { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.jl-masthead-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 24px; min-height: 92px;
}
.jl-brand { display: inline-flex; align-items: center; justify-self: start; }
.brand-logo-img { width: auto; height: 58px; object-fit: contain; }
.jl-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.jl-nav-link {
  position: relative; font-size: .68rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; padding: 8px 0; color: var(--text);
}
.jl-nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.jl-nav-link:hover::after, .jl-nav-link.is-active::after { transform: scaleX(1); }
.jl-nav-link.is-active { color: var(--accent); }
.jl-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.jl-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 38px; height: 38px; padding: 0 8px; border: 0; background: transparent;
  color: var(--text); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
}
.jl-icon-btn:hover { color: var(--accent); }
.jl-menu-btn { display: none; }
.jl-cart { position: relative; }
.jl-cart .cart-badge {
  position: absolute; top: 1px; right: -1px; min-width: 16px; height: 16px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent);
  color: #fbf7f0; font-size: .55rem; padding: 0 3px;
}
.jl-search {
  position: absolute; left: 0; right: 0; top: 100%; display: none;
  padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--line);
  max-width: none; margin: 0; z-index: 40;
}
.site-header.is-searching .jl-search { display: flex; }
.jl-search input { flex: 1; background: transparent; border: 0; font-family: var(--serif); font-size: 1.5rem; padding: 8px 6px; }
.jl-search input::placeholder { color: var(--muted-2); }
.jl-search .btn { min-height: 38px; }
.search-suggest { background: #fffdf9; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ss-head, .ss-cats, .ss-all { border-color: var(--line); }
.ss-cat { background: var(--surface-2); color: var(--text); }
.ss-item { background: #fffdf9; }
.ss-item img { background: var(--surface-2); }

/* Mobile menu */
.mobile-menu.jl-mobile-menu { background: var(--bg); border-right: 1px solid var(--line); }
.mobile-menu-head { border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; }
.mobile-links a { border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
.mobile-account { border-top: 1px solid var(--line); }

/* Hero */
.jl-hero { position: relative; padding: clamp(38px, 6vw, 74px) 0 0; overflow: hidden; }
.jl-hero-word {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.8rem, 12.6vw, 12.6rem);
  line-height: .76; letter-spacing: -.055em; color: var(--text); white-space: nowrap;
  position: relative; z-index: 0; margin-left: -.05em; user-select: none;
}
.jl-hero-stage {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(320px, 1.55fr) minmax(190px, .72fr);
  gap: clamp(16px, 2.4vw, 34px); align-items: end;
  margin-top: clamp(-30px, -4vw, -68px);
}
.jl-hero-intro {
  background: var(--surface-2); padding: clamp(20px, 2.4vw, 34px);
  align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
}
.jl-hero-intro p { font-size: .92rem; line-height: 1.7; max-width: 32ch; margin: 0 0 24px; }
.jl-hero-coords {
  display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2);
  padding-top: 14px; margin-top: 18px; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.jl-hero-image {
  position: relative; display: block; background: var(--surface); min-height: 450px; overflow: hidden;
}
.jl-hero-image > img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; transition: transform .6s ease; }
.jl-hero-image:hover > img { transform: scale(1.025); }
.jl-hero-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(27,23,20,.78); color: #fbf7f0;
  padding: 6px 10px; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase;
}
.jl-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 2px; color: #fbf7f0;
  background: linear-gradient(180deg, transparent, rgba(20,15,12,.78));
}
.jl-hero-caption small { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: #e7d4b5; }
.jl-hero-caption strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.1; }
.jl-hero-caption em { font-style: normal; font-size: .9rem; }
.jl-hero-tiles { display: grid; gap: clamp(16px, 2vw, 24px); align-self: stretch; }
.jl-hero-tile { background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.jl-hero-tile img { width: 100%; height: clamp(120px, 12vw, 180px); object-fit: cover; }
.jl-hero-tile span { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.jl-hero-tile small { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jl-hero-tile strong { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.2; }
.jl-hero-tile em { font-style: normal; font-size: .82rem; color: var(--accent); }
.jl-hero-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 26px; padding: 14px 0;
  font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}
.jl-hero-bottom a { color: var(--text); border-bottom: 1px solid currentColor; }

/* Marquee / trust */
.jl-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.jl-marquee-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 0; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.jl-marquee-inner span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.jl-marquee-inner .icon { color: var(--accent); }

/* Sections */
.jl-section { padding: clamp(46px, 7vw, 96px) 0; }
.jl-section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.jl-section-head h2 { margin: 0; }
.jl-section-head .jl-arrow-link { flex: none; margin-bottom: 8px; }

/* Categories */
.jl-cats {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
}
.jl-cat { position: relative; overflow: hidden; background: var(--surface-2); min-height: 200px; display: block; }
.jl-cat.is-lead { grid-row: span 2; }
.jl-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; position: absolute; inset: 0; }
.jl-cat:hover img { transform: scale(1.04); }
.jl-cat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,12,.02) 35%, rgba(20,15,12,.72)); }
.jl-cat-copy { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fbf7f0; display: flex; flex-direction: column; gap: 2px; }
.jl-cat-copy em { font-family: var(--serif); font-style: normal; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1; }
.jl-cat-copy small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #e6d4b8; }
.jl-cat-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.jl-cat-links a { font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.jl-cat-links a:hover { color: var(--accent); }
.jl-cat-links span { color: var(--muted-2); margin-left: 4px; }

/* Product cards */
.jl-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jl-product { background: transparent; border: 0; border-radius: 0; overflow: visible; transform: none !important; box-shadow: none !important; }
.jl-product .jl-product-image {
  display: block; position: relative; aspect-ratio: 4 / 5; background: var(--surface-2);
  overflow: hidden; border: 1px solid var(--line);
}
.jl-product .jl-product-image img { width: 100%; height: 100%; object-fit: cover; padding: 0; transition: transform .55s ease; }
.jl-product:hover .jl-product-image img { transform: scale(1.035); }
.jl-product-badge {
  position: absolute; left: 10px; top: 10px; background: rgba(255,253,249,.9); color: var(--text);
  padding: 5px 8px; font-size: .52rem; letter-spacing: .14em; text-transform: uppercase;
}
.jl-product-body { padding: 12px 2px 0; gap: 5px; background: transparent; }
.jl-product-origin { color: var(--muted); font-size: .56rem; letter-spacing: .18em; }
.jl-product-title { font-family: var(--serif); font-size: 1.06rem; font-weight: 500; line-height: 1.22; letter-spacing: -.01em; }
.jl-product-foot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 9px; align-items: center; }
.jl-price { font-family: var(--font); font-size: .98rem; font-weight: 500; letter-spacing: .01em; }
.jl-round-link {
  width: 30px; height: 30px; border: 1px solid var(--line-2); display: inline-grid;
  place-items: center; color: var(--text); border-radius: 50%;
}
.jl-round-link:hover { background: var(--accent); border-color: var(--accent); color: #fbf7f0; }

/* Editorial */
.jl-editorial { background: var(--accent); color: #f7f1e7; padding: clamp(54px, 8vw, 110px) 0; }
.jl-editorial-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.jl-editorial-image { position: relative; }
.jl-editorial-image img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.jl-editorial-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(248,238,226,.9); color: var(--accent);
  padding: 5px 9px; font-size: .54rem; letter-spacing: .16em; text-transform: uppercase;
}
.jl-editorial-copy .jl-eyebrow { color: var(--gold-soft); }
.jl-editorial-copy h2 { color: #fbf7f0; font-size: clamp(2.7rem, 5vw, 5.2rem); }
.jl-editorial-copy h2 em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.jl-editorial-copy p { color: #e2d0c4; max-width: 52ch; }
.jl-editorial-copy .jl-arrow-link { color: #fbf7f0; margin-top: 10px; }
.jl-editorial-copy .jl-arrow-link:hover { color: var(--gold-soft); }

/* Gifts */
.jl-gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jl-gift { position: relative; display: block; background: var(--surface-2); min-height: 280px; overflow: hidden; }
.jl-gift img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jl-gift:hover img { transform: scale(1.04); }
.jl-gift > span {
  position: absolute; left: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 3px;
  color: #fbf7f0; text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.jl-gift small { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.jl-gift strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1; }
.jl-gift i { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; background: rgba(255,253,249,.9); color: var(--accent); font-style: normal; }

/* Story */
.jl-story { padding: 0 0 clamp(46px, 7vw, 92px); }
.jl-story-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: stretch; border: 1px solid var(--line); background: var(--surface); }
.jl-story-image { min-height: 300px; overflow: hidden; }
.jl-story-image img { width: 100%; height: 100%; object-fit: cover; }
.jl-story-copy { padding: clamp(26px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.jl-story-copy p { max-width: 46ch; }

/* Newsletter */
.jl-newsletter { background: #2b2320; color: #f7f1e7; padding: clamp(44px, 6vw, 76px) 0; }
.jl-newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.jl-newsletter-copy .jl-eyebrow { color: var(--gold-soft); }
.jl-newsletter-copy h2 { color: #fbf7f0; margin-bottom: 8px; }
.jl-newsletter-copy p { color: #c9b8ab; }
.jl-newsletter-form { display: flex; border-bottom: 1px solid #6f5a50; }
.jl-newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fbf7f0; padding: 14px 4px; font-size: .92rem; }
.jl-newsletter-form input::placeholder { color: #9a877b; }
.jl-newsletter-form .btn { flex: none; }

/* Footer */
.site-footer.jl-footer { background: #2b2320; color: #f7f1e7; border: 0; padding: clamp(46px, 6vw, 76px) 0 0; }
.jl-footer-grid { display: grid; grid-template-columns: 1.55fr .8fr .8fr 1.1fr; gap: 32px; }
.jl-footer-brand p { color: #c9b8ab; max-width: 40ch; font-size: .84rem; }
.jl-footer-brand .brand-logo-img { height: 64px; }
.jl-footer h3 { color: #fbf7f0; font-family: var(--font); font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.jl-footer-grid > div > a, .jl-footer-grid > div > span { display: flex; align-items: center; gap: 7px; color: #cdbbae; font-size: .8rem; padding: 4px 0; }
.jl-footer-grid a:hover { color: #fbf7f0; }
.jl-footer .footer-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #5c4a42; color: #f7f1e7; margin-right: 6px; }
.jl-footer .footer-pay { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.jl-footer .pay-chip { background: transparent; border: 1px solid #5c4a42; color: #e6d5c7; font-size: .54rem; letter-spacing: .1em; padding: 4px 7px; }
.jl-footer .muted { color: #8f7d71; }
.jl-footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #3a2c26; margin-top: 34px; padding: 16px 0 20px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #8f7d71; }

/* Page head + catalog */
.page-head.jl-page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 34px 0 28px; }
.jl-page-head h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.jl-page-head p { color: var(--muted); }
.breadcrumbs { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.catalog-layout { padding-top: 34px; gap: 34px; }
.filters { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 0 22px 0 0; }
.filters-head strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.filter-block { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-block h3 { font-family: var(--font); font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.chip { border-radius: 0; background: transparent; border: 1px solid var(--line); color: var(--text); font-size: .66rem; letter-spacing: .08em; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fbf7f0; }
.catalog-toolbar { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.catalog-count { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.page-btn { border-radius: 0; border-color: var(--line); }
.page-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fbf7f0; }
.product-grid { gap: 18px 14px; }

/* Product detail */
.product-crumbs { background: var(--bg); border-bottom: 1px solid var(--line); }
.product-layout { padding-top: 40px; }
.gallery-main { background: var(--surface-2); border: 1px solid var(--line); }
.gallery-thumbs .thumb { border: 1px solid var(--line); background: var(--surface-2); }
.gallery-thumbs .thumb.is-active { border-color: var(--accent); }
.product-content h1, .product-head h1 { font-family: var(--serif); font-weight: 500; }
.buy-brand { color: var(--muted); }
.buy-price .price, .buy-price strong { color: var(--accent); }
.buy-form .btn-primary { min-height: 48px; }
.buy-trust { background: var(--surface-2); border-color: var(--line); }
.spec-table th { color: var(--muted); font-weight: 400; }
.spec-table th, .spec-table td { border-color: var(--line); }
.info-grid > div { background: var(--surface-2); border-color: var(--line); }
.side-card, .content-card { background: var(--surface); border: 1px solid var(--line); border-radius: 0; }
.content-card h2, .content-card h3, .side-card h3 { font-family: var(--serif); font-weight: 500; }
.mobile-buy-bar { background: var(--surface); border-top: 1px solid var(--line); }
.mobile-buy-bar .mbb-price strong { color: var(--text); }

/* Auth / cart / checkout */
.auth-wrap { background: var(--bg); }
.auth-panel { background: var(--surface); }
.auth-aside { background: #2b2320; color: #f7f1e7; }
.auth-aside h2, .auth-aside h3, .auth-aside p, .auth-aside li, .auth-aside strong { color: #f7f1e7; }
.auth-aside .check-list li { color: #d8c7ba; }
.auth-aside-card { background: rgba(255,255,255,.05); border-color: #5c4a42; color: var(--gold-soft); }
.auth-aside-card strong { color: #fbf7f0; }
.auth-aside-card span { color: #c9b8ab; }
.cart-summary, .checkout-summary { background: var(--surface); border-color: var(--line); }
.cart-line { background: var(--surface); border-color: var(--line); }
.cart-price strong, .summary-row strong, .summary-total strong { color: var(--text); }
.checkout-line strong { color: var(--text); }
.field input, .field select, .field textarea, .filters-form input, .sort-form select { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.field > span { color: var(--text); }
.demo-pay-note { background: var(--surface-2); border-color: var(--line); color: var(--accent); }

/* Base dark remnants */
.trust-strip, .brands-band, .newsletter-band, .page-head, .product-crumbs { background: var(--bg); color: var(--text); }
.brands-band { border-color: var(--line); }
.newsletter-band { border-color: var(--line); }
.newsletter-band .eyebrow { color: var(--accent); }
.newsletter-band h2 { color: var(--text); }

/* Responsive */
@media (max-width: 1080px) {
  .jl-nav { gap: 14px; }
  .jl-nav-link { font-size: .6rem; letter-spacing: .1em; }
  .jl-action-label { display: none; }
  .jl-hero-stage { grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.4fr) minmax(160px, .7fr); }
  .jl-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .jl-footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .jl-menu-btn { display: inline-flex; }
  .jl-nav { display: none; }
  .jl-masthead-inner { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .jl-brand { justify-self: center; }
  .brand-logo-img { height: 40px; }
  .jl-hero-word { font-size: clamp(3.6rem, 15vw, 8rem); }
  .jl-hero-stage { grid-template-columns: 1fr 1fr; margin-top: 12px; align-items: stretch; }
  .jl-hero-intro { grid-column: 1 / -1; min-height: 0; }
  .jl-hero-tiles { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .jl-hero-image { min-height: 380px; }
  .jl-hero-image > img { min-height: 380px; }
  .jl-cats { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .jl-cat.is-lead { grid-row: span 2; }
  .jl-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jl-editorial-grid { grid-template-columns: 1fr; }
  .jl-editorial-image img { aspect-ratio: 4 / 3; }
  .jl-story-inner { grid-template-columns: 1fr; }
  .jl-newsletter-inner { grid-template-columns: 1fr; }
  .jl-footer-grid { grid-template-columns: 1fr 1fr; }
  .jl-footer-grid > div:first-child { grid-column: 1 / -1; }
  .jl-footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .jl-announce-inner { justify-content: center; gap: 10px; font-size: .54rem; }
  .jl-announce-inner span:first-child, .jl-announce-inner span:last-child { display: none; }
  .jl-hero { padding-top: 30px; }
  .jl-hero-word { white-space: normal; font-size: clamp(3.4rem, 18vw, 5.6rem); line-height: .82; }
  .jl-hero-stage { grid-template-columns: 1fr; }
  .jl-hero-image, .jl-hero-image > img { min-height: 320px; }
  .jl-hero-tiles { grid-template-columns: 1fr 1fr; }
  .jl-hero-tile img { height: 110px; }
  .jl-hero-bottom { flex-direction: column; gap: 6px; }
  .jl-section { padding: 42px 0; }
  .jl-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .jl-section-head h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .jl-cats { grid-template-columns: 1fr; }
  .jl-cat.is-lead { grid-row: auto; }
  .jl-cat { min-height: 220px; }
  .jl-products { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .jl-product-title { font-size: .95rem; }
  .jl-product-body { padding-top: 9px; }
  .jl-gift-grid { grid-template-columns: 1fr; }
  .jl-gift { min-height: 230px; }
  .jl-marquee-inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 18px; scrollbar-width: none; }
  .jl-marquee-inner::-webkit-scrollbar { display: none; }
  .jl-newsletter-form { flex-direction: column; border: 0; gap: 10px; }
  .jl-newsletter-form input { border-bottom: 1px solid #6f5a50; }
  .jl-footer-grid { grid-template-columns: 1fr; }
  .jl-footer-grid > div:first-child { grid-column: auto; }
  .jl-footer-bottom { flex-direction: column; gap: 6px; }
  .catalog-layout { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .filters { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
}

/* Grid + shared section headings */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 32px;
}
.section-head h2 { font-family: var(--serif); font-weight: 500; }
.section-head .eyebrow { color: var(--accent); }
.section-head .link-arrow { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================
   Final art direction: centred lockup, paper texture,
   washed wordmark and very light tonal gradients
   ============================================================ */
:root, html[data-theme="light"] {
  --bg: #f3eee5;
  --bg-2: #ebe3d7;
  --surface: #fbf7f0;
  --surface-2: #ece5da;
  --surface-3: #e4dbcf;
  --line: #ddd3c5;
  --line-2: #c9bcaa;
  --text: #2c2824;
  --muted: #7b7066;
  --muted-2: #a3968a;
  --accent: #6d3b45;
  --accent-2: #854c56;
  --accent-soft: rgba(109, 59, 69, .10);
  --gold: #b39a72;
  --gold-soft: #d3bc98;
  --wordmark: rgba(86, 74, 64, .24);
}
html { background: #f3eee5; }
body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(190, 150, 140, .20), transparent 62%),
    radial-gradient(900px 560px at 94% 4%, rgba(179, 154, 114, .16), transparent 58%),
    radial-gradient(1000px 700px at 50% 110%, rgba(174, 164, 150, .16), transparent 60%),
    linear-gradient(180deg, #f7f2e9 0%, #f2ebe0 42%, #f5efe5 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header { background: transparent; }
.jl-masthead { background: rgba(247, 242, 233, .86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201, 188, 170, .55); }

/* Centred lockup with navigation flanking it */
.jl-masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 98px;
}
.jl-left { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; }
.jl-right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 1.2vw, 18px); min-width: 0; }
.jl-brand { justify-self: center; flex: none; }
.jl-nav { display: flex; align-items: center; }
.jl-nav-left { justify-content: flex-start; gap: clamp(12px, 1.7vw, 26px); }
.jl-nav-right { justify-content: flex-end; gap: clamp(10px, 1.4vw, 22px); }
.jl-actions { display: flex; align-items: center; gap: 0; flex: none; }
.jl-nav-link { font-size: .63rem; letter-spacing: .15em; }
.jl-masthead .jl-search { background: rgba(251, 247, 240, .98); backdrop-filter: blur(10px); }

/* Washed oversized wordmark */
.jl-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .38) 0%, transparent 44%),
    radial-gradient(720px 420px at 72% 20%, rgba(190, 150, 140, .14), transparent 68%),
    linear-gradient(180deg, #f7f2e9, #f0e8dc 84%, #f3eee5);
}
.jl-hero-word {
  color: var(--wordmark);
  -webkit-text-stroke: 1px rgba(86, 74, 64, .035);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.jl-hero-intro { background: linear-gradient(150deg, rgba(251,247,240,.94), rgba(235,227,215,.82)); border: 1px solid rgba(201,188,170,.5); }
.jl-hero-image { background: linear-gradient(160deg, #fbf7f0, #eee7dc); }
.jl-hero-tile { background: rgba(251, 247, 240, .82); border: 1px solid rgba(221, 211, 197, .7); }

/* Very light section washes */
.jl-collections { background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(235,227,215,.36)); }
.jl-featured { background: linear-gradient(180deg, rgba(247,242,233,.55), rgba(239,231,220,.55)); }
.jl-gifts { background: linear-gradient(135deg, rgba(240,227,224,.55), rgba(247,242,233,.55) 48%, rgba(235,228,214,.55)); }
.jl-new { background: linear-gradient(180deg, rgba(248,243,235,.55), rgba(240,232,221,.50)); }
.jl-editorial { background: linear-gradient(145deg, #6d3b45 0%, #5d343d 52%, #70424b 100%); }
.jl-newsletter { background: linear-gradient(135deg, #2b2320, #352a26 58%, #2d2521); }
.site-footer.jl-footer { background: linear-gradient(180deg, #2b2320, #241d1a); }
.jl-story-inner { background: linear-gradient(145deg, rgba(251,247,240,.9), rgba(238,231,220,.78)); }
.jl-marquee { background: rgba(251, 247, 240, .72); }

/* Slightly larger/finer lockup */
.brand-logo-img { height: 60px; }
.jl-footer-brand .brand-logo-img { height: 66px; }

@media (max-width: 1180px) {
  .jl-nav-link { font-size: .58rem; letter-spacing: .11em; }
  .jl-action-label { display: none; }
  .jl-masthead-inner { min-height: 88px; }
}
@media (max-width: 980px) {
  .jl-nav-right .jl-nav-link[href="/sobre"] { display: none; }
}
@media (max-width: 900px) {
  .jl-masthead-inner { grid-template-columns: 1fr auto 1fr; min-height: 78px; }
  .jl-left .jl-nav, .jl-right .jl-nav { display: none; }
  .jl-left, .jl-right { gap: 4px; }
  .brand-logo-img { height: 44px; }
}
@media (max-width: 640px) {
  .jl-masthead-inner { min-height: 72px; }
  .brand-logo-img { height: 40px; }
  .jl-hero { background: linear-gradient(180deg, #f7f2e9, #efe7db 88%, #f3eee5); }
}
/* Flex lockup: left menu / centred logo / right menu + actions */
.jl-masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 26px); }
.jl-left { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.jl-right { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 1.2vw, 18px); min-width: 0; }
.jl-brand { flex: 0 0 auto; }
.jl-nav-left { flex: 0 1 auto; }
.jl-nav-right { flex: 0 1 auto; }
@media (max-width: 900px) {
  .jl-masthead-inner { display: flex; }
  .jl-left { flex: 0 0 auto; }
  .jl-right { flex: 0 0 auto; }
}

/* Full-bleed panoramic banner (banner.jpg is 1366x210 source) */
.jl-story { padding: 0 0 clamp(46px, 7vw, 92px); }
.jl-story-banner {
  position: relative;
  width: 100%;
  min-height: clamp(240px, 26vw, 390px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #2b2320;
}
.jl-story-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.jl-story-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 23, 20, .82) 0%, rgba(30, 23, 20, .55) 38%, rgba(30, 23, 20, .10) 72%, rgba(30, 23, 20, .05) 100%);
}
.jl-story-overlay {
  position: relative;
  z-index: 2;
  width: min(560px, 88vw);
  margin-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  padding: clamp(26px, 4vw, 48px) 0;
  color: #f7f1e7;
}
.jl-story-overlay .jl-eyebrow { color: var(--gold-soft); }
.jl-story-overlay h2 { color: #f7f1e7; font-size: clamp(2.2rem, 3.6vw, 3.8rem); margin: 0 0 12px; }
.jl-story-overlay p { color: #d9c8bc; max-width: 48ch; margin: 0 0 18px; }
.jl-story-overlay .jl-arrow-link { color: #f7f1e7; }
.jl-story-overlay .jl-arrow-link:hover { color: var(--gold-soft); }
@media (max-width: 640px) {
  .jl-story-banner { min-height: 310px; align-items: flex-end; }
  .jl-story-banner::after { background: linear-gradient(180deg, rgba(30, 23, 20, .10) 0%, rgba(30, 23, 20, .86) 58%, rgba(30, 23, 20, .92) 100%); }
  .jl-story-overlay { margin-left: 16px; margin-right: 16px; width: auto; padding: 26px 0; }
}

/* Left-side collection menu, right-side utility links */
.jl-nav-left { gap: clamp(10px, 1.35vw, 22px); }
.jl-nav-left .jl-nav-link { font-size: .6rem; }
@media (max-width: 1080px) { .jl-nav-left .jl-nav-link { font-size: .56rem; letter-spacing: .09em; } }
@media (max-width: 900px) { .jl-nav-left { display: none; } }

/* Visible paper grain above the tonal washes */
body::before {
  z-index: 9999;
  opacity: .12;
  mix-blend-mode: multiply;
  background-size: 220px 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.brand-logo-img { height: 68px; }
.jl-footer-brand .brand-logo-img { height: 74px; }
@media (max-width: 900px) { .brand-logo-img { height: 46px; } }
@media (max-width: 640px) { .brand-logo-img { height: 42px; } }
/* Shorter panoramic banner and stronger paper grain */
.jl-story-banner { min-height: clamp(200px, 17vw, 270px); }
.jl-story-overlay { padding: clamp(22px, 3vw, 38px) 0; }
body::before { opacity: .16; background-size: 260px 260px; }
@media (max-width: 640px) {
  .jl-story-banner { min-height: 250px; }
  .jl-story-overlay { padding: 22px 0; }
  .jl-story-overlay h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}
@media (max-width: 900px) {
  .jl-brand { order: 0; flex: 0 0 auto; width: auto; }
  .jl-left { flex: 1 1 0; justify-content: flex-start; }
  .jl-right { flex: 1 1 0; justify-content: flex-end; }
}
.jl-footer-brand .brand-logo-img { height: 88px; }

/* Auto tone for text over images (set by app.js) */
.jl-gift::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(24, 18, 16, .58));
}
.jl-gift > span, .jl-gift > i { z-index: 2; }
.jl-gift[data-tone="light"]::after { background: linear-gradient(180deg, transparent 42%, rgba(251, 247, 240, .82)); }
.jl-gift[data-tone="light"] > span { color: var(--text); text-shadow: none; }
.jl-gift[data-tone="light"] > span small { color: var(--muted); }
.jl-gift[data-tone="dark"] > span { color: #fbf7f0; }

.jl-cat[data-tone="light"] .jl-cat-shade { background: linear-gradient(180deg, transparent 42%, rgba(251, 247, 240, .84)); }
.jl-cat[data-tone="light"] .jl-cat-copy { color: var(--text); }
.jl-cat[data-tone="light"] .jl-cat-copy small { color: var(--muted); }
.jl-cat[data-tone="dark"] .jl-cat-copy { color: #fbf7f0; }

.jl-hero-image[data-tone="light"] .jl-hero-caption {
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(251, 247, 240, .90));
}
.jl-hero-image[data-tone="light"] .jl-hero-caption small { color: var(--muted); }
.jl-hero-image[data-tone="light"] .jl-hero-caption em { color: var(--accent); }
.jl-hero-image[data-tone="dark"] .jl-hero-caption { color: #fbf7f0; }

.jl-story-banner[data-tone="light"]::after {
  background: linear-gradient(90deg, rgba(251, 247, 240, .92), rgba(251, 247, 240, .55) 44%, rgba(251, 247, 240, .04) 78%);
}
.jl-story-banner[data-tone="light"] .jl-story-overlay,
.jl-story-banner[data-tone="light"] .jl-story-overlay h2 { color: var(--text); }
.jl-story-banner[data-tone="light"] .jl-story-overlay p { color: var(--muted); }
.jl-story-banner[data-tone="light"] .jl-story-overlay .jl-eyebrow { color: var(--accent); }
.jl-story-banner[data-tone="light"] .jl-story-overlay .jl-arrow-link { color: var(--text); }
.jl-newsletter-form input::placeholder { color: #b7a79b; }
.jl-footer-bottom, .jl-footer .muted { color: #b3a296; }
.jl-footer-grid > div > a, .jl-footer-grid > div > span { color: #d8c7ba; }
.jl-footer .pay-chip { color: #f7f1e7; }
/* Compact A casa band on desktop (banner source is 1366x210) */
.jl-story-banner { min-height: 180px; }
.jl-story-overlay { padding: 20px 0; }
.jl-story-overlay h2 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); margin-bottom: 7px; }
.jl-story-overlay p { font-size: .82rem; line-height: 1.5; margin-bottom: 10px; max-width: 54ch; }
.jl-story-overlay .jl-arrow-link { font-size: .64rem; }
@media (max-width: 640px) {
  .jl-story-banner { min-height: 230px; }
  .jl-story-overlay { padding: 20px 0; }
  .jl-story-overlay h2 { font-size: clamp(1.8rem, 7.4vw, 2.4rem); }
}
/* Wide, short A casa strip on desktop — matches the 1366x210 source */
.jl-story-banner { min-height: 150px; max-height: none; }
.jl-story-overlay { padding: 12px 0; }
.jl-story-overlay h2 { font-size: clamp(1.5rem, 2vw, 2.1rem); margin: 0 0 4px; line-height: 1.04; }
.jl-story-overlay p { font-size: .76rem; line-height: 1.4; margin: 0 0 7px; max-width: 62ch; }
.jl-story-overlay .jl-arrow-link { font-size: .6rem; padding-bottom: 2px; }
.jl-story-overlay .jl-eyebrow { margin-bottom: 4px; }
@media (max-width: 640px) {
  .jl-story-banner { min-height: 220px; }
  .jl-story-overlay { padding: 18px 0; }
  .jl-story-overlay h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .jl-story-overlay p { font-size: .8rem; }
}
/* Show banner.webp at its full 7080:1074 aspect ratio on desktop */
.jl-story-banner {
  aspect-ratio: 7080 / 1074;
  min-height: 0;
  max-height: none;
  display: block;
  background: #2b2320;
}
.jl-story-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 640px) {
  .jl-story-banner { aspect-ratio: auto; display: flex; flex-direction: column; }
  .jl-story-banner > img { position: static; width: 100%; height: auto; }
  .jl-story-banner::after { display: none; }
  .jl-story-overlay {
    position: static;
    width: auto;
    margin: 0;
    padding: 18px 16px;
    background: #2b2320;
    color: #f7f1e7;
  }
  .jl-story-overlay h2 { color: #f7f1e7; }
  .jl-story-overlay p { color: #d9c8bc; }
  .jl-story-overlay .jl-eyebrow { color: var(--gold-soft); }
  .jl-story-overlay .jl-arrow-link { color: #f7f1e7; }
}
/* More generous A casa typography now that the banner keeps its full ratio */
.jl-story-overlay .jl-eyebrow { font-size: .7rem; margin-bottom: 6px; }
.jl-story-overlay h2 { font-size: clamp(2.1rem, 2.9vw, 3.3rem); line-height: 1.02; margin-bottom: 7px; }
.jl-story-overlay p { font-size: .9rem; line-height: 1.5; max-width: 58ch; margin-bottom: 10px; }
.jl-story-overlay .jl-arrow-link { font-size: .68rem; }
@media (max-width: 640px) {
  .jl-story-overlay .jl-eyebrow { font-size: .66rem; }
  .jl-story-overlay h2 { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .jl-story-overlay p { font-size: .88rem; }
  .jl-story-overlay .jl-arrow-link { font-size: .64rem; }
}
.jl-story-overlay { width: min(660px, 92vw); }
.jl-story-overlay p { max-width: 64ch; }
@media (max-width: 900px) { .jl-story-overlay { width: min(560px, 92vw); } }

/* ------------------------------------------------------------------
   Product card rhythm — aligned boxes, titles and footers
   ------------------------------------------------------------------ */
.jl-products { align-items: stretch; }
.jl-product,
.jl-product.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.jl-product .jl-product-image { flex: 0 0 auto; }
.jl-product-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jl-product-origin {
  display: block;
  min-height: 1.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .16em;
}
.jl-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.44em;
  margin: 0;
}
.jl-product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.jl-product-foot { margin-top: auto; }
@media (max-width: 640px) {
  .jl-product-title { min-height: 2.4em; }
}

/* ------------------------------------------------------------------
   Touch devices — the photograph drifts/zooms with the scroll
   instead of relying on hover
   ------------------------------------------------------------------ */
html.is-touch .jl-product .jl-product-image img,
html.is-touch .product-card .product-image img {
  transition: transform .22s linear;
  will-change: transform;
}
@media (hover: none) {
  .jl-product:hover .jl-product-image img,
  .product-card:hover .product-image img { transform: none; }
  .jl-product:hover,
  .product-card:hover { transform: none; box-shadow: none; }
}

/* ------------------------------------------------------------------
   Collections — every tile is a slow, staggered slideshow so the
   section never feels static
   ------------------------------------------------------------------ */
.jl-cat-media { position: absolute; inset: 0; overflow: hidden; }
.jl-cat .jl-cat-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s ease;
}
.jl-cat .jl-cat-media img.is-active { opacity: 1; }
.jl-cat:hover .jl-cat-media img.is-active { opacity: 1; }

/* image containers that receive the touch scroll zoom */
.jl-hero-tile, .jl-editorial-image, .jl-hero-image { overflow: hidden; }
html.is-touch .jl-cat-media,
html.is-touch .jl-hero-image > img,
html.is-touch .jl-hero-tile img,
html.is-touch .jl-gift img,
html.is-touch .jl-editorial-image img,
html.is-touch .jl-story-banner > img,
html.is-touch .gallery-main img {
  transition: transform .22s linear;
  will-change: transform;
}

/* Slow, low-key progress line under each collection tile */
.jl-cat-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255, 253, 249, .14); overflow: hidden; z-index: 3;
}
.jl-cat-progress i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, rgba(216,193,160,.35), rgba(216,193,160,.9));
  transform: scaleX(0); transform-origin: left center;
}
@keyframes jl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .jl-cat-progress { display: none; } }

/* Trust strip on small screens: a tidy 2 × 2 grid instead of a
   horizontally scrolling row */
@media (max-width: 940px) {
  .jl-marquee-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    justify-content: initial;
    overflow: visible;
    padding: 15px 0;
    font-size: .56rem;
    letter-spacing: .14em;
    line-height: 1.3;
  }
  .jl-marquee-inner span {
    white-space: normal;
    align-items: flex-start;
    gap: 8px;
  }
  .jl-marquee-inner .icon { flex: 0 0 auto; margin-top: 1px; }
}
@media (max-width: 380px) {
  .jl-marquee-inner { grid-template-columns: 1fr; gap: 9px; }
}

/* Trust strip: keep generous breathing room from the screen edges */
@media (max-width: 940px) {
  .jl-marquee-inner {
    padding: 17px 24px;
    gap: 14px 22px;
  }
}
@media (max-width: 640px) {
  .jl-marquee-inner {
    grid-template-columns: 1fr 1fr;
    padding: 17px 26px;
    gap: 14px 18px;
    justify-items: start;
  }
}
@media (max-width: 380px) {
  .jl-marquee-inner { grid-template-columns: 1fr; padding: 17px 26px; }
}

/* Keep the four trust labels on a single line inside the 2 × 2 grid */
@media (max-width: 640px) {
  .jl-marquee-inner {
    padding: 17px 22px;
    gap: 13px 12px;
    font-size: .5rem;
    letter-spacing: .1em;
  }
  .jl-marquee-inner span { gap: 7px; }
  .jl-marquee-inner .icon { width: 15px; height: 15px; }
}

@media (max-width: 640px) and (min-width: 381px) {
  .jl-marquee-inner {
    grid-template-columns: auto auto;
    justify-content: center;
    justify-items: start;
    gap: 13px 28px;
  }
}

/* Hardening: no border/box artifact around the lockup artwork */
.brand-logo-img { border: 0; background: none; box-shadow: none; outline: 0; }

/* Footer lockup: clip the transparent, potentially aliased left edge so no
   hairline can show against the dark footer on any renderer */
.jl-footer-brand .brand-logo-img {
  -webkit-clip-path: inset(0 0 0 2px);
  clip-path: inset(0 0 0 2px);
}

.jl-footer .brand-footer { outline: none; -webkit-tap-highlight-color: transparent; }
.jl-footer .brand-footer .brand-logo-img { isolation: isolate; mix-blend-mode: normal; }

/* Electronic complaints book — required for Portuguese online sellers */
.complaints-strip { display: flex; justify-content: center; padding: 4px 16px 22px; }
.complaints-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: inherit; text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid currentColor; opacity: .85;
  transition: opacity .2s ease;
}
.complaints-link:hover, .complaints-link:focus-visible { opacity: 1; }
.complaints-icon { flex: 0 0 auto; }
@media (max-width: 640px) {
  .complaints-strip { padding-bottom: 18px; }
  .complaints-link { font-size: .6rem; letter-spacing: .12em; }
}

/* Complaints link: self-contained high-contrast badge on every footer palette */
.complaints-link {
  background: #f7f1e7; color: #2b2320;
  border: 1px solid rgba(0, 0, 0, .14);
  padding: 7px 14px; opacity: 1;
}
.complaints-link:hover, .complaints-link:focus-visible {
  background: #fffdf8; color: #17110e;
}

/* Ensure footer link color rules cannot wash the badge text out */
.site-footer .complaints-link { color: #2b2320; }
.site-footer .complaints-link:hover,
.site-footer .complaints-link:focus-visible { color: #17110e; }

/* Footer complaints links — small, quiet, always visible */
.complaints-strip { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 2px 16px 20px; }
.site-footer .complaints-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; color: inherit;
  font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; opacity: .82;
}
.site-footer .complaints-link:hover,
.site-footer .complaints-link:focus-visible {
  color: inherit; background: none; opacity: 1;
  text-decoration: underline; text-underline-offset: 3px;
}
.site-footer .complaints-link--elogios { opacity: .66; font-size: .54rem; }
@media (max-width: 640px) {
  .complaints-strip { padding-bottom: 16px; }
  .site-footer .complaints-link { font-size: .54rem; letter-spacing: .1em; }
  .site-footer .complaints-link--elogios { font-size: .52rem; }
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  background: #17120f; color: #f7f1e7;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 13px 16px; box-shadow: 0 -10px 34px rgba(0, 0, 0, .22);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.cookie-consent p { margin: 0; font-size: .76rem; line-height: 1.5; color: #e9e0d4; }
.cookie-consent a { color: #fffdf8; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.cookie-btn {
  font-family: inherit; font-size: .68rem; letter-spacing: .06em;
  border: 1px solid rgba(255, 255, 255, .38); background: transparent; color: #f7f1e7;
  padding: 8px 14px; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.cookie-btn:hover { background: rgba(255, 255, 255, .1); }
.cookie-btn-primary { background: #f7f1e7; color: #1a1412; border-color: #f7f1e7; }
.cookie-btn-primary:hover { background: #fffdf8; color: #17110e; }
@media (max-width: 700px) {
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-consent-actions { justify-content: flex-end; }
  .cookie-consent p { font-size: .74rem; }
}
