/* ==========================================================================
   Forge Fitness Supply — Global Stylesheet
   ========================================================================== */

:root {
  --bg: #0a0c0e;
  --bg-alt: #101418;
  --surface: #151a1f;
  --surface-2: #1b2229;
  --line: #2a323b;
  --line-soft: #202830;
  --text: #eef2f5;
  --muted: #a3b0bb;
  --muted-dim: #7d8b97;
  --accent: #ff6a1a;
  --accent-dark: #d9540c;
  --accent-soft: rgba(255, 106, 26, 0.12);
  --success: #35c47f;
  --error: #ff5d5d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

section[id],
div[id="contact"],
[id="top"],
.legal-body h2[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.drawer-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #ff8a4d; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ============================ Buttons ==================================== */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #120a05;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); background: #ff8340; }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: #3a444f; }

.btn--dark {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  border-color: var(--line);
}
.btn--dark:hover { background: #232c34; color: var(--text); }

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn svg { flex: 0 0 auto; }

/* ============================ Header ===================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 12, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 12, 14, 0.96);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: 16px;
  margin: 4px auto 0;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cart-btn:hover { background: var(--surface); border-color: #3a444f; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #120a05;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 970;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Announcement bar */
.announce {
  background: linear-gradient(95deg, #25201a, #171b1f 55%, #1c1512);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--muted);
}
.announce .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  min-height: 42px;
  text-align: center;
}
.announce strong { color: var(--text); font-weight: 700; }
.announce span { display: inline-flex; align-items: center; gap: 7px; }
.announce .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ============================ Hero ======================================= */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0 104px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.96) 0%, rgba(8, 10, 12, 0.86) 42%, rgba(8, 10, 12, 0.42) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(10, 12, 14, 0) 42%);
}

.hero-inner { max-width: 640px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: #c3ced7;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}
.hero-stats div { min-width: 108px; }
.hero-stats dt { font-size: 1.55rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.hero-stats dd { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted-dim); letter-spacing: 0.04em; text-transform: uppercase; }

/* ============================ Trust strip ================================ */

.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item svg { flex: 0 0 auto; color: var(--accent); margin-top: 3px; }
.trust-item strong { display: block; font-size: 0.94rem; }
.trust-item span { font-size: 0.82rem; color: var(--muted-dim); }

/* ============================ Article ==================================== */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 56px;
  align-items: start;
}

