/* ==========================================================================
   Silver Star Moving Inc — Trust & Authority theme
   Palette: deep steel navy + metallic silver (brand: "Silver Star")
   ========================================================================== */

:root {
  --ink: #0B1524;
  --ink-2: #122034;
  --ink-3: #1B2E49;
  --body: #23405c;
  --muted: #57677b;
  --silver: #c3cdda;
  --silver-2: #9fadc0;
  --silver-bright: #eef2f7;
  --silver-line: #dfe5ec;
  --bg-alt: #f4f6f9;
  --white: #ffffff;
  --star: #d7dfe9;
  --grad-hero: linear-gradient(138deg, #0a1322 0%, #11203a 52%, #1a3054 100%);
  --grad-silver: linear-gradient(135deg, #f2f5f9 0%, #cdd6e2 45%, #aab7c9 100%);
  --shadow-soft: 0 6px 24px rgba(11, 21, 36, 0.07);
  --shadow-lift: 0 14px 34px rgba(11, 21, 36, 0.13);
  --radius: 12px;
  --container: 1160px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--ink-3); }

:focus-visible {
  outline: 3px solid #4d7bbd;
  outline-offset: 3px;
  border-radius: 4px;
}

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

.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--grad-hero); }

section[id] { scroll-margin-top: 96px; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5d7396;
  margin-bottom: 14px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--silver-2));
}
.eyebrow::after { background: linear-gradient(90deg, var(--silver-2), transparent); }

.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-silver);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(11, 21, 36, 0.18);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn--primary:hover::after { left: 140%; }

.btn--outline-light {
  background: transparent;
  color: var(--silver-bright);
  border-color: rgba(201, 211, 226, 0.55);
}
.btn--outline-light:hover { border-color: var(--silver-bright); background: rgba(238, 242, 247, 0.08); }

.btn--dark {
  background: var(--ink-2);
  color: var(--silver-bright);
}
.btn--dark:hover { background: var(--ink-3); }

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--silver-2);
}
.btn--ghost:hover { border-color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1200;
  background: var(--grad-silver);
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 19, 34, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(5, 10, 20, 0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--grad-silver);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--silver-bright);
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-2);
}

.nav-desktop { display: flex; align-items: center; gap: 34px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  position: relative;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: #c8d2e0;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--grad-silver);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.header-cta { padding: 12px 24px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(195, 205, 218, 0.4);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--silver-bright);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--ink);
  border-top: 1px solid rgba(195, 205, 218, 0.16);
  padding: 18px 24px 26px;
}

.nav-mobile.is-open { display: block; }

.nav-mobile ul { list-style: none; margin: 0 0 18px; padding: 0; }

.nav-mobile a:not(.btn) {
  display: block;
  padding: 13px 4px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: #c8d2e0;
  text-decoration: none;
  border-bottom: 1px solid rgba(195, 205, 218, 0.12);
}

.nav-mobile a.active { color: var(--white); }
.nav-mobile .btn { width: 100%; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--grad-hero);
  color: #dbe3ee;
  padding: 118px 0 128px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 24%, rgba(222, 230, 240, 0.5) 0, transparent 100%),
    radial-gradient(1px 1px at 28% 68%, rgba(222, 230, 240, 0.35) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 46% 18%, rgba(222, 230, 240, 0.4) 0, transparent 100%),
    radial-gradient(1px 1px at 64% 54%, rgba(222, 230, 240, 0.3) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 81% 30%, rgba(222, 230, 240, 0.45) 0, transparent 100%),
    radial-gradient(1px 1px at 92% 72%, rgba(222, 230, 240, 0.3) 0, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 178, 208, 0.22) 0%, rgba(157, 178, 208, 0) 65%);
  top: -180px;
  right: -140px;
  pointer-events: none;
}

html.js .hero-glow { animation: glow-drift 16s ease-in-out infinite alternate; }

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-160px, 130px) scale(1.18); }
}

