/* ============================================================
   QBFun — Global Design System
   Brand: Playful, Premium, Personalized
   ============================================================ */

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

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --teal:       #167C80; /* Rich Sage Teal */
  --teal-dark:  #0E5254;
  --teal-light: #EEF6F6;
  --yellow:     #E9C46A; /* Ochre Gold */
  --yellow-dark:#D5A737;
  --coral:      #E07A5F; /* Clay Terracotta */
  --coral-dark: #C25B42;
  --coral-light:#FFE0D8;
  --purple:     #8F5B8E;
  --navy:       #2A3A5A;
  --green:      #2A9D8F; /* Sage Green */
  --bg:         #FCFAF7; /* Warm Alabaster Cream */
  --bg-light:   #F4F1ED;
  --bg-card:    #ffffff;
  --text:       #2A2F3D; /* Soft Charcoal */
  --text-muted: #6E7582;
  --border:     #EFEAE2; /* Soft Warm Border */
  --shadow-sm:  0 2px 10px rgba(42,47,61,0.04);
  --shadow-md:  0 8px 30px rgba(42,47,61,0.06);
  --shadow-lg:  0 20px 50px rgba(42,47,61,0.08);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --font-head:  'Fraunces', serif;
  --font-body:  'Outfit', sans-serif;
  --nav-h:      72px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  background-image: radial-gradient(var(--text) 1px, transparent 1px);
  background-size: 24px 24px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-muted); }

/* ── Utility ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* ── Gradient Text ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid var(--text);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 4px 4px 0 var(--text);
}
.btn-primary:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}
.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--text);
}
.btn-coral:hover {
  background: #FCEDE9;
  color: var(--coral-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text);
}
.btn-coral:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--text);
  box-shadow: 4px 4px 0 var(--text);
}
.btn-yellow:hover {
  background: #FFFDF5;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text);
}
.btn-yellow:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}
.btn-outline {
  border: 2px solid var(--text);
  color: var(--text);
  background: #ffffff;
  box-shadow: 4px 4px 0 var(--border);
}
.btn-outline:hover {
  background: var(--border);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text);
}
.btn-sm { padding: 6px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ── Navigation ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(252,250,247,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--text);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
#navbar.scrolled { box-shadow: 4px 4px 0 rgba(42,47,61,0.06); }
#navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--text);
  font-style: italic;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
}
.nav-logo span { background: linear-gradient(135deg, var(--teal), var(--coral)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
  border: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--teal-light);
  border-color: var(--text);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--teal-light); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ── Page Sections (tab panels) ─────────────────────────────── */
main { padding-top: var(--nav-h); min-height: 100vh; }
.page { display: none; animation: fadeUp 0.4s ease; }
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #e0f7f7 0%, #fff5e0 50%, #ffe8e8 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,191,191,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,107,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,191,191,0.12);
  color: var(--teal-dark);
  border: 1px solid rgba(29,191,191,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: var(--font-head);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 { margin-bottom: 16px; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-tag {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mug-preview-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  padding: 8px;
  background: #ffffff;
  border: 2px solid var(--text);
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0 var(--yellow);
  transform: rotate(2deg);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mug-preview-wrap:hover {
  transform: rotate(0deg) scale(1.02);
}
.mug-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 2px solid var(--text);
  display: block;
}
.mug-price-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--text);
  box-shadow: 4px 4px 0 var(--text);
  line-height: 1;
}
.mug-price-badge small { font-size: 0.7rem; font-weight: 600; display: block; opacity: 0.9; margin-bottom: 2px; }
.bay-area-badge {
  position: absolute;
  top: -16px; left: -16px;
  background: var(--yellow);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--text);
  box-shadow: 4px 4px 0 var(--text);
  text-align: center;
  line-height: 1.3;
}

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}
.section-header .overline {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: inline-block;
  background: var(--teal-light);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--text);
  box-shadow: 2px 2px 0 var(--text);
}
.section-header h2 { margin-bottom: 12px; font-weight: 900; font-style: italic; }
.section-header p { max-width: 580px; margin: 0 auto; font-family: var(--font-body); font-weight: 500; }

/* ── Gallery Carousel ──────────────────────────────────────── */
#gallery { padding: 32px 0; background: #fff; }

.gallery-carousel {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.carousel-track-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #111;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 360px;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,35,64,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 20px 20px 14px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 20px));
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(29,191,191,0.35);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.carousel-arrow:hover { background: var(--navy); transform: translateY(calc(-50% - 20px)) scale(1.1); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.carousel-dot.active { background: var(--teal); transform: scale(1.3); }

/* ── 3-Angle Mug Preview ─────────────────────────────────────── */
.three-angle-preview {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-end;
}
.mug-angle-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mug-angle-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.mug-shell-wrap {
  position: relative;
  width: 100%;
}
.mug-shell-svg {
  width: 100%;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.10));
}
.mug-design-overlay {
  position: absolute;
  border-radius: 0;
}


