/* ============================================================
   LUMIÈRE SKINCARE — Main Stylesheet
   Palette: ivory · warm beige · nude blush · dusty rose · black
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --ivory:      #FAFAF7;
  --cream:      #F5F0E8;
  --beige:      #EDE4D4;
  --blush:      #F2E4DC;
  --nude:       #D4B8A5;
  --rose:       #C8957A;
  --accent:     #9B6B52;
  --accent-dark:#7A4F3A;
  --charcoal:   #2C2420;
  --ink:        #1A1410;
  --muted:      #8B7D75;
  --border:     #E5DDD4;
  --glass-bg:   rgba(255,255,255,0.65);
  --glass-blur: blur(20px);
  --shadow-sm:  0 2px 12px rgba(44,36,32,0.06);
  --shadow-md:  0 8px 32px rgba(44,36,32,0.10);
  --shadow-lg:  0 20px 60px rgba(44,36,32,0.14);
  --radius:     12px;
  --radius-lg:  20px;
  --radius-pill:100px;
  --trans:      0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::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(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Global Page Loader ---- */
#page-loader {
  position: fixed; inset: 0;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo { width: 60px; height: 60px; animation: loaderSpin 3s linear infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-bar {
  width: 120px; height: 2px; background: var(--beige); border-radius: 2px; overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; background: var(--accent);
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0%{width:0;margin-left:0} 50%{width:100%;margin-left:0} 100%{width:0;margin-left:100%}
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 10px 40px;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  position: relative;
}
.announcement-bar strong { color: var(--nude); }
.ann-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--nude); font-size: 1.2rem; line-height: 1; opacity: 0.7;
  transition: opacity var(--trans);
}
.ann-close:hover { opacity: 1; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(229,221,212,0.6);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 0 40px; height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400; font-style: italic;
  color: var(--ink); letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-l { color: var(--accent); font-size: 2rem; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  flex: 1; justify-content: center;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--charcoal); transition: all var(--trans);
  display: flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--blush); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--trans);
}
.dropdown-right { left: auto; right: 0; transform: translateY(-6px); }
.has-dropdown:hover .dropdown,
.nav-account:hover .dropdown {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.dropdown-right:not(.has-dropdown .dropdown) {
  transform: translateY(0);
}
.nav-account:hover .dropdown { transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 0.875rem;
  color: var(--charcoal); transition: background var(--trans), color var(--trans);
}
.dropdown li a:hover { background: var(--cream); color: var(--accent); }
.dropdown-header { padding: 12px 18px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dropdown-header strong { display: block; font-size: 0.9375rem; }
.dropdown-header small { color: var(--muted); font-size: 0.75rem; }
.dropdown-divider { border-top: 1px solid var(--border); margin-top: 4px; }

.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); color: var(--charcoal);
  font-size: 1rem; transition: all var(--trans); position: relative;
}
.nav-icon-btn:hover { background: var(--blush); color: var(--accent); }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--accent); color: white;
  font-size: 0.625rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ivory);
}