.hero-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(195, 205, 218, 0.35) 0 34px, transparent 34px 62px);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; }

.hero .eyebrow { color: #a9bbd4; }
.hero .eyebrow::before { background: linear-gradient(90deg, transparent, #8fa3bf); }
.hero .eyebrow::after { background: linear-gradient(90deg, #8fa3bf, transparent); }

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.6vw, 58px);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18.5px;
  color: #b9c6d8;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #c4d0e0;
}

.hero-trust svg { color: var(--silver); flex-shrink: 0; }

/* Hero entrance — transform only, gated behind html.js */
html.js .hero [data-hero] { transform: translateY(26px); }
html.js .hero.hero-in [data-hero] { transform: none; transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .hero.hero-in [data-hero="1"] { transition-delay: 0.05s; }
html.js .hero.hero-in [data-hero="2"] { transition-delay: 0.16s; }
html.js .hero.hero-in [data-hero="3"] { transition-delay: 0.27s; }
html.js .hero.hero-in [data-hero="4"] { transition-delay: 0.38s; }
html.js .hero.hero-in [data-hero="5"] { transition-delay: 0.49s; }

/* ---------- Cards (expertise / services) ---------- */

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

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--grad-silver);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card:hover::before { transform: scaleX(1); }

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--silver-bright);
  border: 1px solid var(--silver-line);
  color: var(--ink-2);
  margin-bottom: 22px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.card:hover .icon-tile {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--silver);
}

.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; flex-grow: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  margin-top: auto;
}

.card-link svg { transition: transform 0.3s ease; }
.card:hover .card-link svg { transform: translateX(5px); }

/* ---------- Split (who we are / about) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--grad-hero);
  min-height: 420px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lift);
}

.split-media svg { width: 72%; height: auto; max-height: 78%; }

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(195, 205, 218, 0.22);
  border-radius: 16px;
  pointer-events: none;
}

.split-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(10, 19, 34, 0.88);
  border: 1px solid rgba(195, 205, 218, 0.3);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--silver-bright);
  font-family: var(--font-head);
}

.split-badge strong { display: block; font-size: 22px; color: var(--white); }
.split-badge span { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-2); }

.split-copy h2 { font-size: clamp(28px, 3.6vw, 38px); }
.split-copy > p { color: var(--muted); }

.checklist { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 14px; }

.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--body); }

.check-dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--silver-bright);
  border: 1px solid var(--silver-2);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  margin-top: 2px;
}

/* ---------- Stats band ---------- */

