/* ==========================================================================
   EBONEXA — premium digital products store
   ========================================================================== */

:root {
  --navy: #111827;
  --navy-deep: #0a101d;
  --navy-soft: #1c2536;
  --white: #ffffff;
  --gold: #d6a84f;
  --gold-light: #ecd29b;
  --gold-dark: #a97d2c;
  --bg: #f8f9fc;
  --text: #222222;
  --muted: #5d6678;
  --line: #e7e9f0;
  --success: #1f8a5b;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06), 0 2px 8px rgba(17, 24, 39, .04);
  --shadow-md: 0 10px 30px -12px rgba(17, 24, 39, .18), 0 4px 10px -4px rgba(17, 24, 39, .06);
  --shadow-lg: 0 30px 60px -24px rgba(17, 24, 39, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--white { background: var(--white); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.section-head p { color: var(--muted); max-width: 520px; margin: 10px 0 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: linear-gradient(135deg, #e4bd6c, var(--gold) 45%, #c08f3a); --btn-fg: var(--navy); background: var(--btn-bg); }
.btn--gold:hover { box-shadow: 0 14px 30px -12px rgba(214, 168, 79, .7); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.06); --btn-fg: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: #d6d9e2; }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 11px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--gold-dark); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy-deep); color: #c9cfdb; font-size: 13px; text-align: center; padding: 9px 16px; }
.announce strong { color: var(--gold-light); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 252, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(17,24,39,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-word { font-family: var(--font-body); font-weight: 800; font-size: 19px; letter-spacing: .32em; margin-right: -.32em; }
.logo-word span { color: var(--gold-dark); }
.logo--light { color: #fff; }
.logo--light .logo-word span { color: var(--gold); }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #3a4252;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: rgba(17,24,39,.05); }
.main-nav a[aria-current="page"] { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 12px 20px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .main-nav a[aria-current="page"] { box-shadow: none; background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(214,168,79,.20), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(86,108,180,.25), transparent 60%),
    linear-gradient(160deg, #141c2e 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.2vw, 76px); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: #b9c1d0; max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; color: #aeb7c7; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }

/* hero visual: tablet + floating books */
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,79,.45), transparent 65%); filter: blur(30px); }
.hero-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(214,168,79,.28); animation: spin 60s linear infinite; }
.hero-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.device {
  position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%) rotate(-4deg);
  background: linear-gradient(145deg, #2b3446, #0d1320); border-radius: 30px; padding: 12px;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08);
  z-index: 3;
}
.device-screen { border-radius: 20px; overflow: hidden; background: #0b0f19; position: relative; }
.device-screen img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.device-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 4px; color: #fff; font-size: 12px; }
.device-bar b { font-weight: 700; font-size: 13px; }
.device-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 8px 14px 14px; overflow: hidden; }
.device-progress i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: inherit; }
.device-cam { width: 6px; height: 6px; border-radius: 50%; background: #2c3445; margin: 0 auto 8px; }
.float-book {
  position: absolute; width: 30%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
.float-book img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.float-book--1 { left: 0; top: 10%; transform: rotate(-10deg); z-index: 2; }
.float-book--2 { right: 0; top: 4%; transform: rotate(9deg); animation-delay: -2.5s; z-index: 2; }
.float-book--3 { right: -3%; bottom: 0; transform: rotate(-6deg); animation-delay: -4s; z-index: 4; width: 27%; }
.float-book--4 { left: -2%; bottom: 2%; transform: rotate(7deg); animation-delay: -1.2s; z-index: 4; width: 25%; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .float-book, .hero-ring { animation: none; } }
.hero-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); color: var(--navy); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; line-height: 1.25;
}
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.hero-chip .chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex: none; }
.hero-chip .chip-ico svg { width: 18px; height: 18px; }
.hero-chip--a { left: -4%; top: 47%; }
.hero-chip--b { right: -1%; top: 40%; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; max-width: 480px; }
}
@media (max-width: 520px) {
  .hero-chip { font-size: 12px; padding: 8px 10px; }
  .hero-chip small { display: none; }
  .hero-chip .chip-ico { width: 28px; height: 28px; }
  .hero-chip--a { left: 0; }
  .hero-chip--b { right: 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-left: 1px solid var(--line); }
.trustbar-item:first-child { border-left: 0; }
.trustbar-item svg { width: 26px; height: 26px; color: var(--gold-dark); flex: none; }
.trustbar-item b { display: block; font-size: 15px; color: var(--navy); }
.trustbar-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .trustbar-item:nth-child(3) { border-left: 0; }
  .trustbar-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .trustbar-item { padding: 18px 12px; gap: 10px; } .trustbar-item span { display: none; } }

/* ---------- Product grid + card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 419px) { .product-grid, .product-grid--3 { grid-template-columns: 1fr; } }


.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dcdfe8; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eef0f5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; pointer-events: none; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
}
.badge svg { width: 13px; height: 13px; }
.badge--gold { background: linear-gradient(135deg, #f0cf86, var(--gold)); color: var(--navy); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.badge--glass { background: rgba(17,24,39,.78); color: #fff; backdrop-filter: blur(6px); }
.badge--soft { background: #f3ecdd; color: #7a5a1d; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.card-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.22; margin: 0 0 8px; color: var(--navy); }
.card-title a:hover { color: var(--gold-dark); }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; }
.card-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.price { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.card-format { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.card-format svg { width: 14px; height: 14px; color: var(--success); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions .btn { padding: 12px 10px; font-size: 13.5px; }
@media (max-width: 1180px) and (min-width: 1024px) { .card-actions { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .card-actions { grid-template-columns: 1fr; } }
@media (min-width: 420px) and (max-width: 599px) {
  .product-grid, .product-grid--3 { gap: 16px 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-cat { font-size: 10.5px; }
  .card-title { font-size: 16px; }
  .card-desc { font-size: 12.5px; -webkit-line-clamp: 2; margin-bottom: 12px; }
  .price { font-size: 21px; }
  .card-format { display: none; }
  .card-actions { grid-template-columns: 1fr; }
  .card-badges { top: 8px; left: 8px; right: 8px; }
  .card .badge { font-size: 9px; padding: 5px 7px; }
}
/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cat-thumbs { position: relative; width: 84px; height: 84px; flex: none; }
.cat-thumbs img { position: absolute; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); transition: transform .4s var(--ease); }
.cat-thumbs img:first-child { left: 0; top: 0; z-index: 2; }
.cat-thumbs img:nth-child(2) { right: 0; bottom: 0; transform: rotate(8deg); }
.cat-card:hover .cat-thumbs img:first-child { transform: rotate(-6deg) translateY(-2px); }
.cat-card h3 { font-size: 19px; margin: 0 0 4px; }
.cat-card p { margin: 0; font-size: 14px; color: var(--muted); }
.cat-count { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--gold-dark); }
.cat-card .cat-arrow { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); flex: none; transition: all .3s; }
.cat-card .cat-arrow svg { width: 16px; height: 16px; }
.cat-card:hover .cat-arrow { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ---------- Why choose ---------- */
.why { background: var(--navy); color: #c3cad7; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,79,.18), transparent 65%); }
.why h2 { color: #fff; }
.why .section-head p { color: #9ea8ba; }
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, transform .3s var(--ease); }
.why-item:hover { border-color: rgba(214,168,79,.5); transform: translateY(-4px); }
.why-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(214,168,79,.25), rgba(214,168,79,.06)); color: var(--gold); border: 1px solid rgba(214,168,79,.3); }
.why-ico svg { width: 24px; height: 24px; }
.why-item h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; margin: 0; color: #a7b0c1; }

/* ---------- Best sellers (feature rows) ---------- */
.best-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .best-grid { grid-template-columns: 1fr; } }
.best-card { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.best-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.best-card .card-media { border-radius: 14px; }
.best-rank { font-family: var(--font-display); font-style: italic; color: var(--gold-dark); font-size: 15px; margin-bottom: 4px; }
.best-card h3 { font-size: 22px; margin-bottom: 8px; }
.best-card h3 a:hover { color: var(--gold-dark); }
.best-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.best-card .best-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 520px) { .best-card { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; } .best-card h3 { font-size: 18px; } .best-card p { display: none; } .best-card .price { font-size: 22px; } }

/* ---------- Testimonials ---------- */
.demo-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff6e3; color: #7a5a1d; border: 1px dashed #e3c47f; font-size: 13px; font-weight: 600; margin-top: 16px; }
.demo-note svg { width: 16px; height: 16px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.t-card { position: relative; margin: 0; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.t-card .demo-tag { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a7b3c; background: #fbf4e4; padding: 4px 8px; border-radius: 6px; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.stars svg { width: 17px; height: 17px; }
.t-card blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: 18px; line-height: 1.5; color: var(--navy); }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 15px; }
.t-person b { display: block; font-size: 15px; color: var(--navy); }
.t-person span { font-size: 13px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { padding: clamp(56px, 7vw, 90px) 0; }
.nl-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  background: radial-gradient(600px 300px at 100% 0%, rgba(214,168,79,.28), transparent 60%), linear-gradient(135deg, #18213a, var(--navy));
  color: #c3cad7; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.nl-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.nl-box p { margin: 0; }
.nl-form { display: flex; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 7px; border-radius: 999px; }
.nl-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 0 16px; font-size: 15px; }
.nl-form input::placeholder { color: #8f99ad; }
.nl-fine { font-size: 12.5px; color: #8f99ad; margin-top: 12px; }
.nl-fine a { text-decoration: underline; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 1em; }
.form-msg.is-ok { color: #7fdcae; }
.form-msg.is-info { color: var(--gold-light); }
.form-msg.is-err { color: #ff9d9d; }
.page-light .form-msg.is-ok { color: var(--success); }
.page-light .form-msg.is-info { color: #8a6421; }
.page-light .form-msg.is-err { color: #b42318; }
@media (max-width: 860px) { .nl-box { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-form { flex-direction: column; border-radius: 18px; } .nl-form input { padding: 12px 14px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #98a2b5; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 72px 0 48px; }
.footer-about p { margin: 18px 0 22px; max-width: 320px; }
.site-footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: #d7dce6; transition: all .25s; }
.social svg { width: 18px; height: 18px; }
a.social:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
span.social { opacity: .45; cursor: default; }
.socials-note { font-size: 12px; color: #6f7a8f; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .pay-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom svg { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #141c2e, var(--navy)); color: #b9c1d0; padding: clamp(48px, 7vw, 84px) 0; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,79,.22), transparent 65%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); font-weight: 500; margin-bottom: 14px; }
.page-hero p { max-width: 620px; font-size: 17px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: #8f99ad; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Shop toolbar ---------- */
.shop-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 18px; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.search input, .select select, .field input, .field textarea, .field select {
  width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  padding: 0 18px; font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: 0;
}
.search input { padding-left: 48px; }
.search input:focus, .select select:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,168,79,.18); }
.select { position: relative; display: flex; align-items: center; gap: 10px; }
.select label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; min-width: 210px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: #3a4252; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 500; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.digital-note { display: inline-flex; align-items: center; gap: 8px; color: #385e4c; background: #eaf6f0; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.digital-note svg { width: 15px; height: 15px; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed #d5d9e3; border-radius: var(--radius); background: #fff; }
.empty h3 { font-size: 24px; }
.empty p { color: var(--muted); }
@media (max-width: 640px) {
  .shop-toolbar { grid-template-columns: 1fr; }
  .select select { min-width: 0; flex: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pd-media { position: sticky; top: 100px; }
.pd-cover { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; background: #eef0f5; box-shadow: var(--shadow-lg); }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-cover .card-badges { top: 18px; left: 18px; right: 18px; }
.pd-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.pd-assure div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--navy); }
.pd-assure svg { width: 22px; height: 22px; color: var(--gold-dark); margin: 0 auto 6px; }
.pd-info .crumbs { color: var(--muted); }
.pd-info .crumbs a:hover { color: var(--gold-dark); }
.pd-cat { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.pd-info h1 { font-size: clamp(34px, 4.2vw, 52px); margin: 10px 0 16px; }
.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.badge--digital { background: #eaf6f0; color: #1f6b49; }
.pd-lead { font-size: 18px; color: #3d4556; margin-bottom: 26px; }
.buybox { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.buybox-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.buybox-price .price { font-size: 40px; }
.buybox-price small { color: var(--muted); font-size: 14px; }
.buybox-tax { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.buybox .btn--block { margin-bottom: 14px; }
.buybox-note { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg); font-size: 14px; color: #3d4556; }
.buybox-note svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }
.buybox-note b { color: var(--navy); }
.pd-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.pd-section h2 { font-size: 26px; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--gold-dark); margin-top: 1px; }
.inside-list { list-style: none; padding: 0; margin: 0; counter-reset: ch; display: grid; gap: 10px; }
.inside-list li { counter-increment: ch; display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.inside-list li::before { content: counter(ch, decimal-leading-zero); font-family: var(--font-display); font-style: italic; color: var(--gold-dark); font-size: 18px; min-width: 26px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 15px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } .pd-media { position: static; max-width: 560px; } }
@media (max-width: 420px) { .pd-assure { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .pd-assure div { padding: 10px 6px; font-size: 11.5px; } }

/* sticky mobile buy bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-visible { transform: none; }
.mbar img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.mbar .mbar-t { flex: 1; min-width: 0; }
.mbar .mbar-t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); }
.mbar .mbar-t span { font-size: 14px; font-weight: 700; color: var(--gold-dark); }
@media (max-width: 900px) { .mbar { display: flex; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: #3d4556; line-height: 1.6; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-3deg); }
.collage img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-md); }
.collage img:nth-child(3n+2) { translate: 0 24px; }
.mission { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; position: relative; overflow: hidden; }
.mission::before { content: "“"; position: absolute; right: 30px; top: -40px; font-family: var(--font-display); font-size: 260px; color: rgba(214,168,79,.13); line-height: 1; }
.mission-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.mission-ico svg { width: 30px; height: 30px; }
.mission h2 { font-size: clamp(28px, 3.4vw, 38px); }
.mission p { position: relative; font-size: 18px; color: #3d4556; max-width: 760px; margin: 0; }
@media (max-width: 600px) { .mission { grid-template-columns: 1fr; } }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }
.diff { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.diff:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diff .why-ico { background: #f6eedd; border-color: #ecdcb7; color: var(--gold-dark); }
.diff h3 { font-size: 20px; }
.diff p { font-size: 15px; color: var(--muted); margin: 0; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cat-pills a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: all .2s; }
.cat-pills a:hover { border-color: var(--gold); color: var(--gold-dark); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: #b9c1d0; border-radius: 24px; padding: 34px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,79,.25), transparent 65%); }
.contact-card h3 { color: #fff; font-size: 26px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.09); position: relative; z-index: 1; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.contact-line b { display: block; color: #fff; font-size: 15px; }
.contact-line a { color: var(--gold-light); word-break: break-all; }
.contact-line a:hover { text-decoration: underline; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field textarea { height: auto; min-height: 150px; padding: 14px 18px; resize: vertical; }
.field .err { display: none; font-size: 13px; color: #b42318; margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; }
.field.is-invalid .err { display: block; }
.form-fine { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #e2cf9f; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--navy); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--navy); color: var(--gold); border-color: var(--navy); }
.faq .faq-a { padding: 0 22px 20px; color: #4a5263; }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal p, .legal li { color: #3d4556; }
.legal-note { background: #fff6e3; border: 1px dashed #e3c47f; color: #6b4f17; padding: 14px 18px; border-radius: 14px; font-size: 14px; margin-bottom: 30px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10,16,29,.6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(100%, 520px); background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); max-height: calc(100vh - 40px); overflow: auto; }
.modal.is-open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-product { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: var(--bg); margin: 18px 0; }
.modal-product img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.modal-product b { display: block; color: var(--navy); line-height: 1.3; }
.modal-product span { color: var(--gold-dark); font-weight: 800; }
.modal h3 { font-size: 26px; margin: 0 0 6px; padding-right: 40px; }
.modal p { color: var(--muted); font-size: 15px; }
.modal .btn + .btn { margin-top: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
body.has-mbar { padding-bottom: 0; }
@media (max-width: 900px) { body.has-mbar .site-footer { padding-bottom: 84px; } }
