/* =============================================
   AMERICAN RACCOON — DESIGN SYSTEM v2.0
   Fraunces + DM Sans | Warm editorial palette
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- TOKENS ---- */
:root {
  /* Logo-matched palette — navy blue + flag red */
  --cream:       #F0F4FA;
  --cream-dark:  #DDE8F4;
  --white:       #FFFFFF;
  --ink:         #0D1628;
  --ink-60:      #4A6080;
  --ink-30:      #8AA0BC;
  --ink-10:      rgba(13,22,40,0.10);
  --green:       #2B4A8A;
  --green-light: #D6E6F5;
  --green-dark:  #1A2E54;
  --amber:       #C0282C;
  --amber-light: #F5D5D6;
  --red:         #C0282C;
  /* Extended logo palette */
  --navy:        #1E3560;
  --navy-mid:    #2B4A8A;
  --steel:       #5A7AB5;
  --ice:         #9DB8D8;
  --ice-light:   #D6E6F5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(13,22,40,0.08);
  --shadow-md:  0 4px 16px rgba(13,22,40,0.10);
  --shadow-lg:  0 12px 40px rgba(13,22,40,0.12);

  --nav-h: 72px;
  --max-w: 1240px;
  --gap:   clamp(24px, 4vw, 56px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 17px; font-weight: 600; font-family: var(--font-display); color: var(--ink); }
p  { color: var(--ink-60); line-height: 1.75; font-size: 16px; }
.text-italic { font-style: italic; color: var(--green); }
.lead { font-size: 18px; line-height: 1.65; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- CAUSE RIBBON ---- */
.cause-ribbon {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1px;
  position: relative;
  z-index: 200;
}
.cause-ribbon a { color: #9DB8D8; text-decoration: underline; }
.cause-ribbon .paw { display: inline-block; margin: 0 6px; opacity: 0.7; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-10);
  height: 104px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: none; /* hidden — logo image is the brand */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-60);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--ink-10); }
.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  position: relative;
}
.nav-cart:hover { background: var(--ink-10); }
.cart-count {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85 !important; background: var(--navy-mid) !important; }

.nav-hamburger { display: none; background: none; padding: 8px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; margin: 4px 0;
  transition: 0.3s;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink-30);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-60); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink-30); }

/* ---- PAGE HEADER ---- */
.page-header {
  background: var(--navy);
  padding: 48px 0;
  margin-bottom: 0;
}
.page-header h1 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 8px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--navy); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: #fff; color: var(--ink); }
.btn-amber { background: var(--red); color: #fff; }
.btn-amber:hover { background: #a02020; color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 20px 24px; }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- TAGS / BADGES ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 20px;
}
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-amber { background: var(--amber-light); color: var(--amber); }
.tag-ink { background: var(--ink-10); color: var(--ink-60); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero */
.hero {
  background: var(--ink);
  min-height: calc(100vh - var(--nav-h) - 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(60,110,79,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero-left {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: #7ECBA1; }
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

/* Search box in hero */
.hero-search {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative;
}
.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 6px 0;
}
.hero-search input::placeholder { color: var(--ink-30); }
.hero-search button {
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  transition: background 0.2s;
  white-space: nowrap;
}
.hero-search button:hover { background: #333; }

/* Autocomplete dropdown */
#suggestion-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-10);
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
#suggestion-box a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-10);
  transition: background 0.15s;
}
#suggestion-box a:last-child { border-bottom: none; }
#suggestion-box a:hover { background: var(--cream); }
#suggestion-box a .school-city { color: var(--ink-60); font-size: 12px; }
#suggestion-box .no-results { padding: 14px 16px; color: var(--ink-60); font-size: 14px; }

.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-meta-item { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-meta-item strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* Hero right — floating stats */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 32px;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.35;
  width: 100%;
  height: 100%;
}
.hero-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #fff;
}
.hero-stat-card .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.hero-stat-card .label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.hero-stat-card.green-card { background: var(--green); border-color: transparent; }
.hero-stat-card.green-card .num { color: var(--ice-light); }

/* Value strip */
.value-strip {
  background: var(--white);
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.value-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-right: 1px solid var(--ink-10);
}
.value-item:last-child { border-right: none; }
.value-icon { font-size: 20px; flex-shrink: 0; }
.value-text { font-size: 13px; font-weight: 600; color: var(--ink); }
.value-sub { font-size: 12px; color: var(--ink-60); margin-top: 1px; }

/* Cause section */
.cause-section { background: var(--green); overflow: hidden; position: relative; }
.cause-section::after {
  content: '🐱';
  position: absolute;
  font-size: 200px;
  right: -20px;
  bottom: -40px;
  opacity: 0.08;
  pointer-events: none;
}
.cause-inner { position: relative; z-index: 1; }
.cause-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.cause-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; margin-bottom: 16px; }
.cause-title em { font-style: italic; color: var(--ice-light); }
.cause-body { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.cause-stats { display: flex; gap: 32px; }
.cause-stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--ice-light); line-height: 1; }
.cause-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ============================================================
   FIND SCHOOL PAGE
   ============================================================ */
/* ── Find School page ────────────────────────────────────────── */
.find-school-hero {
  background: var(--ink);
  padding: 64px 0;
  text-align: center;
}
.find-school-hero h1 { color: #fff; margin-bottom: 12px; }
.find-school-hero p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 32px; }
.find-school-search {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: relative;
}
.find-school-search input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-body); font-size: 16px;
  color: var(--ink); outline: none; padding: 8px 0;
}
.find-school-search input::placeholder { color: var(--ink-30); }
#fs-clear {
  background: none; border: none; color: var(--ink-30);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  line-height: 1; align-items: center; justify-content: center;
  transition: color 0.2s;
}
#fs-clear:hover { color: var(--ink); }
.find-school-search > button[type="button"]:not(#fs-clear) {
  background: var(--green); color: #fff;
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 13px 28px; font-weight: 600; font-size: 15px;
  font-family: var(--font-body); transition: background 0.2s;
}
.find-school-search > button[type="button"]:not(#fs-clear):hover { background: var(--green-dark); }

/* Wrapper */
.fs-wrap { padding-top: 28px; padding-bottom: 72px; }

/* Toolbar */
.fs-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--ink-10);
  margin-bottom: 16px;
}
.fs-status-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-size: 13px; font-weight: 600; padding: 8px 18px;
  border-radius: 20px; border: 1.5px solid var(--ink-10);
  background: var(--white); color: var(--ink-60);
  cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover { background: var(--cream-dark); color: var(--ink); border-color: var(--ink-30); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fs-toolbar-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.filter-count { font-size: 13px; color: var(--ink-30); white-space: nowrap; }
.fs-perpage-label { font-size: 13px; color: var(--ink-60); display: flex; align-items: center; gap: 6px; }
.fs-perpage-select {
  border: 1.5px solid var(--ink-10); border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--font-body); color: var(--ink);
  padding: 4px 8px; background: var(--white); cursor: pointer;
}