.stats-band { padding: 74px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

.stat h3 {
  font-size: clamp(34px, 4.4vw, 48px);
  color: var(--white);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat h3 .stat-suffix {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat p {
  margin: 0;
  color: #9fb0c6;
  font-size: 14.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.step-num {
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--silver-2);
  transition: color 0.35s ease;
}

.step:hover .step-num { color: var(--silver-2); }

.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */

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

.quote {
  background: var(--white);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.stars { display: inline-flex; gap: 4px; color: #b8a24c; margin-bottom: 16px; }

.quote blockquote {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--body);
  flex-grow: 1;
}

.quote-author { display: flex; align-items: center; gap: 14px; }

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: var(--silver);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.quote-author strong { display: block; font-family: var(--font-head); font-size: 15.5px; color: var(--ink); }
.quote-author span { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  background: var(--grad-hero);
  border-radius: 18px;
  padding: 64px 56px;
  color: #dbe3ee;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 300px at 85% -20%, rgba(157, 178, 208, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 38px); }
.cta-banner p { color: #b9c6d8; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; position: relative; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--grad-hero);
  color: #dbe3ee;
  padding: 84px 0 76px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-glow { top: -260px; right: -220px; }

.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
.page-hero p { color: #b9c6d8; max-width: 640px; font-size: 18px; margin: 0; }

/* ---------- Service (product) cards ---------- */

.service-card { padding: 0; }

.service-media {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  color: var(--silver);
  border-bottom: 1px solid var(--silver-line);
}

/* Photos are absolutely positioned so any aspect ratio stays inside the
   fixed-height media box instead of overflowing under the card text. */
.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body { padding: 28px 28px 26px; display: flex; flex-direction: column; flex-grow: 1; }

.service-body h3 { font-size: 19.5px; }
.service-body p { color: var(--muted); font-size: 15px; }

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--silver-line);
}

.price { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); }
.price .from { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.sample-note {
  margin: -30px auto 46px;
  max-width: 720px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  background: var(--silver-bright);
  border: 1px dashed var(--silver-2);
  border-radius: 10px;
  padding: 12px 20px;
}

/* ---------- Contact ---------- */

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

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--silver-line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  padding: 13px 16px;
  border: 1px solid var(--silver-2);
  border-radius: 9px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(27, 46, 73, 0.14);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-status { border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-size: 15px; }
.form-status--ok { background: #eef7ee; border: 1px solid #9fc79f; color: #22532a; }
.form-status--err { background: #fbeeee; border: 1px solid #d3a1a1; color: #7a2727; }

.info-card {
  background: var(--grad-hero);
  border-radius: 16px;
  padding: 38px 34px;
  color: #c4d0e0;
}

.info-card h3 { color: var(--white); font-size: 21px; margin-bottom: 22px; }

.info-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 20px; }

.info-list li { display: flex; gap: 15px; align-items: flex-start; }

.info-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(195, 205, 218, 0.13);
  border: 1px solid rgba(195, 205, 218, 0.3);
  display: grid;
  place-items: center;
  color: var(--silver);
}

.info-list li > div { min-width: 0; overflow-wrap: anywhere; }
.info-list strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--white); margin-bottom: 2px; }
.info-list a { color: #c4d0e0; text-decoration: none; }
.info-list a:hover { color: var(--white); text-decoration: underline; }

.hours { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(195, 205, 218, 0.2); }
.hours h4 { color: var(--white); font-size: 15.5px; margin-bottom: 12px; }
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14.5px; }
.hours dt { color: var(--silver-2); }
.hours dd { margin: 0; text-align: right; color: #d7dfe9; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--grad-hero);
  color: #a9b8cc;
  padding: 72px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer-brand p { font-size: 15px; max-width: 300px; margin-top: 18px; }

.site-footer h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.footer-links a {
  color: #a9b8cc;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--silver-2); }
.footer-contact a { color: #a9b8cc; text-decoration: none; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(195, 205, 218, 0.14);
  padding: 22px 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Scroll reveal (transform only, JS-gated) ---------- */

html.js [data-reveal] {
  transform: translateY(26px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js [data-reveal].is-in { transform: none; }

html.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
html.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
html.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
html.js [data-reveal-delay="4"] { transition-delay: 0.32s; }
html.js [data-reveal-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js .hero [data-hero] {
    transform: none !important;
    transition: none !important;
  }
  html.js .hero-glow { animation: none !important; }
  .card, .step, .quote, .btn, .footer-links a, .card-link svg, .nav-links a::after { transition: none !important; }
}

/* ---------- Utility pages (cart/product/etc. in theme) ---------- */

.rte { max-width: 760px; }
.rte img { border-radius: 12px; }

.empty-state {
  text-align: center;
  border: 1px dashed var(--silver-2);
  background: var(--silver-bright);
  border-radius: 14px;
  padding: 56px 28px;
  max-width: 660px;
  margin: 0 auto;
}
.empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .card-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split-media { min-height: 340px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding: 84px 0 96px; }
  .card-grid, .quote-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .cta-banner { padding: 48px 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Shopify template additions (product, cart, blog, search, accounts)
   ========================================================================== */

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.skip-to-content:focus { left: 0; }

.page-width { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.template-section { padding: 72px 0; }

/* Product */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.product-media-main { border-radius: 16px; overflow: hidden; border: 1px solid var(--silver-line); background: var(--bg-alt); }
.product-media-main img { width: 100%; }
.product-media-placeholder { min-height: 380px; background: var(--grad-hero); display: grid; place-items: center; color: var(--silver); }
.product-info h1 { font-size: clamp(28px, 3.6vw, 40px); }
.product-price { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--ink); margin: 8px 0 20px; }
.product-price .unit-from { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.product-form select,
.product-form .quantity-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1px solid var(--silver-2);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  margin-bottom: 16px;
}
.product-description { margin-top: 28px; }

/* Collection / search grids — compact cards so a full catalog fits on one page */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid .service-media { height: 138px; }
.product-grid .service-body { padding: 20px 20px 18px; }
.product-grid .service-body h3 { font-size: 16.5px; }
.product-grid .service-body p { font-size: 14px; margin-bottom: 12px; }
.product-grid .service-meta { padding-top: 12px; }
.product-grid .price { font-size: 16px; }
.product-grid .price .from { font-size: 10.5px; }
.product-grid .card-link { font-size: 13px; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.collection-toolbar p { margin: 0; color: var(--muted); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-family: var(--font-head); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 12px 14px 0; border-bottom: 1px solid var(--silver-line); }
.cart-table td { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--silver-line); vertical-align: middle; }
.cart-item-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; }
.cart-item-media { width: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--silver-line); }
.cart-qty { width: 84px; padding: 10px 12px; border: 1px solid var(--silver-2); border-radius: 8px; font-size: 15px; }
.cart-footer { display: flex; justify-content: flex-end; margin-top: 30px; }
.cart-summary { width: 100%; max-width: 380px; background: var(--bg-alt); border: 1px solid var(--silver-line); border-radius: 14px; padding: 28px; }
.cart-summary .totals { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.cart-remove { color: var(--muted); font-size: 13.5px; }


/* Search */
.search-bar { display: flex; gap: 12px; max-width: 560px; margin: 0 auto 46px; }
.search-bar input[type="search"] { flex: 1; padding: 14px 18px; border: 1px solid var(--silver-2); border-radius: 10px; font-size: 16px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--silver-line); border-radius: 9px; text-decoration: none; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.pagination span.current { background: var(--ink); color: var(--silver-bright); border-color: var(--ink); }


@media (max-width: 1024px) {

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

@media (max-width: 820px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 8px 0; border: none; }
  .cart-table tr { display: block; border-bottom: 1px solid var(--silver-line); padding: 18px 0; }
}

/* ==========================================================================
   Static-site additions: header cart, shop, product, cart, forms
   ========================================================================== */

.header-cart {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--silver-bright);
  text-decoration: none;
  border: 1px solid rgba(195, 205, 218, 0.28);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-cart:hover { background: rgba(195, 205, 218, 0.12); border-color: rgba(195, 205, 218, 0.5); }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--grad-silver);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.cart-count[hidden] { display: none; }
.header-actions-mobile { display: none; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  .header-actions-mobile { display: flex; }
}

/* Shop toolbar */
.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.shop-toolbar input[type="search"],
.shop-toolbar select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--silver-2);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  min-width: 0;
}
.shop-toolbar input[type="search"]:focus,
.shop-toolbar select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(77, 123, 189, 0.18); }
.shop-count { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--silver-line);
  background: var(--white);
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--silver-2); }
.chip.is-active { background: var(--ink); color: var(--silver-bright); border-color: var(--ink); }

/* Product cards with photos */
.product-card { text-decoration: none; color: inherit; }
.product-grid .service-media { height: 210px; background: var(--white); border-bottom: 1px solid var(--silver-line); position: relative; }
.product-grid .service-media.no-img { background: var(--grad-hero); }
.product-grid .service-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card .card-link { position: relative; z-index: 2; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--silver-bright);
}
.badge--muted { background: var(--silver-2); color: var(--ink); }
.price s, .product-price s { color: var(--muted); font-weight: 500; font-size: 0.78em; margin-left: 8px; }

/* Product page */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.product-media-main { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--white); }
.product-media-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-media-main .product-media-placeholder { width: 100%; height: 100%; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.thumbs button {
  width: 74px;
  height: 74px;
  padding: 4px;
  border-radius: 10px;
  border: 2px solid var(--silver-line);
  background: var(--white);
  cursor: pointer;
}
.thumbs button.is-active { border-color: var(--ink-3); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-form label { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.product-meta { font-size: 14px; color: var(--muted); margin: -8px 0 18px; }
.product-actions { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: end; }
.product-actions .quantity-input { margin-bottom: 0; }
.product-help { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.product-help a { font-weight: 600; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.cart-item-media { height: 84px; background: var(--white); display: grid; place-items: center; }
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-variant { display: block; font-size: 13.5px; color: var(--muted); }
.cart-remove { display: block; margin-top: 4px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: inherit; }
.cart-summary .field { margin-bottom: 14px; }
.cart-summary .note { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.cart-summary h2 { font-size: 21px; }

/* Featured products on home */
.featured-foot { text-align: center; margin-top: 40px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1500;
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--silver-bright);
  box-shadow: var(--shadow-lift);
  font-size: 15px;
  transition: transform 0.35s ease;
}
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: var(--white); font-weight: 600; white-space: nowrap; }

select.field-select,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1px solid var(--silver-2);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { max-width: none; }
}

@media (max-width: 640px) {
  .shop-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shop-toolbar input[type="search"] { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-grid .service-media { height: 150px; }
  .product-grid .service-body { padding: 14px; }
  .product-grid .service-body p { display: none; }
  .product-grid .service-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cart-table td.cart-td-media { display: inline-block; vertical-align: top; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}

.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; }

@media (max-width: 1024px) {
  .product-media-main { max-width: 520px; }
}

@media (max-width: 640px) {
  .cart-table tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
  .cart-table td { padding: 0; }
  .cart-table td:nth-child(1) { grid-row: 1 / span 3; grid-column: 1; width: auto !important; align-self: start; }
  .cart-table td:nth-child(2) { grid-column: 2 / 4; }
  .cart-table td:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 14.5px; }
  .cart-table td:nth-child(4) { grid-column: 3; grid-row: 2; }
  .cart-table td:nth-child(5) { grid-column: 2 / 4; grid-row: 3; }
  .cart-item-media { width: 76px; height: 76px; }
}

/* Service catalog: real photos fill the frame */
.product-grid .service-media { height: 190px; }
.product-grid .service-media img { object-fit: cover; padding: 0; }
.product-media-main { aspect-ratio: 4 / 3; }
.product-media-main img { object-fit: cover; padding: 0; }
.product-book { display: flex; flex-wrap: wrap; gap: 12px; }
.product-book .btn { flex: 1 1 200px; }
.product-book .btn--ghost svg { margin-right: 8px; }
.btn.is-disabled { opacity: 0.55; pointer-events: none; }
.product-description { font-size: 16.5px; }

/* ==========================================================================
   Checkout + policy pages (colors mapped onto the Silver Star palette
   via the aliases below)
   ========================================================================== */
:root {
  --c-dark: var(--ink);
  --c-dark-2: var(--ink-2);
  --c-primary: var(--ink-3);
  --c-primary-deep: var(--ink-3);
  --c-primary-light: var(--silver-2);
  --c-primary-soft: #eef2f8;
  --c-violet: #4d6f9e;
  --c-coral: #b4232f;
  --c-rose: #c8323e;
  --c-bg-alt: var(--bg-alt);
  --c-text: var(--ink);
  --c-muted: var(--muted);
  --c-line: var(--silver-line);
  --c-on-dark-muted: var(--silver-2);
  --grad: linear-gradient(135deg, #1b2e49, #3b5579);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.form-note { display: none; border-radius: 10px; padding: 13px 16px; font-weight: 600; margin-bottom: 18px; }
.form-note.error { background: #fbeeee; color: #9b1c25; border: 1px solid #e3b0b4; }
.form-note.show { display: block; }

.secure-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--silver-2); font-weight: 600; font-size: 14px; }
.secure-badge svg { width: 18px; height: 18px; stroke: var(--silver); }
.checkout-back { color: var(--silver-bright); font-family: var(--font-head); font-size: 14px; font-weight: 600; text-decoration: none; }
.checkout-back:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 22px; }

/* Checkout — compact single page (one screen of form per section,
   inline validation, collapsible summary on mobile) */
.checkout-main { padding: 26px 0 60px; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.checkout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.checkout-head h1 { font-size: 1.6rem; margin: 0; }

.checkout-crumbs {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-muted);
}

.checkout-crumbs li + li::before { content: "›"; margin-right: 8px; color: #98a3bf; }
.checkout-crumbs a { color: var(--c-primary-deep); }
.checkout-crumbs [aria-current] { color: var(--c-text); }

.checkout-form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 26px 20px;
}

.co-section {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--c-line);
}

.co-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.co-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.co-title-row .co-title { margin: 0; }

.step-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background-image: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  flex: none;
}

.checkout-form .form-row { gap: 12px; }
.checkout-form .form-row.addr { grid-template-columns: 2fr 1fr; }
.checkout-form .form-row.thirds { grid-template-columns: 1.3fr 1fr 0.9fr; }
.checkout-form .form-row.card-row { grid-template-columns: 1.6fr 1fr 0.8fr; }

.checkout-form .field { margin-bottom: 12px; }

.checkout-form .field label {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}

.checkout-form .field label .opt { font-weight: 600; color: var(--c-muted); }

.checkout-form .field input,
.checkout-form .field select {
  height: 44px;
  padding: 0 13px;
  font-size: 16px; /* 16px stops iOS from zooming into fields */
  border-radius: 9px;
}

.field-error {
  display: none;
  margin: 5px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  color: #c81e3a;
}

.field.has-error .field-error { display: block; }

.field.has-error input,
.field.has-error select {
  border-color: var(--c-rose);
  background-color: #fff8f8;
}

/* Delivery: two compact tiles */
.option-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 11px 13px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.option:hover { border-color: var(--c-primary-light); }

.option.is-checked {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
}

.option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-primary);
  flex: none;
}

