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

:root {
  --navy: #0B2B5E;
  --navy-mid: #143570;
  --navy-light: #1a4a9b;
  --gold: #C9972C;
  --gold-light: #D4A840;
  --gold-pale: #f5e9cc;
  --bg: #F2F4F7;
  --bg-warm: #F8F7F4;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --card-shadow: 0 2px 12px rgba(11,43,94,0.08);
  --card-shadow-hover: 0 8px 32px rgba(11,43,94,0.16);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-wrap {
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.nav-logo {
  height: 70px; /* renders taller than wrapper so text below oval is cropped */
  width: auto;
  transition: filter 0.3s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.nav.scrolled .nav-logo {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.nav-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav.scrolled .nav-subtitle { color: rgba(255,255,255,0.75); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  position: relative;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.cart-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); }

.nav.scrolled .cart-btn {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.nav.scrolled .cart-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.7); }

/* ── Cart has items: gold fill, navy text ───────────────────────────── */
.cart-btn.has-items {
  background: var(--gold);
  border-color: #a97820;
  color: #0B2B5E;
  font-weight: 600;
}
.cart-btn.has-items:hover {
  background: #d4a830;
  border-color: #7e5a10;
  color: #0B2B5E;
}
.nav.scrolled .cart-btn.has-items,
.nav.scrolled .cart-btn.has-items:hover {
  background: var(--gold);
  border-color: #a97820;
  color: #0B2B5E;
}
.nav.scrolled .cart-btn.has-items:hover {
  background: #d4a830;
}

/* ── Pop animation on item added ────────────────────────────────────── */
@keyframes cart-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.2); }
  65%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.cart-btn.pop { animation: cart-pop 0.38s cubic-bezier(.36,.07,.19,.97); }

.cart-icon { font-size: 1rem; }
.cart-count {
  background: #0B2B5E;
  color: #ffffff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count.visible { display: flex; }

/* Count badge flips to gold-on-navy when button is unfilled, navy-on-white when filled */
.cart-btn.has-items .cart-count {
  background: #0B2B5E;
  color: #ffffff;
}

/* ─── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(201,151,44,0.18) 0%, transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(26,80,200,0.22) 0%, transparent 45%),
    linear-gradient(148deg, #04101E 0%, #0A2550 35%, #0D3070 65%, #071828 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* ── background decoration ── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.orb-1 {
  width: 560px; height: 560px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(201,151,44,0.18) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}

.orb-2 {
  width: 420px; height: 420px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, rgba(30,90,210,0.25) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}

.orb-3 {
  width: 280px; height: 280px;
  top: 45%; left: 10%;
  background: radial-gradient(circle, rgba(201,151,44,0.1) 0%, transparent 70%);
  animation: orbFloat3 11s ease-in-out infinite;
}

.hero-globe {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 64%;
  max-width: 740px;
  opacity: 0.18;
  animation: globeSpin 90s linear infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-30px, 22px) scale(1.06); }
  70%       { transform: translate(18px, -14px) scale(0.96); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(38px, -28px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50%       { transform: translate(16px, 18px) scale(1.12); opacity: 1; }
}
@keyframes globeSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ── floating souvenir items ── */
.hi {
  position: absolute;
  font-size: 2.2rem;
  pointer-events: none;
  user-select: none;
  filter: blur(0.3px);
  opacity: 0.22;
}

@keyframes hiA {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50%       { transform: translateY(-22px) rotate(4deg); }
}
@keyframes hiB {
  0%, 100% { transform: translate(0px, 0px) rotate(6deg); }
  40%       { transform: translate(14px, -18px) rotate(-5deg); }
  75%       { transform: translate(-8px, -12px) rotate(8deg); }
}
@keyframes hiC {
  0%, 100% { transform: translate(0px, 0px) rotate(-8deg); }
  50%       { transform: translate(-16px, -14px) rotate(6deg); }
}
@keyframes hiD {
  0%, 100% { transform: translateX(0px) rotate(3deg); }
  50%       { transform: translateX(18px) rotate(-3deg); }
}
@keyframes hiE {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  33%       { transform: translate(10px, -15px) rotate(-6deg); }
  66%       { transform: translate(-10px, -8px) rotate(6deg); }
}
@keyframes hiF {
  0%, 100% { transform: translateY(0px) rotate(10deg); }
  50%       { transform: translateY(20px) rotate(-5deg); }
}

/* Positions: spread across hero, more central */
.hi-1  { top: 7%;  left: 14%;  font-size: 2.8rem; animation: hiA 13s ease-in-out infinite; }
.hi-2  { top: 12%; right: 14%; font-size: 2rem;   animation: hiB 16s ease-in-out infinite; opacity: 0.18; }
.hi-3  { top: 38%; left: 10%;  font-size: 2.4rem; animation: hiC 11s ease-in-out infinite; }
.hi-4  { top: 22%; left: 22%;  font-size: 1.8rem; animation: hiD 14s ease-in-out infinite; opacity: 0.16; }
.hi-5  { top: 20%; right: 18%; font-size: 2.6rem; animation: hiE 17s ease-in-out infinite; }
.hi-6  { top: 62%; right: 12%; font-size: 2.2rem; animation: hiA 12s 2s ease-in-out infinite; opacity: 0.20; }
.hi-7  { top: 78%; left: 16%;  font-size: 2.4rem; animation: hiB 15s 1s ease-in-out infinite; }
.hi-8  { top: 72%; right: 18%; font-size: 2rem;   animation: hiC 10s 3s ease-in-out infinite; opacity: 0.16; }
.hi-9  { top: 48%; right: 10%; font-size: 1.8rem; animation: hiD 13s 2s ease-in-out infinite; }
.hi-10 { top: 85%; left: 26%;  font-size: 2.2rem; animation: hiE 14s 1s ease-in-out infinite; opacity: 0.18; }
.hi-11 { top: 55%; left: 18%;  font-size: 2rem;   animation: hiF 11s 4s ease-in-out infinite; }
.hi-12 { top: 88%; right: 22%; font-size: 1.8rem; animation: hiF 16s 2s ease-in-out infinite; opacity: 0.16; }

/* ── inner content ── */
.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 140px;
  width: auto;
  margin: 0 auto 1.6rem;
  display: block;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.35));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 6px 28px rgba(0,0,0,0.35)); }
  50%       { filter: drop-shadow(0 6px 36px rgba(201,151,44,0.3)) drop-shadow(0 0 60px rgba(201,151,44,0.12)); }
}