/* Alphabet bar */
.fs-alpha-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  padding: 12px 0;
}
.alpha-btn {
  min-width: 32px; height: 32px;
  padding: 0 6px;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink-60);
  cursor: pointer; transition: all 0.15s;
  font-family: var(--font-body);
  display: inline-flex; align-items: center; justify-content: center;
}
.alpha-btn:hover { background: var(--cream-dark); color: var(--ink); border-color: var(--ink-30); }
.alpha-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.alpha-btn.alpha-empty { opacity: 0.3; cursor: default; pointer-events: none; }

/* Active search tag */
.fs-active-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  border: 1px solid rgba(60,110,79,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.fs-tag-clear {
  background: none; border: none; cursor: pointer;
  color: var(--green-dark); font-size: 12px; font-weight: 600;
  font-family: var(--font-body); padding: 0; opacity: 0.7;
  transition: opacity 0.2s;
}
.fs-tag-clear:hover { opacity: 1; }

/* School table */
.school-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.school-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.school-table th {
  background: var(--ink); color: #fff;
  padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.fs-th-sortable { cursor: pointer; user-select: none; }
.fs-th-sortable:hover { background: #333; }
.fs-th-sortable.sorted-asc,
.fs-th-sortable.sorted-desc { background: var(--green-dark); }
.sort-icon { opacity: 0.5; margin-left: 4px; font-style: normal; }
.fs-th-sortable.sorted-asc .sort-icon,
.fs-th-sortable.sorted-desc .sort-icon { opacity: 1; }
.school-table td { padding: 14px 20px; border-bottom: 1px solid var(--ink-10); vertical-align: middle; }
.school-table tr:last-child td { border-bottom: none; }
.school-table tbody tr:hover td { background: var(--cream); transition: background 0.1s; }
.school-table a { color: var(--green); font-weight: 500; }
.school-table a:hover { text-decoration: underline; }
.fs-inactive-name { color: var(--ink-60); }
.fs-empty { text-align: center; padding: 40px 20px !important; color: var(--ink-60); }
.fs-reset-link {
  background: none; border: none; color: var(--green); cursor: pointer;
  font-size: 14px; font-family: var(--font-body); font-weight: 600;
  padding: 0; text-decoration: underline;
}
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.status-dot.active { background: var(--green); box-shadow: 0 0 0 3px rgba(60,110,79,0.15); }
.status-dot.inactive { background: var(--ink-30); }
.school-inactive td { opacity: 0.45; pointer-events: none; }

/* Pagination */
.fs-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 8px;
}
.fs-page-info { font-size: 13px; color: var(--ink-60); }
.fs-page-btns { display: flex; align-items: center; gap: 4px; }
.fs-page-btn {
  min-width: 36px; height: 36px;
  padding: 0 8px;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink-60);
  font-size: 14px; font-family: var(--font-body);
  cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.fs-page-btn:hover:not(:disabled) { background: var(--cream-dark); color: var(--ink); border-color: var(--ink-30); }
.fs-page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.fs-page-btn:disabled { opacity: 0.3; cursor: default; }
.fs-page-ellipsis { font-size: 14px; color: var(--ink-30); padding: 0 4px; }

/* Mobile */
@media (max-width: 768px) {
  .fs-toolbar { flex-direction: column; align-items: flex-start; }
  .fs-toolbar-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .fs-alpha-bar { gap: 3px; }
  .alpha-btn { min-width: 28px; height: 28px; font-size: 11px; }
  .school-table th:nth-child(3),
  .school-table td:nth-child(3),
  .school-table th:nth-child(4),
  .school-table td:nth-child(4) { display: none; }
  .fs-pagination { flex-direction: column; align-items: center; }
}

/* ============================================================
   SCHOOL PRODUCT LISTING PAGE
   ============================================================ */

/* School header */
.school-header {
  background: var(--ink);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.school-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.school-logo-wrap img { max-height: 56px; width: auto; }
.school-header-nav { display: flex; align-items: center; gap: 16px; }
.school-header-nav a { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; transition: color 0.2s; }
.school-header-nav a:hover { color: #fff; }
.school-cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff; border-radius: 30px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.school-cart-btn:hover { background: rgba(255,255,255,0.2); }

.school-banner {
  padding: 40px 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
}
.school-banner h1 { font-size: clamp(24px, 3.5vw, 40px); margin-bottom: 8px; }
.school-banner p { color: var(--ink-60); font-size: 15px; }

.school-become-partner {
  background: var(--green-light);
  border: 1px solid rgba(60,110,79,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.school-become-partner h3 { color: var(--green-dark); margin-bottom: 8px; }
.school-become-partner p { color: var(--green); margin-bottom: 16px; }

/* Product category heading */
.product-cat-heading {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--ink-60);
  padding: 10px 0 16px;
  margin-top: 40px;
  border-bottom: 1px solid var(--ink-10);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.product-cat-heading::after {
  content: ''; flex: 1; height: 1px; background: var(--ink-10);
}

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

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card a { text-decoration: none; color: inherit; }
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-colors {
  display: flex; gap: 5px; padding: 10px 14px 0;
  flex-wrap: wrap;
}
.color-swatch { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.1); }
.product-card-info { padding: 10px 14px 16px; }
.product-card-name { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 6px; }
.product-card-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.product-card-price del { font-weight: 400; color: var(--ink-30); margin-right: 4px; font-size: 13px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 40px 0;
}
.product-detail-inner { display: grid; grid-template-columns: 1fr 1.1fr; }
.product-gallery { background: var(--cream); aspect-ratio: 1; overflow: hidden; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: clamp(24px, 4vw, 56px); }
.product-title { font-size: clamp(20px, 2.5vw, 32px); font-weight: 700; margin-bottom: 12px; }
.product-price { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.product-price del { font-size: 18px; font-weight: 400; color: var(--ink-30); margin-right: 8px; }
.product-short-desc { color: var(--ink-60); line-height: 1.75; margin-bottom: 24px; font-size: 15px; }
.fulfillment-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  margin: 14px 0 0;
  width: 100%;
  flex-basis: 100%;
  line-height: 1.4;
  white-space: nowrap;
}
.fulfillment-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green, #1D9E75);
  flex-shrink: 0;
}
.measure-banner {
  display: block; border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 24px;
}
.measure-banner img { width: 100%; }

/* Size selector */
.size-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-60); margin-bottom: 10px; }
.size-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.size-btn {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-10); background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--ink-60);
  cursor: pointer; transition: all 0.15s; font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--ink); color: var(--ink); }
