/* ═══════════════════════════════════════════════════════════════
   Féfette — E-Commerce Storefront Styles
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --purple: #F97316;
  --purple-light: #FFF7ED;
  --purple-dark: #EA580C;
  --purple-50: #FFF7ED;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --pink: #F43F5E;
  --pink-light: #FFE4E6;
  --lilac: #A78BFA;
  --lilac-light: #EDE9FE;
  --green: #10B981;
  --green-light: #D1FAE5;
  --sky: #38BDF8;
  --sky-light: #E0F2FE;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --cream: #FFFCF8;
  --dark: #111827;
  --text: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
  --shadow-lg: 0 12px 40px rgba(249, 115, 22, 0.12);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  color: var(--dark);
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ═══ NAVIGATION ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  padding: 0.7rem 1.5rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover { text-decoration: none; }

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  background: white;
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-link:hover { color: var(--purple); text-decoration: none; }
.nav-link.active { color: var(--purple); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-cart {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  background: var(--purple-light);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  font-family: 'Nunito', sans-serif;
}

.nav-cart:hover { background: var(--purple); color: white; text-decoration: none; }

.cart-count {
  background: var(--pink);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-count.empty { display: none; }

.nav-account {
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}

.nav-account:hover { border-color: var(--purple); color: var(--purple); text-decoration: none; }

.lang-toggle {
  display: flex;
  background: var(--purple-light);
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  padding: 0.3rem 0.6rem;
  border: none;
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--purple);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--purple);
  color: white;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
}

/* Mobile menu */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--dark);
}

/* ═══ PAGE CONTAINER ═══ */
#app {
  min-height: calc(100vh - 200px);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ═══ HERO SECTION ═══ */
.hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-light);
  color: #065F46;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.accent-purple { color: var(--purple); }
.accent-pink { color: var(--pink); }
.accent-gold { color: var(--gold); }

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-costumes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.costume-bubble {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.costume-bubble:nth-child(1) { background: var(--purple-light); animation-delay: 0s; }
.costume-bubble:nth-child(2) { background: var(--pink-light); animation-delay: 0.3s; }
.costume-bubble:nth-child(3) { background: var(--gold-light); animation-delay: 0.6s; }
.costume-bubble:nth-child(4) { background: var(--sky-light); animation-delay: 0.9s; }
.costume-bubble:nth-child(5) { background: var(--green-light); animation-delay: 1.2s; }

.costume-bubble:hover { transform: scale(1.15) rotate(5deg); }

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

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D97706);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.45);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-block { width: 100%; }

.btn-danger {
  background: var(--red);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.8rem;
}

.btn-ghost:hover { color: var(--red); }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
}

/* ═══ CATEGORY PILLS ═══ */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cat-pill {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill:hover {
  border-color: var(--purple-light);
  background: var(--purple-50);
}

.cat-pill.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* ═══ PRODUCT GRID ═══ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
}

/* Product gradient backgrounds */
.product-card:nth-child(6n+1) .product-image { background: linear-gradient(135deg, #FFF7ED, #FED7AA); }
.product-card:nth-child(6n+2) .product-image { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.product-card:nth-child(6n+3) .product-image { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.product-card:nth-child(6n+4) .product-image { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.product-card:nth-child(6n+5) .product-image { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.product-card:nth-child(6n+6) .product-image { background: linear-gradient(135deg, #FEE2E2, #FECACA); }

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 1.2rem 1.4rem 1.4rem;
}

.product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.product-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--purple);
}

.product-price-mad {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.product-ages {
  font-size: 0.75rem;
  background: var(--purple-light);
  color: var(--purple);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-weight: 700;
}

/* ═══ PRODUCT DETAIL ═══ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 0;
}

.product-detail-image {
  background: linear-gradient(135deg, var(--purple-light), #FDE68A);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  min-height: 400px;
  position: relative;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-detail-category {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.product-detail-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.product-detail-prices {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-main {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple);
}

.price-alt {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

/* Size selector */
.size-selector {
  margin-bottom: 1.5rem;
}

.size-selector label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover { border-color: var(--purple-light); }

.size-btn.active {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple);
}

/* Quantity selector */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qty-selector label {
  font-weight: 700;
  font-size: 0.9rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--purple-light); }

.qty-value {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  padding: 0.5rem;
}

/* Features list */
.product-features {
  margin-bottom: 2rem;
}

.product-features h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.add-to-cart-actions {
  display: flex;
  gap: 1rem;
}

/* ═══ VALUE PROPS ═══ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

.value-card:nth-child(1) .value-icon { background: var(--purple-light); }
.value-card:nth-child(2) .value-icon { background: var(--green-light); }
.value-card:nth-child(3) .value-icon { background: var(--pink-light); }
.value-card:nth-child(4) .value-icon { background: var(--gold-light); }

.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; line-height: 1.6; color: var(--muted); }

/* ═══ TRUST BANNER ═══ */
.trust-banner {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: white;
  padding: 3.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.trust-banner::before {
  content: '';
  position: absolute;
  top: -30px; left: -60px;
  width: 200px; height: 8px;
  background: #F97316;
  transform: rotate(-20deg);
  border-radius: 4px;
  opacity: 0.8;
}

.trust-banner::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -40px;
  width: 250px; height: 8px;
  background: #F43F5E;
  transform: rotate(-20deg);
  border-radius: 4px;
  opacity: 0.8;
}

.trust-banner h2 {
  color: white;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-stat { text-align: center; }

.trust-stat .num {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.trust-stat .label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.2rem;
}

/* ═══ CART PAGE ═══ */
.cart-page { max-width: 900px; margin: 0 auto; }

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-empty h2 { margin-bottom: 0.5rem; }
.cart-empty p { color: var(--muted); margin-bottom: 2rem; }

.cart-items { margin-bottom: 2rem; }

.cart-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  margin-bottom: 0.8rem;
  align-items: center;
}

.cart-item-emoji {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple-light), #FDE68A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.cart-item-size { font-size: 0.8rem; color: var(--muted); }

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

.cart-item-price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
  min-width: 80px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.3rem;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: var(--red); }

/* Cart summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 1.5rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.cart-summary-row .price { font-weight: 700; }

/* ═══ CHECKOUT FORM ═══ */
.checkout-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2rem;
  margin-top: 1.5rem;
}

.checkout-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--purple);
}