/* Search overlay */
.search-overlay {
  position: absolute; top: 100%; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 16px 40px; box-shadow: var(--shadow-md);
}
.search-overlay[hidden] { display: none; }
.search-form {
  display: flex; align-items: center; gap: 12px;
  max-width: 700px; margin: 0 auto;
}
.search-input {
  flex: 1; border: none; border-bottom: 2px solid var(--beige);
  padding: 12px 0; font-size: 1.1rem; font-family: var(--font-display);
  font-style: italic; background: transparent; outline: none;
  color: var(--charcoal); transition: border-color var(--trans);
}
.search-input:focus { border-color: var(--accent); }
.search-form button { color: var(--muted); font-size: 1.1rem; transition: color var(--trans); }
.search-form button:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: all var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Cart Drawer */
.cart-drawer {
  position: fixed; top: 0; right: -420px; height: 100%;
  width: 400px; background: white;
  box-shadow: var(--shadow-lg); z-index: 1100;
  display: flex; flex-direction: column;
  transition: right var(--trans);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.cart-drawer-close { font-size: 1.4rem; color: var(--muted); transition: color var(--trans); }
.cart-drawer-close:hover { color: var(--charcoal); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }
.cart-drawer-footer {
  padding: 20px 24px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.cart-drawer-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; margin-bottom: 4px;
}
.cart-drawer-total strong { font-family: var(--font-display); font-size: 1.3rem; }
.cart-drawer-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.drawer-item-name { font-size: 0.875rem; font-weight: 500; margin-bottom: 4px; }
.drawer-item-price { font-size: 0.8rem; color: var(--muted); }
.drawer-item-remove { color: var(--muted); font-size: 0.875rem; transition: color var(--trans); }
.drawer-item-remove:hover { color: #e53e3e; }

/* Overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(26,20,16,0.5);
  z-index: 100; opacity: 0; visibility: hidden; transition: all var(--trans);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---- Layout ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* Section heading */
.section-heading { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; font-style: italic; color: var(--ink);
  line-height: 1.15;
}
.section-subtitle { color: var(--muted); font-size: 1rem; margin-top: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 10px; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em;
  transition: all var(--trans); cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155,107,82,0.35); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-dark { background: var(--charcoal); color: white; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--ink); }
.btn-light { background: var(--cream); color: var(--charcoal); border-color: var(--beige); }
.btn-light:hover { background: var(--beige); }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-lg {font-size: 1rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 6px; color: var(--charcoal); }
.form-label span { color: var(--rose); }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: white; color: var(--charcoal); font-size: 0.9375rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155,107,82,0.12); }
.form-control.error { border-color: #e53e3e; }
.form-error { font-size: 0.75rem; color: #e53e3e; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-group { position: relative; }
.input-group .form-control { padding-right: 44px; }
.input-group-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); transition: color var(--trans);
}
.input-group-btn:hover { color: var(--accent); }

/* ---- Cards ---- */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: all var(--trans);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---- Product Card ---- */
.product-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: all var(--trans); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card-img {
  position: relative; overflow: hidden; aspect-ratio: 1/1.1;
  background: var(--cream);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill);
}
.product-badge.sale { background: #e53e3e; }
.product-card-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(50px); opacity: 0; transition: all var(--trans);
}
.product-card:hover .product-card-actions { transform: translateX(0); opacity: 1; }
.action-btn {
  width: 36px; height: 36px;
  background: var(--glass-bg); backdrop-filter: var(--glass-blur);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); font-size: 0.875rem;
  transition: all var(--trans); border: 1px solid rgba(255,255,255,0.5);
}
.action-btn:hover { background: var(--accent); color: white; }
.action-btn.wishlisted { color: #e53e3e; }
.product-card-body { padding: 16px; }
.product-category { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.product-name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--ink); margin-bottom: 6px; line-height: 1.3;
}
.product-name a:hover { color: var(--accent); }
.product-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: var(--rose); font-size: 0.75rem; letter-spacing: 1px; }
.stars-count { font-size: 0.7rem; color: var(--muted); }
.product-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-size: 1.1rem; font-weight: 600; color: var(--charcoal); }
.price-old { font-size: 0.875rem; color: var(--muted); text-decoration: line-through; }
.price-discount { font-size: 0.7rem; font-weight: 600; color: #e53e3e; background: #fff5f5; padding: 2px 6px; border-radius: 4px; }
.product-card-footer { padding: 0 16px 16px; }
.btn-add-cart {
  width: 100%; background: var(--cream); color: var(--charcoal);
  border: 1.5px solid var(--beige); border-radius: var(--radius-pill);
  padding: 10px; font-size: 0.8125rem; font-weight: 500;
  transition: all var(--trans); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-add-cart:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ---- Hero Section ---- */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  background: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, var(--blush) 0%, var(--cream) 60%, var(--ivory) 100%);
}
.hero-texture {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8957a' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-container {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300; font-style: italic;
  color: var(--ink); line-height: 1.05; margin-bottom: 24px;
}
.hero-title span { color: var(--accent); }
.hero-desc {
  font-size: 1.0625rem; color: var(--muted); line-height: 1.7;
  max-width: 440px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 300; color: var(--accent);
}
.hero-stat-label { font-size: 0.8rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-img-frame {
  position: relative; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden; aspect-ratio: 4/5;
  background: var(--beige);
  box-shadow: var(--shadow-lg);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.7);
  padding: 14px 18px; box-shadow: var(--shadow-md);
}
.hero-float-1 { bottom: 40px; left: -30px; }
.hero-float-2 { top: 60px; right: -20px; }
.float-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 2px; }
.float-value { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--ink); }