.size-btn.selected { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── Quantity control + Add to cart ─────────────────────── */
.add-to-cart-row {
  display: flex; gap: 12px; align-items: stretch;
  margin-top: 20px;
}
.qty-control {
  display: flex; align-items: center;
  border: 2px solid var(--ink-10); border-radius: var(--radius-md);
  overflow: hidden; background: var(--white);
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.qty-control:focus-within { border-color: var(--ink); }
.qty-btn {
  width: 44px; height: 54px; background: transparent;
  border: none; font-size: 20px; line-height: 1;
  color: var(--ink-60); cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; user-select: none;
}
.qty-btn:hover { background: var(--cream-dark); color: var(--ink); }
.qty-btn:active { background: var(--ink-10); }
.qty-divider {
  width: 1px; height: 28px; background: var(--ink-10); flex-shrink: 0;
}
.qty-input {
  width: 52px; height: 54px; border: none; border-left: 1px solid var(--ink-10); border-right: 1px solid var(--ink-10);
  text-align: center; font-size: 16px; font-weight: 700;
  font-family: var(--font-body); color: var(--ink);
  background: transparent; padding: 0;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.qty-input:focus { outline: none; }
.add-to-cart-btn {
  flex: 1; background: var(--ink); color: #fff;
  border-radius: var(--radius-md); height: 54px;
  font-size: 15px; font-weight: 700; font-family: var(--font-body);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: -0.01em; min-width: 0;
}
.add-to-cart-btn:hover:not(:disabled) {
  background: #2a2a28;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,25,23,0.18);
}
.add-to-cart-btn:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.add-to-cart-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.spd-atc-spin { display: none; }
.spd-oos-badge {
  margin-top: 20px; display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: var(--radius-sm);
}

/* Product tabs */
.product-tabs { border-top: 1px solid var(--ink-10); }
.tab-buttons { display: flex; padding: 0 clamp(24px, 4vw, 56px); gap: 4px; border-bottom: 1px solid var(--ink-10); }
.tab-btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 16px 20px; background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--ink-60); cursor: pointer; transition: all 0.2s; margin-bottom: -1px;
}
.tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-content { padding: clamp(24px, 4vw, 56px); display: none; }
.tab-content.active { display: block; }
.tab-content p { color: var(--ink-60); line-height: 1.8; }

/* ============================================================
   ABOUT, CONTACT, PARTNER PAGES
   ============================================================ */

/* About hero */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.about-hero-left { background: var(--ink); padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.about-hero-left h1 { color: #fff; }
.about-hero-left p { color: rgba(255,255,255,0.65); margin-top: 16px; font-size: 17px; max-width: 420px; }
.about-hero-right { background: var(--cream-dark); overflow: hidden; }
.about-hero-right img { width: 100%; height: 100%; object-fit: cover; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-10); }
.about-stat { background: var(--white); padding: 32px; text-align: center; }
.about-stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; }
.about-stat-label { font-size: 13px; color: var(--ink-60); margin-top: 6px; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.about-section.reverse { direction: rtl; }
.about-section.reverse > * { direction: ltr; }
.about-section-text h2 { margin-bottom: 16px; }
.about-section-text p { margin-bottom: 16px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--gap); }
.contact-info h3 { margin-bottom: 20px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-detail-icon { width: 40px; height: 40px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.contact-detail-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-detail-text span { font-size: 14px; color: var(--ink-60); }
.contact-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 42px; height: 42px; border-radius: 10px; background: var(--ink-10); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background 0.2s; }
.social-btn:hover { background: var(--ink); }

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--white); transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-captcha { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-60); margin-bottom: 20px; }
.form-captcha input { width: 80px !important; }

