/* ==========================================
   LEMIRA - Maison d'Uniformes
   Design System & Styles
   ========================================== */

/* ---------- VARIABLES ---------- */
:root {
  /* Couleurs - Guide de marque Lemira */
  --navy: #252B50;
  --navy-light: #1a2a6c;
  --blue-medium: #4a6fa5;
  --blue-light: #c8daf5;
  --cream: #f5ece1;
  --cream-light: #faf5ef;
  --burgundy: #8b3a2a;
  --burgundy-hover: #a04433;
  --black: #111111;
  --white: #ffffff;

  /* Typographie */
  --font-body: 'Jost', 'Futura PT', 'Century Gothic', sans-serif;
  --font-heading: 'DM Serif Display', 'Ivy OraText', 'Georgia', serif;

  /* Tailles de texte - AGRANDIES vs maquette originale */
  --text-xs: 0.875rem;    /* 14px */
  --text-sm: 1rem;         /* 16px */
  --text-base: 1.125rem;   /* 18px - body text minimum */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-4xl: 3.25rem;     /* 52px */
  --text-5xl: 4rem;        /* 64px */
  --text-hero: 5rem;       /* 80px */

  /* Espacement */
  --section-padding: 7rem 0;
  --container-width: 1200px;
  --container-padding: 0 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-size: var(--text-4xl);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section-title--light {
  color: var(--cream);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background-color: var(--burgundy-hover);
  border-color: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 58, 42, 0.3);
}

.btn-secondary-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-secondary-light:hover {
  background-color: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-primary-light {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary-light:hover {
  background-color: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 58, 42, 0.3);
}

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

.btn-outline-dark:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: relative;
  z-index: 1000;
  background-color: var(--navy);
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
}

.nav-links {
  margin-left: auto;
}

.nav-logo {
  font-family: 'Segoe Script', 'Dancing Script', cursive;
  font-size: var(--text-2xl);
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-right: 2rem;
}

.nav-links a {
  color: var(--cream);
  font-size: var(--text-sm);
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  color: var(--cream);
  font-size: var(--text-sm);
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--cream);
  border-radius: 50px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background-color: var(--cream);
  color: var(--navy);
}

/* ---------- LANGUAGE SWITCH ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.5rem;
}

.lang-switch-link {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--cream);
  opacity: 0.6;
  transition: opacity 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-switch-link:hover {
  opacity: 1;
}

.lang-switch-link.lang-switch-active {
  opacity: 1;
  font-weight: 500;
}

.lang-switch-sep {
  color: var(--cream);
  opacity: 0.35;
  font-size: var(--text-xs);
  user-select: none;
}

/* App header variant (white bg, navy text) */
.lang-switch--app .lang-switch-link {
  color: var(--navy);
}

.lang-switch--app .lang-switch-sep {
  color: var(--navy);
}

/* ==========================================
   HERO SECTION - REFONTE COMPLÈTE
   Full screen, navy dominant, impact visuel
   ========================================== */
.hero {
  position: relative;
  height: auto;
  min-height: 500px;
  max-height: none;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background:
    linear-gradient(
      160deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    url('../lemira1.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Decorative background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74, 111, 165, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 218, 245, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem 2rem 2rem 4rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.75rem;
  max-width: 550px;
}

.hero-title em {
  font-style: italic;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--cream);
  max-width: 550px;
  margin: 0 0 3rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ==========================================
   PROMESSE
   ========================================== */
.promesse {
  padding: var(--section-padding);
  background-color: var(--cream-light);
}

.promesse .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.promesse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promesse-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.promesse-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promesse-card:hover img {
  transform: scale(1.05);
}

.promesse-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 68, 0.4);
  pointer-events: none;
  transition: background 0.4s ease;
}

.promesse-card:hover::after {
  background: rgba(10, 20, 68, 0.5);
}

.promesse-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
}

.promesse-card-overlay h3 {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: var(--text-xl);
}

/* ==========================================
   COLLECTION
   ========================================== */
.collection {
  background-color: var(--navy);
  padding: var(--section-padding);
}

.collection-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.collection-desc {
  color: var(--cream);
  font-size: var(--text-base);
  max-width: 700px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.collection-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-item:hover img {
  transform: scale(1.03);
}

.collection-item--large {
  grid-row: span 2;
}

.collection-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: rgba(10, 20, 68, 0.75);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.collection-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================
   PROBLÈME / SOLUTION
   ========================================== */
.probleme {
  padding: var(--section-padding);
  background-color: var(--white);
}

.probleme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.probleme-image {
  border-radius: 12px;
  overflow: hidden;
}

.probleme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.probleme-intro {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.probleme-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.probleme-list li {
  font-size: var(--text-base);
  line-height: 1.6;
  color: #333;
  padding-left: 1.25rem;
  position: relative;
}

.probleme-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--burgundy);
}

