/* ═══════════════════════════════════════════════════════════════════════════
   SIOPY — Main Stylesheet
   Fonts: Syne (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
  --primary:     #7B61FF;
  --primary-d:   #6347f5;
  --primary-l:   #EDE9FF;
  --accent:      #FF6B6B;
  --accent-d:    #e85555;
  --accent-l:    #FFE8E8;
  --bg:          #F7F7FB;
  --dark:        #1A1A2E;
  --dark-2:      #2D2D44;
  --text:        #2c2c44;
  --text-muted:  #6b6b8a;
  --border:      #E2E2F0;
  --white:       #ffffff;
  --success:     #22c55e;
  --warning:     #f59e0b;
  --error:       #ef4444;
  --shadow-sm:   0 1px 3px rgba(26,26,46,0.08);
  --shadow-md:   0 4px 20px rgba(26,26,46,0.10);
  --shadow-lg:   0 12px 40px rgba(26,26,46,0.14);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  all 0.2s ease;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main.main-content { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 0.75rem; }

/* ── Container ──────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 16px rgba(123,97,255,0.3);
}
.btn-primary:hover { background: var(--primary-d); box-shadow: 0 6px 24px rgba(123,97,255,0.4); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: white; box-shadow: 0 4px 16px rgba(255,107,107,0.3); }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--text); background: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-2); }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Form Elements ───────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: white; color: var(--text); font-size: 0.95rem;
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-l); }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
select.form-control { cursor: pointer; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,247,251,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--dark); letter-spacing: -0.5px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav > a, .nav-dropdown-trigger {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.9rem; color: var(--text);
  transition: var(--transition); background: none; border: none; cursor: pointer;
}
.main-nav > a:hover, .nav-dropdown-trigger:hover { background: var(--primary-l); color: var(--primary); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: var(--transition); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a, .nav-dropdown-menu .dropdown-label {
  display: block; padding: 10px 16px; font-size: 0.9rem; color: var(--text);
  transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--primary); }
.nav-dropdown-menu .dropdown-label { font-weight: 600; font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.nav-dropdown-right { left: auto; right: 0; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--text); transition: var(--transition);
  position: relative; border: none; background: none; cursor: pointer;
}
.icon-btn:hover { background: var(--primary-l); color: var(--primary); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--accent); color: white;
  border-radius: 999px; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.mobile-menu-btn { display: none; }
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 0; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown-trigger { width: 100%; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 4px; }
}

/* ── Search Bar ──────────────────────────────────────────────────────────── */
.search-bar {
  display: none; padding: 12px 0;
  background: white; border-bottom: 1px solid var(--border);
}
.search-bar.open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1; padding: 10px 16px; border: 2px solid var(--primary);
  border-radius: var(--radius-sm); font-size: 0.95rem; outline: none;
}
.search-form button { padding: 10px 20px; background: var(--primary); color: white; border-radius: var(--radius-sm); font-weight: 600; }
.search-close { background: var(--bg) !important; color: var(--text) !important; }