/* ============================================================
   SCHOOL ADMIN DASHBOARD
   ============================================================ */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-h)); }
.dashboard-sidebar { background: var(--ink); padding: 32px 0; }
.dashboard-sidebar-logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.dashboard-sidebar-logo img { max-height: 48px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 24px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65); transition: all 0.2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(255,255,255,0.08); }
.sidebar-nav a.active { border-right: 3px solid var(--green); }
.dashboard-main { padding: 40px; background: var(--cream); overflow-y: auto; }
.dashboard-title { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.dashboard-sub { color: var(--ink-60); margin-bottom: 32px; }
.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.dashboard-card { background: var(--white); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--ink-10); }
.dashboard-card-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }
.dashboard-card-label { font-size: 13px; color: var(--ink-60); margin-top: 4px; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-radius: var(--radius-md); padding: 14px 18px; font-size: 14px; }
.woocommerce-info { background: var(--amber-light); border-left: 3px solid var(--amber); color: var(--amber); }
.woocommerce-message { background: var(--green-light); border-left: 3px solid var(--green); color: var(--green-dark); }
.woocommerce table.shop_table { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--ink-10) !important; }
.woocommerce table.shop_table th { background: var(--cream); font-weight: 600; }
.woocommerce #payment { border-radius: var(--radius-md) !important; }

/* ============================================================
   FOOTER  —  Navy background matching the top cause-ribbon.
   Base font size 16px for readability; headings bumped above it.
   ============================================================ */
.site-footer {
  background: var(--navy);              /* #1E3560 — matches top ribbon */
  color: rgba(255,255,255,0.82);        /* strong contrast on navy */
  padding: 72px 0 0;
  font-size: 16px;                      /* default readable size */
  line-height: 1.7;
}
.site-footer a { color: inherit; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 16px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.78);
}

.footer-cause {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 17px;                      /* larger than body default */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 16px;                      /* readable default */
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.footer-cause-note {
  font-size: 14px;
  color: var(--ice-light);
  font-weight: 600;
}

/* ============================================================
   SCHOOL FOOTER (consistent with main — navy background)
   ============================================================ */
.school-site-footer {
  background: var(--navy);
  padding: 48px 0;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
}
.school-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.school-footer-copyright {
  background: rgba(0,0,0,0.18);
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.school-footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.school-footer-brand span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.school-footer-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.school-footer-links { display: flex; flex-direction: column; gap: 8px; }
.school-footer-links a {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
}
.school-footer-links a:hover { color: #fff; }

/* ── School product detail page ──────────────────────────── */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--ink-10); }

/* Main 2-col layout */
.spd-wrap { padding: 40px 0 80px; }
.spd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-bottom: 48px;
}

/* Gallery column */
.spd-gallery-col { position: sticky; top: 24px; }
.spd-main-image {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.spd-main-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}
.spd-no-image {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-30); font-size: 64px;
}
.spd-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.spd-thumb {
  width: 72px; height: 72px; flex-shrink: 0;
  border: 2px solid var(--ink-10); border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: var(--cream);
  padding: 0; transition: border-color 0.15s;
}
.spd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.spd-thumb.active, .spd-thumb:hover { border-color: var(--ink); }