.option-text { display: grid; gap: 1px; }
.option-text strong { font-size: 0.92rem; line-height: 1.3; }
.option-text small { color: var(--c-muted); font-size: 0.78rem; line-height: 1.35; }

.option-price {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Payment */
.card-logos { display: flex; gap: 5px; }

.card-logo {
  display: block;
  width: 38px;
  height: 24px;
  transition: opacity 0.2s var(--ease);
}

.card-logos.has-brand .card-logo:not(.is-active) { opacity: 0.28; }

.card-box {
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  padding: 14px 14px 2px;
  background: var(--c-bg-alt);
}

.card-input { position: relative; }
.card-input input { padding-right: 58px !important; }

.card-detected {
  position: absolute;
  right: 10px;
  top: 22px;
  transform: translateY(-50%);
  width: 38px;
  height: 24px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.card-detected .card-logo { width: 38px; height: 24px; opacity: 1; }
.card-detected .lock-icon { width: 18px; height: 18px; stroke: var(--c-muted); }

.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--c-muted);
  font-size: 0.82rem;
  margin: 10px 0 0;
}

.secure-note svg { width: 16px; height: 16px; stroke: var(--c-violet); flex: none; margin-top: 3px; }

.btn-block { width: 100%; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.04rem; }

.btn .spinner { display: none; }