.probleme-closing {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  font-style: italic;
  margin-top: 2rem;
}

/* ==========================================
   STATS
   ========================================== */
.stats {
  padding: var(--section-padding);
  background-color: var(--navy);
  text-align: center;
}

.stats .section-title {
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background-color: var(--cream-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--text-base);
  color: var(--navy);
  opacity: 0.7;
}

.logo-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.5;
}

.logo-placeholder {
  color: var(--cream);
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border: 1px dashed rgba(245, 236, 225, 0.3);
  border-radius: 8px;
}

/* ==========================================
   TÉMOIGNAGES
   ========================================== */
.temoignages {
  padding: var(--section-padding);
  background-color: var(--cream-light);
}

.temoignages .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.temoignage-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(10, 20, 68, 0.08);
}

.stars {
  color: var(--navy);
  font-size: var(--text-lg);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.temoignage-card p {
  font-size: var(--text-base);
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  flex-shrink: 0;
}

.temoignage-author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
}

.temoignage-author span {
  font-size: var(--text-xs);
  color: #888;
}

/* ==========================================
   HISTOIRE
   ========================================== */
.histoire {
  padding: var(--section-padding);
  background-color: var(--white);
}

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.histoire-content p {
  font-size: var(--text-base);
  color: #444;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.histoire-highlight {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  font-style: italic;
  margin: 1.5rem 0 !important;
}

.histoire-image {
  border-radius: 12px;
  overflow: hidden;
}

.histoire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  padding: var(--section-padding);
  background-color: var(--cream-light);
}