/* Info column */
.spd-info-col { padding: 8px 0; }
.spd-school-tag { margin-bottom: 10px; font-size: 11px; letter-spacing: 0.5px; }
.spd-title { font-size: clamp(22px, 2.5vw, 34px); margin-bottom: 10px; }
.spd-price { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.spd-short-desc { color: var(--ink-60); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

/* Badges row */
.spd-badges {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.size-guide-link {
  font-size: 13px; font-weight: 600; color: var(--amber);
  text-decoration: none; padding: 8px 14px;
  background: var(--amber-light); border-radius: var(--radius-sm);
  border: 1px solid rgba(201,123,58,0.2);
  transition: background 0.2s; margin-bottom: 24px;
}
.size-guide-link:hover { background: #fde5cc; }

/* Cause line */
.spd-cause-line {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--ink-10);
  font-size: 13px; color: var(--ink-60);
  display: flex; align-items: center; gap: 8px;
}
.spd-cause-line a { color: var(--green); font-weight: 500; }

/* Variations wrap — isolate so WC styles don't bleed */
.spd-variations-wrap { margin-top: 4px; }
.spd-variations-wrap .woocommerce-variation-price { display: none; } /* price already shown above */

/* Variable product form */
/* ── WC Variation form on SPD page ──────────────────────── */
.school-product-page .variations_form { width: 100%; }

/* Hide WC's table layout — we restyle it as stacked blocks */
.school-product-page .variations_form .variations {
  width: 100%; border: none; border-collapse: collapse; margin-bottom: 8px;
}
.school-product-page .variations_form .variations tr {
  display: block; margin-bottom: 16px;
}
.school-product-page .variations_form .variations td,
.school-product-page .variations_form .variations th {
  display: block; padding: 0;
}
.school-product-page .variations_form .variations .label {
  margin-bottom: 8px;
}
.school-product-page .variations_form .variations .label label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--ink-60);
  display: flex; align-items: center; justify-content: space-between;
}

/* The select — full width, clean style */
.school-product-page .variations_form .variations select {
  width: 100%; border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 15px; padding: 13px 16px; color: var(--ink);
  background: var(--white); cursor: pointer; transition: border-color 0.2s;
  appearance: auto; -webkit-appearance: auto;
}
.school-product-page .variations_form .variations select:focus {
  border-color: var(--ink); outline: none;
}
.school-product-page .variations_form .variations select option[value=""] {
  color: var(--ink-30);
}

/* Reset link */
.school-product-page .variations_form .reset_variations {
  font-size: 12px; color: var(--ink-60);
  display: inline-block; margin-top: 6px; text-decoration: none;
}
.school-product-page .variations_form .reset_variations:hover { color: var(--ink); }

/* Stock/availability notice */
.school-product-page .variations_form .woocommerce-variation-availability { margin: 10px 0; }
.school-product-page .variations_form .woocommerce-variation-availability .stock {
  font-size: 13px; font-weight: 600; color: var(--green);
  background: var(--green-light); border-radius: var(--radius-sm);
  padding: 6px 12px; display: inline-block;
}
.school-product-page .variations_form .woocommerce-variation-availability .out-of-stock {
  color: var(--red); background: #fef2f2;
}

/* Hide duplicate price WC renders inside the variation form */
.school-product-page .variations_form .woocommerce-variation-price,
.school-product-page .variations_form .woocommerce-variation-description { display: none !important; }

/* Add to cart button */
.school-product-page .variations_form .single_add_to_cart_button,
.school-product-page .variations_form button[type="submit"] {
  width: 100%; background: var(--ink); color: #fff; border: none;
  border-radius: var(--radius-sm); height: 56px;
  font-size: 16px; font-weight: 700; font-family: var(--font-body);
  cursor: pointer; transition: background 0.2s, opacity 0.2s;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  letter-spacing: -0.01em;
}
.school-product-page .variations_form .single_add_to_cart_button::before { content: '🛒'; font-size: 18px; }
.school-product-page .variations_form .single_add_to_cart_button:hover:not(:disabled) { background: #333; }
.school-product-page .variations_form .single_add_to_cart_button.disabled,
.school-product-page .variations_form .single_add_to_cart_button:disabled {
  opacity: 0.35; cursor: not-allowed; background: var(--ink);
}
.school-product-page .variations_form .single_add_to_cart_button.loading { opacity: 0.7; }

/* Qty input WC renders for variation products */
.school-product-page .variations_form .quantity { display: none; } /* qty handled by WC default */

/* Simple product add to cart */
.spd-simple-atc { margin-top: 8px; }

/* Variable product — custom qty row below WC form */
.spd-var-qty-row {
  display: flex; gap: 12px; align-items: stretch;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--ink-10);
}
/* Hide WC's own Add to cart button — we use our custom one */
.school-product-page .variations_form .single_add_to_cart_button,
.school-product-page .variations_form button[type="submit"] {
  display: none !important;
}
/* Hide WC qty row inside variation form */
.school-product-page .spd-variations-wrap .quantity { display: none !important; }

/* ── Cart success toast ─────────────────────────────────── */
.spd-toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: min(640px, calc(100vw - 32px));
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(26,25,23,0.18);
  border: 1px solid var(--ink-10);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.spd-toast-inner {
  display: flex; align-items: center;
  gap: 16px; padding: 18px 20px;
  flex-wrap: wrap;
}
.spd-toast-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 700;
}
.spd-toast-body { flex: 1; min-width: 120px; }
.spd-toast-body strong { display: block; font-size: 15px; color: var(--ink); }
.spd-toast-body span { font-size: 13px; color: var(--ink-60); }
.spd-toast-actions {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.spd-toast-btn {
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-radius: 20px; border: none; cursor: pointer;
  text-decoration: none; font-family: var(--font-body);
  white-space: nowrap; transition: all 0.15s;
  display: inline-flex; align-items: center;
}
.spd-toast-cart {
  background: var(--ink); color: #fff;
}
.spd-toast-cart:hover { background: #333; color: #fff; }
.spd-toast-continue {
  background: var(--cream-dark); color: var(--ink);
}
.spd-toast-continue:hover { background: var(--cream); }
.spd-toast-school {
  background: var(--green-light); color: var(--green-dark);
  border: 1px solid rgba(60,110,79,0.2);
}
.spd-toast-school:hover { background: #d4eadc; color: var(--green-dark); }
.spd-toast-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-30); font-size: 16px; padding: 4px 8px;
  margin-left: auto; flex-shrink: 0; line-height: 1;
  transition: color 0.15s;
}
.spd-toast-close:hover { color: var(--ink); }

/* ── Tabs ───────────────────────────────────────────────── */
.spd-tabs-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10); overflow: hidden;
  margin-bottom: 48px; box-shadow: var(--shadow-sm);
}
.spd-tabs-wrap .tab-buttons {
  display: flex; gap: 0; border-bottom: 1px solid var(--ink-10);
  padding: 0 clamp(20px, 4vw, 40px);
}
.spd-tabs-wrap .tab-content { padding: clamp(20px, 4vw, 40px); }