/* ---- Categories Section ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; background: var(--cream);
  cursor: pointer; transition: all var(--trans);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.6) 0%, transparent 60%);
}
.category-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px; color: white;
}
.category-card-name {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 300; font-style: italic;
}
.category-card-count { font-size: 0.75rem; opacity: 0.7; margin-top: 2px; }
.category-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blush), var(--beige));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--nude);
}

/* ---- Testimonials ---- */
.testimonials-bg { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: -10px; left: 20px;
  font-family: var(--font-display); font-size: 8rem; color: var(--blush);
  line-height: 1; z-index: 0;
}
.testimonial-content { position: relative; z-index: 1; }
.testimonial-stars { color: var(--rose); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; color: var(--charcoal); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--beige); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--accent);
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-since { font-size: 0.75rem; color: var(--muted); }

/* ---- Newsletter ---- */
.footer-newsletter { background: var(--charcoal); padding: 60px 0; }
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.newsletter-text h3 {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 300; font-style: italic; color: white; margin-bottom: 8px;
}
.newsletter-text p { color: var(--nude); font-size: 0.9375rem; }
.newsletter-form { flex: 0 0 auto; min-width: 380px; }
.newsletter-input-wrap { display: flex; gap: 0; }
.newsletter-input-wrap input {
  flex: 1; padding: 14px 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-right: none; border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  color: white; font-size: 0.9375rem; outline: none;
}
.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input-wrap input:focus { background: rgba(255,255,255,0.12); }
.newsletter-input-wrap .btn { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
.newsletter-consent { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 8px; }
.newsletter-consent a { color: var(--nude); }

/* ---- Footer ---- */
.footer-main { background: var(--ink); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: white; display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
  transition: all var(--trans);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: white; }
.footer-col h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 500; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color var(--trans); }
.footer-col ul li a:hover { color: white; }
.footer-contact li { display: flex; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 10px; align-items: flex-start; }
.footer-contact i { color: var(--nude); margin-top: 2px; width: 14px; flex-shrink: 0; }
.payment-icons { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.payment-icons img { height: 24px; width: auto; opacity: 0.6; filter: grayscale(1) brightness(2); }
.footer-bottom {
  background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8125rem; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom ul li a { color: rgba(255,255,255,0.4); font-size: 0.8125rem; transition: color var(--trans); }
.footer-bottom ul li a:hover { color: rgba(255,255,255,0.8); }

/* ---- Shop Page ---- */
.shop-header {
  background: var(--cream); padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}
.shop-title { font-family: var(--font-display); font-size: 3rem; font-weight: 300; font-style: italic; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 48px 0; align-items: start; }
.filters-sidebar { position: sticky; top: 100px; }
.filter-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.filter-header { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.filter-title { font-weight: 600; font-size: 0.9375rem; }
.filter-clear { font-size: 0.75rem; color: var(--accent); }
.filter-clear:hover { text-decoration: underline; }
.filter-section { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: 0.8125rem; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal); }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
.filter-option-label { font-size: 0.875rem; color: var(--charcoal); flex: 1; }
.filter-option-count { font-size: 0.75rem; color: var(--muted); }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input { flex: 1; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.875rem; width: 80px; outline: none; }
.price-range input:focus { border-color: var(--accent); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-results { font-size: 0.875rem; color: var(--muted); }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.sort-select {
  padding: 9px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-pill); font-size: 0.875rem;
  background: white; color: var(--charcoal); outline: none; cursor: pointer;
  transition: border-color var(--trans);
}
.sort-select:focus { border-color: var(--accent); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--muted); transition: all var(--trans); }
.view-btn.active, .view-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--blush); }

