/* ============================================
   TEDDYÉ — Premium Teddy Bear Marketplace
   Design System & Global Styles
   ============================================ */

:root {
  /* Brand Colors */
  --cream: #FBF7F2;
  --cream-dark: #F5EDE3;
  --beige: #E8D9C8;
  --warm-brown: #8B5E3C;
  --deep-brown: #5C3A21;
  --soft-pink: #F8E1E7;
  --accent-pink: #E8A0B0;
  --rose: #C97B8A;
  --gold: #D4A574;
  --gold-dark: #B8956A;
  
  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FEFCF9;
  --gray-50: #FAFAF9;
  --gray-100: #F5F5F4;
  --gray-200: #E7E5E4;
  --gray-300: #D6D3D1;
  --gray-400: #A8A29E;
  --gray-500: #78716C;
  --gray-600: #57534E;
  --gray-700: #44403C;
  --gray-800: #292524;
  --gray-900: #1C1917;
  
  /* Semantic */
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --error: #DC2626;
  --error-bg: #FEF2F2;
  --info: #2563EB;
  --info-bg: #EFF6FF;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(28, 25, 23, 0.07), 0 2px 4px -2px rgba(28, 25, 23, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(28, 25, 23, 0.08), 0 4px 6px -4px rgba(28, 25, 23, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(28, 25, 23, 0.08), 0 8px 10px -6px rgba(28, 25, 23, 0.04);
  --shadow-card: 0 2px 12px rgba(92, 58, 33, 0.06);
  --shadow-card-hover: 0 12px 28px rgba(92, 58, 33, 0.12);
  --shadow-drawer: -8px 0 30px rgba(28, 25, 23, 0.12);
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;
  
  /* Layout */
  --header-height: 72px;
  --header-height-mobile: 60px;
  --bottom-nav-height: 64px;
  --container: 1280px;
  --container-narrow: 960px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--deep-brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.lead { font-size: 1.125rem; color: var(--gray-600); line-height: 1.7; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--gray-500); }
.text-brown { color: var(--warm-brown); }
.font-display { font-family: var(--font-display); }
.font-accent { font-family: var(--font-accent); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.section { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-10) 0; }
.section-lg { padding: var(--space-20) 0; }

@media (max-width: 768px) {
  .section { padding: var(--space-10) 0; }
  .section-lg { padding: var(--space-12) 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--warm-brown);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--warm-brown);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(139, 94, 60, 0.25);
}
.btn-primary:hover {
  background: var(--deep-brown);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--warm-brown);
  border: 1.5px solid var(--beige);
}
.btn-secondary:hover {
  border-color: var(--warm-brown);
  background: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--warm-brown);
  border: 1.5px solid var(--warm-brown);
}
.btn-outline:hover {
  background: var(--warm-brown);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--deep-brown); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-icon {
  width: 40px; height: 40px; padding: 0;
  border-radius: var(--radius-full);
}
.btn-icon.btn-sm { width: 32px; height: 32px; }

.btn-block { width: 100%; }
.btn:disabled, .btn.disabled {
  opacity: 0.55; cursor: not-allowed; transform: none !important;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--deep-brown), var(--warm-brown));
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 217, 200, 0.6);
  height: var(--header-height);
  transition: box-shadow var(--duration) var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-brown);
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--warm-brown), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--warm-brown);
  background: rgba(139, 94, 60, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--gray-700);
  transition: all var(--duration) var(--ease);
}
.nav-icon-btn:hover { background: var(--beige); color: var(--deep-brown); }
.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.search-toggle, .mobile-menu-btn { display: none; }

/* Search Overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28, 25, 23, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: all var(--duration) var(--ease);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-panel {
  background: var(--white);
  max-width: 640px;
  margin: 80px auto 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform var(--duration) var(--ease);
  overflow: hidden;
}
.search-overlay.active .search-panel { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--gray-200);
}
.search-input-wrap input {
  flex: 1; border: none; outline: none;
  font-size: 1.125rem; background: transparent;
}
.search-results { max-height: 400px; overflow-y: auto; padding: var(--space-2); }
.search-result-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3); border-radius: var(--radius-md);
  cursor: pointer; transition: background var(--duration) var(--ease);
}
.search-result-item:hover { background: var(--cream); }
.search-result-item img {
  width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-dark);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
}
.badge-sale { background: var(--rose); color: white; }
.badge-new { background: var(--warm-brown); color: white; }
.badge-bestseller { background: var(--gold); color: var(--deep-brown); }

.wishlist-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
}
.wishlist-btn:hover, .wishlist-btn.active {
  color: var(--rose); background: white;
}
.wishlist-btn.active i { font-weight: 900; }

.product-quick-actions {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: all var(--duration) var(--ease);
  z-index: 2;
}
.product-card:hover .product-quick-actions {
  opacity: 1; transform: translateY(0);
}
.product-quick-actions .btn {
  flex: 1; padding: 0.5rem; font-size: 0.75rem;
  background: white; color: var(--deep-brown);
  box-shadow: var(--shadow-md);
}
.product-quick-actions .btn:hover { background: var(--warm-brown); color: white; }

.product-card-body {
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2);
  flex: 1;
}
.product-vendor {
  font-size: 0.75rem; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.product-name {
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 500;
  color: var(--gray-800); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name:hover { color: var(--warm-brown); }

.product-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.8125rem;
}
.stars { color: var(--gold); letter-spacing: -1px; }
.rating-count { color: var(--gray-400); }

.product-price-row {
  display: flex; align-items: baseline; gap: var(--space-2);
  margin-top: auto;
}
.price-current {
  font-size: 1.0625rem; font-weight: 600; color: var(--deep-brown);
}
.price-original {
  font-size: 0.875rem; color: var(--gray-400);
  text-decoration: line-through;
}
.price-discount {
  font-size: 0.75rem; font-weight: 600; color: var(--success);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Section Headers */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}
