/* =====================================================
   CommunitE — Refined Editorial Style
   Inspired by steviaplease.me
   ===================================================== */

:root {
  --black: #0e0e0e;
  --white: #fafaf8;
  --cream: #f4f1ec;
  --green: #1a5c3a;
  --green-light: #e8f2ec;
  --green-mid: #2d7a50;
  --accent: #c8f56a;
  --muted: #7a7a72;
  --border: #e2ddd6;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.22, 1.22, 0.36, 1);

  /* Redesign palette — namespaced "rd-" so nothing existing silently changes color */
  --rd-purple: #1e1540;
  --rd-purple-mid: #2d1b4e;
  --rd-purple-deep: #3a2268;
  --rd-gold: #c9a84c;
  --rd-gold-light: #f5edd6;
  --rd-cream: #faf7f2;
  --rd-brown: #2a2218;
  --rd-brown-light: #6b5b3e;
  --rd-sage: #4a7c59;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--rd-cream);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 21, 64, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-name {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
}
.nav-name em { color: var(--rd-gold); font-style: italic; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.nav-tagline:hover { color: var(--rd-gold); }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.back-btn:hover { background: var(--green-light); }
.cart-btn {
  position: relative;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.cart-btn:hover { background: var(--green); transform: scale(1.04); }
.cart-count {
  background: var(--accent);
  color: var(--black);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 5px;
}

/* ── HERO ── */
.hero {
  max-width: 100%;
  padding: 20px 0 100px;
  background: linear-gradient(170deg, var(--rd-purple) 0%, var(--rd-purple-mid) 55%, var(--rd-purple-deep) 100%);
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--rd-gold); margin-bottom: 18px; opacity: 0.9;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.68); line-height: 1.6; max-width: 480px;
  margin-bottom: 26px; font-weight: 300;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-gold {
  background: var(--rd-gold); color: var(--rd-purple); font-weight: 700; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 30px; cursor: pointer; transition: transform 0.2s;
}
.btn-gold:hover { transform: scale(1.03); }
.btn-outline {
  background: transparent; color: #fff; font-weight: 500; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 30px; border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--rd-gold); color: var(--rd-gold); }
.hero-product-strip {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.hero-product-strip::-webkit-scrollbar { display: none; }
.hero-chip {
  flex-shrink: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; align-items: center;
  gap: 8px; min-width: 100px;
}
.hero-chip-emoji { font-size: 2rem; }
.hero-chip-name { font-size: 0.72rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* Trust bar — floats up over the hero's bottom edge */
.trust-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #fff;
  max-width: 900px; margin: -28px auto 0; padding: 0 20px; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12); position: relative; z-index: 10; overflow: hidden;
}
.trust-item { padding: 24px 12px; text-align: center; background: #fff; }
.trust-number { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--rd-purple); line-height: 1; }
.trust-label { font-size: 0.72rem; color: var(--rd-brown-light); margin-top: 4px; font-weight: 500; }

@media (min-width: 700px) {
  .hero { padding: 24px 0 100px; }
}

/* Brand card on top (full width), 3 small cards in a row below —
   each row sizes to its own content instead of sharing one tall row,
   which is what was making the hero take up so much height on mobile. */
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

/* Row of small cards below the brand card — wraps to 2x2 on narrow screens */
.hero-col-small {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-col-small .hero-card--about    { flex: 1 1 calc(50% - 5px); min-width: 0; }
.hero-col-small .hero-card--partners { flex: 1 1 calc(50% - 5px); min-width: 0; }
.hero-col-small .hero-card--reels    { flex: 1 1 calc(50% - 5px); min-width: 0; }
.hero-col-small .hero-member-wrap    { flex: 1 1 calc(50% - 5px); }
.hero-col-small .hero-card--member   { flex: 1; min-height: 0; overflow: visible; }
.hero-col-small .hero-card { padding: 18px 20px; min-height: 0; }

@media (min-width: 901px) {
  /* Enough room for all 4 in a single row on larger screens */
  .hero-col-small .hero-card--about,
  .hero-col-small .hero-card--partners,
  .hero-col-small .hero-card--reels,
  .hero-col-small .hero-member-wrap { flex: 1 1 0; }
}

.hero-card {
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.13); }

.hero-card--about  { background: #c8c4f0; color: #1a1060; }
.hero-card--partners { background: #ffcb8e; color: #5c2f00; }
.hero-card--fresh  { background: #e8395a; }
.hero-card--reels  { }
.hero-card--member {
  background: linear-gradient(135deg, #b8860b 0%, #f5c842 45%, #e8a800 75%, #b8860b 100%);
  background-size: 200% 200%;
  animation: goldShimmer 3s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-card--main { background: var(--black); color: var(--white); }

/* PURPLE brand card with GOLD CommunitE title */
.hero-card--brand {
  background: #2d1b69;
  color: #fff;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card--brand .hero-brand-tagline span {
  color: rgba(245,195,60,0.8);
  background: rgba(245,195,60,0.1);
  border: 1px solid rgba(245,195,60,0.25);
}
.hero-card--brand .hero-brand-tagline em { color: #f5c33c; font-weight: 800; }
.hero-card--brand .hero-title {
  color: #f5c33c;
  text-shadow: 0 2px 20px rgba(245,195,60,0.3);
}
.hero-card--brand .hero-brand-sub { color: rgba(255,255,255,0.6); }
.hero-card--brand .hero-deco--circle {
  background: radial-gradient(circle, rgba(245,195,60,0.15) 0%, transparent 70%);
}

/* ── LEFT CARD FONTS — more prominent ── */
.hero-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1;
  position: relative;
  z-index: 2;
}
.hero-card-bottom { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.hero-stat-sm {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label { font-size: 1rem; font-weight: 700; opacity: 0.9; }
.hero-icon-sm { font-size: 3rem; opacity: 0.95; }

/* Membership card — stand-out badge + animated star */
.hero-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #2a1800;
  margin-bottom: 6px;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.hero-member-star {
  display: inline-block;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 5;
  animation: starFlyIn 1s cubic-bezier(0.34,1.56,0.64,1) forwards,
             starPulse 2s ease-in-out 1.2s infinite;
  opacity: 0;
  transform: translateY(-120px) scale(0.3) rotate(-180deg);
  background: #f5c33c;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  /* Ensure not clipped by any parent */
  overflow: visible;
}
@keyframes starFlyIn {
  0%   { opacity: 0; transform: translateY(-120px) scale(0.3) rotate(-180deg); }
  60%  { opacity: 1; transform: translateY(8px) scale(1.3) rotate(10deg); }
  80%  { transform: translateY(-4px) scale(0.95) rotate(-5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes starPulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.25) rotate(18deg); background: #ffe066; }
}
.hero-member-hint {
  font-size: 1rem;
  font-weight: 800;
  color: #2a1800;
  opacity: 1;
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

/* Brand card internals */
.hero-brand-tagline {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-brand-tagline span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
}
.hero-brand-tagline em {
  font-style: normal;
  font-weight: 800;
}
.hero-brand-name { position: relative; z-index: 2; }
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 10px;
}
.hero-title-come { display: block; }
.hero-title-unite { color: var(--rd-gold); font-style: italic; }
.hero-brand-sub {
  font-size: 1rem;
  line-height: 1.6;
}
.hero-cta--brand {
  display: none; /* removed per request */
}

/* keep old classes for compat */
.hero-stat { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.hero-icon { font-size: 2.5rem; opacity: 0.3; align-self: flex-end; }
.hero-deco--circle {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,245,106,0.15) 0%, transparent 70%);
  top: -60px; right: -60px; z-index: 1;
}

/* ── FLUID BLOB ANIMATIONS ── */
/* Blob base — sits behind card content, clipped by card */
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

/* Large slow blob */
.hero-card::before {
  width: 240px;
  height: 240px;
  top: -60px;
  right: -60px;
  animation: blob1 9s ease-in-out infinite;
}

/* Small fast blob */
.hero-card::after {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: -30px;
  animation: blob2 7s ease-in-out infinite;
  opacity: 0.10;
}

/* Brand card blobs — gold on purple */
.hero-card--brand::before { background: #f5c33c; opacity: 0.15; }
.hero-card--brand::after  { background: #f5c33c; opacity: 0.08; animation-delay: -3s; }

/* About card blobs */
.hero-card--about::before { background: #5a4fcf; opacity: 0.12; }
.hero-card--about::after  { background: #5a4fcf; opacity: 0.08; animation-delay: -2s; }
.hero-card--partners::before { background: #e07b00; opacity: 0.12; }
.hero-card--partners::after  { background: #e07b00; opacity: 0.08; animation-delay: -2s; }

/* Reels card blobs */
.hero-card--fresh::before { background: #fff; opacity: 0.12; }
.hero-card--fresh::after  { background: #fff; opacity: 0.08; animation-delay: -4s; }

/* Member card blobs */
.hero-card--member::before { background: #fff; opacity: 0.15; }
.hero-card--member::after  { background: #fff; opacity: 0.1; animation-delay: -3s; }

@keyframes blob1 {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1) rotate(0deg); }
  25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: scale(1.05) rotate(8deg); }
  50%      { border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%; transform: scale(0.95) rotate(-6deg); }
  75%      { border-radius: 40% 30% 60% 50% / 70% 50% 40% 30%; transform: scale(1.08) rotate(4deg); }
}

@keyframes blob2 {
  0%,100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1) rotate(0deg); }
  33%      { border-radius: 70% 30% 40% 60% / 60% 40% 50% 40%; transform: scale(1.1) rotate(-10deg); }
  66%      { border-radius: 30% 70% 50% 50% / 50% 70% 30% 60%; transform: scale(0.92) rotate(7deg); }
}

/* Hero entrance animation */
.hero-card { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s var(--ease-spring) forwards; }
.hero-col-small .hero-card:nth-child(1) { animation-delay: 0.05s; }
.hero-col-small .hero-card:nth-child(2) { animation-delay: 0.15s; }
.hero-col-small .hero-card:nth-child(3) { animation-delay: 0.25s; }
.hero-col-small .hero-card:nth-child(4) { animation-delay: 0.35s; }
.hero-card--brand { animation-delay: 0.1s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── MAIN ── */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

/* ── SECTIONS ── */
.catalog-section { margin-bottom: 64px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── CATEGORY GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card-grid--sub {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Category card */
.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s var(--ease), border-color 0.2s;
}
.category-card.card-animated { opacity: 1; transform: translateY(0); }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: var(--green-mid);
}
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.category-card:hover img { transform: scale(1.05); }
.category-card-title {
  padding: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* Subcategory card */
.subcat-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.subcat-card.card-animated { opacity: 1; transform: translateY(0); }
.subcat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.09); }
.subcat-card img { width: 100%; height: 130px; object-fit: cover; transition: transform 0.5s var(--ease); }
.subcat-card:hover img { transform: scale(1.06); }
.subcat-title { padding: 12px 14px; font-weight: 600; font-size: 0.88rem; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.product-card.card-animated { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(0,0,0,0.1); }
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover img { transform: scale(1.04); }
.product-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-title { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.product-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; display: none; }
.product-details-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  transition: color 0.15s;
}
.product-details-link i { font-size: 0.76rem; }
.product-details-link:hover { color: var(--green); }
.product-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: var(--green); }

.controls-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.variant-select {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}
.variant-select:focus { border-color: var(--green-mid); }

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}
.qty-control button {
  padding: 8px 11px;
  font-size: 1rem;
  color: var(--black);
  transition: background 0.15s;
}
.qty-control button:hover { background: var(--border); }
.qty-control input {
  width: 42px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  outline: none;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.add-btn:hover { background: var(--green); transform: scale(1.04); }

/* ── CART SIDEBAR ── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: right 0.4s var(--ease-spring);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.cart-content { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.cart-total {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-item {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.cart-item-name { font-weight: 700; font-size: 0.95rem; }
.cart-item-meta { font-size: 0.82rem; color: var(--muted); }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-item-price { font-weight: 800; font-size: 1rem; }
.cart-qty-group { display: flex; align-items: center; gap: 8px; }
.cart-qty-group button { background: var(--border); border-radius: 6px; width: 28px; height: 28px; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.cart-qty-group button:hover { background: var(--green-light); }
.cart-qty-group span { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-cart i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; }
.empty-cart p { font-size: 1rem; margin-bottom: 6px; }
.empty-cart small { font-size: 0.85rem; }

/* ── OVERLAY ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, 0.5);
  backdrop-filter: blur(4px);
  z-index: 150;
}

/* ── MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
  animation: modalIn 0.35s var(--ease-spring);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
}
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; }
.modal-body { padding: 24px 28px 28px; }

/* ── FORMS ── */
.lookup-row { margin-bottom: 20px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.field-label { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-input {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-input:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(45, 122, 80, 0.1); }
.field-textarea { min-height: 80px; resize: vertical; }
.inline-row { display: flex; gap: 10px; align-items: stretch; }
.inline-row .field-input { flex: 1; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green); transform: scale(1.02); }
.btn-block { width: 100%; }
.btn-secondary {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--border); }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--border);
  font-size: 1rem;
  color: var(--black);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: #f0f0f0;
  border-color: #999;
  transform: scale(1.08);
}
.icon-btn i { pointer-events: none; font-size: 1rem; }

/* Plain × glyph used for all close/remove buttons instead of a Font Awesome
   icon — those icons weren't reliably rendering (blank circles), and a
   close/remove control is important enough to not depend on a 3rd-party
   icon script loading + scanning the DOM in time. */
.icon-x {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
  pointer-events: none;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-sub { font-size: 0.88rem; color: var(--muted); }

/* ── RESPONSIVE ── */

/* ── NAV ABOUT BUTTON ── */
.nav-about-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-about-btn:hover { background: var(--green-light); border-color: var(--green-mid); }

/* ── ABOUT MODAL ── */
.modal-box--about { max-width: 660px; }

.about-body { padding: 0 28px 32px; }

.about-hero {
  text-align: center;
  padding: 32px 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.about-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.about-tagline {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.about-stat {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  border: 1px solid var(--border);
}
.about-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.03em;
}
.about-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* Mission / Vision cards */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.about-card {
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--border);
}
.about-card--mission { background: var(--black); color: var(--white); }
.about-card--vision  { background: var(--green); color: var(--white); }
.about-card-icon {
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.7;
}
.about-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Sections */
.about-section { margin-bottom: 28px; }
.about-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Values */
.about-values { display: flex; flex-direction: column; gap: 10px; }
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.about-value i {
  color: var(--green);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Product tags */
.about-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-products span {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(26, 92, 58, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
}

/* Contact */
.about-contact {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--border);
}
.about-contact-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.about-contact-name span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-left: 6px;
}
.about-contact-links { display: flex; flex-direction: column; gap: 10px; }
.about-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.about-contact-item:hover { color: var(--green); }
.about-contact-item i { color: var(--green); width: 16px; text-align: center; }

/* ── REELS MODAL ── */
.modal-box--reels { max-width: 860px; }

.reels-body { padding: 0 28px 32px; }

.reels-intro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
  text-align: center;
}
.reels-handle {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.reels-handle:hover { text-decoration: underline; }

.reels-strip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reels-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
  flex: 1;
}
.reels-strip::-webkit-scrollbar { height: 4px; }
.reels-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.reel-item {
  flex: 0 0 240px;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--cream);
}
.reel-item iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.reel-placeholder {
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.reel-placeholder i { font-size: 2rem; opacity: 0.3; }

.reels-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s;
  z-index: 2;
}
.reels-arrow:hover { background: var(--green); transform: scale(1.08); }

/* ── CSS VARIABLES ADDITIONS ── */
:root { --gold: #d4a017; --gold-dark: #b8860b; --gold-light: #f5c842; }

/* ── HERO TAGLINE SMALL ── */
.hero-tagline-small {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-bottom: 16px;
  margin-top: -8px;
}

/* ── MEMBER LOGIN BUTTON (nav) ── */
.member-login-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #1a1200;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-right: 8px;
}
.member-login-btn:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(212,160,23,0.35); }
.member-login-btn.is-member { background: linear-gradient(135deg, #1a5c3a, #2d8a5e); color: #fff; }

/* Account / profile nav button */
.account-nav-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  margin-right: 8px;
}
.account-nav-btn:hover { border-color: var(--rd-gold); color: var(--rd-gold); transform: scale(1.03); }
.nav-emoji { font-size: 1rem; line-height: 1; }

/* Profile modal */
.modal-box--profile { max-width: 440px; }

/* Tambola modal */
.modal-box--tambola { max-width: 620px; max-height: 85vh; overflow-y: auto; }

.modal-box--product-detail { max-width: 440px; }
.product-detail-modal-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 14px;
}
.product-detail-modal-desc { font-size: 0.92rem; line-height: 1.6; color: var(--black, #2b2b2b); }

.dice-bounce {
  display: inline-block; margin-right: 8px; font-size: 1.2em;
  animation: diceBounce 1.8s ease-in-out infinite;
}
@keyframes diceBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-12deg); }
  50% { transform: translateY(0) rotate(8deg); }
  75% { transform: translateY(-2px) rotate(-4deg); }
}

.tambola-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; padding: 5px;
  background: #f2f0ea; border-radius: 999px;
}
.tambola-tab {
  flex: 1; background: transparent; border: none; padding: 9px 8px; font-size: 0.82rem;
  font-weight: 700; color: var(--muted, #888); cursor: pointer; border-radius: 999px;
  transition: all 0.2s;
}
.tambola-tab:hover { color: var(--ink, #2b2b2b); }
.tambola-tab.active {
  background: linear-gradient(135deg, #2d8a5e, #1a5c3a); color: #fff;
  box-shadow: 0 3px 10px rgba(45,138,94,0.35); transform: scale(1.02);
}
.tambola-generate-btn {
  background: linear-gradient(135deg, var(--gold-dark, #d4a017), var(--gold-light, #f2c94c));
  color: #1a1200; font-size: 1rem; font-weight: 800; border: none;
  box-shadow: 0 4px 14px rgba(212,160,23,0.35); transition: transform 0.15s;
}
.tambola-generate-btn:hover { transform: scale(1.02); }
.tambola-generate-btn:active { transform: scale(0.97); }

.tickets-output { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.ticket-card {
  border: 2px dashed #d4a017; border-radius: 10px; padding: 12px; background: #fffdf7;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08); transition: transform 0.2s;
}
.ticket-card:nth-child(even) { border-color: #2d8a5e; background: #f7fdf9; }
.ticket-card:hover { transform: rotate(-1deg) scale(1.02); }
.ticket-card canvas { max-width: 100%; height: auto; }
.ticket-card-actions { display: flex; gap: 8px; width: 100%; }
.ticket-card-actions button { flex: 1; font-size: 0.78rem; padding: 7px; }

.caller-number-display {
  width: 120px; height: 120px; border-radius: 50%;
  border: 3px solid var(--green, #2d8a5e);
  background: radial-gradient(circle at 35% 30%, #eafaf0, #ffffff);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800;
  color: var(--green, #2d8a5e); margin: 0 auto 8px; position: relative;
  box-shadow: 0 4px 16px rgba(45,138,94,0.25);
}
.caller-number-display.pop { animation: callerPop 0.4s ease-out; }
@keyframes callerPop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.confetti-piece {
  position: absolute; font-size: 1.1rem; pointer-events: none;
  animation: confettiFloat 0.9s ease-out forwards;
}
@keyframes confettiFloat {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), -60px) rotate(var(--rot)); opacity: 0; }
}

.caller-status { text-align: center; color: var(--muted, #888); font-size: 0.85rem; margin-bottom: 14px; }
.caller-actions { display: flex; gap: 8px; margin-bottom: 18px; }
.caller-actions button { flex: 1; }
.caller-board { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.caller-cell {
  aspect-ratio: 1; border: 1px solid #ddd; border-radius: 4px; display: flex; align-items: center;
  justify-content: center; font-size: 0.75rem; color: #999; background: #fafaf8;
}
.caller-cell.called {
  background: linear-gradient(135deg, #2d8a5e, #1a5c3a); color: #fff; border-color: var(--green, #2d8a5e);
  font-weight: 700; animation: cellPop 0.3s ease-out;
}
@keyframes cellPop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }

.caller-line-text {
  text-align: center; font-size: 0.95rem; font-weight: 700; color: var(--green, #2d8a5e);
  min-height: 1.3em; margin: 0 0 4px;
}
.caller-voice-toggle {
  display: block; margin: 0 auto 16px; background: #f2f0ea; border: 1px solid #d8d5cd;
  border-radius: 999px; padding: 6px 14px; font-size: 0.78rem; font-weight: 600;
  color: var(--ink, #2b2b2b); cursor: pointer;
}
.caller-voice-toggle:hover { background: #e8e5de; }

.tambola-note { font-size: 0.78rem; color: var(--muted, #888); margin: 8px 0 16px; }

.rules-block h3 { font-size: 0.95rem; margin: 18px 0 6px; color: var(--green, #2d8a5e); }
.rules-block h3:first-child { margin-top: 0; }
.rules-block p { font-size: 0.88rem; line-height: 1.55; color: var(--ink, #2b2b2b); margin: 0 0 4px; }
.rules-patterns { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rules-patterns li {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  background: #f7f5f0; border-radius: 10px; border: 1px solid #eae7e0;
}
.rules-patterns li:nth-child(even) { background: #f0f8f3; }
.rules-patterns .pattern-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.rules-patterns li div { font-size: 0.85rem; line-height: 1.5; color: var(--ink, #2b2b2b); }
.rules-patterns li strong { color: var(--green, #2d8a5e); }
.rules-disclaimer {
  background: #fff8e6; border: 1px solid #f2d98a; border-radius: 8px;
  padding: 12px 14px; font-size: 0.82rem; line-height: 1.55; color: #6b4f00; margin-top: 4px;
}

/* Interactive tappable ticket (opened via a shared link) */
.interactive-ticket-grid {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px;
  max-width: 480px; margin: 0 auto;
}
.iticket-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #ccc; border-radius: 6px; font-weight: 700; font-size: 0.95rem;
  background: #fff; cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s;
}
.iticket-cell.blank { background: #efece5; border-style: dashed; cursor: default; }
.iticket-cell.crossed {
  background: var(--green, #2d8a5e); color: #fff; border-color: var(--green, #2d8a5e);
  text-decoration: line-through; opacity: 0.9;
}

@media (max-width: 600px) {
  .caller-board { grid-template-columns: repeat(9, 1fr); }
  .caller-number-display { width: 96px; height: 96px; font-size: 2rem; }
}
.profile-empty-note { color: var(--muted, #777); font-size: 0.9rem; line-height: 1.5; }
.profile-member-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.profile-member-badge.is-active { background: #eaf6ee; color: #1a5c3a; border: 1px solid #b7e0c4; }
.profile-member-badge.is-pending { background: #fff8e6; color: #8a6200; border: 1px solid #f2d98a; }
.profile-member-badge.is-expired { background: #fdecea; color: #a3352f; border: 1px solid #f2b8b5; }
.profile-details {
  border: 1px solid #eae7e0;
  border-radius: 10px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0eee8;
  font-size: 0.88rem;
}
.profile-row:last-child { border-bottom: none; }
.profile-row span { color: var(--muted, #777); }
.profile-row strong { text-align: right; font-weight: 600; }
.profile-edit-actions { display: flex; gap: 10px; margin-top: 6px; }
.profile-edit-actions button { flex: 1; }
.btn-text {
  background: none;
  border: none;
  color: var(--green, #2d8a5e);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: block;
  margin-inline: auto;
}
.btn-text:hover { opacity: 0.75; }

@media (max-width: 600px) {
  .nav-inner { gap: 8px; }
  .nav-links { gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-tagline { flex-shrink: 0; }
  .account-nav-btn { padding: 7px 10px; flex-shrink: 0; }
  .member-login-btn { padding: 7px 10px; flex-shrink: 0; }
  .cart-btn { flex-shrink: 0; }
}

/* ── DUAL PRICING ON PRODUCT CARDS ── */
.product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-price--regular {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-price--member {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-price--member .member-tag {
  font-size: 0.65rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #1a1200;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-price--single {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

/* ── MEMBER SAVINGS BANNER (cart) ── */
.member-savings-banner,
.renewal-banner {
  position: relative;
  margin: 0 16px 12px;
  border-radius: 14px;
  overflow: hidden;
}
.banner-close-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.banner-close-btn:hover { background: rgba(255,255,255,0.4); }
.banner-close-btn .icon-x { font-size: 1rem; }
.member-savings-banner { background: linear-gradient(135deg, #1a5c3a, #2d8a5e); color: #fff; }
.renewal-banner { background: linear-gradient(135deg, #7a4400, #b86000); color: #fff; }
.msb-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 34px 12px 14px;
}
.msb-icon { font-size: 1.4rem; flex-shrink: 0; }
.msb-text { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; }
.msb-text strong { font-size: 0.88rem; }
.msb-btn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.msb-btn:hover { background: rgba(255,255,255,0.35); }

/* Membership fee cart row */
.cart-row--membership { color: var(--gold-dark); font-weight: 600; }
.plan-badge {
  font-size: 0.68rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #1a1200;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  margin-left: 4px;
}

/* ── MEMBERSHIP MODAL ── */
.modal-box--membership { max-width: 520px; }

/* ── ORDER SUCCESS MODAL ── */
.modal-box--success { max-width: 440px; }
.order-success-body {
  padding: 36px 28px 28px;
  text-align: center;
}
.order-success-mascot {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
}
.order-success-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: mascotWiggle 2s ease-in-out infinite;
}
.order-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.order-success-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.order-success-details {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  text-align: left;
}
.osd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
}
.osd-row + .osd-row { border-top: 1px solid var(--border); }
.osd-row span { color: var(--muted); }
.osd-row strong { color: var(--black); }
.order-success-email {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 22px;
}
.order-success-email i { color: var(--green); margin-right: 4px; }
.order-success-email strong { color: var(--black); font-weight: 700; }
.membership-body { padding: 24px; }

.member-benefits { background: var(--cream); border-radius: 16px; padding: 20px; margin-bottom: 24px; }
.member-benefits-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.member-benefit-list { display: flex; flex-direction: column; gap: 10px; }
.member-benefit { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.member-benefit i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.member-plans-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.member-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.member-plan {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  text-align: center;
  background: #fff;
}
.member-plan:hover { border-color: var(--gold); transform: translateY(-2px); }
.member-plan.selected { border-color: var(--gold-dark); background: #fffbf0; box-shadow: 0 0 0 3px rgba(184,134,11,0.15); }
/* Featured (Annual) — no default highlight, only a subtle tag */
.member-plan--featured { border-color: var(--border); background: #fff; }
.member-plan--featured.selected { border-color: var(--gold-dark); background: #fff5cc; }
.plan-save-tag {
  display: inline-block;
  background: #1a7a2a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.plan-badge-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin-bottom: 6px; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.plan-price span { font-size: 0.75rem; font-weight: 500; opacity: 0.6; }
.plan-desc { font-size: 0.75rem; opacity: 0.65; margin-top: 6px; }

/* Member confirm card */
.member-confirm-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0faf4;
  border: 1.5px solid #a8dfbe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
}
.member-confirm-card i { color: var(--green); font-size: 1.4rem; flex-shrink: 0; }
.member-confirm-card strong { display: block; font-size: 0.95rem; }
.member-confirm-card span { font-size: 0.8rem; color: var(--muted); }

/* UPI payment box */
.upi-payment-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin: 16px 0;
}
.upi-instruction { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.upi-qr-img {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 2px solid var(--border);
  margin: 0 auto 16px;
  background: #fff;
  overflow: hidden;
}
.upi-pay-app-btn {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.upi-id-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.upi-id-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.upi-id-value { font-size: 0.85rem; font-weight: 600; font-family: monospace; }
.upi-copy-btn { background: none; border: none; cursor: pointer; color: var(--green); font-size: 0.9rem; padding: 4px; }
.upi-note { font-size: 0.8rem; color: var(--muted); }
.upi-note strong { color: var(--black); }
.member-payment-summary {
  background: linear-gradient(135deg, #fffbf0, #fff8e0);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
}
.member-payment-summary strong { color: var(--gold-dark); }

/* Active member card */
.member-active-card {
  text-align: center;
  padding: 24px 0;
}
.mac-crown { font-size: 3rem; margin-bottom: 12px; }
.member-active-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
.mac-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #1a1200;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.mac-details {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.mac-row { display: flex; justify-content: space-between; font-size: 0.88rem; }
.mac-row span { color: var(--muted); }
.mac-note { font-size: 0.82rem; color: var(--muted); }

/* ── ABOUT CARD MASCOT ── */
.hero-card--about {
  overflow: visible !important; /* allow mascot to escape card bounds */
}
/* Clip blob animations inside about card via pseudo-element containment */
.hero-card--about::before,
.hero-card--about::after {
  clip-path: inset(0 0 0 0 round 20px);
}
.about-mascot {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 80px;
  height: 80px;
  transform: translateY(30px) rotate(-20deg) scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  z-index: 10;
  pointer-events: none;
}
.hero-card--about:hover .about-mascot {
  transform: translateY(-16px) rotate(10deg) scale(1.2);
  opacity: 1;
}
.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
  animation: mascotWiggle 2s ease-in-out infinite;
  animation-play-state: paused;
}
.hero-card--about:hover .mascot-img { animation-play-state: running; }
@keyframes mascotWiggle {
  0%,100% { transform: rotate(0deg); }
  30%      { transform: rotate(-10deg) scale(1.05); }
  70%      { transform: rotate(10deg) scale(1.05); }
}

/* ── ORDER PAYMENT STEP ── */
.order-amount-summary {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.oas-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.oas-row:last-of-type { border-bottom: none; }
.oas-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 0.9rem;
}
.oas-total strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
}
.payment-step-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.payment-step-actions .btn-primary {
  flex: 1;
}

/* ── CATEGORY FLOAT ── */
.category-card.card-animated { animation: cardFloat 4s ease-in-out infinite; }
.category-card.card-animated:nth-child(2n) { animation-delay: -1.5s; }
.category-card.card-animated:nth-child(3n) { animation-delay: -3s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* Product image wrap — canvas sits over image only */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  aspect-ratio: 4/3;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-img-wrap .ripple-canvas {
  border-radius: 12px 12px 0 0;
}

/* Category + subcat card ripple */
.category-card,
.subcat-card {
  position: relative;
  overflow: hidden;
}

/* ── CONVEYOR BELT ── */
.conveyor-section {
  padding: 28px 0 0;
  overflow: hidden;
  width: 100%;
}
.conveyor-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 32px;
  margin-bottom: 14px;
}
.conveyor-outer {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.conveyor-outer:active { cursor: grabbing; }
.conveyor-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 32px 28px;
  animation: conveyorScroll 35s linear infinite;
}
.conveyor-track:hover { animation-play-state: paused; }
@keyframes conveyorScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.conveyor-item {
  flex-shrink: 0;
  width: 360px;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.25s;
}
.conveyor-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}
.conveyor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.conveyor-item:hover img { transform: scale(1.08); }
.conveyor-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 32px 14px 12px;
  text-align: center;
  letter-spacing: 0.02em;
}
/* ── FIX: blob overflow on About card ── */
.hero-card--about::before,
.hero-card--about::after {
  clip-path: inset(0 round 20px);
  overflow: hidden;
}
/* Prevent the blob from painting outside the card visually */
/* hero-col-small must NOT clip overflow — star needs to escape member card */
.hero-col-small { overflow: visible; }

/* ── FIX: Font colors on Reels (baby pink) and Membership (gold) ── */
.hero-card--fresh,
.hero-card--reels {
  background: #e8395a;
  color: #000 !important;
}
.hero-card--fresh .hero-label { color: #000; opacity: 1; font-weight: 800; }
.hero-card--fresh .hero-stat-label { color: #000; opacity: 0.85; font-weight: 700; }
.hero-card--fresh .hero-icon-sm { color: #000; opacity: 0.8; }
.hero-card--fresh .hero-card-arrow { background: rgba(0,0,0,0.15); color: #000; }

/* Gold membership — bold black text */
.hero-card--member { color: #1a0a00 !important; }
.hero-card--member .hero-label { color: #1a0a00; opacity: 1; font-weight: 800; letter-spacing: 0.15em; }
.hero-card--member .hero-stat-sm { color: #1a0a00; font-weight: 900; }
.hero-card--member .hero-stat-label { color: #1a0a00; opacity: 0.85; font-weight: 700; }
.hero-card--member .hero-member-badge { color: #1a0a00; }
.hero-card--member .hero-member-hint { color: #1a0a00; }

/* ── RESPONSIVE UPDATE ── */

/* ════════════════════════════════════════════════════
   RESPONSIVE — CONSOLIDATED CLEAN BREAKPOINTS
   Tablet: ≤960px  |  Mobile: ≤600px  |  XS: ≤380px
════════════════════════════════════════════════════ */

/* ── TABLET (≤960px) ── */

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-card--brand { padding: 28px 32px; }
  .hero-title { font-size: clamp(2.8rem, 6vw, 4.2rem); }
  .conveyor-label { padding: 0 20px; }
  .conveyor-track { padding: 0 20px 20px; gap: 12px; }
  .conveyor-item { width: 300px; height: 300px; }

  /* Small hero cards (About / Reels / Membership) need smaller type + icons
     at this width or the content overflows the card and gets clipped. */
  .hero-col-small .hero-card { padding: 14px 16px; }
  .hero-label { font-size: 0.78rem; letter-spacing: 0.08em; }
  .hero-icon-sm { font-size: 2rem; }
  .hero-stat-label { font-size: 0.82rem; }
  .hero-member-hint { font-size: 0.78rem; }
  .hero-member-badge { font-size: 0.7rem; padding: 3px 10px; }
  .about-mascot { width: 60px; height: 60px; }
}

@media (max-width: 600px) {
  .hero-grid { gap: 6px; }
  .hero-col-small { gap: 6px; }
  .hero-col-small .hero-card { padding: 8px 10px; }
  .hero-card--brand { padding: 18px 18px; }
  .hero-title { font-size: 2rem; }
  .hero-brand-sub { font-size: 0.78rem; }
  .hero-brand-tagline { gap: 5px; }
  .hero-brand-tagline span { font-size: 0.6rem; padding: 3px 8px; }
  .hero-stat-sm { font-size: 1.8rem; }
  .hero-member-star { width: 32px; height: 32px; }
  .hero-member-badge { font-size: 0.56rem; padding: 2px 6px; white-space: normal; line-height: 1.3; }
  .hero-member-hint { font-size: 0.62rem; }
  .hero-label { font-size: 0.56rem; letter-spacing: 0.06em; }
  /* Small cards become one compact line: icon + label side by side */
  .hero-card-bottom { flex-direction: row; align-items: center; gap: 6px; }
  .hero-stat-label { font-size: 0.62rem; }
  .hero-icon-sm { font-size: 1.1rem; }
  .about-mascot { width: 42px; height: 42px; right: -4px; }
  .conveyor-track { padding: 0 12px 16px; gap: 10px; }
  .conveyor-label { padding: 0 12px; margin-bottom: 10px; }
  .conveyor-item { width: 200px; height: 200px; border-radius: 18px; }
  .conveyor-item-label { font-size: 0.75rem; }
  .nav-inner { height: 56px; gap: 8px; }
  .member-login-btn { padding: 7px 10px; }
  .cart-btn { padding: 8px 12px; font-size: 0.82rem; }
  .back-btn { padding: 5px 10px; font-size: 0.78rem; }
  main { padding: 20px 14px 80px; }
  .section-title { font-size: 1.2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-grid--sub { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; }
  .product-img-wrap { border-radius: 16px 16px 0 0; aspect-ratio: 1; min-height: 0; }
  .product-img-wrap img { border-radius: 16px 16px 0 0; }
  .product-card-body { padding: 12px 14px 6px; }
  .product-title { font-size: 0.9rem; }
  .product-card-footer { padding: 8px 14px 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .add-btn { padding: 10px 14px; font-size: 0.85rem; gap: 6px; width: 100%; justify-content: center; }
  .controls-row { flex-wrap: wrap; }
  .variant-select { font-size: 0.82rem; padding: 9px 12px; flex: 1 1 100%; }
  .qty-control { gap: 6px; }
  .qty-control button { width: 30px; height: 30px; font-size: 1rem; }
  .qty-control input { width: 32px; font-size: 0.88rem; }
  .cart-sidebar { width: 100%; right: 0; left: 0; border-left: none; border-top: 1px solid var(--border); border-radius: 20px 20px 0 0; top: auto; bottom: -100%; height: 88vh; transition: bottom 0.4s var(--ease-spring); }
  .cart-sidebar.open { bottom: 0; }
  .cart-content { padding: 16px 18px; }
  .cart-footer { padding: 16px 18px; }
  .cart-header { padding: 16px 18px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 24px 24px 0 0; max-height: 92vh; max-width: 100%; }
  .modal-header { padding: 16px 18px 14px; }
  .modal-body { padding: 16px 18px 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .member-plans { grid-template-columns: 1fr; }
  .about-body { padding: 0 16px 24px; }
  .about-stats { flex-direction: row; justify-content: space-around; }
  .about-cards { grid-template-columns: 1fr; }
  .upi-qr-img { width: 150px; height: 150px; }
  .site-footer { padding: 24px 16px; }
  .payment-step-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.9rem; }
  .conveyor-item { width: 125px; height: 125px; }
}


/* ── 1. FLOATING BACK BUTTON ── */
button.floating-back-btn,
.floating-back-btn {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  left: auto !important;
  transform: none !important;
  z-index: 9999 !important;
  background: var(--green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 15px 28px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 32px rgba(26,92,58,0.55) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  white-space: nowrap !important;
}
button.floating-back-btn:hover,
.floating-back-btn:hover {
  background: #0f3d22 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 40px rgba(26,92,58,0.65) !important;
}
@media (max-width: 600px) {
  button.floating-back-btn,
  .floating-back-btn {
    bottom: 20px !important;
    right: 16px !important;
    padding: 12px 22px !important;
    font-size: 0.88rem !important;
  }
}

/* ── FLOATING CART BAR ── */
.floating-cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9997;
  background: var(--black);
  color: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.3s ease;
}
.floating-cart-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.34);
}
.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}
.floating-cart-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* When the cart bar is showing, lift the back button above it so the two
   floating controls stack instead of overlapping */
body.has-floating-cart .floating-back-btn {
  bottom: 96px !important;
}

/* Hide floating controls entirely while a modal/sidebar overlay is open —
   they're not relevant mid-checkout and would otherwise collide with the
   modal's own buttons */
body.overlay-open .floating-back-btn,
body.overlay-open .floating-cart-bar {
  display: none !important;
}

@media (max-width: 600px) {
  .floating-cart-bar { left: 10px; right: 10px; bottom: 12px; padding: 12px 16px; }
  .floating-cart-info { font-size: 0.85rem; }
  .floating-cart-cta { padding: 7px 12px; font-size: 0.78rem; }
  body.has-floating-cart .floating-back-btn { bottom: 76px !important; }
}

/* ── 2. SEARCH BAR — always visible traditional search ── */
.conveyor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 0;
  gap: 16px;
}
.conveyor-header .conveyor-label { flex-shrink: 0; }
.search-always-bar {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-always-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-always-inner:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,58,0.1);
}
.search-icon { color: var(--muted); font-size: 1rem; flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: var(--black);
}
.search-input::placeholder { color: #aaa; }
.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2px 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.search-clear:hover { color: var(--black); }
.search-clear .icon-x { font-size: 1rem; }
.search-hint {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 5px 6px 0;
  font-style: italic;
}
.search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
}
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
  gap: 12px;
}
.search-result-item:last-child { border-bottom: none; border-radius: 0 0 12px 12px; }
.search-result-item:first-child { border-radius: 12px 12px 0 0; }
.search-result-item:hover { background: var(--cream); }
.search-result-name { font-size: 0.9rem; font-weight: 600; }
.search-result-cat { font-size: 0.73rem; color: var(--muted); margin-top: 2px; }
.search-result-price { font-size: 0.88rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.search-no-results { padding: 20px 16px; text-align: center; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 700px) {
  .conveyor-header { flex-direction: column; align-items: flex-start; padding: 16px 14px 0; gap: 10px; }
  .search-always-bar { max-width: 100%; width: 100%; }
}
/* Hide old trigger button if still in HTML */
.search-trigger-btn { display: none !important; }
.search-bar-float { display: none !important; }

/* ── 3. MEMBER / REGULAR PRICE COLORS ── */
.product-price--regular {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e03030;
  text-decoration: line-through;
}
.product-price--member {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a7a2a;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-price--member .member-tag {
  font-size: 0.62rem;
  background: #1a7a2a;
  color: #fff;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
}
.product-price--single { font-size: 0.95rem; font-weight: 700; color: var(--black); }

/* ── 4c. About stat — smaller number for "Upto 40%" ── */
.about-stat-num { font-size: clamp(1.2rem, 3vw, 1.8rem); }

/* ── 4b. Instagram contact item ── */
.about-contact-item--insta { color: #e1306c !important; }
.about-contact-item--insta i { color: #e1306c; }
.about-contact-item--insta:hover { color: #c13584 !important; }

/* ── 5. Cart delivery note ── */
.cart-delivery-note {
  background: #f0f7ff;
  border: 1px solid #c0d8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #2a4a6a;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.cart-delivery-note i { color: #2a6aad; margin-top: 2px; flex-shrink: 0; }

/* ── 6. Close button ── */
.icon-btn i { pointer-events: none; }

/* ═══════════════════════════════════════
   SHOP SECTION — Swiggy-style layout
   Categories → Subcategories → Products
   all in one scrollable section
═══════════════════════════════════════ */

.shop-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 40px;
}

/* Search bar — full width at top */
.shop-search {
  position: relative;
  margin-bottom: 28px;
}
.shop-search .search-always-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-search .search-always-inner:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,58,0.1);
}
.shop-search .search-input {
  flex: 1; border: none; outline: none;
  font-family: inherit; font-size: 0.95rem;
  background: transparent;
}
.shop-search .search-hint {
  font-size: 0.72rem; color: var(--muted);
  padding: 5px 6px 0; font-style: italic;
}
.shop-search .search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
}

/* Section labels */
.shop-section-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

/* ── CATEGORY GRID — Swiggy style ── */
.shop-categories { margin-bottom: 16px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.category-grid-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.category-grid-item:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,92,58,0.12);
}
.category-grid-item.active {
  border-color: var(--green);
  background: #f0faf4;
  box-shadow: 0 0 0 3px rgba(26,92,58,0.15);
}
.category-grid-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.category-grid-label {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--black);
  line-height: 1.3;
}

/* ── SUBCATEGORY STRIP ── */
.shop-subcategories {
  margin-bottom: 28px;
  padding: 20px 0 0;
  border-top: 2px solid var(--border);
  animation: fadeUp 0.3s ease forwards;
}
/* Subcategories now reuse .category-grid-item (same look as categories),
   just in a slightly denser grid so the hierarchy still reads visually. */
.category-grid--sub {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

/* Shop by Category (top-level only) — horizontal scroll, not wrapped rows */
#categoryContainer {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
#categoryContainer::-webkit-scrollbar { height: 5px; }
#categoryContainer .category-grid-item {
  flex: 0 0 auto;
  width: 130px;
  scroll-snap-align: start;
}

/* ── PRODUCTS ── */
.shop-products {
  padding-top: 20px;
  border-top: 2px solid var(--border);
  animation: fadeUp 0.3s ease forwards;
}

/* ── FIX 1: Membership card — star outside card ── */
.hero-member-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero-member-wrap .hero-card {
  flex: 1;
  overflow: hidden; /* keep blobs inside */
}
.hero-member-star {
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 44px;
  height: 44px;
  z-index: 10;
  background: #f5c33c;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: starFlyIn 1s cubic-bezier(0.34,1.56,0.64,1) forwards,
             starPulse 2s ease-in-out 1.2s infinite;
  opacity: 0;
  transform: translateY(-120px) scale(0.3) rotate(-180deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .shop-section { padding: 20px 32px 24px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
}
@media (max-width: 600px) {
  .shop-section { padding: 10px 32px 24px; }
  .shop-search { margin-bottom: 14px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-grid-label { font-size: 0.72rem; padding: 6px 6px; }
  .category-grid--sub { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shop-section-label { font-size: 1rem; }
}

/* ============ MY ORDERS (profile page) ============ */
.profile-section-title { font-size: 0.95rem; margin: 20px 0 10px; color: var(--green, #2d8a5e); }
.my-orders-list { display: flex; flex-direction: column; gap: 10px; }
.my-order-card {
  border: 1px solid #eae7e0; border-radius: 10px; padding: 12px 14px; background: #fafaf8;
}
.my-order-top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.my-order-items { font-size: 0.8rem; color: var(--ink, #2b2b2b); line-height: 1.5; margin: 0 0 6px; }
.my-order-dates { font-size: 0.75rem; color: var(--muted, #888); margin: 0; }

/* ============ COMMUNITY PARTNERS DIRECTORY ============ */
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px;
  margin-top: 10px;
}
.partner-card {
  border: 1px solid #eae7e0; border-radius: 10px; padding: 10px; background: #fff;
  cursor: pointer; text-align: center; transition: transform 0.15s, box-shadow 0.15s;
}
.partner-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.partner-card-photo {
  width: 100%; aspect-ratio: 1; border-radius: 8px; background-color: #f2f0ea; background-size: cover;
  background-position: center; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 8px;
}
.partner-card-name { font-size: 0.85rem; font-weight: 700; margin: 0 0 2px; }
.partner-card-category { font-size: 0.72rem; color: var(--muted, #888); margin: 0; }

.partner-detail-photo {
  width: 100%; aspect-ratio: 16/9; border-radius: 10px; background-color: #f2f0ea; background-size: cover;
  background-position: center; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; margin-bottom: 14px;
}
.partner-detail-gallery {
  display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; -webkit-overflow-scrolling: touch;
}
.partner-detail-gallery::-webkit-scrollbar { height: 4px; }
.partner-gallery-img {
  flex: 0 0 auto; width: 78%; max-width: 260px; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 10px; background: #f2f0ea; scroll-snap-align: start;
}
.partner-detail-name { font-size: 1.15rem; margin: 0 0 2px; }
.partner-detail-category { font-size: 0.8rem; color: var(--muted, #888); margin: 0 0 12px; }
.partner-detail-story { font-size: 0.9rem; line-height: 1.6; margin: 0 0 18px; }

.partners-disclaimer {
  background: #fff8e6; border: 1px solid #f2d98a; border-radius: 8px;
  padding: 12px 14px; font-size: 0.8rem; line-height: 1.55; color: #6b4f00; margin-bottom: 14px;
}
.partners-disclaimer--compact { font-size: 0.72rem; margin-top: 14px; margin-bottom: 0; }

.become-partner-cta {
  display: flex; align-items: center; gap: 14px; background: var(--rd-gold-light, #f5edd6);
  border: 1.5px solid rgba(201,168,76,0.4); border-radius: 14px; padding: 16px 18px;
  margin: 14px 0; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s;
}
.become-partner-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.become-partner-cta-icon { font-size: 1.6rem; flex-shrink: 0; }
.become-partner-cta strong { display: block; font-size: 0.92rem; color: var(--ink, #2b2b2b); }
.become-partner-cta-sub { display: block; font-size: 0.8rem; color: var(--rd-brown-light, #6b5b3e); margin-top: 2px; }

/* Featured Partner homepage banner */
.featured-partner-banner {
  max-width: 1280px; margin: 14px auto 0; padding: 12px 32px; border-radius: 14px;
  background: linear-gradient(135deg, #fff8e6, #fff3d6); border: 1px solid #f2d98a;
  cursor: pointer; transition: transform 0.15s;
}
.featured-partner-banner:hover { transform: scale(1.01); }
.featured-partner-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #8a6200; display: block; margin-bottom: 8px;
}
.featured-partner-body { display: flex; align-items: center; gap: 12px; }
.featured-partner-photo {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.featured-partner-name { font-weight: 700; font-size: 0.92rem; margin: 0; }
.featured-partner-category { font-size: 0.78rem; color: var(--muted, #888); margin: 0; }
.featured-partner-body > div { flex: 1; }

@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 8px; }
  .featured-partner-banner { margin: 10px 10px 0; padding: 10px 14px; }
}

/* ============ THEME CARDS ============ */
.theme-cards-section { max-width: 1280px; margin: 40px auto 0; }
.theme-cards-row {
  display: flex; gap: 14px; padding: 8px 32px 10px; overflow-x: auto;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.theme-cards-row::-webkit-scrollbar { height: 4px; }
.theme-card {
  flex: 0 0 260px; width: 260px; border-radius: 18px; padding: 20px 18px; color: #fff; cursor: pointer;
  transition: transform 0.15s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start;
}
.theme-card:hover { transform: translateY(-2px); }
.theme-card-title {
  font-size: 1.05rem; font-weight: 800; margin: 0; line-height: 1.35;
  position: relative; z-index: 2; text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.theme-card-collage {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 6px; width: 100%; aspect-ratio: 2 / 1; margin-top: auto;
}
.theme-card-collage-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.4);
}

@media (max-width: 560px) {
  .theme-cards-row { gap: 10px; padding: 8px 16px 10px; }
  .theme-card { flex-basis: 220px; width: 220px; padding: 16px 14px; }
}

/* ============ SECONDARY FEATURES ROW (below shopping, still colorful) ============ */
.secondary-features-section { max-width: 1280px; margin: 12px auto 0; padding: 0 32px; }
.secondary-features-row { display: flex; gap: 12px; flex-wrap: wrap; }
.secondary-feature-card {
  flex: 1 1 calc(25% - 9px); min-width: 100px; border-radius: 14px; padding: 18px 10px;
  text-align: center; cursor: pointer; color: #fff;
  transition: transform 0.15s, box-shadow 0.15s; position: relative; overflow: hidden;
}
.secondary-feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.sf--tambola  { background: linear-gradient(135deg, #c8c4f0, #5a4fcf); }
.sf--partners { background: linear-gradient(135deg, #ffcb8e, #e07b00); }
.sf--member   { background: linear-gradient(135deg, var(--gold-light, #f2c94c), var(--gold-dark, #d4a017)); color: #3a2a00; }
.sf--reels    { background: linear-gradient(135deg, #f2a1b3, #e8395a); }
.sf-icon { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.sf-label { font-size: 0.78rem; font-weight: 700; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.sf-sublabel { font-size: 0.66rem; font-weight: 600; margin: 4px 0 0; opacity: 0.9; }

@media (max-width: 480px) {
  .secondary-feature-card { flex: 1 1 calc(50% - 6px); }
}

/* ============ DISCOUNT TIER TILES ============ */
.discount-tiles-section { max-width: 1280px; margin: 0 auto 40px; }
.discount-tiles-row { display: flex; gap: 10px; padding: 8px 32px; flex-wrap: wrap; }
.discount-tile {
  flex: 1 1 calc(25% - 8px); min-width: 110px; border-radius: 12px; padding: 16px 10px;
  text-align: center; cursor: pointer; color: #fff; transition: transform 0.15s;
}
.discount-tile:hover { transform: translateY(-2px); }
.discount-tile.dt--high { background: linear-gradient(135deg, #1a5c3a, #2d8a5e); }
.discount-tile.dt--mid-high { background: linear-gradient(135deg, #2d8a5e, #4faa78); }
.discount-tile.dt--mid { background: linear-gradient(135deg, #d4a017, #f2c94c); color: #3a2a00; }
.discount-tile.dt--low { background: #e8e5de; color: #444; }
.dt-percent { font-size: 1.15rem; font-weight: 800; margin: 0 0 2px; }
.dt-label { font-size: 0.72rem; margin: 0; opacity: 0.9; }

@media (max-width: 480px) {
  .discount-tile { flex: 1 1 calc(50% - 6px); }
}

/* ============ SUBCATEGORY ROWS (endless scroll) ============ */
.subcategory-rows-section { max-width: 1280px; margin: 28px auto 40px; padding: 0 32px; }
.subcategory-row { margin-bottom: 24px; position: relative; }
.subrow-title { font-size: 1rem; margin: 0 0 10px; color: var(--ink, #2b2b2b); }
.subrow-scroll-hint { font-size: 0.72rem; font-weight: 500; color: var(--rd-brown-light, #8a8478); }
.subrow-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.subrow-scroll::-webkit-scrollbar { height: 4px; }
.subrow-scroll .product-card { flex: 0 0 auto; width: 190px; }

/* These cards are always narrower than the main grid, so the variant
   dropdown and quantity stepper never fit on one line — stack them instead
   of letting the quantity buttons get clipped off the right edge. */
.subrow-scroll .controls-row { flex-wrap: wrap; row-gap: 8px; }
.subrow-scroll .variant-select { flex: 1 1 100%; }
.subrow-scroll .qty-control { flex: 1 1 100%; justify-content: center; }

@media (min-width: 961px) {
  .subrow-scroll .product-card { width: 220px; }
}

/* Right-edge fade — visual hint that the row scrolls further */
.subcategory-row::after {
  content: ''; position: absolute; top: 34px; right: 0; bottom: 6px; width: 40px;
  background: linear-gradient(90deg, rgba(255,255,255,0), var(--white));
  pointer-events: none;
}

@media (max-width: 480px) {
  .subrow-scroll .product-card { width: 62vw; max-width: 200px; }
}

/* Desktop-only prev/next arrows for subcategory rows — mouse users have no
   swipe gesture, so the row needs a visible way to scroll further */
.subrow-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.15s;
}
.subrow-arrow:hover { background: var(--green); }
.subrow-arrow--prev { left: -14px; }
.subrow-arrow--next { right: -14px; }
.subrow-arrow[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }

/* Only show on real desktops with a mouse — mobile keeps the swipe gesture */
@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  .subrow-arrow { display: flex; }
  .subrow-scroll-hint { display: none; }
}

/* ============ PRODUCT FILTER LABEL (theme/discount filtered views) ============ */
.product-filter-label {
  display: flex; align-items: center; justify-content: space-between;
  background: #f0f8f3; border: 1px solid #cdeada; border-radius: 10px;
  padding: 8px 14px; margin-bottom: 14px; font-size: 0.82rem; color: #1a5c3a;
}
.product-filter-label button {
  background: none; border: none; color: #1a5c3a; font-weight: 700; cursor: pointer; font-size: 0.8rem;
}

/* Bulletin board / secondary-features-section are no longer used, and the
   padding reductions below were causing headings (fixed at 32px) to misalign
   with their own content rows on mobile — removed for consistency. */

/* ============ SHARED SECTION HEADER STYLE (How It Works / Community) ============ */
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--rd-gold); margin-bottom: 8px;
}
.section-title {
  font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: var(--rd-brown); margin-bottom: 6px;
  white-space: normal; letter-spacing: normal; font-weight: 400;
}
.section-desc { font-size: 0.9rem; color: var(--rd-brown-light); line-height: 1.6; max-width: 480px; margin-bottom: 24px; }
.how-section, .community-section { max-width: 1280px; margin: 0 auto; padding: 56px 32px; background: var(--white); }

/* ============ TAGLINE STRIP ============ */
.tagline-strip { background: var(--rd-purple); padding: 40px 24px; text-align: center; }
.tagline-text { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: #fff; line-height: 1.5; }
.tagline-text em { color: var(--rd-gold); font-style: italic; }

/* ============ HOW IT WORKS ============ */
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--rd-gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--rd-purple);
}
.step-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--rd-brown); margin-bottom: 4px; }
.step-content p { font-size: 0.85rem; color: var(--rd-brown-light); line-height: 1.5; }

/* ============ MEMBERSHIP SECTION ============ */
.membership-section {
  background: linear-gradient(170deg, var(--rd-purple) 0%, var(--rd-purple-mid) 100%);
  border-radius: 24px; margin: 0 16px 48px; padding: 48px 24px; text-align: center;
}
@media (min-width: 600px) {
  .membership-section { margin: 0 32px 56px; padding: 56px 40px; }
}
@media (min-width: 1344px) {
  .membership-section { max-width: 1280px; margin: 0 auto 56px; }
}
.membership-perks { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto 28px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.75); text-align: left; }
.perk-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.ms-plans-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 400px; margin: 0 auto 24px; }
.ms-plan-card {
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 16px;
  padding: 24px 16px; text-align: center; position: relative;
}
.ms-plan-card.featured { border-color: var(--rd-gold); background: rgba(201,168,76,0.08); }
.ms-plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--rd-gold);
  color: var(--rd-purple); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px;
}
.ms-plan-name { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.ms-plan-price { font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: #fff; line-height: 1.2; }
.ms-plan-period { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.ms-plan-note { font-size: 0.68rem; color: var(--rd-gold); margin-top: 8px; font-weight: 500; }

/* ============ COMMUNITY SECTION (redesigned as icon+text rows) ============ */
.community-cards { display: flex; flex-direction: column; gap: 14px; }
.community-card {
  display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--rd-gold-light);
  border: 1px solid rgba(201,168,76,0.35); border-radius: 14px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.community-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.community-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--rd-gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.community-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--rd-brown); margin-bottom: 3px; }
.community-card p { font-size: 0.8rem; color: var(--rd-brown-light); line-height: 1.4; }

/* ============ MASCOT CALLOUT ============ */
.mascot-callout { text-align: center; padding: 32px 24px 8px; max-width: 480px; margin: 0 auto; }
.mascot-img { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; }
.mascot-text { font-size: 0.82rem; color: var(--rd-brown-light); line-height: 1.55; }
.mascot-text strong { color: var(--rd-brown); }

/* ============ FOOTER (redesigned) ============ */
.site-footer { background: var(--rd-purple); padding: 40px 24px; text-align: center; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: #fff; margin-bottom: 6px; }
.footer-logo span { color: var(--rd-gold); font-style: italic; }
.footer-tagline { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links span, .footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-links span:hover, .footer-links a:hover { color: var(--rd-gold); }
.footer-contact { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-contact a { color: var(--rd-gold); }
.footer-divider { width: 40px; height: 2px; background: rgba(255,255,255,0.1); margin: 20px auto; border-radius: 1px; }
.footer-copy { font-size: 0.68rem; color: rgba(255,255,255,0.25); }