/* ---- Product Detail ---- */
.product-detail { padding: 60px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
  aspect-ratio: 1/1.1; background: var(--cream);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: 10px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color var(--trans); flex-shrink: 0; background: var(--cream);
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-header { margin-bottom: 24px; }
.product-info-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 8px; font-weight: 500; }
.product-info-title { font-family: var(--font-display); font-size: 2.3rem; font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.2; margin-bottom: 12px; }
.product-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.product-sku { font-size: 0.75rem; color: var(--muted); }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin: 20px 0; }
.product-price-main { font-size: 2rem; font-weight: 600; color: var(--charcoal); }
.product-price-compare { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.product-price-save { font-size: 0.8rem; background: #fff5f5; color: #e53e3e; padding: 4px 10px; border-radius: var(--radius-pill); font-weight: 600; }
.product-short-desc { color: var(--muted); line-height: 1.7; margin-bottom: 24px; font-size: 0.9375rem; }
.product-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.qty-row { display: flex; gap: 12px; align-items: center; }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  overflow: hidden; background: white;
}
.qty-btn { width: 40px; height: 46px; font-size: 1.2rem; color: var(--charcoal); transition: color var(--trans); flex-shrink: 0; }
.qty-btn:hover { color: var(--accent); }
.qty-input { width: 48px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); font-size: 1rem; font-weight: 500; outline: none; height: 46px; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #48bb78; }
.stock-dot.low { background: #ed8936; }
.stock-dot.out { background: #e53e3e; }
.product-meta { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.product-meta-row { display: flex; gap: 8px; align-items: baseline; font-size: 0.875rem; margin-bottom: 8px; }
.product-meta-label { color: var(--muted); min-width: 80px; }
.product-meta-value { color: var(--charcoal); }

/* Tabs */
.product-tabs { padding: 60px 0; border-top: 1px solid var(--border); }
.tabs-header { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 40px; }
.tab-btn {
  padding: 14px 28px; font-size: 0.9375rem; font-weight: 500;
  color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all var(--trans); position: relative;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover:not(.active) { color: var(--charcoal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-content { max-width: 800px; line-height: 1.8; color: var(--charcoal); font-size: 0.9375rem; }
.tab-panel-content h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin: 24px 0 10px; }
.tab-panel-content p { margin-bottom: 14px; }
.tab-panel-content ul { padding-left: 20px; margin-bottom: 14px; }
.tab-panel-content ul li { margin-bottom: 6px; }

/* Reviews */
.review-summary { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 32px; background: var(--cream); border-radius: var(--radius-lg); margin-bottom: 32px; }
.review-avg-num { font-family: var(--font-display); font-size: 4rem; font-weight: 300; color: var(--accent); line-height: 1; }
.review-avg-stars { color: var(--rose); font-size: 1.3rem; letter-spacing: 3px; margin: 8px 0 4px; }
.review-avg-count { font-size: 0.875rem; color: var(--muted); }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; }
.review-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.review-bar-fill { height: 100%; background: var(--rose); border-radius: 3px; transition: width 0.6s ease; }
.review-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.review-item-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; color: var(--accent);
}
.review-name { font-weight: 600; font-size: 0.9375rem; }
.review-date { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.review-stars { color: var(--rose); font-size: 0.875rem; letter-spacing: 1px; }
.review-title { font-weight: 600; margin-bottom: 6px; font-size: 0.9375rem; }
.review-body { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.review-form { background: var(--cream); border-radius: var(--radius-lg); padding: 32px; margin-top: 32px; }
.review-form h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 20px; }
.star-picker { display: flex; gap: 4px; margin-bottom: 4px; }
.star-picker input[type=radio] { display: none; }
.star-picker label { font-size: 1.8rem; color: var(--border); cursor: pointer; transition: color var(--trans); }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--rose); }

/* Q&A */
.qa-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.qa-question { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.qa-q-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--charcoal); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.qa-q-text { font-size: 0.9375rem; font-weight: 500; color: var(--charcoal); }
.qa-answer { display: flex; gap: 12px; align-items: flex-start; padding-left: 40px; }
.qa-a-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.qa-a-text { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.qa-meta { font-size: 0.75rem; color: rgba(var(--muted),0.6); margin-top: 4px; }
.qa-form { background: var(--cream); border-radius: var(--radius-lg); padding: 32px; margin-top: 24px; }

/* ---- Cart Page ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding: 60px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--border); text-align: left; font-weight: 500; }
.cart-table td { padding: 20px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product-cell { display: flex; gap: 16px; align-items: center; }
.cart-product-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--cream); flex-shrink: 0; }
.cart-product-name { font-weight: 500; font-size: 0.9375rem; margin-bottom: 4px; }
.cart-product-name a:hover { color: var(--accent); }
.cart-product-sku { font-size: 0.75rem; color: var(--muted); }
.cart-qty { display: flex; align-items: center; }
.cart-remove { color: var(--muted); font-size: 0.875rem; padding: 6px; border-radius: 6px; transition: all var(--trans); }
.cart-remove:hover { color: #e53e3e; background: #fff5f5; }
.cart-summary { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; position: sticky; top: 100px; }
.cart-summary h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 24px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.9375rem; margin-bottom: 14px; }
.cart-summary-row.total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }
.cart-summary-row.shipping { color: var(--muted); font-size: 0.875rem; }
.coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.coupon-row input { flex: 1; }
.coupon-row input { font-size: 0.875rem; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); outline: none; transition: border-color var(--trans); }
.coupon-row input:focus { border-color: var(--accent); }
.coupon-msg { font-size: 0.8125rem; margin-top: 6px; }
.coupon-msg.success { color: #48bb78; }
.coupon-msg.error { color: #e53e3e; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 60px 0; align-items: start; }
.checkout-steps { display: flex; gap: 0; margin-bottom: 36px; }
.step {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--cream);
  border-bottom: 2px solid var(--border); font-size: 0.875rem;
  transition: all var(--trans); cursor: default;
}
.step.active { border-bottom-color: var(--accent); background: var(--blush); }
.step.done { border-bottom-color: #48bb78; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700;
  background: var(--border); color: var(--muted);
}
.step.active .step-num { background: var(--accent); color: white; }
.step.done .step-num { background: #48bb78; color: white; }
.checkout-section { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; margin-bottom: 20px; }
.checkout-section h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 i { color: var(--accent); font-size: 1rem; }
.checkout-order-summary { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; position: sticky; top: 100px; }
.checkout-order-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.checkout-order-item:last-of-type { border-bottom: none; }
.checkout-order-img { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.checkout-order-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.checkout-order-qty { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--charcoal); color: white; border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.checkout-order-name { flex: 1; font-size: 0.875rem; font-weight: 500; }
.checkout-order-price { font-size: 0.875rem; font-weight: 600; }

/* OTP Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(26,20,16,0.6);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--trans);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: white; border-radius: var(--radius-lg); padding: 40px;
  width: 440px; max-width: 95vw;
  transform: translateY(20px); transition: transform var(--trans);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; color: var(--muted); font-size: 1.2rem; transition: color var(--trans); }
.modal-close:hover { color: var(--charcoal); }
.modal-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blush); color: var(--accent); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal h3 { text-align: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-bottom: 8px; }
.modal p { text-align: center; color: var(--muted); font-size: 0.9375rem; margin-bottom: 28px; }
.modal strong { color: var(--charcoal); }
.otp-input-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.otp-digit {
  width: 52px; height: 60px; text-align: center;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 1.5rem; font-weight: 600; font-family: var(--font-display);
  outline: none; transition: border-color var(--trans);
}
.otp-digit:focus { border-color: var(--accent); }
.otp-timer { text-align: center; font-size: 0.8125rem; color: var(--muted); margin-bottom: 8px; }
.otp-resend { text-align: center; font-size: 0.875rem; }
.otp-resend button { color: var(--accent); font-weight: 500; }
.otp-resend button:disabled { color: var(--muted); }

/* ---- Dashboard ---- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 48px 0; }
.dashboard-nav { position: sticky; top: 100px; }
.dashboard-nav-list { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.dashboard-nav-item a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; font-size: 0.9375rem;
  color: var(--charcoal); transition: all var(--trans);
  border-left: 3px solid transparent;
}
.dashboard-nav-item a:hover { background: var(--cream); }
.dashboard-nav-item.active a { background: var(--blush); color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.dashboard-nav-item a i { width: 18px; text-align: center; color: var(--muted); }
.dashboard-nav-item.active a i { color: var(--accent); }
.dashboard-panel { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 32px; }
.dashboard-panel-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-bottom: 24px; }
.dashboard-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.dashboard-stat { background: var(--cream); border-radius: var(--radius); padding: 20px; }
.dashboard-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--accent); }
.dashboard-stat-label { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.order-num { font-weight: 600; font-size: 0.875rem; }
.order-date { font-size: 0.75rem; color: var(--muted); }
.order-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #ede9fe; color: #5b21b6; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-refunded { background: #f3f4f6; color: #374151; }

/* ---- Login / Register ---- */
.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ivory);
}
.auth-visual {
  background: linear-gradient(135deg, var(--blush), var(--beige), var(--cream));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px; position: relative; overflow: hidden;
}
.auth-visual-deco {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, var(--rose) 0%, transparent 40%),
                    radial-gradient(circle at 80% 20%, var(--nude) 0%, transparent 40%);
  opacity: 0.15;
}
.auth-visual-content { position: relative; z-index: 1; text-align: center; }
.auth-visual h2 { font-family: var(--font-display); font-size: 3rem; font-weight: 300; font-style: italic; color: var(--ink); margin-bottom: 16px; }
.auth-visual p { color: var(--muted); line-height: 1.7; max-width: 340px; }
.auth-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
}
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-logo { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: var(--ink); margin-bottom: 36px; display: block; }
.auth-title { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 6px; }
.auth-subtitle { color: var(--muted); font-size: 0.9375rem; margin-bottom: 32px; }
.auth-divider { text-align: center; position: relative; margin: 24px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { position: relative; background: var(--ivory); padding: 0 12px; font-size: 0.8125rem; color: var(--muted); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--muted); }
.auth-footer a { color: var(--accent); font-weight: 500; }