.faq .section-title {
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  font-size: var(--text-base);
  color: #666;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   CONTACT CTA
   ========================================== */
.faq-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

.contact-cta {
  padding: 5rem 0;
  background-color: var(--cream);
  text-align: center;
}

.contact-cta .section-title {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-cta p {
  font-size: var(--text-base);
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-cta .btn-outline-dark {
  color: var(--navy);
  border-color: var(--navy);
}

.contact-cta .btn-outline-dark:hover {
  background-color: var(--navy);
  color: var(--cream);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--navy);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Segoe Script', 'Dancing Script', cursive;
  font-size: var(--text-xl);
  color: var(--cream);
  display: block;
  margin-bottom: 2rem;
}


.footer-brand strong {
  display: block;
  color: var(--cream);
  font-size: var(--text-sm);
  margin-bottom: 0.25rem;
}

.footer-brand p,
.footer-address p,
.footer-contact p {
  color: rgba(245, 236, 225, 0.65);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer-address {
  margin-bottom: 1.5rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--cream);
  opacity: 0.6;
  font-size: var(--text-sm);
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(245, 236, 225, 0.7);
  font-size: var(--text-sm);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-hours strong {
  display: block;
  color: var(--cream);
  font-size: var(--text-sm);
  margin-bottom: 0.75rem;
}

.footer-hours p {
  color: rgba(245, 236, 225, 0.65);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 236, 225, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(245, 236, 225, 0.5);
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(245, 236, 225, 0.5);
  font-size: var(--text-xs);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--cream);
}

/* ==========================================
   NAV ACTIVE STATE
   ========================================== */
.nav-active {
  opacity: 1 !important;
  border-bottom: 1.5px solid var(--cream);
  padding-bottom: 2px;
}

/* ==========================================
   PAGE HERO (sous-pages) — Fond cream/blanc
   ========================================== */
.page-hero {
  position: relative;
  padding: 5rem 0;
  background-color: var(--cream-light);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(74, 111, 165, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero--parents,
.page-hero--ecoles,
.page-hero--collections {
  background-color: var(--cream-light);
}

.page-hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: #555;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ---------- Hero Grid (texte + image) ---------- */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.page-hero-content {
  /* Le contenu texte hérite déjà les styles */
}

.page-hero-image {
  border-radius: 16px;
  overflow: hidden;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 16px;
}

/* ==========================================
   QUICK LINKS (navigation rapide dans hero)
   ========================================== */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.quick-links a {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--navy);
  background-color: var(--white);
  border: 1px solid rgba(10, 20, 68, 0.12);
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.quick-links a:hover {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
  transform: translateY(-1px);
}

/* ==========================================
   CONTENT SECTIONS (sous-pages)
   ========================================== */
.content-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.content-section--alt {
  background-color: var(--cream-light);
}

.content-section--navy {
  background-color: var(--navy);
  padding: var(--section-padding);
}

.content-section-header {
  max-width: 750px;
  margin-bottom: 3rem;
}

.content-section-intro {
  font-size: var(--text-lg);
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-section-note {
  font-size: var(--text-base);
  color: #777;
  font-style: italic;
  line-height: 1.6;
}

.content-note {
  font-size: var(--text-sm);
  color: #888;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 20, 68, 0.08);
}

/* ==========================================
   INFO CARDS (Parents - Commandes)
   ========================================== */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-card {
  background-color: var(--cream-light);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(10, 20, 68, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 20, 68, 0.08);
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.7;
}

/* ==========================================
   RECEPTION OPTIONS (Parents)
   ========================================== */
.reception-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.reception-option {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(10, 20, 68, 0.06);
}

.reception-option-tag {
  display: inline-block;
  background-color: var(--navy);
  color: var(--cream);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.reception-option h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.reception-option p {
  font-size: var(--text-sm);
  color: #666;
  line-height: 1.6;
}

/* ==========================================
   TWO-COL LAYOUT (Parents - Paiement, Mesures)
   ========================================== */
.two-col-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.two-col-card {
  background-color: var(--cream-light);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid rgba(10, 20, 68, 0.06);
}

.two-col-card--dark {
  background-color: rgba(245, 236, 225, 0.08);
  border-color: rgba(245, 236, 225, 0.1);
}

.two-col-card.two-col-card--dark h3 {
  color: var(--cream);
}

.two-col-card.two-col-card--dark p {
  color: rgba(245, 236, 225, 0.85);
}

.two-col-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.two-col-note {
  font-size: var(--text-sm);
  color: #888;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 20, 68, 0.08);
  line-height: 1.6;
}

/* ==========================================
   LISTS (Parents)
   ========================================== */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  font-size: var(--text-base);
  color: #444;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-weight: 600;
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.dash-list li {
  font-size: var(--text-base);
  color: #555;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.dash-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--burgundy);
}

.measure-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.measure-list li {
  font-size: var(--text-base);
  color: #444;
  line-height: 1.6;
}

.measure-list li strong {
  color: var(--navy);
}

/* ==========================================
   POLICY CARDS (Parents - Échanges)
   ========================================== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.policy-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(10, 20, 68, 0.06);
}

.policy-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.policy-card p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.7;
}

.policy-card--highlight {
  background-color: var(--navy);
}

.policy-card--highlight h3 {
  color: var(--cream);
}

.policy-card--highlight p {
  color: rgba(245, 236, 225, 0.8);
}

.policy-card--highlight strong {
  color: var(--cream);
}

/* ==========================================
   CARE TABLE (Parents - Entretien)
   ========================================== */
.care-table-wrap {
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

.care-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.care-table thead {
  background-color: var(--navy);
}

.care-table th {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 1rem 1.5rem;
  text-align: left;
}

.care-table td {
  padding: 1rem 1.5rem;
  font-size: var(--text-sm);
  color: #444;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
}

.care-table tbody tr {
  background-color: var(--white);
  transition: background-color 0.2s;
}

.care-table tbody tr:hover {
  background-color: var(--cream-light);
}

.care-table tbody tr:last-child td {
  border-bottom: none;
}

.care-tips {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(10, 20, 68, 0.06);
}

.care-tips h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* ==========================================
   CONTACT INFO INLINE
   ========================================== */
.contact-info-inline {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-info-inline p {
  font-size: var(--text-base);
  color: #444;
}

/* ==========================================
   ECOLES - Intro Grid
   ========================================== */
.ecoles-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ecoles-intro-content p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ecoles-intro-image {
  border-radius: 12px;
  overflow: hidden;
}

.ecoles-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ==========================================
   ECOLES - Avantages Grid
   ========================================== */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.avantage-card {
  background-color: var(--cream-light);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(10, 20, 68, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 20, 68, 0.08);
}

.avantage-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.avantage-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.avantage-card p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.6;
}

/* ==========================================
   ECOLES - Raisons uniformes
   ========================================== */
.uniforme-raisons-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.raisons-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.raisons-list li {
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.raisons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background-color: var(--burgundy);
  border-radius: 50%;
}

.raisons-list li strong {
  display: block;
  font-size: var(--text-base);
  color: var(--navy);
}

.raisons-list li span {
  font-size: var(--text-sm);
  color: #666;
}

.uniforme-raisons-image {
  border-radius: 12px;
  overflow: hidden;
}

.uniforme-raisons-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

/* ==========================================
   ECOLES - Partenariat CTA
   ========================================== */
.partenariat-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.partenariat-cta p {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.partenariat-contact {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.partenariat-contact p {
  font-size: var(--text-base);
  color: #444;
}

/* ==========================================
   COLLECTIONS - Category sections
   ========================================== */
.collection-category {
  padding: var(--section-padding);
  background-color: var(--white);
}

.collection-category--alt {
  background-color: var(--cream-light);
}

.collection-category-desc {
  font-size: var(--text-lg);
  color: #555;
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ==========================================
   COLLECTIONS - Gallery Grid
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
}

.gallery-grid--small {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 68, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: rgba(10, 20, 68, 0.75);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  z-index: 1;
}

/* ==========================================
   COLLECTIONS - CTA Section
   ========================================== */
.collection-cta-section {
  padding: 5rem 0;
  background-color: var(--navy);
  text-align: center;
}

.collection-cta-section p {
  font-size: var(--text-lg);
  color: rgba(245, 236, 225, 0.75);
  margin-bottom: 2rem;
}

.collection-cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .page-hero-title {
    font-size: var(--text-3xl);
  }

  .page-hero-grid {
    gap: 2rem;
  }

  .avantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    margin-right: 0.75rem;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .quick-links {
    gap: 0.4rem;
  }

  .quick-links a {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .promesse-grid,
  .stats-grid,
  .temoignages-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-item--large {
    grid-row: span 1;
  }

  .probleme-grid,
  .histoire-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Sub-pages responsive */
  .page-hero {
    padding: 3rem 0;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero-image img {
    aspect-ratio: 1/1;
  }

  .page-hero-title {
    font-size: var(--text-2xl);
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .reception-options {
    grid-template-columns: 1fr;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .ecoles-intro-grid,
  .uniforme-raisons-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .avantages-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .gallery-grid--small {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .contact-info-inline,
  .partenariat-contact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .collection-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .care-table th,
  .care-table td {
    padding: 0.75rem 1rem;
    font-size: var(--text-xs);
  }
}

/* ==========================================
   ARTICLES / BLOG
   ========================================== */

/* ---------- Articles hero ---------- */
.page-hero--articles {
  text-align: center;
}

.page-hero--articles .page-hero-tagline,
.page-hero--articles .page-hero-title,
.page-hero--articles .page-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Articles filters ---------- */
.articles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.articles-filter {
  background: none;
  border: 1px solid rgba(10, 20, 68, 0.15);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.articles-filter:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.articles-filter--active {
  background-color: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

/* ---------- Articles grid ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- Article card ---------- */
.article-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 68, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(10, 20, 68, 0.1);
}

.article-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-card-excerpt {
  font-size: var(--text-sm);
  color: #777;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.article-card-meta {
  font-size: var(--text-xs);
  color: #aaa;
}

/* ---------- Article page ---------- */
.article-hero {
  background-color: var(--cream-light);
  padding: 2rem 0 1rem;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: #999;
}

.article-breadcrumb a {
  color: var(--burgundy);
  text-decoration: none;
  transition: opacity 0.2s;
}

.article-breadcrumb a:hover {
  opacity: 0.7;
}

.article-breadcrumb span:not(:last-child) {
  color: #ccc;
}

.article-content {
  padding: 3rem 0 5rem;
}

.article-content-inner {
  max-width: 780px;
  margin: 0 auto;
}

.article-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--navy);
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: #999;
  margin-bottom: 2.5rem;
}

.article-featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  font-size: var(--text-base);
  color: #444;
  line-height: 1.85;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-body ul li {
  line-height: 1.7;
}

/* ---------- Related articles ---------- */
.related-articles {
  background-color: var(--cream-light);
  padding: 5rem 0;
}

/* ---------- Articles responsive ---------- */
@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: var(--text-2xl);
  }
}

/* ==========================================
   APP PAGES — Login, Dashboard, Shop, Cart
   Global layout for authenticated pages
   ========================================== */

/* ---------- APP NAV (top bar + header) ---------- */
.app-top-bar {
  background-color: var(--navy);
  padding: 0.5rem 0;
  font-size: var(--text-xs);
}

.app-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-top-bar-links {
  display: flex;
  gap: 1.5rem;
}

.app-top-bar-links a {
  color: rgba(245, 236, 225, 0.65);
  font-size: var(--text-xs);
  transition: color 0.3s;
}

.app-top-bar-links a:hover {
  color: var(--cream);
}

.app-top-bar .lang-switch {
  color: rgba(245, 236, 225, 0.65);
  font-size: var(--text-xs);
}

.app-header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(10, 20, 68, 0.08);
  padding: 0.75rem 0;
  position: relative;
  z-index: 100;
}

.app-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-logo {
  font-family: 'Segoe Script', 'Dancing Script', cursive;
  font-size: var(--text-2xl);
  color: var(--navy);
}

.app-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.app-nav a {
  font-size: var(--text-sm);
  color: var(--navy);
  font-weight: 400;
  opacity: 0.7;
  transition: all 0.3s;
}

.app-nav a:hover,
.app-nav a.app-nav-active {
  opacity: 1;
  color: var(--burgundy);
}

.app-nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.app-cart-icon {
  position: relative;
  font-size: var(--text-lg);
  color: var(--navy);
}

.app-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--burgundy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--navy);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(10, 20, 68, 0.15);
  border-radius: 50px;
  transition: all 0.3s;
}

.app-user-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.app-logout-btn {
  font-size: var(--text-xs);
  color: #888;
  padding: 0.4rem 0.75rem;
  transition: color 0.3s;
}
.app-logout-btn:hover {
  color: var(--burgundy);
}

/* ---------- LOGIN PAGE ---------- */
.login-section {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--cream-light);
}

.login-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2.25rem 3rem;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 4px 40px rgba(10, 20, 68, 0.08);
}

.login-card h1 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-card .login-subtitle {
  text-align: center;
  font-size: var(--text-sm);
  color: #666;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.login-card .login-note {
  text-align: center;
  font-size: var(--text-xs);
  color: #999;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.login-card .form-group {
  margin-bottom: 0.9rem;
}

.login-card .form-control {
  padding: 0.7rem 1rem;
}

.login-card .form-check {
  margin-bottom: 0.75rem;
}

.login-card .btn-form {
  padding: 0.75rem;
}

.login-card .form-links {
  margin-top: 1rem;
}

/* ---------- FORMS (shared) ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--black);
  background-color: var(--cream-light);
  border: 1px solid rgba(10, 20, 68, 0.1);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-control:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(139, 58, 42, 0.1);
  background-color: var(--white);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a1444' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--burgundy);
}

.form-check label {
  font-size: var(--text-sm);
  color: #666;
}

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

.btn-form {
  display: block;
  width: 100%;
  padding: 0.95rem;
  background-color: var(--burgundy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-form:hover {
  background-color: var(--burgundy-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 58, 42, 0.3);
}

.btn-form--outline {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-form--outline:hover {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: none;
}

.btn-form--sm {
  padding: 0.6rem 1.5rem;
  width: auto;
  display: inline-block;
  font-size: var(--text-xs);
}

.form-links {
  text-align: center;
  margin-top: 1.5rem;
}

.form-links a {
  font-size: var(--text-sm);
  color: var(--burgundy);
  transition: color 0.3s;
}

.form-links a:hover {
  color: var(--burgundy-hover);
}

.form-links p {
  font-size: var(--text-sm);
  color: #888;
  margin-top: 0.75rem;
}

/* ---------- DASHBOARD LAYOUT ---------- */
.app-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

/* ---------- SIDEBAR ---------- */
.app-sidebar {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 68, 0.06);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.sidebar-profile {
  background-color: var(--navy);
  padding: 2rem;
  text-align: center;
  color: var(--cream);
}

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(245, 236, 225, 0.15);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cream);
  border: 2px solid rgba(245, 236, 225, 0.25);
}

.sidebar-profile h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.sidebar-profile span {
  font-size: var(--text-xs);
  color: rgba(245, 236, 225, 0.6);
}

.sidebar-upc {
  margin-top: 0.75rem;
  font-family: 'Libre Barcode 128', monospace;
  font-size: 2.5rem;
  color: var(--cream);
  letter-spacing: 0;
  line-height: 1;
  display: block;
}

.sidebar-upc-text {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(245, 236, 225, 0.5);
  margin-top: 0.2rem;
}

.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-nav-item {
  display: block;
}

.sidebar-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-size: var(--text-sm);
  color: #555;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.sidebar-nav-item a:hover {
  background-color: var(--cream-light);
  color: var(--navy);
}

.sidebar-nav-item a.active {
  background-color: var(--cream-light);
  color: var(--burgundy);
  border-left-color: var(--burgundy);
  font-weight: 600;
}

.sidebar-nav-icon {
  font-size: 1.1rem;
  opacity: 0.7;
  width: 20px;
  text-align: center;
}

.sidebar-nav-badge {
  margin-left: auto;
  background-color: var(--burgundy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(10, 20, 68, 0.06);
}

.sidebar-footer a {
  font-size: var(--text-xs);
  color: #999;
  transition: color 0.3s;
}

.sidebar-footer a:hover {
  color: var(--burgundy);
}

/* ---------- APP MAIN CONTENT ---------- */
.app-main {
  min-width: 0;
}

.app-page-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.app-page-subtitle {
  font-size: var(--text-sm);
  color: #888;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

/* ---------- DASHBOARD CARDS ---------- */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stats--2 {
  grid-template-columns: repeat(2, 1fr);
}

.dash-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--cream-light);
  border: 1px solid rgba(10, 20, 68, 0.08);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 20, 68, 0.1);
  border-color: var(--burgundy);
}