.btn.is-loading .spinner {
  display: block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.co-legal {
  text-align: center;
  font-size: 0.8rem;
  color: var(--c-muted);
  margin: 12px 0 0;
}

.co-legal a { font-weight: 700; }

/* Order summary */
.checkout-summary {
  position: sticky;
  top: 96px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(29, 79, 184, 0.08), transparent),
    var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
}

.checkout-summary h2 { font-size: 1.05rem; margin-bottom: 14px; }

.summary-items {
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--c-line);
  max-height: 340px;
  overflow-y: auto;
}

.summary-item { display: flex; align-items: center; gap: 12px; padding: 7px 7px 0 0; }

.summary-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #fff;
  display: grid;
  place-items: center;
}

.summary-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; padding: 3px; }

.summary-thumb.is-art { background: linear-gradient(160deg, var(--c-dark-2), var(--c-dark)); border: 0; }
.summary-thumb.is-art svg { width: 60%; height: auto; }

.summary-qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--c-muted);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.summary-name { flex: 1; font-weight: 700; font-size: 0.88rem; line-height: 1.35; }
.summary-name small { display: block; color: var(--c-muted); font-weight: 600; }
.summary-price { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }

.summary-totals { margin: 12px 0 0; font-size: 0.93rem; }

.summary-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: var(--c-muted);
}