.hero-badge {
  display: inline-block;
  background: rgba(201,151,44,0.12);
  border: 1px solid rgba(201,151,44,0.35);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
}

.hero-event {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-event span {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  display: inline-block;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-desc {
  color: rgba(255,255,255,0.62);
  font-size: 0.97rem;
  max-width: 500px;
  margin: 0 auto 1.6rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}

.hero-cta-primary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.hero-cta-primary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.38);
  color: #fff;
  transform: translateY(-1px);
}

.hero-cta-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll::after {
  content: '↓';
  font-size: 0.9rem;
  color: rgba(255,255,255,0.25);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ─── MISSION STATS ───────────────────────────── */
.mission {
  background: var(--navy);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mission-stat {
  text-align: center;
  padding: 0 3rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.mission-stat:last-child { border-right: none; }

.mission-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.mission-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ─── SHOP SECTION ────────────────────────────── */
.shop-wrapper {
  background: var(--bg);
  transition: background 0.4s;
}

.shop-wrapper.dark {
  background: #07111f;
}

.shop {
  max-width: 1380px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shop-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.4s;
}

.product-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.4s;
}

/* ─── Shop theme toggle button ─────────────── */
.shop-theme-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.shop-theme-btn:hover { border-color: var(--navy); color: var(--navy); }
.theme-btn-icon { font-size: 0.9rem; }

/* ─── Dark theme overrides ──────────────────── */
.shop-wrapper.dark .shop-title     { color: rgba(255,255,255,0.95); }
.shop-wrapper.dark .product-count  { color: rgba(255,255,255,0.4); }

.shop-wrapper.dark .shop-theme-btn {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.shop-wrapper.dark .shop-theme-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.shop-wrapper.dark .filter-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}
.shop-wrapper.dark .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,151,44,0.08);
}
.shop-wrapper.dark .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.shop-wrapper.dark .product-card {
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.shop-wrapper.dark .no-results { color: rgba(255,255,255,0.45); }

/* ─── FILTERS ─────────────────────────────────── */
.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ─── PRODUCT GRID ────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}

