/* ============================================================
   Mivo Storefront — Mivo Design System (navy + gold)
   Quiet · Premium · Precise
   Near-neutral monochrome (Ink / Graphite / Paper) + one gold accent.
   Outfit for display/headings/UI · Hanken Grotesk for body.
   Everything on an 8-point grid. Restraint is the point.
   ------------------------------------------------------------
   NOTE: legacy class names AND CSS variable names are preserved so the
   single rewrite cascades to home, collections, and every product page
   (incl. inline <style> blocks) across all markets without per-page edits.
   ============================================================ */

/* --- Fonts: Outfit (display) + Hanken Grotesk (body) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  /* Core palette */
  --ink: #1a3a5c;            /* primary text, wordmark, headers, Ink buttons */
  --graphite: #5a6b7d;       /* secondary text, captions, supportive UI */
  --paper: #FFFFFF;          /* default background — whitespace is a feature */

  /* Accent — Mivo gold (action & trust only, ~8% max) */
  --signal: #c8963c;
  --signal-press: #b5822d;
  --signal-tint: #f5e6c8;

  /* Extended neutrals — structure only, not brand colours */
  --cloud: #FAFAFA;          /* subtle fills */
  --surface: #F4F4F3;        /* cards, wells */
  --hairline: #ECECEC;       /* light rules */
  --line: #E2E2E0;           /* card edges / borders */

  /* ---- Legacy token names remapped to the design system ---- */
  --primary: #1a3a5c;        /* Ink */
  --primary-hover: #0d2236;
  --primary-light: #2a5a8c;
  --blue: #1a3a5c;           /* former accent-blue surfaces → Ink dark panels */
  --blue-hover: #0d2236;
  --accent: #c8963c;         /* → Signal */
  --accent-dark: #b5822d;    /* → Signal press */
  --bg: #FFFFFF;             /* Paper */
  --bg-soft: #F4F4F3;        /* Surface */
  --bg-dark: #1a3a5c;        /* Ink */
  --text: #1a3a5c;           /* Ink */
  --text-muted: #5a6b7d;     /* Graphite */
  --text-light: #8A8A8A;
  --border: #E2E2E0;         /* Border */
  --card-bg: #FFFFFF;
  --success: #1a3a5c;        /* monochrome — confirm cues read in Ink */

  /* Type — Poppins / Montserrat stacks (Helvetica Neue fallback) */
  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Layout — 8-point grid, 1280 max */
  --container: 1280px;
  --nav-height: 80px;
  --radius: 9px;             /* controls */
  --radius-lg: 14px;         /* cards */

  /* Shadows — used sparingly; structure leans on hairlines, not shadow */
  --shadow-sm: 0 1px 2px rgba(46,46,46,0.05);
  --shadow-md: 0 6px 20px rgba(46,46,46,0.08);
  --shadow-lg: 0 16px 40px rgba(46,46,46,0.10);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

/* Single accent reserved for focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography: geometric headline, humanist body --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: 40px; line-height: 1.1; }
h2 { font-size: 30px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--ink); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
}
.announce-bar strong { font-weight: 600; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  transition: color var(--transition);
  letter-spacing: 0;
}
.nav-links a:hover { color: var(--signal); }
.nav-links a.active {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--signal);
  padding-bottom: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  padding: 10px 22px;
  background: var(--signal);
  color: var(--paper) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--signal-press); }

/* Nav Icons */
.nav-icons {
  display: flex;
  gap: 22px;
  margin-left: 24px;
  align-items: center;
}
.nav-icons a {
  color: var(--ink);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.nav-icons a:hover { color: var(--signal); }
.nav-icons svg { width: 21px; height: 21px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,34,54,0.82) 0%, rgba(13,34,54,0.45) 60%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}
.hero-content h1 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 48ch;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  padding: 15px 32px;
  background: var(--signal);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: background var(--transition);
}
.hero-cta:hover { background: var(--signal-press); }
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 32px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 3;
}

/* ============================================================
   FEATURE CARDS — quiet light cards, hairline edges
   ============================================================ */
