/* ===== CREATEXL - HOOFDSTIJL ===== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-dark: #b45309;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(217,119,6,.3); }
.btn-dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover:not(:disabled) { background: var(--primary-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--gray-300); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); background: var(--gray-50); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 0.6rem; border-radius: 50%; }

/* ===== HEADER / NAVBAR ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--gray-100); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.cart-btn:hover { background: var(--primary-light); }
.cart-count {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; border: none; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

.mobile-menu { display: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, #0f172a 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(217,119,6,.2); border: 1px solid rgba(217,119,6,.4); color: var(--accent-light); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; line-height: 1.1; }
.hero-title span { color: var(--accent-light); }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--accent-light); }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,.6); }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image-box {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  backdrop-filter: blur(10px);
}

/* ===== SECTION TITLES ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; margin-top: 0.75rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.section-label { display: inline-block; background: rgba(217,119,6,.1); color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.3rem 0.875rem; border-radius: 50px; margin-bottom: 0.75rem; }

/* ===== PRODUCT GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--gray-300); }

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-image img { transform: scale(1.07); }
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--gray-300);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.sale { background: var(--error); }

.product-wishlist {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px; height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { transform: scale(1.1); }

.product-info { padding: 1.25rem; }
.product-category { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 0.4rem; }
.product-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; color: var(--primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.product-price .original { font-size: 0.85rem; color: var(--gray-500); text-decoration: line-through; margin-left: 0.4rem; font-weight: 400; }
.product-price.sale { color: var(--error); }

.add-to-cart {
  width: 38px; height: 38px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.add-to-cart:hover { background: var(--accent); transform: scale(1.05); }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.category-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover { border-color: var(--accent); background: rgba(217,119,6,.05); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.category-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); }
.category-card p { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--primary); color: white; padding: 1.5rem 0; }
.features-inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.feature-item span:first-child { font-size: 1.3rem; }
.feature-item strong { font-weight: 600; }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 1.25rem; }
.cart-close { background: var(--gray-100); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-close:hover { background: var(--gray-200); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.cart-empty span { font-size: 3rem; display: block; margin-bottom: 1rem; }

.cart-item { display: flex; gap: 1rem; padding: 1rem; border-radius: var(--radius); border: 1px solid var(--gray-200); margin-bottom: 0.75rem; }
.cart-item-img { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }
.cart-item-price { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.qty-btn { width: 26px; height: 26px; background: var(--gray-100); border: none; border-radius: 6px; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--gray-200); }
.qty-display { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-remove { margin-left: auto; background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 1rem; transition: var(--transition); }
.cart-remove:hover { color: var(--error); }

.cart-footer { padding: 1.25rem; border-top: 1px solid var(--gray-200); }
.cart-shipping-note { font-size: 0.8rem; color: var(--success); font-weight: 600; text-align: center; margin-bottom: 1rem; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--gray-600); }
.cart-total.grand { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-top: 0.75rem; padding-top: 0.75rem; border-top: 2px solid var(--gray-200); margin-bottom: 1rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; color: var(--gray-700); }
.form-label .required { color: var(--error); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,6,.1); }
.form-control.error { border-color: var(--error); }
.form-error { color: var(--error); font-size: 0.8rem; margin-top: 0.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.checkout-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; }
.checkout-card h3 { font-size: 1.1rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.checkout-card h3 .step-num { width: 28px; height: 28px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.order-summary-sticky { position: sticky; top: 90px; }
.summary-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.summary-item:last-child { border-bottom: none; }
.summary-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; padding-top: 1rem; border-top: 2px solid var(--gray-200); margin-top: 0.5rem; }

.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.payment-method-btn:hover { border-color: var(--accent); background: rgba(217,119,6,.03); }
.payment-method-btn.selected { border-color: var(--accent); background: rgba(217,119,6,.06); }
.payment-method-btn input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.payment-icon { font-size: 1.5rem; }
.payment-label strong { display: block; font-weight: 700; font-size: 0.95rem; }
.payment-label span { font-size: 0.8rem; color: var(--gray-500); }

/* ===== ORDER CONFIRMATION ===== */
.confirmation-box {
  max-width: 640px;
  margin: 4rem auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}
