/* =========================================================
   Integrity First Gold Group — Design System
   ========================================================= */

:root {
  /* Brand palette: refined navy + gold (financial / trust) */
  --navy-900: #081b33;
  --navy-800: #0d2743;
  --navy-700: #143766;
  --navy-600: #1d4a86;
  --gold-300: #ecdcae;
  --gold-500: #c6a15b;
  --gold-600: #a8823c;
  --cream-50:  #faf8f3;
  --cream-100: #f3ede0;
  --ink-900: #1b1d22;
  --ink-700: #3d414a;
  --slate-500: #667085;
  --slate-300: #a2a9b6;
  --white: #ffffff;
  --border: #e6e0d2;
  --success: #2f7a4f;

  --shadow-sm: 0 1px 2px rgba(8, 27, 51, 0.06), 0 1px 3px rgba(8, 27, 51, 0.08);
  --shadow-md: 0 4px 14px rgba(8, 27, 51, 0.10);
  --shadow-lg: 0 18px 45px rgba(8, 27, 51, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* Typography: Playfair Display for headings (editorial, financial-trust feel),
     Inter for body copy. Full system fallback stacks in case web fonts fail to load. */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

  --header-h: 88px;
  --header-h-scrolled: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-scrolled) + 12px); }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.35; }

p { color: var(--ink-700); }
p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(8, 27, 51, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
  transition: box-shadow 0.25s ease;
}
.header-inner img.custom-logo {
    max-width: 70px;
    height: auto;
}
.site-header .brand img {
  max-height: 70px
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  transition: height 0.22s ease;
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark { flex-shrink: 0; transition: width 0.22s ease, height 0.22s ease; }
.site-header.is-scrolled .brand-mark { width: 30px; height: 30px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-line1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-line2 {
  font-family: var(--font-heading);
  color: var(--gold-500);
  font-size: 1.05rem;
  font-weight: 600;
}
.site-header.is-scrolled .brand-line1,
.site-header.is-scrolled .brand-line2 { font-size: 0.92rem; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-300); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.header-phone svg { color: var(--gold-500); flex-shrink: 0; }
.header-phone small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); */
  background: url(/wp-content/uploads/2026/07/herogold.jpg);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(198,161,91,0.16), transparent 45%),
                     radial-gradient(circle at 12% 85%, rgba(198,161,91,0.10), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  justify-items: center;
}
.hero-copy {
  background: linear-gradient(155deg, #081b33c7 0%, var(--navy-800) 55%, #143866c9 100%); 
  padding: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 1200px) {
  .hero-copy {
    padding: 10px;
    width: 85%;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold-500);
}
.hero h1 { color: var(--white); margin-bottom: 22px; font-size: 38px;}
.hero h1 em { color: var(--gold-400, var(--gold-300)); font-style: normal; }
.hero-lede {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 46ch;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 0px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-heading); color: var(--gold-300); font-size: 1.5rem; }
.hero-trust span { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 100%; max-width: 380px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-cream { background: var(--cream-50); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { justify-content: center;  color: #2e2e2e;}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head.align-left .eyebrow { justify-content: flex-start; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ----------- Why Choose Us ------------------- */
.why-choose-us .eyebrow {
  color: #2e2e2e;
}

/* ---------- Feature / value cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-100);
  border-radius: 50%;
  margin-bottom: 18px;
  color: var(--gold-600);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; }

/* ---------- Pricing / products ---------- */
.pricing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.pricing-banner .spot-grid { display: flex; gap: 40px; flex-wrap: wrap; }
.spot-item span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-300); }
.spot-item strong { font-family: var(--font-heading); font-size: 1.6rem; }
.spot-note { color: rgba(255,255,255,0.6); font-size: 0.85rem; max-width: 30ch; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-media {
  aspect-ratio: 1 / 1;
  /* background: linear-gradient(155deg, var(--cream-100), var(--cream-50)); */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7%;
}
.product-media img {
  object-fit: contain;
}
.product-media svg { width: 100%; height: 100%; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 1rem; }
.product-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  background: var(--cream-100);
  padding: 4px 10px;
  border-radius: 999px;
}
.product-body .btn { margin-top: auto; }

.section-foot-note {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-info h2 { color: var(--white); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; color: var(--white); font-size: 0.95rem; }
.contact-item span, .contact-item a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { padding: 4px 9px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.hours-table td:last-child { text-align: right; color: rgba(255,255,255,0.9); }

.contact-form-panel { background: var(--white); padding: 48px 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--navy-900); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  color: var(--ink-900);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--slate-500); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.success { display: block; color: var(--success); }
.form-status.error { display: block; color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-brand p { font-size: 0.88rem; margin-top: 14px; color: rgba(255,255,255,0.65); }
.brand-footer .brand-line1 { color: var(--white); }
.brand-footer .brand-line2 { color: var(--gold-500); }
.hours-list li { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 8px; }

.footer-bottom { padding: 22px 0 28px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-disclaimer { max-width: 640px; }

/* ---------- Generic page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { color: var(--gold-300); font-size: 0.82rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Content blocks (About / Gold IRA / How it works) ---------- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-block.reverse .split-media { order: 2; }
.split-media {
  background: linear-gradient(155deg, var(--cream-100), var(--cream-50));
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.split-media svg { width: 100%; max-width: 320px; }
.split-copy .eyebrow { margin-bottom: 14px; }
.split-copy h2 { margin-bottom: 18px; }

.stat-row { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.stat-row div strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--navy-900); }
.stat-row div span { font-size: 0.85rem; color: var(--slate-500); }

.value-list { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-list .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cream-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-600);
}
.value-list h4 { margin-bottom: 4px; }
.value-list p { font-size: 0.92rem; }

/* Timeline / steps */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400, var(--gold-300));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}
.step-num::before { content: counter(step); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: -6px;
  width: 2px;
  background: var(--border);
}
.step-body h3 { margin-bottom: 8px; }
.step-body p { font-size: 0.95rem; }

/* Rule / requirement cards (Gold IRA page) */
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rule-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--white);
}
.rule-card .icon { color: var(--gold-600); margin-bottom: 14px; }
.rule-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.rule-card p { font-size: 0.9rem; }