.summary-totals dd { margin: 0; font-weight: 700; color: var(--c-text); }

.summary-totals .summary-total {
  border-top: 1px solid var(--c-line);
  margin-top: 8px;
  padding-top: 12px;
  color: var(--c-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  align-items: baseline;
}

.summary-total dd { font-size: 1.35rem; }
.summary-total small { font-size: 0.72rem; color: var(--c-muted); font-family: var(--font-body); }

.summary-edit {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.86rem;
}

/* Mobile "Show order summary" bar */
.summary-toggle {
  display: none;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-bg-alt);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary-deep);
  cursor: pointer;
}

.summary-toggle svg { width: 18px; height: 18px; stroke: currentColor; flex: none; }
.summary-toggle .chev { transition: transform 0.2s var(--ease); }
.summary-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.summary-toggle strong {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--c-text);
}

@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 0; }
  .summary-toggle { display: flex; }
  .checkout-summary { position: static; display: none; order: -1; margin-bottom: 14px; }
  .checkout-summary.is-open { display: block; }
  .checkout-summary h2 { display: none; }
}

@media (max-width: 560px) {
  .checkout-main { padding-top: 16px; }
  .checkout-head h1 { font-size: 1.4rem; }
  .checkout-form { padding: 18px 16px 16px; }
  .option-list { grid-template-columns: 1fr; }
  .checkout-form .form-row.addr { grid-template-columns: 1fr; }
  .checkout-form .form-row.thirds,
  .checkout-form .form-row.card-row { grid-template-columns: 1fr 1fr; }
  .checkout-form .form-row.thirds .field:first-child,
  .checkout-form .form-row.card-row .field:first-child { grid-column: 1 / -1; }
}
/* Maintenance modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 22, 63, 0.66);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal[hidden] { display: none; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 34px 32px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  animation: modal-in 0.35s var(--ease);
}

.modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}

@keyframes modal-in {
  from { transform: translateY(18px) scale(0.97); }
  to { transform: none; }
}

.modal-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-primary-soft), #fde8e9);
}

.modal-icon svg { width: 32px; height: 32px; stroke: var(--c-coral); }

.modal-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.modal-card p { color: var(--c-muted); margin-bottom: 8px; }
.modal-card .modal-sub { font-size: 0.92rem; }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--c-muted);
}

.modal-x:hover { background: var(--c-bg-alt); color: var(--c-text); }
.modal-x svg { width: 20px; height: 20px; stroke: currentColor; }

/* Policy pages */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--c-muted); }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--c-text); }