/* ── Flash Messages ──────────────────────────────────────────────────────── */
.flash-container { position: fixed; top: 72px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.flash {
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-md);
  animation: slideInRight 0.3s ease;
}
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-warning { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.flash-info    { background: var(--primary-l); color: var(--primary-d); border: 1px solid rgba(123,97,255,0.2); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Cart Drawer ─────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(26,26,46,0.4); z-index: 400;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
  background: white; z-index: 500; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-header h2 { font-size: 1.1rem; font-family: var(--font-display); }
.cart-drawer-count { color: var(--text-muted); font-size: 0.9rem; }
.cart-close { font-size: 1.2rem; color: var(--text-muted); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.cart-close:hover { background: var(--bg); color: var(--text); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 48px 24px; text-align: center; color: var(--text-muted); flex: 1; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--bg); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.cart-item-title:hover { color: var(--primary); }
.cart-item-variant { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--text); font-size: 1rem; transition: var(--transition); }
.qty-btn:hover { background: var(--primary-l); color: var(--primary); }
.qty-val { min-width: 28px; text-align: center; font-size: 0.9rem; font-weight: 600; }
.cart-item-price { font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-left: auto; }
.cart-remove { font-size: 0.85rem; color: var(--text-muted); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.cart-remove:hover { background: var(--accent-l); color: var(--accent); }
.cart-discount { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-discount input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; outline: none; }
.cart-discount input:focus { border-color: var(--primary); }
.discount-msg { font-size: 0.8rem; width: 100%; }
.discount-msg.success { color: var(--success); }
.discount-msg.error { color: var(--error); }
.cart-summary { background: var(--bg); border-radius: var(--radius-md); padding: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.9rem; }
.summary-row.summary-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 1rem; }
.summary-discount { color: var(--success); }
.cart-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.cart-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #3d1a7a 100%);
  color: white; position: relative; overflow: hidden;
  padding: 80px 0 100px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(123,97,255,0.3) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(123,97,255,0.25); border: 1px solid rgba(123,97,255,0.4); border-radius: 999px; padding: 6px 16px; font-size: 0.8rem; font-weight: 600; color: #c4b5fd; margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; color: white; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-xl);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-item {
  background: rgba(255,255,255,0.1); border-radius: var(--radius-md);
  padding: 16px; display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.hero-card-item:hover { background: rgba(255,255,255,0.18); }
.hero-card-item .card-icon { font-size: 2rem; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat .stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: white; }
.hero-stat .stat-label { font-size: 0.8rem; opacity: 0.7; }

/* ── Section Styles ──────────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-header { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--dark); }
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }
.view-all-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.view-all-link:hover { color: var(--primary-d); }

/* ── Featured Collections ────────────────────────────────────────────────── */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.collection-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  background: linear-gradient(135deg, var(--primary-l), var(--accent-l));
  transition: var(--transition);
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collection-card-img { width: 100%; height: 100%; object-fit: cover; }
.collection-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,46,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
}
.collection-card h3 { color: white; font-size: 1.1rem; }
.collection-card p { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin: 4px 0 0; }

/* ── Product Grid ────────────────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; font-family: var(--font-display); }
.badge-sale { background: var(--accent); color: white; }
.badge-new { background: var(--primary); color: white; }
.badge-best { background: var(--dark); color: white; }
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-vendor { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--dark); line-height: 1.3; }
.product-title a:hover { color: var(--primary); }
.product-price { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 1rem; color: var(--dark); }
.price-compare { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.price-sale { color: var(--accent); }
.product-card-footer { padding: 0 16px 16px; }
.btn-add-cart { width: 100%; padding: 10px; background: var(--primary-l); color: var(--primary); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.btn-add-cart:hover { background: var(--primary); color: white; }

/* ── Collection Page ─────────────────────────────────────────────────────── */
.collection-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: white; padding: 48px 0;
}
.collection-meta { max-width: 600px; }
.collection-meta h1 { color: white; margin-bottom: 12px; }
.collection-meta p { color: rgba(255,255,255,0.7); }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.filter-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; background: white; cursor: pointer; outline: none; }
.filter-select:focus { border-color: var(--primary); }
.results-count { font-size: 0.875rem; color: var(--text-muted); }