/* ---- Alerts / Toast ---- */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 0.9375rem; margin-bottom: 16px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--charcoal); color: white;
  padding: 14px 20px; border-radius: var(--radius);
  font-size: 0.875rem; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); min-width: 280px; max-width: 360px;
  transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 3px solid #48bb78; }
.toast.error   { border-left: 3px solid #e53e3e; }
.toast.info    { border-left: 3px solid var(--accent); }
.toast i { font-size: 1rem; flex-shrink: 0; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 32px 0; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; color: var(--charcoal); transition: all var(--trans);
}
.page-btn:hover, .page-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.page-btn.dots { pointer-events: none; border-color: transparent; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.show   { display: block !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.relative { position: relative; }
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.6);
}

/* ---- Skeleton loading ---- */
.skeleton { background: linear-gradient(90deg, var(--cream) 25%, var(--beige) 50%, var(--cream) 75%); background-size: 200%; animation: skeletonShimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes skeletonShimmer { to { background-position: -200% 0; } }

/* ---- Scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { min-width: auto; width: 100%; max-width: 460px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .filter-card { display: grid; grid-template-columns: repeat(2,1fr); }
  .filter-header { grid-column: 1/-1; }
  .product-detail-grid { display: block; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-container { padding: 0 20px; }
  .section { padding: 50px 0; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .dashboard-stats-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-side { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .review-summary { grid-template-columns: 1fr; text-align: center; }
  .cart-drawer { width: 100%; right: -100%; }
  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .hero-title { font-size: 2.8rem; }
  .otp-digit { width: 44px; height: 54px; font-size: 1.3rem; }
  .checkout-steps { overflow-x: auto; }
  .step { padding: 12px 16px; min-width: 110px; }
  .step-label { display: none; }
  .filter-card {
    display: grid;
    grid-template-columns: 1fr;
  }
  .dashboard-nav {
        position: static;
    }
}

/* ---- Mobile Nav overlay ---- */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed; top: 0; left: 0; height: 100vh;
    width: 280px; background: white; z-index: 1200;
    flex-direction: column; align-items: flex-start;
    padding: 80px 24px 40px; gap: 4px;
    transform: translateX(-100%); transition: transform var(--trans);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-link { width: 100%; font-size: 1rem; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible;
              box-shadow: none; border: none; background: var(--cream); min-width: auto; display: none; }
  .has-dropdown.open .dropdown { display: block; }
}