.metal-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.metal-table th, .metal-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.metal-table th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-900);
  background: var(--cream-100);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.metal-table tr:last-child td { border-bottom: none; }

.callout {
  border-left: 4px solid var(--gold-500);
  background: var(--cream-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px;
  margin: 36px 0;
}
.callout strong { color: var(--navy-900); }
.callout p { font-size: 0.92rem; margin-top: 6px; }

.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.93rem; }

.payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.payment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
}
.payment-card .icon { color: var(--gold-600); margin: 0 auto 12px; }
.payment-card h4 { font-size: 0.95rem; }

.cta-band {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); }

.ifgg-price-note {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-phone span small { display: none; }
  /* Solid white so the menu reads as a real button. Three 2px white bars
     on the navy header were technically high-contrast but too thin and
     unbounded to notice — this also brings it to a 44px touch target. */
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle span { height: 3px; background: var(--navy-900); }
  .nav-toggle:hover { background: #eef1f5; }
  .nav-toggle:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
  .header-actions .btn-primary { display: none; }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-900);
    padding: 10px 24px 26px;
    box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 4px; }
  .site-header.nav-open .main-nav a { display: block; padding: 12px 6px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lede { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-art { order: -1; max-width: 260px; margin: 0 auto; }

  .grid-4, .products-grid, .rules-grid, .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .split-block, .split-block.reverse .split-media { grid-template-columns: 1fr; order: initial; }
  .split-block { grid-template-columns: 1fr; }
  .split-block.reverse .split-media { order: -1; }

  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .products-grid, .rules-grid, .payment-grid { grid-template-columns: 1fr 1fr; }

  /* Feature cards carry a heading plus a full sentence — two columns at
     phone width leaves them too narrow to read, so go single column. */
  .grid-4 { grid-template-columns: 1fr; }

  /* BBB seal gets its own centered row above the trust stats. Below this
     width the flex row wraps awkwardly (seal + two stats, then one). */
  .hero-seal { flex: 0 0 100%; align-items: center; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-banner { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; text-align: center; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
  .step:not(:last-child)::after { left: 20px; }
}

/* The header row (logo + phone + cart + menu) runs wider than a phone
   screen and pushes the menu button off the right edge. Collapsing the
   phone to its icon frees ~110px, which is enough to fit from 375px up.
   The link is still tel:, and the anchor carries an aria-label with the
   number so hiding the text doesn't cost it an accessible name. */
@media (max-width: 560px) {
  .header-phone span { display: none; }
  .header-phone svg { width: 20px; height: 20px; }
}

/* 320px-class phones: even with the phone collapsed, the text wordmark
   plus controls overruns the row, so tighten the header's own gutters,
   gaps and wordmark. Scoped to .site-header so section padding elsewhere
   on the page is untouched. Sites using a Custom Logo already fit here. */
@media (max-width: 400px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-line1, .brand-line2 { font-size: 0.92rem; }
}

@media (max-width: 460px) {
  .products-grid, .rules-grid, .payment-grid, .grid-3 { grid-template-columns: 1fr; }
}

/* =========================================================
   Single product page
   ========================================================= */

/* ---------- Compact hero (breadcrumb only) ---------- */
.page-hero-compact { padding: 40px 0 36px; }
.page-hero-compact .breadcrumb { margin-bottom: 0; }
.page-hero-compact h1 { margin-top: 14px; }
.page-hero-lede { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { opacity: 0.45; margin: 0 7px; }

/* ---------- Gallery + summary ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6%;
  overflow: hidden;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-main svg { width: 100%; height: 100%; }

.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.product-thumb {
  width: 74px;
  height: 74px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb:hover { border-color: var(--gold-500); }
.product-thumb.is-active { border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500); }

.product-summary .product-tag { display: inline-block; margin-bottom: 14px; }
.product-title { margin-bottom: 10px; }
.product-sku {
  font-size: 0.8rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.product-sku span { color: var(--ink-700); font-weight: 600; }
.product-lede { font-size: 1.05rem; margin-top: 14px; }

/* ---------- Purchase panel ---------- */
.product-purchase {
  margin-top: 26px;
  padding: 24px;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
/* Scale up the price the pricing plugin renders. Selector is deliberately
   more specific than the plugin's own rule, which loads after this file. */
.product-purchase .ifgg-product-price { display: flex; flex-direction: column; gap: 2px; }
.product-purchase .ifgg-product-price .ifgg-price-amount { font-size: 2.3rem; line-height: 1.05; }
.product-purchase .ifgg-product-price .ifgg-price-call { font-size: 1.4rem; }
.product-purchase .ifgg-price-note { font-size: 0.7rem; }

.stock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.stock-in_stock { color: var(--success); background: rgba(47,122,79,0.08); border-color: rgba(47,122,79,0.28); }
.stock-low_stock,
.stock-preorder { color: var(--gold-600); background: var(--cream-100); border-color: rgba(168,130,60,0.32); }
.stock-out_of_stock { color: var(--slate-500); background: #f1f2f4; border-color: var(--slate-300); }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.qty-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.qty-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.qty-field input {
  width: 62px;
  padding: 13px 0;
  border: 0;
  background: transparent;
  font-weight: 600;
  color: var(--navy-900);
}
.qty-field input:focus { outline: none; }
.product-request-btn { flex: 1; min-width: 210px; text-align: center; }
.qty-note { font-size: 0.82rem; color: var(--slate-500); margin-top: 12px; }

.product-call { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 0.9rem; color: var(--ink-700); }
.product-call svg { color: var(--gold-600); flex-shrink: 0; }
.product-call strong { color: var(--navy-900); }
.product-call:hover strong { color: var(--gold-600); }

.product-assurances { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.product-assurances li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--ink-700); }
.product-assurances li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 700;
}

/* ---------- Description + specifications ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.product-description h2,
.product-specs h2 { font-size: 1.5rem; margin-bottom: 20px; }

.entry-content p + p,
.entry-content ul,
.entry-content ol { margin-top: 1em; }
.entry-content h3 { margin: 1.6em 0 0.5em; }
.entry-content ul { list-style: disc; padding-left: 1.2em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content li { color: var(--ink-700); margin-bottom: 0.4em; }
.entry-content a { color: var(--gold-600); text-decoration: underline; }
.entry-content img { border-radius: var(--radius-md); margin: 1.4em 0; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.specs-table th,
.specs-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.specs-table th { width: 46%; color: var(--slate-500); font-weight: 600; }
.specs-table td { color: var(--navy-900); font-weight: 500; }
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }
.specs-empty { font-size: 0.92rem; color: var(--slate-500); }

/* ---------- Inquiry ---------- */
.product-inquiry .inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.inquiry-copy h2 { margin: 8px 0 16px; }
.inquiry-phone { margin-top: 18px; }
.inquiry-phone a { color: var(--gold-300); font-weight: 600; }
.inquiry-phone a:hover { color: var(--white); }
.product-inquiry .contact-form-panel { border-radius: var(--radius-lg); padding: 40px 36px; }
.product-inquiry .contact-form-panel textarea { min-height: 100px; }

/* ---------- Product card link states ---------- */
.product-card h3 a:hover { color: var(--gold-600); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 52px; padding-top: 40px; }
  .product-inquiry .inquiry-wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .product-actions { flex-direction: column; align-items: stretch; }
  .qty-field { justify-content: space-between; }
  .product-request-btn { width: 100%; min-width: 0; }
  .product-inquiry .contact-form-panel { padding: 28px 22px; }
  .product-purchase { padding: 20px 18px; }
  .product-purchase .ifgg-product-price .ifgg-price-amount { font-size: 1.9rem; }
}

/* =========================================================
   Cart & order request
   ========================================================= */

/* ---------- Header cart button ---------- */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}
.header-cart:hover { background: rgba(255,255,255,0.12); color: var(--gold-300); }
.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.cart-count[hidden] { display: none; }

/* ---------- "Added to cart" toast ---------- */
.ifgg-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 48px);
  padding: 15px 20px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ifgg-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ifgg-toast a { color: var(--gold-300); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.ifgg-toast a:hover { color: var(--white); }

/* ---------- Product card actions ---------- */
.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
/* Overrides ".product-body .btn { margin-top: auto }" — the wrapper now
   handles pushing the actions to the bottom of the card. */
.product-card-actions .btn { width: 100%; margin-top: 0; }
.product-card-details { font-size: 0.82rem; color: var(--slate-500); text-decoration: underline; }
.product-card-details:hover { color: var(--gold-600); }
.js-add-to-cart.is-added { background: var(--success); border-color: var(--success); color: var(--white); }

/* ---------- Cart page ---------- */
.narrow-container { max-width: 780px; }
.cart-loading { color: var(--slate-500); }

.cart-empty { text-align: center; padding: 40px 0 20px; }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { margin-bottom: 26px; }

.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }

.cart-head,
.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 132px 106px 86px;
  gap: 16px;
  align-items: center;
}
.cart-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-500);
}
.cart-head span:nth-child(1) { grid-column: 2; }
.cart-head span:nth-child(2) { grid-column: 3; }
.cart-head span:nth-child(3) { grid-column: 4; text-align: right; }

.cart-line { padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-line-media {
  width: 76px;
  height: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}
.cart-line-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cart-line-title { font-family: var(--font-heading); font-size: 1.02rem; color: var(--navy-900); font-weight: 600; }
.cart-line-title:hover { color: var(--gold-600); }
.cart-line-unit { font-size: 0.85rem; color: var(--slate-500); margin: 0; }
.cart-line-warn { font-size: 0.78rem; color: var(--gold-600); font-weight: 600; margin: 0; }

.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); width: fit-content; }
.cart-qty-btn {
  width: 34px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1;
}
.cart-qty-btn:hover { color: var(--gold-600); }
.cart-qty-input {
  width: 46px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
  color: var(--navy-900);
  background: transparent;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty-input:focus { outline: none; }

.cart-line-total { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--navy-900); text-align: right; }
.cart-line-remove { border: 0; background: transparent; color: var(--slate-500); font-size: 0.82rem; text-decoration: underline; text-align: right; }
.cart-line-remove:hover { color: #b3261e; }

.cart-summary { margin-top: 28px; }
.cart-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
.cart-summary-row span { font-size: 0.95rem; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: 0.05em; }
.cart-summary-row strong { font-family: var(--font-heading); font-size: 2rem; color: var(--navy-900); line-height: 1; }
.cart-quote-note { font-size: 0.85rem; color: var(--gold-600); margin-top: 12px; }
.cart-disclaimer { font-size: 0.83rem; color: var(--slate-500); margin-top: 14px; line-height: 1.6; }
.cart-continue { display: inline-block; margin-top: 26px; font-size: 0.9rem; color: var(--slate-500); }
.cart-continue:hover { color: var(--gold-600); }

/* ---------- Checkout panel ---------- */
.cart-checkout {
  padding: 32px 28px;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h-scrolled) + 20px);
}
.cart-checkout h2 { font-size: 1.45rem; margin-bottom: 18px; }
.checkout-callout {
  display: flex;
  gap: 12px;
  padding: 16px;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
}
.checkout-callout svg { color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.checkout-callout p { font-size: 0.86rem; line-height: 1.55; margin: 0; }
.checkout-callout strong { color: var(--navy-900); }
.field-hint { font-size: 0.78rem; color: var(--slate-500); margin-top: 6px; }
.optional { font-weight: 400; color: var(--slate-500); text-transform: none; letter-spacing: 0; }
.checkout-call { margin-top: 20px; font-size: 0.88rem; color: var(--slate-500); text-align: center; }
.checkout-call a { color: var(--gold-600); font-weight: 600; }

/* ---------- Order confirmation ---------- */
.order-success { text-align: center; padding-bottom: 12px; }
.order-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(47,122,79,0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-lede { font-size: 1.08rem; margin-top: 14px; }
.order-lede strong { color: var(--navy-900); }
.order-reference { margin-top: 16px; font-size: 0.85rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; }
.order-reference strong { color: var(--gold-600); }

.order-notice {
  margin: 34px 0;
  padding: 18px 22px;
  background: var(--cream-100);
  border-radius: var(--radius-md);
}
.order-notice p { font-size: 0.9rem; margin: 0; line-height: 1.6; }

.order-section-heading { font-size: 1.35rem; margin: 40px 0 18px; }
.order-table { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.order-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.order-row:last-child { border-bottom: 0; }
.order-row-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.order-row-qty { font-weight: 700; color: var(--gold-600); }
.order-row-title { color: var(--navy-900); font-weight: 500; }
.order-row-sku { width: 100%; font-size: 0.78rem; color: var(--slate-500); }
.order-row-price { font-family: var(--font-heading); font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.order-row-quote { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--gold-600); }
.order-row-total { background: var(--cream-50); }
.order-row-total .order-row-price { font-size: 1.25rem; }

.order-steps { counter-reset: order-step; display: flex; flex-direction: column; gap: 16px; }
.order-steps li { position: relative; padding-left: 44px; color: var(--ink-700); font-size: 0.95rem; line-height: 1.6; }
.order-steps li::before {
  counter-increment: order-step;
  content: counter(order-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-steps strong { color: var(--navy-900); }

.order-contact-box { margin-top: 36px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.order-contact-box p { font-size: 0.9rem; margin: 0; }
.order-contact-box p + p { margin-top: 10px; }
.order-contact-box a { color: var(--gold-600); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cart-layout { grid-template-columns: 1fr; gap: 40px; }
  .cart-checkout { position: static; }
}

@media (max-width: 640px) {
  .cart-head { display: none; }
  .cart-line {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    grid-template-areas:
      "media info info"
      "qty qty total"
      "remove remove remove";
    gap: 14px;
  }
  .cart-line-media { grid-area: media; width: 68px; height: 68px; }
  .cart-line-info { grid-area: info; }
  .cart-qty { grid-area: qty; }
  .cart-line-total { grid-area: total; align-self: center; }
  .cart-line-remove { grid-area: remove; text-align: left; }
  .cart-checkout { padding: 24px 20px; }
  .ifgg-toast { right: 14px; left: 14px; bottom: 14px; }
  .order-row { flex-direction: column; gap: 8px; }
}

/* =========================================================
   Mini cart (header dropdown)
   ========================================================= */

/* Any element with an author-declared `display` beats the browser's
   `[hidden] { display: none }` rule and would stay visible. The panels
   toggled by JS (.mini-cart, .cart-layout, flex/grid rows) all declare
   one, so enforce it globally. */
[hidden] { display: none !important; }

/* IRA/401k content toggle — controlled by IFGG_SHOW_IRA_CONTENT in
   functions.php. When that's false, <body> gets `no-ira` and everything
   tagged `.ira-only` (nav links, spec rows, related copy) disappears.
   `.ira-alt` is the reverse: a non-IRA stand-in shown only while hidden,
   used sparingly (e.g. the homepage hero tagline) so toggling the switch
   doesn't leave a blank gap in the most visible copy on the site. */
.no-ira .ira-only { display: none !important; }
body:not(.no-ira) .ira-alt { display: none !important; }

.header-cart-wrap { position: relative; }
.header-cart { background: none; border: 0; padding: 0; }

.mini-cart {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 600;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.mini-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--cream-50);
  border-bottom: 1px solid var(--border);
}
.mini-cart-head strong { font-family: var(--font-heading); font-size: 1rem; color: var(--navy-900); }
.mini-cart-close {
  background: none;
  border: 0;
  padding: 0 4px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate-500);
}
.mini-cart-close:hover { color: var(--navy-900); }

.mini-cart-loading { margin: 0; padding: 22px 18px; font-size: 0.9rem; color: var(--slate-500); }
.mini-cart-empty { padding: 26px 18px; text-align: center; }
.mini-cart-empty p { font-size: 0.92rem; margin-bottom: 16px; }

.mini-cart-lines { max-height: 320px; overflow-y: auto; }
.mini-cart-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.mini-cart-line:last-child { border-bottom: 0; }

.mini-cart-thumb {
  width: 52px;
  height: 52px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mini-cart-thumb img { width: 100%; height: 100%; object-fit: contain; }

.mini-cart-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-cart-title { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.mini-cart-title:hover { color: var(--gold-600); }
.mini-cart-meta { font-size: 0.78rem; color: var(--slate-500); }

.mini-cart-right { display: flex; align-items: center; gap: 10px; }
.mini-cart-line-total {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}
.mini-cart-remove {
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--slate-300);
}
.mini-cart-remove:hover { color: #b3261e; }

.mini-cart-foot {
  padding: 16px 18px;
  background: var(--cream-50);
  border-top: 1px solid var(--border);
}
.mini-cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.mini-cart-total span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}
.mini-cart-total strong { font-family: var(--font-heading); font-size: 1.35rem; color: var(--navy-900); }

@media (max-width: 640px) {
  .mini-cart { width: min(340px, calc(100vw - 28px)); }
  .mini-cart-lines { max-height: 44vh; }
}