.feature-cards { padding: 96px 0 64px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.feature-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature-card-text {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: auto;
}
.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  transition: color var(--transition);
  text-decoration: none;
  width: fit-content;
}
.feature-card-link::after { content: '→'; transition: transform var(--transition); }
.feature-card-link:hover { color: var(--signal-press); }
.feature-card-link:hover::after { transform: translateX(3px); }

/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.carousel-section { padding: 80px 0; overflow: hidden; }
.carousel-wrap { position: relative; overflow: hidden; max-width: 100%; }
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 calc(20% - 19.2px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.carousel-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.carousel-card-image {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.carousel-card-image img { width: 100%; height: 100%; object-fit: contain; }
.carousel-card-body {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.carousel-card-name,
.carousel-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.3;
}
.carousel-card-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 1px;
}
.carousel-card-stars svg { width: 14px; height: 14px; }
.carousel-card-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

/* Carousel Dots */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot {
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
  padding: 0;
}
.carousel-dot.active { width: 24px; background: var(--signal); }

/* ============================================================
   CATEGORY CIRCLES
   ============================================================ */
.categories-section { padding: 80px 0; background: var(--paper); }
.category-circles {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}
.category-circle-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.category-circle:hover .category-circle-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.category-circle-icon svg { width: 28px; height: 28px; }
.category-circle-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  max-width: 110px;
}

/* ============================================================
   BIG SALES SECTION — Ink dark band
   ============================================================ */
.big-sales {
  background: var(--ink);
  padding: 80px 0;
  color: var(--paper);
  overflow: hidden;
}
.big-sales-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.big-sales-info { display: flex; flex-direction: column; }
.big-sales-badge {
  display: inline-block;
  background: var(--signal);
  color: var(--paper);
  padding: 5px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  margin-bottom: 20px;
  width: fit-content;
}
.big-sales-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--paper);
  text-transform: none;
}
.big-sales-text {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 28px;
}
.big-sales-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
  text-decoration: none;
  width: fit-content;
}
.big-sales-link:hover { opacity: 0.88; }

/* Big Sales carousel overrides — on dark Ink */
.big-sales .feature-card-link { color: var(--paper); }
.big-sales .feature-card-link:hover { color: rgba(255,255,255,0.78); }
.big-sales .carousel-card {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.big-sales .carousel-card-name,
.big-sales .carousel-card-title { color: var(--paper); }
.big-sales .carousel-card-price,
.big-sales .price-sale { color: var(--paper); }
.big-sales .price-compare { color: rgba(255,255,255,0.55); }
.big-sales .carousel-card-stars { color: var(--paper); }
.big-sales .carousel-card-image { background: rgba(255,255,255,0.06); }
.big-sales .carousel-card-body { border-top-color: rgba(255,255,255,0.12); }
.big-sales .carousel-dot { background: rgba(255,255,255,0.28); }
.big-sales .carousel-dot.active { background: var(--paper); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 112px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text { text-align: left; }
.about-section h2 {
  font-size: 40px;
  margin-bottom: 24px;
  font-weight: 500;
}
.about-section p {
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 56ch;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.about-link:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-bar {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  flex-shrink: 0;
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}
.trust-text { font-size: 14px; color: var(--graphite); font-weight: 400; line-height: 1.5; }

/* ============================================================
   SECTION STYLING
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--cloud); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--graphite);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   PRODUCT CARD — the unit of the store
   Lead with the product on clean white. One clear action.
   ============================================================ */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--hairline);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
/* Badge: Ink for neutral tags (New); Signal reserved for trust (Top Rated) */
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-card-badge.trust,
.product-card-badge.top-rated,
.product-card-badge.signal { background: var(--signal); }
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.product-card-stars {
  display: flex;
  gap: 1px;
  color: var(--ink);
}
.product-card-stars svg { width: 13px; height: 13px; }
.product-card-review-count {
  font-size: 12px;
  color: var(--graphite);
}
.product-card-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.price-sale {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.price-compare {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-save {
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite);
}
/* Grid CTA = navigation ("View") → ghost Ink, not the buy action */
.product-card-cta {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  margin-top: auto;
}
.product-card-cta:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   CATEGORY ROW (legacy)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover { box-shadow: var(--shadow-sm); border-color: var(--ink); }
.category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 50%;
  color: var(--ink);
}
.category-icon svg { width: 24px; height: 24px; }
.category-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   REVIEWS SECTION — proof, not promises
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-stars { display: flex; gap: 2px; color: var(--ink); margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; }
.review-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 18px;
}
.review-author { display: flex; align-items: center; gap: 8px; }
.review-author-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.review-verified { font-size: 12px; color: var(--signal); font-weight: 600; }
.review-product { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { text-align: center; }
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { color: var(--graphite); margin-bottom: 28px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--signal); }
.newsletter-form button {
  font-family: var(--font-display);
  padding: 13px 26px;
  background: var(--signal);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--signal-press); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--signal); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; color: var(--graphite); }
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--graphite);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--signal); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--graphite);
}
.footer-payment { display: flex; gap: 12px; align-items: center; }
.footer-payment-icon {
  width: 40px;
  height: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--graphite);
}