.dash-stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.dash-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  display: block;
  margin-bottom: 0.25rem;
}

.dash-stat-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
}

/* ---------- APP CARDS (generic) ---------- */
.app-card {
  background-color: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(10, 20, 68, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.app-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.app-card-header h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
}

.app-card-header--highlight {
  background-color: var(--burgundy);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
}

.app-card-header--highlight h3 {
  color: #fff;
}

.app-card-header--highlight .app-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.app-card-subtitle {
  width: 100%;
  font-size: var(--text-xs);
  color: #999;
  margin-top: 0.25rem;
}

.app-card-body {
  padding: 1.5rem;
}

/* ---------- CHILDREN / STUDENT CARDS ---------- */
.child-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.child-card {
  background-color: var(--white);
  border: 1px solid rgba(10, 20, 68, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.child-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 20, 68, 0.08);
  border-color: var(--burgundy);
}

.child-card-info {
  margin-bottom: 0;
}

.child-card-label {
  font-size: var(--text-xs);
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.child-card-value {
  font-size: var(--text-sm);
  color: var(--navy);
  font-weight: 500;
  display: block;
}

.child-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
  align-items: center;
}

/* Dots menu */
.child-card-menu {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.child-card-dots {
  background: none;
  border: none;
  font-size: var(--text-xl);
  color: #999;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.child-card-dots:hover {
  background-color: rgba(10, 20, 68, 0.06);
  color: var(--navy);
}

.child-card-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border: 1px solid rgba(10, 20, 68, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(10, 20, 68, 0.12);
  min-width: 140px;
  z-index: 10;
  padding: 0.35rem 0;
}

.child-card-menu:hover .child-card-dropdown,
.child-card-dropdown:hover {
  display: block;
}

.child-card-dropdown a,
.child-card-dropdown button {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  color: #666;
  transition: background 0.2s;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.child-card-dropdown a:hover,
.child-card-dropdown button:hover {
  background-color: var(--cream-light);
  color: var(--burgundy);
}

.add-child-card {
  border: 2px dashed rgba(10, 20, 68, 0.15);
  background-color: var(--cream-light);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: auto;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.add-child-card span {
  font-size: var(--text-2xl);
  color: var(--burgundy);
  line-height: 1;
}

.add-child-card p {
  font-size: var(--text-sm);
  color: var(--navy);
  font-weight: 500;
}

.add-child-card:hover {
  border-color: var(--burgundy);
  background-color: rgba(139, 58, 42, 0.04);
}

.add-child-card span {
  font-size: 2rem;
  color: var(--navy);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.add-child-card p {
  font-size: var(--text-sm);
  color: #888;
}

/* ---------- ADDRESS CARDS ---------- */
.address-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 1rem;
}

.address-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.address-card {
  background-color: var(--white);
  border: 1px solid rgba(10, 20, 68, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.address-card--default {
  border-color: var(--burgundy);
  border-width: 2px;
}

.address-default-badge {
  display: inline-block;
  background-color: var(--burgundy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address-card p {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.7;
}

.address-card strong {
  color: var(--navy);
}

.address-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 20, 68, 0.06);
}

.address-card-actions a {
  font-size: var(--text-xs);
  color: var(--burgundy);
  font-weight: 500;
  transition: color 0.3s;
}

.address-card-actions a:hover {
  color: var(--burgundy-hover);
}

/* ---------- ORDERS TABLE ---------- */
.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table thead {
  background-color: var(--cream-light);
}

.orders-table th {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 1.25rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.orders-table td {
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  color: #555;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
  vertical-align: middle;
}

.orders-table tbody tr:hover {
  background-color: var(--cream-light);
}

.order-status {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.order-status--pending {
  background-color: #fff3cd;
  color: #856404;
}

.order-status--confirmed {
  background-color: #d4edda;
  color: #155724;
}

.order-status--shipped {
  background-color: #cce5ff;
  color: #004085;
}

.order-status--delivered {
  background-color: #d4edda;
  color: #155724;
}

.orders-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.orders-empty span {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.orders-empty p {
  font-size: var(--text-base);
  color: #999;
}

/* ---------- ALERT / NOTICE ---------- */
.app-alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.app-alert--warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.app-alert--info {
  background-color: var(--cream-light);
  color: var(--navy);
  border: 1px solid rgba(10, 20, 68, 0.1);
}

/* ---------- SHOP / BOUTIQUE ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.shop-banner {
  background-color: var(--cream-light);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
}

.shop-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-banner-info {
  font-size: var(--text-sm);
  color: var(--navy);
}

.shop-banner-info strong {
  font-weight: 600;
}

/* Shop Sidebar / Filters */
.shop-sidebar {
  background-color: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(10, 20, 68, 0.06);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.shop-filter-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: 1rem;
}

.shop-filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
}

.shop-filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-filter-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
}

/* Shop Sort Bar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
}

.shop-results-count {
  font-size: var(--text-sm);
  color: #888;
}

.shop-sort select {
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  border: 1px solid rgba(10, 20, 68, 0.12);
  border-radius: 8px;
  background-color: var(--white);
  color: var(--navy);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a1444' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(10, 20, 68, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 20, 68, 0.1);
}

.product-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--cream-light);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1rem;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-card-school {
  font-size: var(--text-xs);
  color: #999;
  margin-bottom: 0.5rem;
}

.product-card-price {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--burgundy);
}

/* ---------- PRODUCT DETAIL ---------- */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 20px;
}

.product-gallery-main {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background-color: var(--cream-light);
  margin-bottom: 1rem;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--burgundy);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding-top: 0.5rem;
}

.product-info-school {
  font-size: var(--text-xs);
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.product-info h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-info-style {
  font-size: var(--text-sm);
  color: #888;
  margin-bottom: 1.5rem;
}

.product-price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 2rem;
}

.product-variant-group {
  margin-bottom: 1.5rem;
}

.product-variant-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  display: block;
}

.product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-option {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(10, 20, 68, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}

.variant-option:hover {
  border-color: var(--navy);
}

.variant-option.selected {
  border-color: var(--burgundy);
  background-color: rgba(139, 58, 42, 0.06);
  color: var(--burgundy);
  font-weight: 600;
}

/* Color swatches */
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(10, 20, 68, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.color-swatch:hover,
.color-swatch.selected {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(139, 58, 42, 0.2);
}

/* Quantity selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(10, 20, 68, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: var(--text-lg);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: var(--cream-light);
}

.quantity-input {
  width: 50px;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-left: 1px solid rgba(10, 20, 68, 0.1);
  border-right: 1px solid rgba(10, 20, 68, 0.1);
  color: var(--navy);
  outline: none;
}

.product-actions {
  display: flex;
  gap: 1rem;
}

.product-stock {
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}

.product-stock--in {
  color: #28a745;
}

.product-stock--out {
  color: #dc3545;
}

/* ---------- CART PAGE ---------- */
.cart-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  position: relative;
}

.checkout-step::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: rgba(10, 20, 68, 0.1);
}

.checkout-step:last-child::after {
  display: none;
}

.checkout-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cream-light);
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(10, 20, 68, 0.1);
  transition: all 0.3s;
}

.checkout-step.active .checkout-step-circle {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.checkout-step.completed .checkout-step-circle {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.checkout-step-label {
  font-size: var(--text-xs);
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}

.checkout-step.active .checkout-step-label {
  color: var(--burgundy);
  font-weight: 600;
}

.checkout-step.completed .checkout-step-label {
  color: var(--navy);
}

/* Cart table */
.cart-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead {
  background-color: var(--cream-light);
}

.cart-table th {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 1.25rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-table td {
  padding: 1.25rem;
  font-size: var(--text-sm);
  color: #555;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--cream-light);
}

.cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-name {
  font-weight: 500;
  color: var(--navy);
}

.cart-product-variant {
  font-size: var(--text-xs);
  color: #999;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: color 0.3s;
  padding: 0.25rem;
}

.cart-remove-btn:hover {
  color: #dc3545;
}

/* Cart summary */
.cart-summary {
  display: flex;
  justify-content: flex-end;
}

.cart-summary-box {
  background-color: var(--cream-light);
  border-radius: 14px;
  padding: 2rem;
  min-width: 320px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: var(--text-sm);
  color: #555;
}

.cart-summary-row--total {
  border-top: 2px solid var(--navy);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 20, 68, 0.06);
}

/* ---------- CHECKOUT FORM COMPONENTS ---------- */
.checkout-form-card {
  background-color: var(--white);
  border: 1px solid rgba(10, 20, 68, 0.08);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.checkout-form-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.checkout-form-subtitle {
  font-size: var(--text-sm);
  color: #666;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

/* Saved address radio */
.checkout-address-saved {
  margin-bottom: 1.5rem;
}

.checkout-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid rgba(10, 20, 68, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.checkout-radio-card:hover {
  border-color: var(--burgundy);
}

.checkout-radio-card input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--burgundy);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkout-radio-content {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.6;
}

.checkout-radio-content strong {
  color: var(--navy);
}

.checkout-address-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.checkout-address-divider::before,
.checkout-address-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(10, 20, 68, 0.08);
}

.checkout-address-divider span {
  font-size: var(--text-xs);
  color: #999;
  white-space: nowrap;
}

/* Shipping options */
.checkout-shipping-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-shipping-option {
  cursor: pointer;
}

.checkout-shipping-option input[type="radio"] {
  display: none;
}

.checkout-shipping-option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid rgba(10, 20, 68, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s, background-color 0.3s;
}

.checkout-shipping-option:hover .checkout-shipping-option-content {
  border-color: var(--burgundy);
}

.checkout-shipping-option input[type="radio"]:checked + .checkout-shipping-option-content {
  border-color: var(--burgundy);
  background-color: rgba(139, 58, 42, 0.03);
}

.checkout-shipping-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(10, 20, 68, 0.15);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s;
}

.checkout-shipping-option input[type="radio"]:checked + .checkout-shipping-option-content .checkout-shipping-option-radio {
  border-color: var(--burgundy);
}

.checkout-shipping-option input[type="radio"]:checked + .checkout-shipping-option-content .checkout-shipping-option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--burgundy);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkout-shipping-option-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.checkout-shipping-option-details strong {
  color: var(--navy);
  font-size: var(--text-sm);
}

.checkout-shipping-option-desc {
  font-size: var(--text-xs);
  color: #888;
  line-height: 1.4;
}

.checkout-shipping-option-price {
  font-weight: 600;
  color: var(--navy);
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* Checkout summary items */
.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10, 20, 68, 0.06);
}

.checkout-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-summary-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--cream-light);
}