.policy-updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-violet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-legal a { color: var(--c-on-dark-muted); }
.footer-legal a:hover { color: #fff; }

.noscript-note {
  background: #fdecec;
  border: 1px solid #f3b4b4;
  color: #b91c1c;
  border-radius: 10px;
  padding: 13px 16px;
  font-weight: 700;
  margin-bottom: 18px;
}


/* Checkout: tighter stacking on phones */
.checkout-form .form-row { row-gap: 0; }
.summary-toggle span { white-space: nowrap; }

@media (max-width: 560px) {
  .checkout-form .form-row.pair { grid-template-columns: 1fr 1fr; }
  .co-section { padding-bottom: 12px; margin-bottom: 14px; }
  .option { padding: 10px 12px; }
}

a[href^="tel:"] { white-space: nowrap; }
/* Return-policy summary shown during ordering (checkout + cart) */
.policy-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 0.84rem;
}

.policy-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-text);
  margin: 0 0 6px;
}

.policy-box-title svg { width: 17px; height: 17px; stroke: var(--c-violet); flex: none; }
.policy-box ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--c-muted); line-height: 1.5; }
.policy-box li { margin-bottom: 2px; }
.policy-box a { font-weight: 700; }

/* Policy document pages */
.policy-page { padding-top: 56px; }

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 100px;
  font-size: 0.86rem;
}