.confirmation-icon { font-size: 4rem; margin-bottom: 1rem; }
.confirmation-box h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.order-number-badge { display: inline-block; background: var(--gray-100); padding: 0.5rem 1.25rem; border-radius: 50px; font-family: monospace; font-weight: 700; font-size: 1.1rem; margin: 1rem 0; color: var(--primary); }
.payment-box { background: var(--gray-50); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; text-align: left; border: 1px solid var(--gray-200); }
.payment-box h3 { margin-bottom: 1rem; font-size: 1rem; }
.payment-detail { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; }
.payment-detail strong { font-weight: 700; }
.tikkie-btn { background: #009de0; color: white; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 700; margin-top: 1rem; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding: 3rem 0; }
.product-gallery { position: sticky; top: 90px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); margin-bottom: 1rem; border: 1px solid var(--gray-200); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.75rem; }
.gallery-thumb { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); background: var(--gray-100); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.product-detail-price { font-size: 2.25rem; font-weight: 800; color: var(--accent); margin: 1rem 0; }
.product-detail-price .original { font-size: 1.2rem; color: var(--gray-400); text-decoration: line-through; margin-left: 0.5rem; }
.stock-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 50px; margin-bottom: 1rem; }
.stock-badge.in-stock { background: rgba(16,185,129,.1); color: var(--success); }
.stock-badge.out-of-stock { background: rgba(239,68,68,.1); color: var(--error); }
.qty-selector { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0; }
.qty-label { font-weight: 600; font-size: 0.9rem; }
.qty-controls { display: flex; align-items: center; gap: 0; border: 2px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.qty-controls button { width: 40px; height: 42px; background: var(--gray-100); border: none; cursor: pointer; font-size: 1.1rem; transition: var(--transition); }
.qty-controls button:hover { background: var(--gray-200); }
.qty-controls input { width: 50px; height: 42px; border: none; text-align: center; font-weight: 700; font-size: 1rem; outline: none; }
.product-actions { display: flex; gap: 1rem; }
.product-features { margin-top: 2rem; }
.product-feature { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--gray-700); }
.product-feature span:first-child { color: var(--success); font-size: 1rem; }
.product-tabs { border-top: 1px solid var(--gray-200); margin-top: 2rem; }
.tab-buttons { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); }
.tab-btn { padding: 0.875rem 1.25rem; background: none; border: none; font-weight: 600; font-size: 0.9rem; cursor: pointer; color: var(--gray-500); transition: var(--transition); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { padding: 1.5rem 0; line-height: 1.8; color: var(--gray-700); display: none; }
.tab-content.active { display: block; }

/* ===== FILTERS ===== */
.products-page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.filters-sidebar { position: sticky; top: 90px; align-self: start; }
.filter-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem; }
.filter-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; cursor: pointer; font-size: 0.9rem; }
.filter-option input { accent-color: var(--accent); }
.price-range { display: flex; gap: 0.75rem; align-items: center; }
.price-range input { width: 80px; padding: 0.4rem 0.6rem; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 0.85rem; text-align: center; }
.products-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.results-count { font-size: 0.9rem; color: var(--gray-500); }
.sort-select { padding: 0.5rem 1rem; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 0.9rem; cursor: pointer; outline: none; }
.sort-select:focus { border-color: var(--accent); }

/* ===== PAGES ===== */
.page-hero { background: var(--gray-50); padding: 3rem 0; border-bottom: 1px solid var(--gray-200); }
.page-hero h1 { font-size: 2rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--gray-300); }

/* ===== AUTH ===== */
.auth-wrapper { min-height: calc(100vh - 70px); background: var(--gray-50); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 440px; box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200); }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .logo { font-size: 1.8rem; }
.auth-title { text-align: center; font-size: 1.5rem; margin-bottom: 0.5rem; }
.auth-subtitle { text-align: center; color: var(--gray-500); font-size: 0.9rem; margin-bottom: 2rem; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-divider span { font-size: 0.8rem; color: var(--gray-400); }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--gray-500); }
.auth-footer a { color: var(--accent); font-weight: 600; }

/* ===== SEARCH ===== */
.search-bar { position: relative; }
.search-bar input { padding-right: 3rem; }
.search-bar button { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--gray-500); }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-info-icon { width: 48px; height: 48px; background: rgba(217,119,6,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-info-item h4 { font-weight: 700; margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--gray-500); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; cursor: pointer; font-weight: 600; background: var(--white); transition: var(--transition); }
.faq-question:hover { background: var(--gray-50); }
.faq-question span { transition: transform 0.25s; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--gray-700); line-height: 1.7; }
.faq-item.open .faq-answer { padding: 0 1.25rem 1.25rem; max-height: 500px; }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--success);
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideUp 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
}
.toast.error { border-left-color: var(--error); }
.toast.warning { border-left-color: var(--warning); }
.toast-icon { font-size: 1.1rem; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.825rem; }
.footer-payment { display: flex; gap: 0.5rem; align-items: center; }
.payment-badge { background: rgba(255,255,255,.1); padding: 0.25rem 0.625rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }

/* ===== LOADING / SKELETON ===== */
.skeleton { background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.spinner { width: 40px; height: 40px; border: 4px solid var(--gray-200); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 2rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MISC ===== */
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-success { background: rgba(16,185,129,.1); color: var(--success); }
.badge-warning { background: rgba(245,158,11,.1); color: var(--warning); }
.badge-error { background: rgba(239,68,68,.1); color: var(--error); }
.badge-info { background: rgba(99,102,241,.1); color: #6366f1; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

.empty-state { text-align: center; padding: 4rem 2rem; color: var(--gray-500); }
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; color: var(--gray-700); margin-bottom: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-sticky { position: static; }
  .products-page-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-search { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 1.25rem; font-weight: 600; padding: 1rem; border-radius: var(--radius); display: block; }
  .mobile-menu a:hover { background: var(--gray-100); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
  .features-inner { gap: 1.5rem; justify-content: flex-start; }
  .hero { padding: 4rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-sidebar { max-width: 100%; }
  .confirmation-box { padding: 2rem 1.25rem; margin: 2rem auto; }
  .hero-stats { gap: 1.25rem; }
}