.checkout-summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.checkout-summary-item-name {
  font-weight: 500;
  color: var(--navy);
  font-size: var(--text-sm);
}

.checkout-summary-item-variant {
  font-size: var(--text-xs);
  color: #999;
}

.checkout-summary-item-price {
  font-weight: 600;
  color: var(--navy);
  font-size: var(--text-sm);
}

/* Checkout recap */
.checkout-recap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.checkout-recap-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checkout-recap-label {
  font-size: var(--text-xs);
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-recap-value {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.6;
}

.checkout-recap-value strong,
.checkout-recap-value b {
  color: var(--navy);
}

/* Payment fields */
.checkout-payment-fields {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 20, 68, 0.06);
}

/* Confirmation page */
.checkout-confirmation {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.checkout-confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #22c55e;
  color: var(--white);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.checkout-confirmation-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.checkout-confirmation-text {
  font-size: var(--text-base);
  color: #666;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.checkout-confirmation-order {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--cream-light);
  padding: 1rem 2rem;
  border-radius: 12px;
}

.checkout-confirmation-label {
  font-size: var(--text-xs);
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-confirmation-number {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  padding: 4rem 0;
  background-color: var(--cream-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-map {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  background-color: rgba(10, 20, 68, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(10, 20, 68, 0.06);
}

.contact-form-card h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ---------- APP FOOTER (simplified) ---------- */
.app-footer {
  background-color: var(--navy);
  padding: 2rem 0;
  text-align: center;
}

.app-footer p {
  color: rgba(245, 236, 225, 0.5);
  font-size: var(--text-xs);
}

.app-footer a {
  color: rgba(245, 236, 225, 0.5);
  font-size: var(--text-xs);
  margin: 0 0.75rem;
  transition: color 0.3s;
}

.app-footer a:hover {
  color: var(--cream);
}

/* ---------- RESPONSIVE: APP PAGES ---------- */
@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: 240px 1fr;
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
  }

  .product-detail-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .app-top-bar {
    display: none;
  }

  .app-nav {
    display: none;
  }

  .app-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .app-sidebar {
    position: static;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .shop-sidebar {
    position: static;
  }

  .product-detail {
    padding: 1rem;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .cart-section {
    padding: 1rem;
  }

  .checkout-steps {
    overflow-x: auto;
    padding: 0;
  }

  .checkout-step-label {
    display: none;
  }

  .cart-summary {
    justify-content: stretch;
  }

  .cart-summary-box {
    width: 100%;
    min-width: auto;
  }

  .cart-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .checkout-form-card {
    padding: 1.25rem;
  }

  .checkout-recap-grid {
    grid-template-columns: 1fr;
  }

  .checkout-confirmation-title {
    font-size: var(--text-2xl);
  }

  .checkout-shipping-option-content {
    flex-wrap: wrap;
  }

  .checkout-shipping-option-price {
    margin-left: auto;
  }

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

  .contact-map {
    min-height: 250px;
  }

  .product-actions {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .child-card {
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
  }

  .child-card-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .address-cards {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 2rem 1.5rem;
  }
}