/* ── Feature Highlights — Compact Pill Strip ───────────────── */
#features { padding: 20px 0 24px; background: linear-gradient(135deg, #f8fdfd 0%, #fffbf0 100%); border-bottom: 1px solid var(--border); }
.features-pill-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 50px;
  padding: 10px 20px 10px 12px;
  box-shadow: 3px 3px 0 var(--border);
  flex: 1;
  min-width: 240px;
  max-width: 340px;
}
.feature-pill-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.feature-pill strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.feature-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 2px solid var(--text);
  box-shadow: 4px 4px 0 var(--border);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--teal-light);
  border-color: var(--text);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.feature-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 0.92rem; }

/* ── Design Tool Section ────────────────────────────────────── */
#designer-section { padding: 48px 0 56px; background: #fff; }

.designer-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.designer-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--text);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--border);
  transition: all 0.3s ease;
}
.designer-panel:hover {
  box-shadow: 10px 10px 0 var(--teal-light);
}
.designer-window-chrome {
  background: var(--border);
  border-bottom: 2px solid var(--text);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.window-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 600;
}
.window-status-badge {
  background: var(--bg);
  border: 1px solid var(--text);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 700;
}
.designer-toolbar {
  background: var(--bg);
  border-bottom: 2px solid var(--text);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.designer-toolbar-title {
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  margin-right: auto;
}
.tool-btn {
  background: #ffffff;
  color: var(--text);
  border: 2px solid var(--text);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 0 var(--text);
  transition: all 0.15s ease;
}
.tool-btn:hover {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--text);
  color: var(--text);
}
.tool-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--text);
}
.canvas-area {
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 16px 16px;
  background-color: #FAF9F6;
}

#mug-canvas {
  border: 2px solid var(--text);
  border-radius: var(--radius-md);
  cursor: crosshair;
  display: block;
  max-width: 100%;
  background: #fff;
  box-shadow: 6px 6px 0 var(--border);
  transition: all 0.3s ease;
}
#mug-canvas:hover {
  box-shadow: 8px 8px 0 rgba(22,124,128,0.15);
}
.canvas-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Designer Sidebar */
.designer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-card {
  background: #fff;
  border: 2px solid var(--text);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--border);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sidebar-card:hover {
  box-shadow: 6px 6px 0 var(--teal-light);
}
.sidebar-card-header {
  background: var(--border);
  padding: 12px 16px;
  border-bottom: 2px solid var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--text);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
  background: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
}
.form-input:focus { border-color: var(--teal); background: #fff; box-shadow: 2px 2px 0 var(--teal-light); }
select.form-input { cursor: pointer; }
.color-row { display: flex; gap: 8px; align-items: center; }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: var(--text); }
.range-input {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
}
.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.template-btn {
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text-muted);
  transition: all var(--transition);
  text-align: center;
  background: #fff;
  line-height: 1.3;
}
.template-btn:hover, .template-btn.active {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--teal);
  background: var(--teal-light);
}
.upload-zone p { font-size: 0.82rem; margin-top: 6px; }
.upload-zone .upload-icon { font-size: 2rem; }
#file-input { display: none; }
.layer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.layer-actions .btn { flex: 1; min-width: 80px; justify-content: center; }

/* Mug Mockup Preview */
.mug-mockup-wrap {
  text-align: center;
  padding: 16px;
}
.mug-mockup-container {
  position: relative;
  display: inline-block;
  width: 220px;
}
.mug-svg-outline {
  width: 220px;
  height: auto;
}
#mug-preview-canvas {
  position: absolute;
  top: 22%;
  left: 14%;
  width: 58%;
  height: 52%;
  border-radius: 4px;
}

/* ── Checkout section ───────────────────────────────────────── */
#checkout-section { padding: 48px 0; background: var(--bg); border-top: 2px solid var(--text); }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.checkout-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--text);
  box-shadow: 6px 6px 0 var(--border);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  transition: all 0.3s ease;
}
.checkout-summary:hover {
  box-shadow: 10px 10px 0 var(--teal-light);
}
.checkout-summary h3 { margin-bottom: 20px; }
#order-design-preview {
  width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid var(--text);
  margin-bottom: 20px;
  background: var(--bg);
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--border);
  font-size: 0.95rem;
}
.order-line:last-child { border-bottom: none; }
.order-line .label { color: var(--text-muted); font-weight: 500; }
.order-line .value { font-weight: 700; color: var(--text); }
.order-total { font-size: 1.2rem; color: var(--coral) !important; font-family: var(--font-head); font-weight: 900; }

