
/* Never show hidden controls (Log out must stay invisible until authed) */
[hidden], .is-hidden { display: none !important; }
#logout-btn[hidden] { display: none !important; visibility: hidden !important; }

:root {
  --ink: #0b0b0f;
  --ink-2: #121218;
  --ink-3: #1a1a22;
  --surface: rgba(18, 18, 24, 0.78);
  --surface-solid: #14141c;
  --text: #f5f3ef;
  --muted: #9a958c;
  --silver: #c8cdd6;
  --silver-dim: #8b919c;
  --gold: #c4a35a;
  --gold-bright: #e8d5a3;
  --gold-deep: #8a6a2e;
  --border: rgba(196, 163, 90, 0.28);
  --border-soft: rgba(200, 205, 214, 0.12);
  --grad-gold: linear-gradient(135deg, #e8d5a3 0%, #c4a35a 48%, #8a6a2e 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(232, 213, 163, 0.18), rgba(196, 163, 90, 0.08));
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 40px rgba(196, 163, 90, 0.22);
  --radius: 18px;
  --radius-lg: 24px;
  --font: "Inter", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --bg: var(--ink);
  --bg-tint: var(--ink-2);
  color-scheme: dark;
}

html[data-theme="light"] {
  --ink: #f7f4ee;
  --ink-2: #efe8da;
  --ink-3: #e8dfd0;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #14110c;
  --muted: #6e675c;
  --silver: #5a5f6a;
  --silver-dim: #7a808c;
  --border: rgba(138, 106, 46, 0.28);
  --border-soft: rgba(20, 17, 12, 0.1);
  --shadow: 0 18px 50px rgba(138, 106, 46, 0.12);
  --glow: 0 0 32px rgba(196, 163, 90, 0.18);
  --bg: var(--ink);
  --bg-tint: var(--ink-2);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
html[dir="rtl"] body { direction: rtl; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 12% -6%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(700px 420px at 92% 4%, rgba(200, 205, 214, 0.08), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(196, 163, 90, 0.08), transparent 55%),
    var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }
.wrap { width: min(1140px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--surface-solid); padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.grad {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(18px) saturate(1.15);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: .85rem; min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; opacity: .96; }
.brand-lockup { height: 46px; width: auto; border-radius: 8px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.02rem;
}
.brand-sub {
  font-size: .68rem; color: var(--silver-dim); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.nav {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center;
}
.nav a {
  color: var(--muted); font-weight: 550; text-decoration: none;
  padding: .4rem .7rem; border-radius: 999px; font-size: .92rem;
  border: 1px solid transparent;
}
.nav a:hover, .nav a.active {
  color: var(--text); border-color: var(--border); background: rgba(196, 163, 90, 0.08);
  text-decoration: none;
}
.header-tools { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.theme-toggle, .nav-toggle, .lang-btn, .admin-link {
  border: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  color: var(--text); border-radius: 12px; cursor: pointer; font: inherit;
}
.theme-toggle, .nav-toggle {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: inline; }
html:not([data-theme="light"]) .theme-toggle .sun { display: none; }
html:not([data-theme="light"]) .theme-toggle .moon { display: inline; }
.lang-wrap { position: relative; z-index: 90; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  height: 40px; padding: 0 .75rem; font-weight: 600; font-size: .88rem;
}
.lang-btn:hover { border-color: var(--border); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  width: min(320px, calc(100vw - 1.5rem)); max-height: 360px; overflow: auto;
  background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; z-index: 120;
  color: var(--text);
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu.open { display: block; }
.lang-menu input {
  width: 100%; border: 1px solid var(--border-soft); border-radius: 10px;
  padding: .55rem .7rem; margin-bottom: .45rem; background: var(--ink-2); color: var(--text); font: inherit;
}
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; text-align: start; border: 0; background: transparent;
  color: var(--text) !important; padding: .55rem .65rem; border-radius: 8px; cursor: pointer; font: inherit; font-size: .95rem;
  font-weight: 600;
}
.lang-menu button .lang-code { opacity: .55; font-weight: 500; flex-shrink: 0; }
.lang-menu button:hover, .lang-menu button.active {
  background: rgba(196, 163, 90, 0.16); color: var(--gold-bright) !important;
}
@media (max-width: 700px) {
  .lang-menu.open {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: 4.25rem;
    width: auto;
    max-width: none;
    max-height: min(70vh, 440px);
    z-index: 300;
  }
}
.admin-link {
  display: inline-flex; align-items: center; gap: .35rem;
  height: 40px; padding: 0 .9rem; border-radius: 999px; font-weight: 700; font-size: .88rem;
  background: var(--grad-gold) !important; color: #14110c !important; border: none !important;
  text-decoration: none !important; box-shadow: 0 8px 22px rgba(196, 163, 90, 0.28);
}
.admin-link:hover { filter: brightness(1.06); text-decoration: none !important; color: #14110c !important; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); display: block; }




/* Hero — full-bleed-ish logo, slight inset so nothing clips */
.hero {
  padding: 0 0 1.75rem;
  position: relative;
  text-align: center;
  overflow-x: clip;
}
.hero-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 0;
}
.hero-logo {
  display: block;
  width: calc(100vw - 1.1cm);
  max-width: calc(100% - 0.5rem);
  height: auto;
  margin: 0 auto .65rem;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  filter: drop-shadow(0 18px 40px rgba(196, 163, 90, 0.28));
  object-fit: contain;
}
.hero-wordmark { display: none !important; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 auto .75rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(196, 163, 90, 0.12);
  border: 1px solid var(--border);
  color: var(--gold-bright); font-weight: 700; font-size: .72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}
.hero .lede, .hero-tagline {
  color: var(--muted); font-size: 1.02rem; max-width: 42ch; margin: 0 auto 1.2rem;
  padding: 0 1rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center;
  padding: 0 1rem;
}
.brand-lockup {
  height: 42px; width: auto; border-radius: 8px;
  object-fit: contain; background: transparent;
}
@media (max-width: 640px) {
  .hero { padding: 0 0 1.35rem; }
  .hero-logo {
    width: calc(100vw - 1cm);
    max-width: calc(100vw - 1cm);
    margin: 0 auto .45rem;
  }
  .hero .lede, .hero-tagline { font-size: .95rem; margin-bottom: 1rem; }
  .hero-actions .btn-lg { width: 100%; max-width: 320px; }
}


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; font: inherit;
  transition: filter .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--grad-gold); color: #14110c;
  box-shadow: 0 14px 32px rgba(196, 163, 90, 0.32);
}
.btn-primary:hover { filter: brightness(1.07); color: #14110c; }
.btn-ghost {
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
  border-color: var(--border); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-subscribe {
  background: linear-gradient(135deg, #c8cdd6, #8b919c);
  color: #0b0b0f;
}
.btn-subscribe:hover { filter: brightness(1.06); color: #0b0b0f; }
.btn-open {
  background: rgba(196, 163, 90, 0.12); color: var(--gold-bright); border-color: var(--border);
}
.btn-open:hover { background: rgba(196, 163, 90, 0.2); }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.55rem; font-size: 1.02rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section.tint {
  background:
    linear-gradient(180deg, transparent, rgba(196, 163, 90, 0.04), transparent),
    color-mix(in srgb, var(--ink-2) 70%, transparent);
}
.section-head { max-width: 46rem; margin-bottom: 1.75rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.row {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; max-width: none; flex-wrap: wrap;
}
.section-head h2, .page-hero h1, .how-card h3, .feature-card h3, .family-card h3, .faq-item summary {
  font-family: var(--display); letter-spacing: -0.03em;
}
.section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.section-head p { margin: 0; color: var(--muted); }

/* Glass cards */
.glass, .family-card, .stat-card, .feature-card, .how-card, .product-card,
.newsletter-box, .contact-form-card, .contact-card, .about-card, .faq-item, .empty-launch {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

/* Six families */
.families-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.family-card {
  padding: 1.25rem 1rem; text-align: center; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.family-card:hover {
  transform: translateY(-3px); text-decoration: none; color: inherit;
  border-color: var(--gold); box-shadow: var(--glow), var(--shadow);
}
.family-ico {
  width: 48px; height: 48px; margin: 0 auto .75rem; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--grad-gold-soft); border: 1px solid var(--border); color: var(--gold-bright);
}
.family-card h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.family-count {
  display: inline-block; margin-top: .35rem;
  font-size: .82rem; font-weight: 700; color: var(--gold);
  background: rgba(196, 163, 90, 0.12); padding: .2rem .55rem; border-radius: 999px;
}

/* Product library */
.library-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.25rem;
}
.library-toolbar input, .library-toolbar select {
  border: 1px solid var(--border-soft); border-radius: 12px; padding: .7rem .9rem;
  font: inherit; background: var(--surface-solid); color: var(--text);
}
.library-toolbar input[type="search"] { flex: 1; min-width: 180px; }
.cat-filters {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem;
}
.cat-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  color: var(--muted); font-weight: 650; font-size: .88rem;
  text-decoration: none; cursor: pointer;
}
.cat-chip:hover, .cat-chip.active {
  color: var(--text); border-color: var(--gold);
  background: rgba(196, 163, 90, 0.12); text-decoration: none;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card { flex-direction: row; align-items: stretch; }
.products-grid.list-view .product-media {
  width: 220px; min-width: 220px; aspect-ratio: auto; min-height: 140px;
}
.product-card {
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
  color: inherit; text-decoration: none; border-radius: var(--radius-lg);
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--glow), var(--shadow); text-decoration: none;
}
.product-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(196,163,90,.28), rgba(200,205,214,.12));
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .placeholder { font-size: 2rem; opacity: .85; color: var(--gold-bright); }
.badge-featured {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--grad-gold); color: #14110c;
  font-size: .75rem; font-weight: 750; padding: .28rem .6rem; border-radius: 999px;
}
.product-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-body h3 {
  margin: 0; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text);
}
.product-body p { margin: 0; color: var(--muted); flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.cat-tag {
  font-size: .78rem; font-weight: 700; color: var(--gold-bright);
  background: rgba(196, 163, 90, 0.16); border: 1px solid var(--border);
  padding: .22rem .55rem; border-radius: 999px;
}
.price-label {
  display: inline-flex; align-self: flex-start;
  background: rgba(200, 205, 214, 0.12); color: var(--silver); font-weight: 750; font-size: .85rem;
  padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--border-soft);
}
.product-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .4rem; }
.product-actions .btn-subscribe,
.detail-actions .btn-subscribe {
  background: linear-gradient(135deg, #e8d5a3, #c4a35a 45%, #8a6a2e);
  color: #14110c;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(196, 163, 90, 0.22);
}
.product-actions .btn-subscribe:hover,
.detail-actions .btn-subscribe:hover {
  filter: brightness(1.06); color: #14110c;
}
@media (max-width: 560px) {
  .product-actions, .detail-actions {
    flex-direction: column; align-items: stretch;
  }
  .product-actions .btn, .detail-actions .btn {
    width: 100%; justify-content: center;
  }
}
.products-loading, .products-empty { color: var(--muted); padding: 1rem 0; }
.empty-launch {
  padding: 2.75rem 1.75rem; text-align: center; border-style: dashed;
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}
.empty-launch h3 { margin: 0 0 .5rem; font-family: var(--display); font-size: 1.35rem; }
.empty-launch p { margin: 0 0 1.25rem; color: var(--muted); max-width: 42ch; margin-inline: auto; }
.result-count { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; text-align: center; }

.toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem;
}
.toolbar input, .toolbar select {
  border: 1px solid var(--border-soft); border-radius: 12px; padding: .65rem .85rem;
  font: inherit; background: var(--surface-solid); color: var(--text);
}
.toolbar input[type="search"] { flex: 1; min-width: 180px; }
.view-toggle { display: flex; gap: .35rem; }
.view-toggle button {
  border: 1px solid var(--border-soft); background: var(--surface-solid); color: var(--muted);
  border-radius: 10px; width: 40px; height: 40px; cursor: pointer; font-size: 1rem;
}
.view-toggle button.active {
  color: #14110c; border-color: transparent; background: var(--grad-gold);
}

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.how-card { padding: 1.5rem; text-align: center; }
.how-num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  margin: 0 auto .85rem; background: var(--grad-gold); color: #14110c;
  font-weight: 800; font-family: var(--display);
}
.how-card h3 { margin: 0 0 .4rem; }
.how-card p { margin: 0; color: var(--muted); }
.how-arrow {
  display: none;
}

/* Planet features */
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.feature-card { padding: 1.35rem; text-align: center; }
.feature-card h3 { margin: .45rem 0; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.2rem; margin-inline: auto;
  background: var(--grad-gold-soft); border: 1px solid var(--border); color: var(--gold-bright);
}

/* FAQ */
.faq-list { display: grid; gap: .75rem; max-width: 760px; margin-inline: auto; }
.faq-item { overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1rem 1.15rem; font-weight: 650; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 1.15rem 1.1rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.25rem; align-items: start; }
.contact-emails { display: grid; gap: .75rem; }
.contact-card {
  padding: 1.15rem 1.2rem; color: inherit; text-decoration: none;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.contact-card:hover { border-color: var(--gold); text-decoration: none; }
.contact-card .label { display: block; color: var(--muted); font-size: .82rem; margin-bottom: .3rem; }
.contact-card strong { font-size: .98rem; word-break: break-all; }
.copy-btn {
  flex-shrink: 0; border: 1px solid var(--border); background: rgba(196,163,90,.1);
  color: var(--gold-bright); border-radius: 10px; padding: .45rem .7rem;
  cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700;
}
.copy-btn:hover { background: rgba(196,163,90,.22); }
.copy-btn.copied { color: #34d399; border-color: rgba(52,211,153,.4); }
.contact-form-card { padding: 1.5rem; }
.contact-form-card label { display: grid; gap: .35rem; margin-bottom: .9rem; font-weight: 650; font-size: .92rem; }
.contact-form-card input, .contact-form-card textarea, .newsletter-row input {
  border: 1px solid var(--border-soft); border-radius: 12px;
  padding: .75rem .9rem; font: inherit; background: var(--ink-2); color: var(--text); width: 100%;
}
.form-status { margin: .75rem 0 0; font-weight: 650; font-size: .92rem; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #fb7185; }

.newsletter-box {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(196,163,90,.14), rgba(200,205,214,.06)), var(--surface);
}
.newsletter-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.newsletter-row input { flex: 1; min-width: 200px; width: auto; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.about-grid p { color: var(--muted); }
.about-card { padding: 1.35rem; }
.link-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.link-list li { margin-bottom: .55rem; }
.link-list a { font-weight: 650; color: var(--gold-bright); }

.page-hero { padding: 2.5rem 0 1.5rem; }
.page-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.85rem, 3vw, 2.7rem); }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }
.legal-page { max-width: 720px; }
.legal-page h2 { margin-top: 2rem; font-family: var(--display); }
.legal-page p, .legal-page li { color: var(--muted); }

.product-detail {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: start;
}
.detail-media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(196,163,90,.28), rgba(200,205,214,.12));
  aspect-ratio: 16/11; display: grid; place-items: center; box-shadow: var(--glow);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body h1 { margin: 0 0 .75rem; font-size: clamp(1.85rem, 3vw, 2.55rem); font-family: var(--display); }
.detail-desc { color: var(--muted); font-size: 1.05rem; }
.bullets { margin: 1.25rem 0; padding-left: 1.1rem; }
.bullets li { margin-bottom: .45rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.long-desc { margin-top: 1.25rem; color: var(--muted); white-space: pre-wrap; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag {
  font-size: .8rem; padding: .25rem .55rem; border-radius: 999px;
  background: rgba(200,205,214,.1); color: var(--muted); border: 1px solid var(--border-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft); padding: 2.75rem 0 2.25rem; margin-top: 1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 14, .85));
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: .5rem; font-family: var(--display); }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-col h4 { margin: 0 0 .75rem; font-size: .95rem; font-family: var(--display); color: var(--gold-bright); }
.footer-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: .45rem; }
.footer-col a:hover { color: var(--text); }
.footer-copy { margin: 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--border-soft); padding-top: 1.25rem; }
.footer-credit { opacity: .7; font-size: .82rem; }

.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 80;
  max-width: 520px; margin-inline: auto;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 1rem 1.15rem; display: none; backdrop-filter: blur(14px);
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 .85rem; color: var(--muted); font-size: .92rem; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .families-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about-grid, .contact-grid, .product-detail, .how-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 72px 1rem auto 1rem; background: var(--surface-solid);
    border: 1px solid var(--border); border-radius: 16px; padding: 1rem;
    flex-direction: column; align-items: stretch; display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .products-grid.list-view .product-card { flex-direction: column; }
  .products-grid.list-view .product-media { width: 100%; min-width: 0; aspect-ratio: 16/10; }
  .admin-link span.label { display: none; }
}
@media (max-width: 560px) {
  .families-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