.policy-toc-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.policy-toc ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--c-line);
  display: grid;
  gap: 6px;
}

.policy-toc a { color: var(--c-muted); font-weight: 700; line-height: 1.35; display: block; }
.policy-toc a:hover { color: var(--c-primary-deep); }

.policy-pdf { padding: 10px 16px; font-size: 0.86rem; }
.policy-pdf svg { width: 17px; height: 17px; stroke: currentColor; }

.policy-doc { max-width: 780px; }

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}

.policy-meta div {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 12px 14px;
}

.policy-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-violet);
}

.policy-meta dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-text);
  font-size: 0.98rem;
}

.policy-callout {
  border-left: 4px solid var(--c-coral);
  background: linear-gradient(120deg, #fdeeee, #edf2fc);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 8px 0 8px;
}

.policy-callout p { color: var(--c-text); margin: 0; }

.policy-callout .policy-callout-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a50e18;
  margin-bottom: 4px;
}

.policy-section { scroll-margin-top: 96px; }
.policy-section h2 { font-size: 1.3rem; margin-top: 1.7em; }

.policy-related {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.policy-related p { font-weight: 700; color: var(--c-text); margin-bottom: 6px; }
.policy-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.policy-related a { font-weight: 700; }

@media (max-width: 1024px) {
  .policy-layout { grid-template-columns: 1fr; gap: 0; }
  .policy-toc { position: static; display: flex; justify-content: flex-end; }
  .policy-toc-title, .policy-toc ol { display: none; }
  .policy-pdf { margin-bottom: 18px; }
}

@media (max-width: 560px) {
  .policy-meta { grid-template-columns: 1fr; gap: 8px; }
  .policy-page { padding-top: 36px; }
}


.policy-box-mobile { display: none; }

@media (max-width: 1024px) {
  .policy-box-mobile {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0 0 14px;
    color: var(--c-muted);
    line-height: 1.5;
  }
  .policy-box-mobile svg { width: 17px; height: 17px; stroke: var(--c-violet); flex: none; margin-top: 3px; }
  .policy-box-mobile strong { color: var(--c-text); }

/* Silver Star checkout extras */
.summary-thumb img { object-fit: cover; padding: 0; }
.checkout-form .field textarea { min-height: 86px; font-size: 16px; padding: 11px 13px; }
.checkout-form .option-list.three { grid-template-columns: repeat(3, 1fr); }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); margin: 2px 0 12px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--ink-3); }
.co-sub { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); margin: 6px 0 10px; }
.co-sub .opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.checkout-header .header-inner { min-height: 68px; }
.btn-lg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.modal-card .btn { min-width: 150px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--silver-2); text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }
.policy-toc a { text-decoration: none; }
.policy-doc a { color: var(--ink-3); }

@media (max-width: 560px) {
  .checkout-form .option-list.three { grid-template-columns: 1fr; }
  .checkout-back { display: none; }
}

@media (max-width: 560px) {
  .secure-badge span { display: none; }
}