/* ── Related products ───────────────────────────────────── */
.spd-related { margin-bottom: 48px; }
.spd-related-title {
  font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; color: var(--ink); margin-bottom: 20px;
}
.spd-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.spd-related-card {
  background: var(--white); border: 1px solid var(--ink-10);
  border-radius: var(--radius-md); overflow: hidden; text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.spd-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.spd-related-img { aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.spd-related-img img { width: 100%; height: 100%; object-fit: contain; }
.spd-related-info { padding: 12px; }
.spd-related-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.4; }
.spd-related-price { font-size: 13px; font-weight: 700; color: var(--green); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .spd-layout { grid-template-columns: 1fr; }
  .spd-gallery-col { position: static; }
  .spd-related-grid { grid-template-columns: repeat(2,1fr); }
  .spd-toast-inner { flex-wrap: wrap; }
  .spd-toast-actions { width: 100%; }
  .spd-thumb { width: 56px; height: 56px; }
}

/* ============================================================
   ALERTS & NOTICES
   ============================================================ */
.alert { border-radius: var(--radius-md); padding: 14px 18px; font-size: 14px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-green { background: var(--green-light); color: var(--green-dark); border: 1px solid rgba(60,110,79,0.2); }
.alert-amber { background: var(--amber-light); color: var(--amber); border: 1px solid rgba(201,123,58,0.2); }
.alert-red { background: #FEECEC; color: var(--red); border: 1px solid rgba(192,57,43,0.2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 64px clamp(20px, 5vw, 40px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .value-strip-inner { grid-template-columns: 1fr 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid var(--ink-10); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-right { height: 260px; }
  .about-section { grid-template-columns: 1fr; }
  .about-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; }
  .school-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .product-detail-inner { grid-template-columns: 1fr; }
  .value-strip-inner { grid-template-columns: 1fr; }
  .cause-stats { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-title { font-size: 36px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* Scroll reveal (JS-driven) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--cream);
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-links a { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); padding: 8px 0; }
.mobile-menu-close { background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }

/* Utility */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================================
   MY ACCOUNT / LOGIN PAGE
   ============================================================ */

/* Remove page.php constraints on account page */
.woocommerce-account .section { padding: 0 !important; }
.woocommerce-account .section > .container { max-width: 100% !important; padding: 0 !important; }

/* ── Split layout: brand left | form right ── */
.ar-account-page {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100vh - 96px - 40px);
}

/* Brand panel */
.ar-account-brand {
  background: var(--ink);
  padding: clamp(40px,6vw,72px) clamp(32px,4vw,56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.ar-account-brand-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.ar-account-brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ar-account-brand-logo span {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: #fff;
}
.ar-account-brand-title {
  font-family: var(--font-display);
  font-size: clamp(28px,3vw,40px);
  font-weight: 700; color: #fff;
  line-height: 1.1; margin: 0;
}
.ar-account-brand-sub {
  color: rgba(255,255,255,0.55);
  font-size: 15px; line-height: 1.7; margin: 0;
}
.ar-account-brand-cause {
  background: rgba(60,110,79,0.25);
  border: 1px solid rgba(60,110,79,0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 8px;
}
.ar-account-brand-cause-label {
  font-size: 13px; font-weight: 700;
  color: var(--ice-light); margin-bottom: 6px;
}
.ar-account-brand-cause p {
  font-size: 13px; color: rgba(255,255,255,0.55); margin: 0;
}

/* Form panel */
.ar-account-panel {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px,5vw,64px) clamp(24px,5vw,80px);
}
.ar-account-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-10);
  box-shadow: 0 4px 32px rgba(26,25,23,0.08);
  padding: 36px 40px;
  width: 100%;
  max-width: 420px;
}

/* Tab switcher */
.ar-account-tabs {
  display: flex;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
  gap: 2px;
}
.ar-account-tab {
  flex: 1;
  padding: 9px 16px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: var(--ink-60);
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: all 0.18s;
}
.ar-account-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Form fields */
.ar-form { display: flex; flex-direction: column; gap: 0; }
.ar-field { margin-bottom: 18px; }
.ar-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 7px;
}
.ar-lost-password {
  font-size: 12px; font-weight: 500;
  color: var(--ink-60); text-decoration: none;
}
.ar-lost-password:hover { color: var(--ink); }
.ar-field input[type="text"],
.ar-field input[type="email"],
.ar-field input[type="password"] {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px; padding: 12px 16px;
  background: var(--white); color: var(--ink);
  transition: border-color 0.18s;
  display: block;
}
.ar-field input:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,74,138,0.15);
}
.ar-field-check {
  margin-bottom: 20px;
}
.ar-field-check label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-60);
  cursor: pointer; font-weight: 400;
}
.ar-field-check input[type="checkbox"] { accent-color: var(--green); width: 16px; height: 16px; }

/* Submit button */
.ar-btn-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.ar-btn-submit:hover { background: #333; transform: translateY(-1px); }

.ar-register-note {
  font-size: 13px; color: var(--ink-60);
  margin-bottom: 16px; line-height: 1.6;
}
.ar-register-note a { color: var(--green); }

/* ── Logged-in My Account dashboard ── */

/* Our custom template outputs .ar-myaccount-wrap */
.ar-myaccount-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px clamp(16px,4vw,40px) 80px;
}