.product-card {
  background: linear-gradient(160deg, #102f6a 0%, #0B2B5E 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.06) inset;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 28px 64px rgba(0,0,0,0.42), 0 0 0 1px rgba(201,151,44,0.3), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}

.product-img-wrap.fit-portrait  { aspect-ratio: 3 / 4; }
.product-img-wrap.fit-square    { aspect-ratio: 1 / 1; }
.product-img-wrap.fit-landscape { aspect-ratio: 4 / 3; }

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
  display: block;
}

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

/* Slide-based image crops */
.product-img-wrap .slide-img {
  object-fit: none;
  width: 100%;
  height: 100%;
}

.product-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.product-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e8b84b;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums lining-nums;
}

.price-currency {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 0.85em;
  margin-right: 0.25em;
  opacity: 0.85;
}

.price-tbd {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}

.add-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.add-btn:hover { background: var(--navy-light); }
.add-btn:active { transform: scale(0.96); }

.add-btn.inquiry {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.add-btn.inquiry:hover { background: var(--navy); color: var(--white); }

.add-btn.donation {
  background: var(--gold);
}
.add-btn.donation:hover { background: var(--gold-light); }

/* Dark card overrides */
.product-card .add-btn {
  background: var(--gold);
  color: var(--navy);
}
.product-card .add-btn:hover { background: #d4a43a; }
.product-card .add-btn.inquiry {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
}
.product-card .add-btn.inquiry:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}
.product-card .add-btn.donation {
  background: var(--gold);
  color: var(--navy);
}

/* ─── CART DRAWER ─────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,43,94,0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(11,43,94,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 1.5rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cart-close:hover { background: var(--bg); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.cart-empty p { font-size: 0.9rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}

.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.cart-item-price {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 24px; height: 24px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--border); }

.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2rem;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #EF4444; }
.cart-item.unavailable .cart-item-name { opacity: 0.6; }
.cart-item-gone { color: #c0392b; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.cart-subtotal-label { font-size: 0.85rem; color: var(--text-muted); }
.cart-subtotal-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.cart-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.checkout-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.checkout-btn:hover { background: var(--navy-mid); }

/* ─── ORDER MODAL ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,43,94,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(11,43,94,0.25);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-top {
  background: var(--navy);
  padding: 2rem 2rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-top h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.modal-top p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.modal-body { padding: 1.8rem 2rem 2rem; }

.order-summary {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.order-summary h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.order-item-row:last-child { border-bottom: none; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--border);
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 80px; }

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

.form-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.2rem 0 0.6rem;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.delivery-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.delivery-opt:has(input:checked) {
  border-color: var(--navy);
  background: #f0f4ff;
}

.delivery-opt input[type="radio"] { margin-top: 2px; accent-color: var(--navy); }

.delivery-opt-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.delivery-opt-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.delivery-opt-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.shipping-calc {
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  min-height: 1em;
}

/* Honeypot — must stay invisible to real users */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; pointer-events: none; }