/* ============================================================
   COLLECTION PAGE
   ============================================================ */
.collection-header {
  padding: 56px 0 32px;
  text-align: center;
  background: var(--paper);
}
.collection-header h1 { margin-bottom: 10px; }
.collection-header p { color: var(--graphite); font-size: 17px; }
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.sort-bar-count { font-size: 14px; color: var(--graphite); }
.sort-bar select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

/* ============================================================
   STORE PRODUCT PAGE
   ============================================================ */
.product-page { padding: 56px 0; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--nav-height) + 24px); }
.product-main-image {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-bottom: 12px;
}
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: 8px; }
.product-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 4px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb:hover,
.product-thumb.active { border-color: var(--signal); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding-top: 4px; }
.product-breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.product-breadcrumb a { color: var(--graphite); }
.product-breadcrumb a:hover { color: var(--signal); text-decoration: underline; }
.product-breadcrumb span { margin: 0 6px; }
.product-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.product-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.product-rating-stars { display: flex; gap: 2px; color: var(--ink); }
.product-rating-stars svg { width: 16px; height: 16px; }
.product-rating-text { font-size: 14px; color: var(--graphite); }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.product-price-sale {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product-price-compare {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-price-save {
  padding: 5px 10px;
  background: var(--signal-tint);
  color: var(--signal-press);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
}
.product-features {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink);
}
.product-features li svg {
  width: 18px;
  height: 18px;
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 3px;
}
.product-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-qty label { font-size: 14px; font-weight: 500; color: var(--ink); }
.product-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-qty-control button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: background var(--transition);
}
.product-qty-control button:hover { background: var(--surface); }
.product-qty-control .qty-value {
  width: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  line-height: 42px;
}
/* Primary buy action = Mivo gold */
.product-atc {
  display: block;
  width: 100%;
  padding: 17px;
  background: var(--signal);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: var(--radius);
  transition: background var(--transition);
  margin-bottom: 16px;
}
.product-atc:hover { background: var(--signal-press); }
.product-guarantees {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--graphite);
}
.product-guarantee svg { width: 16px; height: 16px; color: var(--ink); flex-shrink: 0; }

/* Related Products */
.related-products { padding: 80px 0; }
.related-products h2 { text-align: center; margin-bottom: 40px; }

/* ============================================================
   BUTTONS — one primary action per view.
   Signal = the buy action. Ink = navigation / confirm. Ghost = secondary.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
/* Primary = buy action → Signal */
.btn-primary { background: var(--signal); color: var(--paper); }
.btn-primary:hover { background: var(--signal-press); }
/* Ink = navigation / confirm */
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--primary-hover); }
/* Ghost = secondary */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   COUNTRY / MARKET SWITCHER
   ============================================================ */