/* ── Cart Items ─────────────────────────────────────────────── */
.cart-empty-msg {
  text-align: center;
  padding: 24px 16px;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.cart-empty-icon { font-size: 2.5rem; margin-bottom: 8px; }
.cart-items-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  position: relative;
  transition: border-color 0.2s ease;
}
.cart-item:hover { border-color: var(--teal); }

.cart-thumb-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: #fff;
}
.cart-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-label { font-weight: 700; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }
.cart-item-price { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 6px; }

.cart-qty-row { display: flex; align-items: center; gap: 6px; }
.cart-qty-btn {
  width: 26px; height: 26px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cart-qty-btn:hover { background: var(--teal-light); border-color: var(--teal); }
.cart-qty-val { font-size: 0.9rem; font-weight: 700; min-width: 20px; text-align: center; color: var(--text); }

.cart-remove-btn {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-remove-btn:hover { background: #ffe0e0; color: #c0392b; }

/* ── Promo Code ─────────────────────────────────────────────── */
.promo-section {
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
}
.promo-row { display: flex; gap: 8px; align-items: center; }
.promo-input { flex: 1; }
.promo-msg {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}
.promo-success { background: #d4edda; color: #155724; }
.promo-error   { background: #f8d7da; color: #721c24; }

/* ── Order Summary Breakdown ────────────────────────────────── */
.order-summary-breakdown {
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.summary-line:last-child { border-bottom: none; }
.summary-line .label { color: var(--text-muted); font-weight: 500; }
.summary-line .value { font-weight: 700; color: var(--text); }
.summary-line.total-line {
  margin-top: 4px;
  border-top: 2px solid var(--teal);
  border-bottom: none;
  padding-top: 12px;
}
.summary-line.total-line .label { font-weight: 800; font-size: 1rem; color: var(--text); }
.summary-line.total-line .value { font-size: 1.2rem; color: var(--coral); font-weight: 900; font-family: var(--font-head); }
.checkout-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--text);
  box-shadow: 6px 6px 0 var(--border);
  transition: all 0.3s ease;
}
.checkout-form-wrap:hover {
  box-shadow: 10px 10px 0 var(--teal-light);
}
.checkout-form-wrap h3 { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }
.checkout-form .form-input {
  padding: 14px 16px;
  font-size: 0.95rem;
}
.checkout-notice {
  background: var(--teal-light);
  border: 2px solid var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
}



/* ═══════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════ */
#home { background: var(--bg); }

/* ── Hero ──────────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg, #fffaf0 0%, #fff0f5 100%);
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 3px solid var(--border);
}
.home-hero h1 { margin-bottom: 20px; }
.home-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Products ──────────────────────────────────────────────── */
.home-products {
  padding: 80px 0;
}
.product-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
}
.product-card:hover {
  border-color: var(--teal);
  transform: translateY(-8px);
  box-shadow: 8px 8px 0 var(--teal-light);
}
.product-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}
.product-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}
.product-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .product-grid { flex-direction: column; align-items: center; max-width: 400px; margin: 0 auto; }
  .home-hero { padding: 60px 0 40px; }
  .home-products { padding: 60px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   QB SMART SERIES PAGE
   ═══════════════════════════════════════════════════════════════ */
#smart { background: var(--bg); }

/* ── Hero ──────────────────────────────────────────────────── */
.smart-hero {
  background: linear-gradient(135deg, #e0f0ff 0%, #e0f7f7 50%, #f0f0ff 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--border);
}
.smart-hero h1 { margin-bottom: 16px; }
.smart-hero p {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.smart-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ──────────────────────────────────────────────── */
.smart-section {
  padding: 56px 0;
  border-bottom: 2px solid var(--border);
}
.smart-section:last-child { border-bottom: none; }
.smart-features-bg {
  background: linear-gradient(135deg, #f8fffe 0%, #f5f5ff 100%);
}

/* ── Meet the Products (QB Sticker vs QB Tag) ─────────────── */
.smart-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.smart-product-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.smart-product-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: 6px 6px 0 var(--teal-light);
}
.smart-product-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.smart-product-badge.sticker {
  background: var(--coral);
  color: #fff;
}
.smart-product-badge.tag {
  background: var(--teal);
  color: #fff;
}
.smart-product-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  margin-top: 8px;
}
.smart-product-card h3 {
  margin-bottom: 2px;
  color: var(--text);
}
.smart-product-card h5 {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.smart-product-card > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.smart-product-uses {
  list-style: none;
  padding: 0;
  text-align: left;
}
.smart-product-uses li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.smart-product-uses li:last-child { border-bottom: none; }
.smart-product-uses li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

/* ── How It Works Steps ────────────────────────────────────── */
.smart-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.smart-step-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.smart-step-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: 6px 6px 0 var(--teal-light);
}
.smart-step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 900;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.smart-step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  margin-top: 8px;
}
.smart-step-card h4 {
  margin-bottom: 8px;
  color: var(--text);
}
.smart-step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Use Case Cards ───────────────────────────────────────── */
.smart-usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.smart-usecase-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition);
}
.smart-usecase-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--teal-light);
}
.smart-usecase-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.smart-usecase-card h4 {
  margin-bottom: 10px;
  color: var(--text);
}
.smart-usecase-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}
.smart-usecase-card p:last-child { margin-bottom: 0; }