.shipping-calc.gta         { background: #eef8ee; color: #2d6a2d; border: 1px solid #b6d9b6; }
.shipping-calc.non-gta     { background: #fff8ec; color: #7a5000; border: 1px solid #f0d890; }
.shipping-calc.error       { background: #fff0f0; color: #c0392b; border: 1px solid #f5b8b8; border-left: 3px solid #c0392b; }
.shipping-calc.error::before { content: "⚠️ "; }
.shipping-calc.loading     { background: #f0f4fa; color: #4a6080; border: 1px solid #c8d6e8; font-style: italic; }
.shipping-calc.loading::before { content: ""; display: inline-block; width: .7em; height: .7em; border: 2px solid #4a6080; border-top-color: transparent; border-radius: 50%; animation: spin-shipping .7s linear infinite; vertical-align: middle; margin-right: .45em; }
.shipping-calc.canada-post { background: #e8f0fb; color: #1a3a6b; border: 1px solid #b0c8f0; }
.shipping-calc.canada-post::before { content: "📦 "; }
.shipping-calc.set-rate    { background: #e8f0fb; color: #1a3a6b; border: 1px solid #b0c8f0; }
@keyframes spin-shipping { to { transform: rotate(360deg); } }

.order-grand-total { font-size: 1rem; font-weight: 700; border-top: 1.5px solid var(--border); padding-top: 0.5rem; margin-top: 0.25rem; }

.order-cap-msg {
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #fff8ec;
  border: 1px solid #f0d890;
  border-left: 3px solid #C9972C;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #7a5000;
}
.order-cap-msg a { color: #7a5000; font-weight: 600; }

.checkout-notice {
  background: #eef4ff;
  border-left: 3px solid var(--navy);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.submit-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--navy-mid); }
.submit-btn:disabled,
.submit-btn:disabled:hover { opacity: 0.55; cursor: not-allowed; background: var(--navy); }

/* ─── SUCCESS STATE ───────────────────────────── */
.success-state {
  text-align: center;
  padding: 2rem;
  display: none;
}
.success-state.visible { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.success-state p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.receipt-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.receipt-link:hover { background: var(--navy-light); }

/* ─── Square card container ─────────────────── */
#card-container {
  min-height: 56px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  transition: border-color 0.2s;
}
#card-container:focus-within { border-color: var(--navy); }

.card-placeholder {
  margin-bottom: 1rem;
}
.card-placeholder label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-placeholder-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.card-placeholder-lock { font-size: 1rem; opacity: 0.6; }

.payment-errors {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.5rem;
  min-height: 1.1em;
}

.payment-errors.locked {
  background: #fff0f0;
  border: 1px solid #f5b8b8;
  border-left: 3px solid #c0392b;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-weight: 600;
}

/* ─── PRODUCT IMAGE PLACEHOLDERS ─────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2.5rem;
}

.img-placeholder span {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Category background colors */
.cat-drinkware { background: linear-gradient(135deg, #1a4a9b 0%, #0B2B5E 100%); }
.cat-apparel   { background: linear-gradient(135deg, #2d6a9e 0%, #144a7a 100%); }
.cat-jewelry   { background: linear-gradient(135deg, #7c5c1e 0%, #C9972C 100%); }
.cat-stationery { background: linear-gradient(135deg, #374151 0%, #1F2937 100%); }
.cat-bags      { background: linear-gradient(135deg, #1e5c3a 0%, #0f3320 100%); }
.cat-keepsakes { background: linear-gradient(135deg, #4b2d6e 0%, #2d1a45 100%); }
.cat-tech      { background: linear-gradient(135deg, #1a5c6b 0%, #0b3540 100%); }
.cat-kids      { background: linear-gradient(135deg, #1a6b4e 0%, #0b3d2a 100%); }
.cat-utility   { background: linear-gradient(135deg, #5c3a1e 0%, #3d2010 100%); }
.cat-food      { background: linear-gradient(135deg, #7c5c1e 0%, #4a3610 100%); }
.cat-fragrance { background: linear-gradient(135deg, #3d1a5c 0%, #1e0b33 100%); }
.cat-home      { background: linear-gradient(135deg, #1a4a6b 0%, #0b2d45 100%); }
.cat-support   { background: linear-gradient(135deg, #0B2B5E 0%, #C9972C 100%); }

/* ─── SLIDE-BASED PRODUCT IMAGES ─────────────── */
.slide-crop {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.4s;
}
.product-card:hover .slide-crop { transform: scale(1.04); }

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo {
  height: 70px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* ─── NO RESULTS ──────────────────────────────── */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.no-results-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .mission { flex-wrap: wrap; gap: 2rem; }
  .mission-stat { border-right: none; padding: 0 1.5rem; }
}

@media (max-width: 600px) {
  .nav { padding: 0 1rem; }
  .nav-title { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .shop { padding: 2rem 1rem 4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 1.2rem 1.2rem 1.5rem; }
}

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

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

.product-card {
  animation: fadeInUp 0.4s ease both;
}

/* ─── PRODUCT DETAIL MODAL ───────────────────────────────────────── */
.pd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,16,30,0.72);
  backdrop-filter: blur(6px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.pd-overlay.open { display: flex; }

.pd-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: pdSlideUp 0.3s ease;
}

@keyframes pdSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pd-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.06);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.2s;
}
.pd-close:hover { background: rgba(0,0,0,0.14); }

.pd-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #0B2B5E;
  overflow: hidden;
}
.pd-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pd-img .img-placeholder {
  width: 100%; height: 100%;
  font-size: 4rem;
}

.pd-body {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.pd-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.pd-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.pd-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

.pd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.pd-action {
  background: var(--navy);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.pd-action:hover { background: var(--navy-light); transform: translateY(-1px); }
.pd-action.donation { background: var(--gold); }
.pd-action.donation:hover { background: var(--gold-light); }
.pd-action.inquiry { background: var(--bg); color: var(--text); border: 1px solid var(--border); cursor: default; }

@media (max-width: 620px) {
  .pd-modal { grid-template-columns: 1fr; max-height: 95vh; }
  .pd-img { aspect-ratio: 4/3; }
  .pd-body { padding: 1.5rem; }
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 500;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(11,43,94,0.3);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── Global dark theme ────────────────────────────────────────────────────
   Activated by: html[data-theme="dark"]
   Toggled by the shop theme button (app.js) and the legal page theme buttons.
   The hero, nav, footer, and mission bar are always dark navy — only the
   white/light surfaces (cart, modals, form inputs) change.
──────────────────────────────────────────────────────────────────────────── */

/* Cart drawer */
html[data-theme="dark"] .cart-drawer         { background: #111e35; }
html[data-theme="dark"] .cart-header         { border-color: #1e3158; }
html[data-theme="dark"] .cart-header h2      { color: #93b4f5; }
html[data-theme="dark"] .cart-close          { color: #7b90b8; }
html[data-theme="dark"] .cart-close:hover    { background: #162240; }
html[data-theme="dark"] .cart-item          { border-color: #1e3158; }
html[data-theme="dark"] .cart-item-img      { background: #162240; }
html[data-theme="dark"] .cart-item-name     { color: #dde5f5; }
html[data-theme="dark"] .cart-empty         { color: #7b90b8; }
html[data-theme="dark"] .cart-footer        { background: #0d1828; border-color: #1e3158; }
html[data-theme="dark"] .cart-subtotal-label { color: #7b90b8; }
html[data-theme="dark"] .cart-subtotal-val  { color: #93b4f5; }
html[data-theme="dark"] .cart-note          { color: #7b90b8; }
html[data-theme="dark"] .qty-btn            { background: #162240; color: #dde5f5; }
html[data-theme="dark"] .qty-btn:hover      { background: #1e3158; }
html[data-theme="dark"] .qty-num            { color: #dde5f5; }
html[data-theme="dark"] .cart-item-remove   { color: #7b90b8; }

/* Checkout modal */
html[data-theme="dark"] .modal                 { background: #111e35; }
html[data-theme="dark"] .modal-body            { background: #111e35; }
html[data-theme="dark"] .order-summary         { background: #0d1828; }
html[data-theme="dark"] .order-summary h3      { color: #7b90b8; }
html[data-theme="dark"] .order-item-row        { color: #dde5f5; border-color: #1e3158; }
html[data-theme="dark"] .order-total-row       { color: #93b4f5; border-color: #1e3158; }
html[data-theme="dark"] .order-grand-total     { border-color: #1e3158; }
html[data-theme="dark"] .form-group label      { color: #93b4f5; }
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .form-group select     { background: #0d1828; color: #dde5f5; border-color: #1e3158; }
html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus { border-color: #93b4f5; }
.form-group input.field-missing,
.form-group select.field-missing,
html[data-theme="dark"] .form-group input.field-missing,
html[data-theme="dark"] .form-group select.field-missing { border-color: #c0392b; }
html[data-theme="dark"] .form-section-label    { color: #7b90b8; }
html[data-theme="dark"] .delivery-opt         { border-color: #1e3158; }
html[data-theme="dark"] .delivery-opt:has(input:checked) { border-color: #93b4f5; background: #0d1e40; }
html[data-theme="dark"] .delivery-opt-title   { color: #dde5f5; }
html[data-theme="dark"] .delivery-opt-sub     { color: #7b90b8; }
html[data-theme="dark"] .card-placeholder     { background: #0d1828; border-color: #1e3158 !important; }
html[data-theme="dark"] .card-placeholder-hint { color: #7b90b8; }
html[data-theme="dark"] #paymentErrors        { color: #f87171; }
html[data-theme="dark"] .success-state h3     { color: #dde5f5; }
html[data-theme="dark"] .success-state p      { color: #7b90b8; }

/* Product detail modal */
html[data-theme="dark"] .pd-modal  { background: #111e35; }
html[data-theme="dark"] .pd-close  { color: #7b90b8; background: #162240; }
html[data-theme="dark"] .pd-cat    { color: #7b90b8; }
html[data-theme="dark"] .pd-name   { color: #dde5f5; }
html[data-theme="dark"] .pd-desc   { color: #8a9ec0; }
html[data-theme="dark"] .pd-footer { border-color: #1e3158; }
html[data-theme="dark"] .pd-action.inquiry { background: #162240; color: #7b90b8; border-color: #1e3158; }