.country-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: border-color var(--transition);
}
.country-trigger:hover { border-color: var(--ink); }
.country-trigger-flag {
  width: 20px; height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.country-trigger-code { letter-spacing: 0.02em; }
.country-trigger svg { width: 11px; height: 11px; color: var(--graphite); }

.country-link-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.country-link-mobile img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

.country-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(46,46,46,0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.country-modal.open { display: flex; }
.country-modal-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-height: 88vh;
  overflow: auto;
}
.country-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.country-modal-head h3 { font-size: 22px; font-weight: 500; }
.country-modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--graphite);
  transition: background var(--transition), color var(--transition);
}
.country-modal-close:hover { background: var(--surface); color: var(--ink); }
.country-modal-sub { color: var(--graphite); font-size: 14px; margin-bottom: 22px; }
.country-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.country-option:hover { border-color: var(--ink); background: var(--cloud); }
.country-option.is-current { border-color: var(--signal); background: var(--signal-tint); }
.country-option img { width: 24px; height: 17px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.country-option-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  line-height: 1.2;
}
.country-option-cur { font-size: 12px; color: var(--graphite); }
.country-option .chk { width: 16px; height: 16px; color: var(--signal); flex: 0 0 auto; }

/* First-visit geo suggestion banner */
.geo-banner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 20px;
  font-size: 14px;
  text-align: center;
}
.geo-banner.show { display: flex; }
.geo-banner-msg { display: inline-flex; align-items: center; gap: 8px; }
.geo-banner img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }
.geo-banner b { font-weight: 600; }
.geo-banner-actions { display: flex; gap: 8px; }
.geo-switch {
  font-family: var(--font-display);
  background: var(--signal);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.geo-switch:hover { background: var(--signal-press); }
.geo-dismiss {
  font-family: var(--font-display);
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}
.geo-dismiss:hover { color: var(--paper); border-color: var(--paper); }

/* Footer payment logos */
.footer-payment { flex-wrap: wrap; gap: 8px; }
.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 46px;
  padding: 0 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.pay-logo svg { height: 18px; width: auto; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  h1 { font-size: 34px; }
  .hero-content h1 { font-size: 42px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-card { flex: 0 0 calc(33.333% - 16px); }
  .category-circles { gap: 24px; }
  .about-section { padding: 80px 0; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero { min-height: 420px; }
  .hero-content { padding: 56px 0; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 17px; }

  .section { padding: 56px 0; }
  .carousel-section, .categories-section, .big-sales { padding: 56px 0; }
  .feature-cards { padding: 56px 0 32px; }
  .section-header { margin-bottom: 36px; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }

  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .product-title { font-size: 28px; }

  .feature-grid { grid-template-columns: 1fr; }
  .carousel-card { flex: 0 0 calc(46% - 12px); }

  .big-sales-inner { grid-template-columns: 1fr; gap: 32px; }
  .big-sales-title { font-size: 34px; }

  .about-section { padding: 56px 0; }
  .about-section h2 { font-size: 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-image { max-height: 320px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links a { color: var(--ink); }
  .nav-links a:hover { color: var(--signal); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-icons { display: none; }
  .country-link-mobile { display: flex; }
  .country-options { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .sort-bar { flex-direction: column; gap: 12px; align-items: flex-start; }

  .category-circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .category-circle-icon { width: 60px; height: 60px; }
  .category-circle-name { font-size: 12px; }
}

/* Mobile small */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-body { padding: 14px; }
  .product-card-name { font-size: 14px; }
  .price-sale { font-size: 15px; }
  .price-compare { font-size: 13px; }
  .product-card-cta { font-size: 12px; padding: 9px; }

  .carousel-card { flex: 0 0 calc(72% - 12px); }

  .category-circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .category-circle { gap: 8px; }
  .category-circle-icon { width: 52px; height: 52px; }
  .category-circle-icon svg { width: 20px; height: 20px; }
  .category-circle-name { font-size: 11px; max-width: 80px; }

  .hero-content h1 { font-size: 32px; }
  .big-sales-title { font-size: 30px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--graphite); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