/* Sidebar */
.ar-myaccount-nav {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

/* User info strip at top of nav */
.ar-myaccount-nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--ink-10);
  background: var(--cream);
}

.ar-myaccount-avatar img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 2px solid var(--ink-10);
}
.ar-myaccount-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.ar-myaccount-email {
  font-size: 11px;
  color: var(--ink-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Nav links */
.ar-myaccount-nav .woocommerce-MyAccount-navigation { background: none; border: none; box-shadow: none; padding: 8px;     width: 100%;}
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0; margin: 0; }
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li a {
  display: flex; align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--ink-60);
  transition: all 0.15s;
  text-decoration: none;
}
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li a:hover { background: var(--cream); color: var(--ink); }
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li.is-active a,
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
  background: var(--ink); color: #fff; font-weight: 600;
}
/* Log out red */
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--red);
}
.ar-myaccount-nav .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fef2f2; color: var(--red);
}

/* Content area */
.ar-myaccount-content { min-width: 0; }
.ar-myaccount-content > .woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content p { color: var(--ink-60); line-height: 1.75; font-size: 15px; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  margin-bottom: 16px; font-size: 22px;
}
/* Dashboard welcome box */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info { margin-bottom: 20px; }

/* Orders table */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.woocommerce-orders-table th {
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 13px 16px; text-align: left;
}
.woocommerce-orders-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--ink-10);
  font-size: 14px; color: var(--ink);
}
.woocommerce-orders-table tr:last-child td { border-bottom: none; }
.woocommerce-orders-table .button {
  font-size: 12px !important; padding: 6px 14px !important;
  border-radius: 20px !important;
}

/* Account form */
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row { margin-bottom: 16px; }

/* ================================================================
   MY ACCOUNT — CONTENT AREA STYLES
   ================================================================ */

/* Dashboard welcome */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.ar-myaccount-content .woocommerce-MyAccount-content > p:first-child {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── ADDRESSES ── */
.woocommerce-Addresses,
.woocommerce-address-fields,
.u-columns.woocommerce-Addresses { width: 100% !important; }

/* Address cards grid */
.woocommerce-Addresses.col2-set {
  display: flex;
 
  gap: 20px !important;
  float: none !important;
  width: 100% !important;
}
.woocommerce-Addresses.col2-set .col-1,
.woocommerce-Addresses.col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Address section heading */
.woocommerce-column__title,
.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin: 0 0 4px !important;
}
.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-10);
}
.woocommerce-Address-title a,
.edit-address { 
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--ink-60) !important;
  text-decoration: none !important;
  background: var(--cream-dark);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.15s;
  white-space: nowrap;
}
.woocommerce-Address-title a:hover,
.edit-address:hover {
  background: var(--ink);
  color: #fff !important;
}
.woocommerce-Address address {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.8;
}

/* Intro text above addresses */
.woocommerce-MyAccount-content > p {
  font-size: 14px;
  color: var(--ink-60);
  margin-bottom: 20px;
}