.article-body { font-size: 1.02rem; color: #cbd5dd; }
.article-body > h2 { margin-top: 8px; color: var(--text); }
.article-body h3 { color: var(--text); margin-top: 38px; }
.article-body p { max-width: 68ch; }
.article-body .article-title { margin-top: 16px; }
.article-body strong { color: var(--text); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.8rem;
  color: var(--muted-dim);
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-figure { margin: 34px 0; }
.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.article-figure figcaption {
  font-size: 0.82rem;
  color: var(--muted-dim);
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.callout {
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(255, 106, 26, 0.02));
  border: 1px solid rgba(255, 106, 26, 0.28);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 30px 0;
}
.callout h4 { margin: 0 0 8px; font-size: 1.02rem; color: var(--text); }
.callout p:last-child { margin-bottom: 0; }
.callout--neutral {
  background: var(--surface);
  border-color: var(--line);
}
.callout--neutral h4 { color: var(--text); }

.article-list { list-style: none; padding-left: 0; }
.article-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.article-sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.side-card h3 { font-size: 1.02rem; margin-bottom: 12px; }
.side-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.side-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.87rem;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  margin: 0;
}
.side-card li:last-child { border-bottom: 0; }
.side-card li span:last-child { color: var(--muted-dim); white-space: nowrap; }
.side-card .side-note { margin: 0; font-size: 0.78rem; }

/* ============================ Products =================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: #34404b;
  box-shadow: var(--shadow);
}

.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f1216; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 12, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(6px);
}
.badge--accent { background: var(--accent); border-color: var(--accent); color: #140b05; }

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.product-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dim); font-weight: 700; }
.product-name { font-size: 1.12rem; margin: 8px 0 8px; }
.product-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; flex: 1 1 auto; }

.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.spec {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line-soft);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.price { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; }
.price small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-dim); text-transform: uppercase; }

.product-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: #3a444f; }

.shop-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-dim);
  margin: 34px auto 0;
  max-width: 720px;
}

/* ============================ Features =================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature:hover { border-color: #34404b; transform: translateY(-4px); }
.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ============================ Split / about ============================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); border: 1px solid var(--line-soft); width: 100%; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.split-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.split-facts strong { display: block; font-size: 1.35rem; color: var(--text); letter-spacing: -0.02em; }
.split-facts span { font-size: 0.8rem; color: var(--muted-dim); }

/* ============================ Delivery steps ============================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ============================ FAQ ======================================== */

.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item.is-open { border-color: rgba(255, 106, 26, 0.45); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { color: #fff; }
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background 0.2s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: #140b05; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); font-size: 0.92rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================ Contact ==================================== */

.lede-muted { color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; margin: 0; }
.contact-list svg { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.contact-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 3px; }
.contact-list a, .contact-list span { color: var(--text); font-size: 0.96rem; }
.contact-list a:hover { color: var(--accent); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 0.9rem; color: var(--muted); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #0f1317;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.16);
}
.field input::placeholder,
.field textarea::placeholder { color: #5f6c78; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.field.has-error .field-error { display: block; }
.field-error--consent { margin: -12px 0 12px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.checkbox input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.checkbox a { text-decoration: underline; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status.is-success {
  display: block;
  background: rgba(53, 196, 127, 0.12);
  border: 1px solid rgba(53, 196, 127, 0.4);
  color: #7de3b3;
}
.form-status.is-error {
  display: block;
  background: rgba(255, 93, 93, 0.1);
  border: 1px solid rgba(255, 93, 93, 0.38);
  color: #ff9b9b;
}

/* Newsletter */
.newsletter-wrap { margin-top: 56px; }

.newsletter {
  background: linear-gradient(120deg, #1a1512, #12171b 60%, #10161b);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.newsletter h3 { margin-bottom: 8px; }
.newsletter p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0e1216;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-note { font-size: 0.76rem; color: var(--muted-dim); margin-top: 12px; }
.newsletter .form-status { grid-column: 1 / -1; margin-top: 0; }

/* ============================ Footer ===================================== */

.site-footer {
  background: #080a0c;
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted-dim); font-size: 0.86rem; max-width: 30ch; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li { margin: 0; }
.footer-col a { color: var(--muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text); }
.footer-col address { font-style: normal; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.footer-col address a { display: inline; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
}
.socials a:hover { color: var(--accent); border-color: rgba(255, 106, 26, 0.5); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.8rem;
  color: var(--muted-dim);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer-legal a, .footer-legal button {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--muted-dim);
  cursor: pointer;
  text-decoration: none;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--text); }

.disclaimer {
  background: #0b0e11;
  border-top: 1px solid var(--line-soft);
  padding: 20px 0 26px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: #6d7a86;
}
.disclaimer p { margin: 0; max-width: 100ch; }

/* ============================ Cart drawer ================================ */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 8, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 1000;
}
.overlay.is-visible { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-head h2 { font-size: 1.1rem; margin: 0; }
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}
.drawer-close:hover { color: var(--text); background: var(--surface); }

.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; color: var(--muted-dim); padding: 56px 10px; font-size: 0.9rem; }
.cart-empty svg { color: #2f3a44; margin-bottom: 14px; }

.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-soft); flex: 0 0 auto; }
.cart-item-info { flex: 1 1 auto; min-width: 0; }
.cart-item-info h3 { font-size: 0.92rem; margin: 0 0 4px; }
.cart-item-info .unit { font-size: 0.8rem; color: var(--muted-dim); }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1;
}
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 26px; text-align: center; font-size: 0.84rem; font-weight: 700; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.cart-item-right strong { font-size: 0.94rem; }
.remove-item {
  border: 0;
  background: none;
  color: var(--muted-dim);
  font-size: 0.76rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.remove-item:hover { color: var(--error); }

.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: var(--surface); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.summary-row.total { color: var(--text); font-size: 1.1rem; font-weight: 800; margin: 14px 0 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.drawer-note { font-size: 0.72rem; color: var(--muted-dim); margin: 12px 0 0; text-align: center; }

/* ============================ Modal ====================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), visibility 0.26s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.26s var(--ease);
}
.modal.is-open .modal-card { transform: none; }
.modal-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0d1013; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 28px 30px 32px; }
.modal-content h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-price { font-size: 1.15rem; font-weight: 800; color: var(--accent); margin-bottom: 16px; }
.modal-content p { font-size: 0.94rem; color: var(--muted); }
.modal-list { list-style: none; padding: 0; margin: 0 0 22px; }
.modal-list li { position: relative; padding-left: 22px; font-size: 0.89rem; color: #c2ccd5; margin-bottom: 9px; }
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 12, 0.78);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--accent); color: #140b05; border-color: var(--accent); }

/* ============================ Cookie banner ============================== */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: none;
  background: #11161a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  padding: 20px 24px;
}
.cookie-banner.is-visible { display: block; animation: cookieIn 0.4s var(--ease) both; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.cookie-text { flex: 1 1 420px; font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.cookie-text strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.92rem; }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================ Toast ====================================== */

.toast-stack {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100% - 40px));
  pointer-events: none;
}
.cookie-banner.is-visible ~ .toast-stack { bottom: 150px; }
.toast {
  background: #16202a;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.86rem;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: toastIn 0.3s var(--ease) both;
}
.toast.is-out { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px); }
}

/* ============================ Back to top ================================ */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #140b05; border-color: var(--accent); }

/* ============================ Reveal animation =========================== */

body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
body.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ============================ Legal pages ================================ */

.legal-hero {
  background: linear-gradient(160deg, #14191e, #0b0e11 65%);
  border-bottom: 1px solid var(--line-soft);
  padding: 64px 0 52px;
}
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-hero p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.legal-hero .updated { color: var(--muted-dim); font-size: 0.82rem; margin-top: 10px; }

.legal-wrap {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 52px;
  padding: 60px 0 88px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.legal-toc h2 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 14px;
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; counter-reset: toc; }
.legal-toc li { margin: 0; counter-increment: toc; }
.legal-toc a { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; }
.legal-toc a::before { content: counter(toc) "."; color: var(--muted-dim); }
.legal-toc a:hover { color: var(--accent); }

.legal-body { max-width: 76ch; color: #c3ced7; font-size: 0.97rem; }
.legal-body h2 {
  font-size: 1.35rem;
  color: var(--text);
  margin: 44px 0 14px;
  scroll-margin-top: 100px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; color: var(--text); margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: #bcc7d1; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 0.86rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--line-soft);
  vertical-align: top;
}
.legal-table th { background: var(--surface); color: var(--text); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-table td { color: var(--muted); }

.legal-callout {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
}
.legal-callout p:last-child { margin: 0; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: #ff8a4d; }

/* ============================ Responsive ================================= */

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-body { max-width: none; }
}

@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed mobile panel inside the header box */
  .site-header {
    background: #0a0c0e;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    padding: 96px 22px 28px;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    z-index: 950;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 8, 0.62);
    z-index: 890;
  }
  .nav a { font-size: 1rem; padding: 13px 14px; border-radius: 10px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { order: 3; }
  .header-actions { order: 2; }
  .cart-btn span.cart-label { display: none; }
  .cart-btn { padding: 10px 12px; }
  .contact-grid, .split, .newsletter { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; padding: 72px 0 80px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .announce { font-size: 0.75rem; }
  .announce .container { gap: 4px 14px; min-height: 38px; padding: 8px 18px; }
  .announce .container > span:nth-child(2) { display: none; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .product-grid,
  .feature-grid,
  .steps,
  .article-sidebar,
  .footer-grid,
  .trust-grid,
  .field-row,
  .split-facts { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px 28px; }
  .form-card, .newsletter { padding: 24px 20px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .toast-stack { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-banner.is-visible ~ .toast-stack { bottom: 210px; }
  /* keep the drawer's checkout summary clear of transient messages */
  body.drawer-open .toast-stack { top: 96px; bottom: auto; }
  .article-figure { margin: 26px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .drawer-foot { padding: 18px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  body.js-reveal .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cookie-banner, .to-top, .toast-stack, .drawer, .overlay, .site-footer .socials { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-body p, .legal-body li { color: #222; }
}