/* ── Bundle Cards ─────────────────────────────────────────── */
.smart-bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.smart-bundle-card {
  background: linear-gradient(135deg, #f8fffe 0%, #f0f0ff 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.smart-bundle-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--teal-light);
}
.smart-bundle-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.smart-bundle-card h4 {
  margin-bottom: 12px;
  color: var(--text);
}
.smart-bundle-contents {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(22, 124, 128, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.smart-bundle-card > p:last-child {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive QB Smart Series ───────────────────────────── */
@media (max-width: 768px) {
  .smart-products-grid,
  .smart-steps,
  .smart-usecase-grid,
  .smart-bundle-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .smart-hero { padding: 60px 0 40px; }
  .smart-section { padding: 40px 0; }
}

/* ── About Us ───────────────────────────────────────────────── */
#about { background: var(--bg); }
.about-hero {
  background: linear-gradient(135deg, #e0f7f7, #fff5e0);
  padding: 80px 0 60px;
  text-align: center;
}
.about-hero p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }
.about-values { padding: 80px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h4 { margin-bottom: 8px; }
.about-story { padding: 0 0 80px; }
.story-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '"';
  position: absolute;
  top: -20px; left: 32px;
  font-family: var(--font-head);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.story-card h3 { color: #fff; margin-bottom: 16px; }
.story-card p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; }

/* ── Contact ────────────────────────────────────────────────── */
#contact { background: var(--bg); }
.contact-hero {
  background: linear-gradient(135deg, #fff0f0, #ffe8f0);
  padding: 80px 0 60px;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; }
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-input { padding: 14px 16px; font-size: 0.95rem; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
}
.footer-logo img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-links h5 {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--teal); }

/* ── Success Modal ──────────────────────────────────────────── */
#success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#success-modal.open { display: flex; }
.success-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
.success-emoji { font-size: 5rem; display: block; margin-bottom: 20px; }
.success-card h2 { margin-bottom: 12px; }
.success-card p { margin-bottom: 28px; }

/* ── Toast ──────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-head);
  z-index: 4000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { background: linear-gradient(135deg, #2ECC71, #1ea35a); }
#toast.error { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }

/* ── 3-Angle Mug Preview ────────────────────────────────────── */
.three-view-wrap {
  display: flex;
  gap: 6px;
  padding: 12px 10px 4px;
  justify-content: center;
}
.mug-view-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.mug-view-label {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}
.mug-view-container {
  position: relative;
  width: 100%;
}
.mug-view-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}
.mug-canvas-overlay {
  position: absolute;
  border-radius: 3px;
  image-rendering: -webkit-optimize-contrast;
}

/* ── Success Modal Rich Styles ── */
.success-card {
  max-width: 500px !important;
  padding: 40px 32px !important;
}
.modal-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Status Cards for Email Success/Failure */
.status-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.4;
  border: 1px solid transparent;
}
.status-card.success {
  background-color: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.2);
  color: #1e7e43;
}
.status-card.error {
  background-color: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.2);
  color: #c0392b;
}
.status-card .status-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.status-card .status-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Payment Section */
.payment-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
  text-align: left;
}
.payment-section h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.payment-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-option-btn, .payment-option-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: var(--bg);
}
.payment-option-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.payment-option-btn .btn-icon, .payment-option-info .btn-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.payment-option-btn .btn-text, .payment-option-info .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.payment-option-btn strong, .payment-option-info strong {
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
}
.payment-option-btn span, .payment-option-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Specific payment branding styles */
.stripe-btn {
  background: linear-gradient(135deg, #f8f9ff, #eef1ff);
  border-color: rgba(99, 91, 255, 0.15);
}
.stripe-btn:hover {
  border-color: #635bff;
}
.stripe-btn strong {
  color: #635bff;
}
.venmo-btn {
  background: linear-gradient(135deg, #f0f7ff, #e1f0ff);
  border-color: rgba(0, 140, 255, 0.15);
}
.venmo-btn:hover {
  border-color: #008CFF;
}
.venmo-btn strong {
  color: #008cff;
}
.paypal-btn {
  background: linear-gradient(135deg, #fffcf5, #fff5dc);
  border-color: rgba(0, 48, 135, 0.15);
}
.paypal-btn:hover {
  border-color: #003087;
}
.paypal-btn strong {
  color: #003087;
}
.zelle-info {
  background: linear-gradient(135deg, #faf7ff, #f3ebff);
  border-color: rgba(116, 55, 187, 0.15);
  justify-content: space-between;
}
.zelle-info strong {
  color: #7437bb;
}
.copy-btn {
  background: #fff;
  border: 1px solid rgba(116, 55, 187, 0.25);
  color: #7437bb;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover {
  background: #7437bb;
  color: #fff;
  border-color: #7437bb;
}
.payment-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .designer-layout { grid-template-columns: 1fr; }
  .designer-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto 24px; }
  .hero-ctas { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .designer-sidebar { grid-template-columns: 1fr; }
  .story-card { padding: 36px 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .checkout-form-wrap { padding: 24px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .mug-preview-wrap { width: 240px; height: 240px; }
}

/* ── Custom Details Accordion ────────────────────────────────── */
details.text-options-details {
  border: 2px solid var(--text);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-top: 8px;
  box-shadow: 2px 2px 0 var(--text);
}
details.text-options-details summary {
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--border);
  user-select: none;
  list-style: none; /* Hide default arrow in some browsers */
  position: relative;
  font-family: var(--font-head);
}
details.text-options-details summary::-webkit-details-marker {
  display: none;
}
details.text-options-details summary::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--text);
}
details.text-options-details[open] summary::after {
  content: "▲";
}
details.text-options-details .details-content {
  padding: 16px;
  border-top: 2px solid var(--text);
}

/* ── Mobile Compact Adjustments ──────────────────────────────── */
@media (max-width: 768px) {
  .sidebar-card-body {
    padding: 16px;
  }
  .sidebar-card {
    margin-bottom: 0;
  }
  .designer-sidebar {
    gap: 16px;
  }
  .designer-panel {
    margin-bottom: 16px;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .page {
    padding: 40px 0;
  }
}

/* ── Staggered Section Reveals ────────────────────────────────── */
.page.active > * {
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page.active > *:nth-child(1) { animation-delay: 0.05s; }
.page.active > *:nth-child(2) { animation-delay: 0.15s; }
.page.active > *:nth-child(3) { animation-delay: 0.25s; }
.page.active > *:nth-child(4) { animation-delay: 0.35s; }

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


/* ═══════════════════════════════════════════════════════════════
   PARTY EXPERIENCE SECTION
   ═══════════════════════════════════════════════════════════════ */
#party-experience {
  padding: 48px 0;
  background: linear-gradient(135deg, #fff9f0 0%, #fff0f8 100%);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

.party-experience-wrap { }
.party-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.party-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--yellow);
  color: var(--text);
  border: 2px solid var(--text);
  animation: pulseBadge 2s ease-in-out infinite;
}
.party-badge-teal { background: var(--teal-light); animation-delay: 0.3s; }
.party-badge-coral { background: #ffe0d8; animation-delay: 0.6s; }
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.party-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.party-content h2 { margin-bottom: 16px; }
.party-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.party-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.party-feature-item:hover { border-color: var(--coral); transform: translateX(4px); }
.party-feature-icon { font-size: 1.2rem; flex-shrink: 0; }

.party-visual { display: flex; justify-content: center; }
.party-visual-card {
  background: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--coral-light, #ffe0d8);
  max-width: 320px;
  position: relative;
  overflow: hidden;
}
.party-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,107,107,0.07), transparent 60%);
  pointer-events: none;
}
.party-visual-emoji {
  font-size: 3.5rem;
  margin-bottom: 12px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.party-visual-card h3 { margin: 0 0 10px; color: var(--text); font-size: 1.2rem; }
.party-visual-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; }
.party-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.party-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.step-num {
  width: 28px; height: 28px;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Responsive for new sections ────────────────────────────── */
@media (max-width: 768px) {
  .party-grid { grid-template-columns: 1fr; }
  .party-visual { margin-top: 24px; }
  .party-visual-card { max-width: 100%; }
}