/* ── EDIT ADDRESS FORM ── */
.woocommerce-address-fields h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--ink); margin-bottom: 24px;
}
.woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
/* Full-width fields */
.woocommerce-address-fields .form-row-wide,
.woocommerce-address-fields #billing_address_1_field,
.woocommerce-address-fields #billing_address_2_field,
.woocommerce-address-fields #shipping_address_1_field,
.woocommerce-address-fields #shipping_address_2_field,
.woocommerce-address-fields #billing_company_field,
.woocommerce-address-fields #shipping_company_field,
.woocommerce-address-fields #billing_country_field,
.woocommerce-address-fields #shipping_country_field {
  grid-column: 1 / -1;
}
/* Labels above inputs */
.woocommerce-address-fields label,
.woocommerce-EditAccountForm label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.woocommerce-address-fields .required { color: var(--red); }
/* Inputs */
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.woocommerce-EditAccountForm input.input-text,
.woocommerce-EditAccountForm select {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--ink-10);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px; padding: 11px 14px;
  background: var(--white); color: var(--ink);
  transition: border-color 0.18s;
  display: block;
}
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus,
.woocommerce-EditAccountForm input:focus {
  border-color: var(--navy-mid) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,74,138,0.15);
}
/* Save button */
.woocommerce-address-fields .button[type="submit"],
.woocommerce-EditAccountForm button[type="submit"] {
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important; font-weight: 700 !important;
  padding: 12px 28px !important;
  cursor: pointer; transition: background 0.2s !important;
  margin-top: 8px;
}
.woocommerce-address-fields .button[type="submit"]:hover,
.woocommerce-EditAccountForm button[type="submit"]:hover { background: #333 !important; }

/* ── ORDER DETAIL ── */
.woocommerce-order-details { margin-bottom: 32px; }
.woocommerce-order-details__title,
.woocommerce-column__title {
  font-family: var(--font-display) !important;
  font-size: 18px !important; font-weight: 700 !important;
  color: var(--ink) !important; margin-bottom: 14px !important;
}

/* Order status badge */
.woocommerce-order-overview__status mark,
.wc-bacs-bank-details-heading,
mark.order-status {
  background: var(--cream-dark) !important;
  color: var(--ink) !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}
mark.order-status.status-completed { background: var(--green-light) !important; color: var(--green-dark) !important; }
mark.order-status.status-cancelled { background: #fef2f2 !important; color: var(--red) !important; }
mark.order-status.status-processing { background: var(--amber-light) !important; color: #92400e !important; }
mark.order-status.status-pending { background: var(--cream-dark) !important; color: var(--ink-60) !important; }

/* Order info bar */
.woocommerce-order-overview {
  display: flex !important; flex-wrap: wrap !important;
  gap: 0 !important; list-style: none !important;
  background: var(--white) !important;
  border: 1px solid var(--ink-10) !important;
  border-radius: var(--radius-lg) !important;
  padding: 0 !important; margin-bottom: 28px !important;
  overflow: hidden !important;
}
.woocommerce-order-overview li {
  flex: 1 !important; min-width: 120px !important;
  padding: 16px 20px !important;
  border-right: 1px solid var(--ink-10) !important;
  font-size: 13px !important; color: var(--ink-60) !important;
}
.woocommerce-order-overview li:last-child { border-right: none !important; }
.woocommerce-order-overview li strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 2px; }

/* Order table */
.woocommerce-table--order-details {
  width: 100% !important;
  border-collapse: collapse !important;
  background: var(--white) !important;
  border: 1px solid var(--ink-10) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  margin-bottom: 28px !important;
}
.woocommerce-table--order-details th {
  background: var(--ink) !important; color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.6px !important;
  padding: 12px 16px !important; text-align: left !important;
}
.woocommerce-table--order-details td {
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--ink-10) !important;
  font-size: 14px !important; color: var(--ink) !important;
}
.woocommerce-table--order-details tfoot td,
.woocommerce-table--order-details tfoot th {

  font-weight: 600 !important; font-size: 14px !important;
}
.woocommerce-table--order-details tfoot .order-total td,
.woocommerce-table--order-details tfoot .order-total th {
  font-size: 16px !important; font-weight: 800 !important;
  color: var(--navy-mid) !important;
}
.woocommerce-table--order-details tr:last-child td { border-bottom: none !important; }

/* Address columns on order detail */
.woocommerce-customer-details .col2-set {
    display: flex;

  gap: 20px !important; float: none !important;
}
.woocommerce-customer-details .col2-set .col-1,
.woocommerce-customer-details .col2-set .col-2 {
  float: none !important; width: 100% !important;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px; color: var(--ink-60); line-height: 1.8;
}
.woocommerce-customer-details address p { color: var(--ink-60); }

/* Order actions */
.woocommerce-order-actions { margin-top: 20px; }
.woocommerce-order-actions .button {
  border-radius: 20px !important; font-size: 13px !important;
  padding: 8px 20px !important; margin-right: 8px !important;
}

/* ── ORDERS TABLE (list) ── */
.woocommerce-orders-table--orders { 
  width: 100% !important;
  border-collapse: collapse !important;
  background: var(--white) !important;
  border: 1px solid var(--ink-10) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}
.woocommerce-orders-table--orders thead th {
  background: var(--ink) !important; color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.6px !important;
  padding: 13px 16px !important; text-align: left !important;
}
.woocommerce-orders-table--orders tbody td {
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--ink-10) !important;
  font-size: 14px !important; color: var(--ink) !important;
  vertical-align: middle !important;
}
.woocommerce-orders-table--orders tbody tr:last-child td { border-bottom: none !important; }
.woocommerce-orders-table--orders tbody tr:hover td { background: var(--cream) !important; }
.woocommerce-orders-table--orders .button {
  font-size: 12px !important; padding: 6px 14px !important; border-radius: 20px !important;
}

/* ── ACCOUNT DETAILS FORM ── */
.woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0 24px;
}
.woocommerce-EditAccountForm fieldset legend {
  font-size: 13px; font-weight: 700;
  color: var(--ink-60); padding: 0 8px;
  text-transform: uppercase; letter-spacing: 0.4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .woocommerce-Addresses.col2-set { grid-template-columns: 1fr !important; }
  .woocommerce-customer-details .col2-set { grid-template-columns: 1fr !important; }
  .woocommerce-address-fields .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr !important; }
  .woocommerce-address-fields .form-row-wide,
  .woocommerce-address-fields #billing_address_1_field,
  .woocommerce-address-fields #billing_address_2_field { grid-column: 1 !important; }
}

/* Extra form elements */
.ar-account-box-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--ink); margin: 0 0 8px;
}
.ar-account-box-sub {
  font-size: 14px; color: var(--ink-60);
  line-height: 1.6; margin: 0 0 24px;
}
.ar-form-back {
  text-align: center; margin-top: 16px;
  font-size: 13px;
}
.ar-form-back a { color: var(--ink-60); text-decoration: none; }
.ar-form-back a:hover { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ar-account-page { grid-template-columns: 1fr; }
  .ar-account-brand { display: none; }
  .ar-account-panel { padding: 32px 16px; }
  .ar-account-box { padding: 28px 20px; }
  .ar-myaccount-wrap { grid-template-columns: 1fr !important; }
  .ar-myaccount-nav { position: static !important; }
}

/* ============================================================
   CART PAGE — full-width layout (800px cap removed in page.php)
   ============================================================ */ (800px cap removed in page.php)
   ============================================================ */
.woocommerce-cart .section { padding: 0 !important; }
.woocommerce-cart .section > .container {
  max-width: var(--max-w) !important;
  padding: 0 clamp(16px,4vw,40px) !important;
}