.section-header h2 { margin-bottom: 0.25rem; }
.section-header p { color: var(--gray-500); font-size: 0.9375rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 50%, var(--beige) 100%);
  overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
  padding: var(--space-12) 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--warm-brown); margin-bottom: var(--space-4);
}
.hero h1 {
  margin-bottom: var(--space-4);
  color: var(--deep-brown);
}
.hero .lead { margin-bottom: var(--space-8); max-width: 440px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-visual {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 45%; max-width: 520px;
}
.hero-visual img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.category-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--beige);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: var(--space-4);
}
.category-card-name {
  color: white; font-weight: 600; font-size: 0.9375rem;
}

/* Trust Bar */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  padding: var(--space-6) 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.trust-item i {
  font-size: 1.5rem; color: var(--warm-brown); margin-bottom: var(--space-2);
}
.trust-item h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.8125rem; color: var(--gray-500); }

/* Footer */
.footer {
  background: var(--deep-brown);
  color: rgba(255,255,255,0.8);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand .logo { color: white; margin-bottom: var(--space-4); }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 280px; }
.footer h4 {
  color: white; font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.footer ul li { margin-bottom: var(--space-2); }
.footer a { font-size: 0.9375rem; opacity: 0.85; }
.footer a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; flex-wrap: wrap; gap: var(--space-4);
}
.payment-icons { display: flex; gap: var(--space-3); font-size: 1.5rem; opacity: 0.7; }

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(28,25,23,0.4);
  opacity: 0; visibility: hidden;
  transition: all var(--duration) var(--ease);
}
.cart-drawer-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: var(--white);
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease);
  display: flex; flex-direction: column;
  z-index: 3001;
}
.cart-drawer-overlay.active .cart-drawer { transform: translateX(0); }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5); border-bottom: 1px solid var(--gray-200);
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: var(--space-4); }
.cart-drawer-footer {
  padding: var(--space-5); border-top: 1px solid var(--gray-200);
  background: var(--cream);
}
.cart-item {
  display: flex; gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item img {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.875rem; font-weight: 500; margin-bottom: 2px; }
.cart-item-price { font-size: 0.875rem; color: var(--warm-brown); font-weight: 600; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; color: var(--gray-600);
}
.qty-btn:hover { border-color: var(--warm-brown); color: var(--warm-brown); }

/* Toast */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--gray-900); color: white;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500;
  transform: translateX(120%);
  transition: transform var(--duration) var(--ease-spring);
  min-width: 280px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast i { font-size: 1.1rem; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(28,25,23,0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--duration) var(--ease);
  padding: var(--space-4);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--duration) var(--ease);
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5); border-bottom: 1px solid var(--gray-100);
}
.modal-body { padding: var(--space-5); }
.modal-close {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-800); }

/* Quick View Modal */
.quick-view-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
}
.quick-view-image {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream-dark);
}
.quick-view-image img { width: 100%; height: 100%; object-fit: cover; }

/* Forms */
.form-group { margin-bottom: var(--space-4); }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 500;
  color: var(--gray-700); margin-bottom: var(--space-2);
}
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--warm-brown);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}
.form-control::placeholder { color: var(--gray-400); }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty State */
.empty-state {
  text-align: center; padding: var(--space-16) var(--space-4);
}
.empty-state i {
  font-size: 3.5rem; color: var(--beige); margin-bottom: var(--space-4);
}
.empty-state h3 { margin-bottom: var(--space-2); }
.empty-state p { color: var(--gray-500); margin-bottom: var(--space-6); max-width: 360px; margin-left: auto; margin-right: auto; }

/* Mobile Bottom Nav */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-height);
  background: var(--white);
  border-top: 1px solid var(--beige);
  z-index: 900;
  padding: 0 var(--space-2);
}
.bottom-nav-inner {
  display: flex; align-items: center; justify-content: space-around;
  height: 100%; max-width: 500px; margin: 0 auto;
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 0.65rem; color: var(--gray-500); padding: 6px 12px;
  position: relative;
}
.bottom-nav-item i { font-size: 1.25rem; }
.bottom-nav-item.active { color: var(--warm-brown); }
.bottom-nav-item .nav-badge {
  top: 0; right: 4px; min-width: 16px; height: 16px; font-size: 0.6rem;
}

/* Page specific helpers */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--beige);
  padding: var(--space-8) 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--gray-500); margin-bottom: var(--space-2);
}
.breadcrumb a:hover { color: var(--warm-brown); }
.breadcrumb .separator { opacity: 0.5; }

/* Rating stars helper */
.star-filled { color: #F59E0B; }
.star-empty { color: var(--gray-300); }

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Swiper overrides */
.swiper-button-next, .swiper-button-prev {
  color: var(--warm-brown) !important;
  background: white; width: 40px !important; height: 40px !important;
  border-radius: 50%; box-shadow: var(--shadow-md);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 14px !important; }
.swiper-pagination-bullet-active { background: var(--warm-brown) !important; }