/* ── Product Page ────────────────────────────────────────────────────────── */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 48px 0; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 32px; } }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-breadcrumb { font-size: 0.8rem; color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--primary); }
.product-vendor-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); }
.product-h1 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--dark); line-height: 1.2; }
.product-price-section { display: flex; align-items: center; gap: 12px; }
.product-price-section .price { font-size: 1.5rem; }
.product-price-section .price-compare { font-size: 1rem; }
.product-price-section .savings-badge { background: var(--accent-l); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.variant-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }
.variant-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-pill {
  padding: 8px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); background: white;
}
.variant-pill:hover, .variant-pill.active { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.variant-pill.out-of-stock { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.quantity-row { display: flex; align-items: center; gap: 16px; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-control button { width: 44px; height: 44px; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-control button:hover { background: var(--primary-l); color: var(--primary); }
.qty-control input { width: 56px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 1rem; font-weight: 600; outline: none; }
.atc-btn { flex: 1; padding: 14px 24px; font-size: 1rem; }
.wishlist-btn { width: 48px; height: 48px; border: 2px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.wishlist-btn:hover { border-color: var(--accent); color: var(--accent); }
.product-perks { display: flex; gap: 16px; flex-wrap: wrap; }
.perk { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.product-tabs { border-top: 1px solid var(--border); }
.tab-buttons { display: flex; border-bottom: 1px solid var(--border); }
.tab-btn { padding: 12px 20px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--transition); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; padding: 24px 0; }
.tab-content.active { display: block; }
.tab-content p, .tab-content ul, .tab-content li { line-height: 1.7; }
.tab-content ul { list-style: disc; padding-left: 20px; }

/* ── Cart Page ───────────────────────────────────────────────────────────── */
.cart-page-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 48px 0; }
@media (max-width: 900px) { .cart-page-layout { grid-template-columns: 1fr; } }
.cart-page-items { display: flex; flex-direction: column; gap: 0; }
.cart-page-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-page-img { width: 100px; height: 100px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg); flex-shrink: 0; }
.cart-page-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-page-title { font-weight: 700; font-size: 1rem; color: var(--dark); }
.cart-page-variant { font-size: 0.85rem; color: var(--text-muted); }
.cart-page-price { font-size: 0.9rem; color: var(--text-muted); }
.cart-page-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cart-page-total { font-weight: 700; font-size: 1rem; }
.cart-order-summary { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: 80px; }
.cart-order-summary h3 { margin-bottom: 20px; }
.order-summary-rows { display: flex; flex-direction: column; gap: 12px; }
.order-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.order-row.total { border-top: 2px solid var(--border); padding-top: 12px; font-size: 1.05rem; font-weight: 700; }
.order-row.discount-row { color: var(--success); }
.discount-field { display: flex; gap: 8px; margin: 16px 0; }
.discount-field input { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; }
.discount-field input:focus { border-color: var(--primary); }
#discount-msg { font-size: 0.85rem; margin-top: 6px; }

/* ── Checkout ────────────────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding: 48px 0; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-steps { display: flex; gap: 8px; margin-bottom: 32px; align-items: center; }
.checkout-step { display: flex; align-items: center; gap: 8px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; background: var(--border); color: var(--text-muted); }
.step-num.active { background: var(--primary); color: white; }
.step-num.done { background: var(--success); color: white; }
.step-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.step-label.active { color: var(--primary); }
.step-sep { color: var(--border); }
.checkout-section { background: white; border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.checkout-section h3 { margin-bottom: 20px; font-size: 1.05rem; }
.shipping-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.shipping-option.selected { border-color: var(--primary); background: var(--primary-l); }
.shipping-option input { accent-color: var(--primary); }
.shipping-option-label { flex: 1; }
.shipping-option-name { font-weight: 600; font-size: 0.9rem; }
.shipping-option-desc { font-size: 0.8rem; color: var(--text-muted); }
.shipping-option-price { font-weight: 700; }
.checkout-order-summary { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 80px; }
.checkout-line-items { max-height: 300px; overflow-y: auto; margin-bottom: 16px; }
.checkout-line-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.checkout-item-img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg); position: relative; }
.checkout-item-qty { position: absolute; top: -6px; right: -6px; background: var(--text-muted); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.checkout-item-name { font-size: 0.85rem; font-weight: 600; }
.checkout-item-variant { font-size: 0.75rem; color: var(--text-muted); }
.checkout-item-price { font-size: 0.9rem; font-weight: 700; margin-left: auto; }
.stripe-note { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 12px; }

/* ── Order Success ────────────────────────────────────────────────────────── */
.success-page { text-align: center; padding: 80px 0; max-width: 560px; margin: 0 auto; }
.success-icon { width: 80px; height: 80px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2.5rem; }
.order-details-card { background: white; border-radius: var(--radius-lg); padding: 24px; text-align: left; margin-top: 32px; box-shadow: var(--shadow-sm); }
.order-details-card h4 { margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }

/* ── Account Pages ───────────────────────────────────────────────────────── */
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card { background: white; border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 28px; }
.auth-card h2 { margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.85rem; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.875rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 0; }
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav-link { padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 500; color: var(--text); transition: var(--transition); }
.account-nav-link:hover, .account-nav-link.active { background: var(--primary-l); color: var(--primary); }
.account-content { flex: 1; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; padding: 12px 16px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.orders-table tr:hover td { background: var(--bg); }
.status-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.status-paid, .status-fulfilled { background: #dcfce7; color: #166534; }
.status-pending, .status-processing { background: #fef9c3; color: #854d0e; }
.status-cancelled, .status-refunded { background: #fee2e2; color: #991b1b; }
.status-unfulfilled { background: var(--bg); color: var(--text-muted); }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 64px 0; color: white; text-align: center;
}
.newsletter-section h2 { color: white; margin-bottom: 12px; }
.newsletter-section p { opacity: 0.85; margin-bottom: 28px; }
.newsletter-form-lg { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form-lg input { flex: 1; padding: 14px 20px; border-radius: var(--radius-md); border: none; font-size: 0.95rem; outline: none; }
.newsletter-form-lg button { padding: 14px 28px; background: var(--dark); color: white; border-radius: var(--radius-md); font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
.newsletter-form-lg button:hover { background: var(--dark-2); }
@media (max-width: 540px) { .newsletter-form-lg { flex-direction: column; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 2fr; gap: 40px; padding: 60px 0 40px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .site-logo .logo-text { color: white; }
.footer-tagline { font-size: 0.875rem; margin-top: 10px; margin-bottom: 16px; opacity: 0.6; }
.footer-copy { font-size: 0.8rem; opacity: 0.4; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; color: white; margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { display: block; font-size: 0.875rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-newsletter h4 { font-family: var(--font-display); font-weight: 700; color: white; margin-bottom: 10px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-newsletter p { font-size: 0.875rem; margin-bottom: 14px; opacity: 0.7; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); color: white; font-size: 0.875rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-result { font-size: 0.8rem; margin-top: 8px; color: #86efac; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.payment-icons { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; opacity: 0.7; flex-wrap: wrap; }
.payment-icons img { border-radius: 4px; background: white; padding: 2px; }
.stripe-badge { padding: 4px 10px; background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); font-size: 0.75rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; opacity: 0.5; transition: var(--transition); }
.footer-links a:hover { opacity: 1; }

/* ── Cookie Banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: white; border-radius: var(--radius-lg);
  padding: 14px 20px; box-shadow: var(--shadow-lg); z-index: 600;
  max-width: 600px; width: calc(100% - 40px);
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.875rem; }
.cookie-inner a { color: #c4b5fd; }

/* ── Admin Topbar reference ───────────────────────────────────────────────── */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ── Page Sections ───────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: white; padding: 48px 0;
}
.page-hero h1 { color: white; margin-bottom: 8px; }
.page-hero p { opacity: 0.7; }

/* ── Empty States ─────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state svg { opacity: 0.3; margin-bottom: 16px; }
.empty-state h3 { color: var(--dark); margin-bottom: 8px; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 40px 0; }
.page-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 600; border: 1px solid var(--border); background: white; color: var(--text); transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn.disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .hero { padding: 48px 0 64px; }
  .hero-stats { gap: 20px; }
}



/* ═══════════════════════════════════════════════════════════════════════
   SIOPY — Zazzle-Inspired Additions to main.css
   Append this to the END of your existing assets/css/main.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Event Category Strip ────────────────────────────────────────────── */
.event-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(26,26,46,0.06);
}
.event-strip-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.event-strip-inner::-webkit-scrollbar { display: none; }
.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.event-pill:hover,
.event-pill:active { background: var(--primary-l); border-color: var(--primary); color: var(--primary); }
.event-emoji { font-size: 1rem; }

/* ── Zazzle-style Hero ───────────────────────────────────────────────── */
.zz-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a5e 50%, var(--dark-2) 100%);
  color: white;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.zz-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(123,97,255,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(255,107,107,0.15) 0%, transparent 50%);
}
.zz-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .zz-hero-inner { grid-template-columns: 1fr; } }
.zz-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.zz-hero-text h1 { color: white; margin-bottom: 16px; }
.zz-highlight { color: #a78bfa; }
.zz-hero-text p { opacity: 0.8; font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; }
.zz-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.zz-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Live customizer preview widget */
.zz-customizer-preview {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.zz-preview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.zz-preview-tag {
  background: var(--primary-l);
  border-radius: 16px;
  padding: 12px;
  flex-shrink: 0;
}
.zz-preview-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 800;
}
.zz-preview-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.zz-preview-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-top: 4px; }
.zz-preview-form { display: flex; flex-direction: column; gap: 12px; }
.zz-preview-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.zz-preview-field input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.zz-preview-field input:focus { border-color: var(--primary); }
.option-cost { color: var(--primary); font-size: 0.75rem; }

/* ── How It Works Strip ──────────────────────────────────────────────── */
.how-it-works-strip {
  background: var(--primary-l);
  border-top: 1px solid rgba(123,97,255,0.15);
  border-bottom: 1px solid rgba(123,97,255,0.15);
  padding: 20px 0;
}
.how-steps {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-right: 1px solid rgba(123,97,255,0.2);
  flex: 1;
  min-width: 200px;
}
.how-step:last-child { border-right: none; }
.how-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}
.how-step-info { display: flex; flex-direction: column; gap: 2px; }
.how-step-info strong { font-size: 0.875rem; color: var(--dark); }
.how-step-info span  { font-size: 0.775rem; color: var(--text-muted); line-height: 1.4; }

/* ── Zazzle-style Categories Grid ────────────────────────────────────── */
.zz-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.zz-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.zz-cat-card:hover,
.zz-cat-card:active { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.zz-cat-emoji { font-size: 2.2rem; flex-shrink: 0; }
.zz-cat-info { flex: 1; }
.zz-cat-info h4 { font-size: 0.95rem; margin-bottom: 3px; color: var(--dark); }
.zz-cat-info p  { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.zz-cat-arrow { color: var(--text-muted); font-size: 1.1rem; margin-left: auto; }

/* ── Personalization CTA Banner ──────────────────────────────────────── */
.perso-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0a3e 100%);
  padding: 64px 0;
  color: white;
}
.perso-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .perso-banner-inner { grid-template-columns: 1fr; gap: 40px; } }
.perso-banner-text h2 { color: white; margin-bottom: 12px; }
.perso-banner-text h2 span { color: #a78bfa; }
.perso-banner-text p  { opacity: 0.8; margin-bottom: 24px; }
.perso-banner-feature-list { display: flex; flex-direction: column; gap: 16px; }
.perso-feature { display: flex; gap: 14px; align-items: flex-start; }
.perso-feature-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.perso-feature strong { display: block; color: white; font-size: 0.9rem; margin-bottom: 2px; }
.perso-feature span   { font-size: 0.8rem; opacity: 0.7; }

/* ── Trust Section ───────────────────────────────────────────────────── */
.trust-section { background: var(--bg); padding: 48px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.trust-icon { font-size: 1.6rem; flex-shrink: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: var(--dark); }
.trust-item p { font-size: 0.825rem; color: var(--text-muted); margin: 0; }

/* ── Personalization badge on product cards ──────────────────────────── */
.badge-perso { background: var(--primary); color: white; }
.perso-hint {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}
.btn-customize {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-customize:hover,
.btn-customize:active { background: var(--primary-d); color: white; }

/* ── Gallery personalization badge ──────────────────────────────────── */
.gallery-perso-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Personalization Module Styles ───────────────────────────────────── */
.perso-module {
  margin-top: 24px;
  border: 2px solid var(--primary-l);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.perso-module-header {
  background: var(--primary-l);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perso-module-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.perso-module-sub { font-size: 0.8rem; color: var(--text-muted); }

.perso-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.perso-field {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.perso-field:hover { background: rgba(123,97,255,0.02); }
.perso-field:last-child { border-bottom: none; }

.perso-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.perso-required { color: var(--error); font-size: 0.8rem; }
.perso-option-cost {
  margin-left: auto;
  background: var(--accent-l);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.perso-help { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.5; }
.perso-char-count { font-size: 0.75rem; color: var(--text-muted); text-align: right; margin-top: 4px; }

/* Color picker */
.perso-color-row { display: flex; align-items: center; gap: 12px; }
.perso-color-input {
  width: 48px !important;
  height: 40px !important;
  padding: 4px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
}
.perso-color-label { font-size: 0.875rem; color: var(--text-muted); }

/* Checkbox */
.perso-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.perso-checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Image upload */
.perso-upload-wrap { display: flex; flex-direction: column; gap: 8px; }
.perso-upload-input { display: none; }
.perso-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
  -webkit-tap-highlight-color: transparent;
}
.perso-upload-btn:hover { border-color: var(--primary); background: var(--primary-l); }
.perso-img-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.perso-img-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.perso-clear-upload {
  font-size: 0.85rem;
  color: var(--error);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
}
.perso-clear-upload:hover { background: var(--accent-l); }

/* Live price summary */
.perso-price-summary {
  background: var(--bg);
  border-top: 2px solid var(--primary-l);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perso-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.perso-summary-row.perso-summary-total {
  font-size: 1.05rem;
  color: var(--dark);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Personalization cost badge */
.perso-cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-l);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Stock warning */
.stock-warning {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.875rem;
  color: #854d0e;
  margin-top: 12px;
}

/* ── Admin: Personalization options table ────────────────────────────── */
.perso-options-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.perso-options-table th { background: var(--bg); padding: 10px 12px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.perso-options-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.perso-type-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; background: var(--primary-l); color: var(--primary); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .zz-hero { padding: 48px 0 60px; }
  .how-step { min-width: 180px; padding: 12px 16px; }
  .zz-categories { grid-template-columns: 1fr; }
  .perso-banner-inner { grid-template-columns: 1fr; }
  .perso-field { padding: 12px 16px; }
}





/* ═══════════════════════════════════════════════════════════════════════
   SIOPY — Zazzle-Inspired Additions to main.css
   Append this to the END of your existing assets/css/main.css
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Event Category Strip ────────────────────────────────────────────── */
.event-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(26,26,46,0.06);
}
.event-strip-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.event-strip-inner::-webkit-scrollbar { display: none; }
.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.event-pill:hover,
.event-pill:active { background: var(--primary-l); border-color: var(--primary); color: var(--primary); }
.event-emoji { font-size: 1rem; }

/* ── Zazzle-style Hero ───────────────────────────────────────────────── */
.zz-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a5e 50%, var(--dark-2) 100%);
  color: white;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.zz-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(123,97,255,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(255,107,107,0.15) 0%, transparent 50%);
}
.zz-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .zz-hero-inner { grid-template-columns: 1fr; } }
.zz-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.zz-hero-text h1 { color: white; margin-bottom: 16px; }
.zz-highlight { color: #a78bfa; }
.zz-hero-text p { opacity: 0.8; font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; }
.zz-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.zz-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Live customizer preview widget */
.zz-customizer-preview {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.zz-preview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.zz-preview-tag {
  background: var(--primary-l);
  border-radius: 16px;
  padding: 12px;
  flex-shrink: 0;
}
.zz-preview-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 800;
}
.zz-preview-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.zz-preview-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-top: 4px; }
.zz-preview-form { display: flex; flex-direction: column; gap: 12px; }
.zz-preview-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.zz-preview-field input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.zz-preview-field input:focus { border-color: var(--primary); }
.option-cost { color: var(--primary); font-size: 0.75rem; }

/* ── How It Works Strip ──────────────────────────────────────────────── */
.how-it-works-strip {
  background: var(--primary-l);
  border-top: 1px solid rgba(123,97,255,0.15);
  border-bottom: 1px solid rgba(123,97,255,0.15);
  padding: 20px 0;
}
.how-steps {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-right: 1px solid rgba(123,97,255,0.2);
  flex: 1;
  min-width: 200px;
}
.how-step:last-child { border-right: none; }
.how-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}
.how-step-info { display: flex; flex-direction: column; gap: 2px; }
.how-step-info strong { font-size: 0.875rem; color: var(--dark); }
.how-step-info span  { font-size: 0.775rem; color: var(--text-muted); line-height: 1.4; }

/* ── Zazzle-style Categories Grid ────────────────────────────────────── */
.zz-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.zz-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.zz-cat-card:hover,
.zz-cat-card:active { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.zz-cat-emoji { font-size: 2.2rem; flex-shrink: 0; }
.zz-cat-info { flex: 1; }
.zz-cat-info h4 { font-size: 0.95rem; margin-bottom: 3px; color: var(--dark); }
.zz-cat-info p  { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.zz-cat-arrow { color: var(--text-muted); font-size: 1.1rem; margin-left: auto; }

/* ── Personalization CTA Banner ──────────────────────────────────────── */
.perso-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0a3e 100%);
  padding: 64px 0;
  color: white;
}
.perso-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .perso-banner-inner { grid-template-columns: 1fr; gap: 40px; } }
.perso-banner-text h2 { color: white; margin-bottom: 12px; }
.perso-banner-text h2 span { color: #a78bfa; }
.perso-banner-text p  { opacity: 0.8; margin-bottom: 24px; }
.perso-banner-feature-list { display: flex; flex-direction: column; gap: 16px; }
.perso-feature { display: flex; gap: 14px; align-items: flex-start; }
.perso-feature-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.perso-feature strong { display: block; color: white; font-size: 0.9rem; margin-bottom: 2px; }
.perso-feature span   { font-size: 0.8rem; opacity: 0.7; }

/* ── Trust Section ───────────────────────────────────────────────────── */
.trust-section { background: var(--bg); padding: 48px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.trust-icon { font-size: 1.6rem; flex-shrink: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: var(--dark); }
.trust-item p { font-size: 0.825rem; color: var(--text-muted); margin: 0; }

/* ── Personalization badge on product cards ──────────────────────────── */
.badge-perso { background: var(--primary); color: white; }
.perso-hint {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}
.btn-customize {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-customize:hover,
.btn-customize:active { background: var(--primary-d); color: white; }

/* ── Gallery personalization badge ──────────────────────────────────── */
.gallery-perso-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Personalization Module Styles ───────────────────────────────────── */
.perso-module {
  margin-top: 24px;
  border: 2px solid var(--primary-l);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.perso-module-header {
  background: var(--primary-l);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perso-module-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.perso-module-sub { font-size: 0.8rem; color: var(--text-muted); }

.perso-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.perso-field {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.perso-field:hover { background: rgba(123,97,255,0.02); }
.perso-field:last-child { border-bottom: none; }

.perso-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.perso-required { color: var(--error); font-size: 0.8rem; }
.perso-option-cost {
  margin-left: auto;
  background: var(--accent-l);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.perso-help { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.5; }
.perso-char-count { font-size: 0.75rem; color: var(--text-muted); text-align: right; margin-top: 4px; }

/* Color picker */
.perso-color-row { display: flex; align-items: center; gap: 12px; }
.perso-color-input {
  width: 48px !important;
  height: 40px !important;
  padding: 4px !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
}
.perso-color-label { font-size: 0.875rem; color: var(--text-muted); }

/* Checkbox */
.perso-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.perso-checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Image upload */
.perso-upload-wrap { display: flex; flex-direction: column; gap: 8px; }
.perso-upload-input { display: none; }
.perso-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
  -webkit-tap-highlight-color: transparent;
}
.perso-upload-btn:hover { border-color: var(--primary); background: var(--primary-l); }
.perso-img-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.perso-img-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.perso-clear-upload {
  font-size: 0.85rem;
  color: var(--error);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  cursor: pointer;
}
.perso-clear-upload:hover { background: var(--accent-l); }

/* Live price summary */
.perso-price-summary {
  background: var(--bg);
  border-top: 2px solid var(--primary-l);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perso-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.perso-summary-row.perso-summary-total {
  font-size: 1.05rem;
  color: var(--dark);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Personalization cost badge */
.perso-cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-l);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Stock warning */
.stock-warning {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.875rem;
  color: #854d0e;
  margin-top: 12px;
}

/* ── Admin: Personalization options table ────────────────────────────── */
.perso-options-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.perso-options-table th { background: var(--bg); padding: 10px 12px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.perso-options-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.perso-type-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; background: var(--primary-l); color: var(--primary); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .zz-hero { padding: 48px 0 60px; }
  .how-step { min-width: 180px; padding: 12px 16px; }
  .zz-categories { grid-template-columns: 1fr; }
  .perso-banner-inner { grid-template-columns: 1fr; }
  .perso-field { padding: 12px 16px; }
}

/* ── Promo Banner (Zazzle rotating top bar) ──────────────────────── */
.promo-banner-wrap {
  position: relative;
  height: 44px;
  overflow: hidden;
  z-index: 95;
}
.promo-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.promo-banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 16px;
}
.promo-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.01em;
}
.promo-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  text-decoration: underline;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.promo-cta:hover { opacity: 0.85; }
.promo-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.promo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.promo-dot.active { background: white; }

/* ── Category Nav Tabs (Zazzle top nav) ──────────────────────────── */
.cat-nav-strip {
  background: white;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 89;
  box-shadow: 0 2px 8px rgba(26,26,46,0.05);
}
.cat-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-tab {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.cat-nav-tab:hover,
.cat-nav-tab:active { color: var(--primary); border-bottom-color: var(--primary); }
.cat-nav-more { color: var(--text-muted); }

/* ── Hero eyebrow ────────────────────────────────────────────────── */
.zz-hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* ── Live customizer preview ─────────────────────────────────────── */
.zz-preview-header { margin-bottom: 14px; }
.zz-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-l);
  padding: 5px 12px;
  border-radius: 100px;
}
.zz-preview-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.zz-preview-img {
  width: 72px; height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.zz-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.zz-preview-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}
.zz-preview-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.zz-preview-price { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-top: 6px; }
.zz-preview-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.zz-preview-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.option-cost-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-l);
  padding: 2px 7px;
  border-radius: 100px;
}

/* ── Event icon strip with photos ────────────────────────────────── */
.event-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.event-strip-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  justify-content: flex-start;
}
.event-strip-inner::-webkit-scrollbar { display: none; }
.event-pill-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: var(--text);
}
.event-pill-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  background: var(--bg);
}
.event-pill-img:hover .event-pill-circle,
.event-pill-img:active .event-pill-circle {
  border-color: var(--primary);
  transform: scale(1.05);
}
.event-pill-circle img { width: 100%; height: 100%; object-fit: cover; }
.event-pill-img span { font-size: 0.75rem; font-weight: 600; color: var(--text); }

/* ── Occasions Grid (Zazzle-style large cards) ───────────────────── */
.zz-occ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.zz-occ-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: white;
  -webkit-tap-highlight-color: transparent;
}
.zz-occ-card:hover,
.zz-occ-card:active { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.zz-occ-featured {
  grid-row: span 2;
}
.zz-occ-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.zz-occ-featured .zz-occ-img-wrap {
  aspect-ratio: auto;
  flex: 1;
}
.zz-occ-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.zz-occ-card:hover .zz-occ-img-wrap img { transform: scale(1.04); }
.zz-occ-info { padding: 16px; }
.zz-occ-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.zz-occ-info p  { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 8px; }
.zz-occ-cta { font-size: 0.8rem; font-weight: 700; color: var(--primary); }

@media (max-width: 900px) {
  .zz-occ-grid { grid-template-columns: 1fr 1fr; }
  .zz-occ-featured { grid-row: span 1; }
}
@media (max-width: 580px) {
  .zz-occ-grid { grid-template-columns: 1fr; }
  .zz-occ-featured { grid-row: span 1; }
}

/* ── Reviews grid ────────────────────────────────────────────────── */
.zz-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}



.zz-review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.zz-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.zz-reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.zz-reviewer-name { font-weight: 700; font-size: 0.875rem; }
.zz-reviewer-loc  { font-size: 0.75rem; color: var(--text-muted); }
.zz-review-cat {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-l);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}
.zz-review-stars { font-size: 0.85rem; color: #f59e0b; margin-bottom: 10px; }
.zz-review-text  { font-size: 0.875rem; color: var(--text); line-height: 1.65; margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .promo-banner-wrap { height: auto; min-height: 44px; }
  .promo-banner-slide { position: relative; height: auto; padding: 8px 0; }
  .promo-banner-slide:not(.active) { display: none; }
  .cat-nav-tab { padding: 12px 14px; font-size: 0.8rem; }
  .event-pill-circle { width: 52px; height: 52px; }
  .zz-reviews-grid { grid-template-columns: 1fr; }
}



/* ═══════════════════════════════════════════════════════════════════
   SIOPY — Gift Card CSS
   Append to the end of assets/css/main.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Checkout Gift Card Block ─────────────────────────────────────── */
.checkout-gift-card {
  background: linear-gradient(135deg, #f5f0ff 0%, #fff0fb 100%);
  border: 1.5px solid rgba(123, 97, 255, 0.2);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  margin: 16px 0;
}
.checkout-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #7B61FF);
  margin-bottom: 12px;
}

/* Input row */
.gc-input-row {
  display: flex;
  gap: 8px;
}
.gc-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid rgba(123, 97, 255, 0.25);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.875rem;
  font-family: inherit;
  background: white;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.gc-input:focus {
  border-color: var(--primary, #7B61FF);
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1);
}
.gc-apply-btn {
  padding: 10px 20px;
  background: var(--primary, #7B61FF);
  color: white;
  border: none;
  border-radius: var(--radius-sm, 8px);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.gc-apply-btn:hover  { background: var(--primary-d, #6347f5); }
.gc-apply-btn:active { transform: scale(0.97); }
.gc-apply-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Message */
.gc-message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 500;
}

/* Applied state */
.gc-applied-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 14px;
}
.gc-applied-info {
  flex: 1;
  min-width: 0;
}
.gc-applied-code {
  display: block;
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary, #7B61FF);
  letter-spacing: 0.06em;
}
.gc-applied-balance {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #6b6b8a);
  margin-top: 2px;
}
.gc-applied-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--success, #22c55e);
  white-space: nowrap;
}
.gc-remove-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  color: var(--error, #ef4444);
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.gc-remove-btn:hover { background: rgba(239, 68, 68, 0.2); }
.gc-remaining-note {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted, #6b6b8a);
  padding-left: 4px;
}

/* Cart drawer gift card row */
.summary-gc {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--success, #22c55e);
  border-bottom: 1px dashed rgba(34, 197, 94, 0.3);
}
.summary-gc-label { font-weight: 600; }
.summary-gc-amount { font-weight: 700; }

/* Admin gift cards table badges */
.badge-warning {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .gc-input-row   { flex-direction: column; }
  .gc-apply-btn   { width: 100%; }
}







/* ── Mobile Nav ──────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hide desktop nav completely — mobile-menu-btn handles it */
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 8px 0;
  }

  /* Show when toggled */
  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    display: block;
  }

  /* Collections dropdown — expand inline on mobile */
  .nav-dropdown {
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown-trigger {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    cursor: pointer;
  }

  .nav-dropdown-menu {
    display: flex !important; /* always visible on mobile — no hover needed */
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-menu a {
    padding: 10px 32px; /* indent to show hierarchy */
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
  }

  /* Header actions — tighten gap */
  .header-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    padding: 4px;
  }

  /* Market selector — hide currency text, keep flag */
  #market-label {
    display: none;
  }

  /* Keep header from overflowing */
  header {
    position: relative;
    overflow: visible;
  }
}

/* ── Very small screens ──────────────────────────────────────── */
@media (max-width: 380px) {
  .header-actions { gap: 2px; }
  .icon-btn { width: 32px; height: 32px; }
}



.badge-custom {
  background: #7B61FF;
  color: white;
}
.product-card-customize-cta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #7B61FF;
  color: white;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.2s;
  text-decoration: none;
  z-index: 2;
}
.product-card:hover .product-card-customize-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}





@media (max-width: 768px) {
  /* existing rules stay unchanged, add these: */
  .header-inner { gap: 8px; }
  .lang-code { display: none; }
  .lang-btn { padding: 6px 7px; }
}