.form-input.error { border-color: var(--red); }

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* ═══ ORDER SUCCESS ═══ */
.order-success {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.order-success h1 { margin-bottom: 0.5rem; }
.order-success .order-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--purple);
  background: var(--purple-light);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  margin: 1rem 0;
}

.order-details-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 1.5rem;
  text-align: left;
  margin: 1.5rem 0;
}

/* ═══ ACCOUNT PAGE ═══ */
.auth-page {
  max-width: 440px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}

.auth-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.auth-card .auth-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

.auth-card .form-group { text-align: left; }

.auth-switch {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-switch a { cursor: pointer; font-weight: 700; }

.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.alert-error {
  background: var(--red-light);
  color: #991B1B;
}

.alert-success {
  background: var(--green-light);
  color: #065F46;
}

/* Orders list */
.orders-list { margin-top: 1.5rem; }

.order-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.order-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
}

.order-card-left h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.order-card-left .order-date { font-size: 0.82rem; color: var(--muted); }

.order-status {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background: var(--gold-light); color: #92400E; }
.status-confirmed { background: var(--green-light); color: #065F46; }
.status-shipped { background: var(--sky-light); color: #0369A1; }
.status-delivered { background: var(--purple-light); color: var(--purple); }

.order-card-right {
  text-align: right;
}

.order-card-total {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
}

/* ═══ SHIPPING INFO PAGE ═══ */
.shipping-page { max-width: 800px; margin: 0 auto; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2rem;
  margin-bottom: 1.2rem;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p, .info-card li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.info-card ul {
  padding-left: 1.5rem;
}

.info-card li { margin-bottom: 0.3rem; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--gold); }

.site-footer p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { opacity: 0.5; }

/* ═══ LOADING ═══ */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  font-size: 1.5rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--purple-light);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══ FADE ANIMATIONS ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav { padding: 0.6rem 1rem; }
  .nav-logo-text { font-size: 1.2rem; }
  .nav-logo-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .hero { padding: 3rem 1.2rem 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-costumes { gap: 0.6rem; }
  .costume-bubble { width: 60px; height: 60px; font-size: 1.6rem; }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 1rem;
  }

  .value-card { padding: 1.4rem 1rem; }
  .value-icon { width: 44px; height: 44px; font-size: 1.3rem; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .product-image { height: 150px; font-size: 3rem; }
  .product-info { padding: 0.8rem 1rem 1rem; }
  .product-info h3 { font-size: 0.92rem; }
  .product-price { font-size: 1rem; }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-detail-image {
    min-height: 250px;
    font-size: 5rem;
  }

  .price-main { font-size: 1.8rem; }

  .form-grid { grid-template-columns: 1fr; }

  .cart-item { flex-wrap: wrap; }
  .cart-item-price { min-width: auto; }

  .trust-stats { gap: 1.5rem; }
  .trust-stat .num { font-size: 2rem; }

  .info-grid { grid-template-columns: 1fr; }

  .add-to-cart-actions { flex-direction: column; }

  .site-footer { padding: 2rem 1.2rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-image { height: 180px; font-size: 4rem; }
  .nav-account { display: none; }
}

/* ═══ MISC ═══ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
