/* ===========================
   FashionStore — Main Styles
   =========================== */

:root {
  --primary: #1a1a2e;
  --accent: #e94560;
  --accent-light: #ff6b6b;
  --gold: #c9a84c;
  --bg: #fafafa;
  --bg-alt: #f4f4f8;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ======= PAGE BACKGROUND ======= */
/* The artwork is painted as the root background so nothing can stack above it.
   CSS cannot fade a background-image directly, so the 5% is done by laying a
   95%-opaque scrim of the page colour over it: 0.05*image + 0.95*#fafafa. That
   is exactly what a 5% opacity layer over #fafafa would produce.
   To change the strength, edit the two 0.95 values below (higher = fainter). */
html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(250, 250, 250, 0.95), rgba(250, 250, 250, 0.95)),
    url("../img/bg-image.676206378da3.jpg");
  background-position: center center;
  background-size: cover;        /* the artwork is not seamless, so never tile it */
  background-repeat: no-repeat;
  background-attachment: fixed;  /* stays put while the page scrolls */
}
/* body must stay transparent or it would paint over the artwork */
body { font-family: var(--font-body); background: transparent; color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ======= LAYOUT ======= */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.page-section { padding: 40px 0 80px; }

/* ======= ANNOUNCEMENT BAR ======= */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}

/* ======= HEADER ======= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-accent { color: var(--accent); }

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  color: var(--text);
}
.nav-link:hover { background: var(--bg-alt); color: var(--accent); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  min-width: 280px;
  z-index: 100;
}
.dropdown-grid { display: flex; gap: 0; padding: 20px; gap: 20px; flex-wrap: wrap; }
.dropdown-col { min-width: 130px; }
.dropdown-heading {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}
.dropdown-item {
  display: block;
  font-size: 0.82rem;
  padding: 3px 0;
  color: var(--text-muted);
  transition: color 0.15s;
}
.dropdown-item:hover { color: var(--accent); }

/* User Dropdown */
.user-dropdown .dropdown-panel { min-width: 180px; left: auto; right: 0; transform: translateY(-8px); }
.user-dropdown:hover .dropdown-panel { transform: translateY(0); }
.user-panel { padding: 8px; }
.user-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: var(--text);
  transition: background 0.15s;
}
.user-panel a:hover { background: var(--bg-alt); }
.user-panel hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* HEADER ACTIONS */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-alt); color: var(--accent); }
.cart-btn { position: relative; }
.badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Buttons */
.btn-primary-sm, .btn-outline-sm {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary-sm { background: var(--accent); color: #fff; }
.btn-primary-sm:hover { background: var(--primary); }
.btn-outline-sm { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline-sm:hover { background: var(--primary); color: #fff; }

.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c73652; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(233,69,96,0.3); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-primary-full, .btn-outline-full {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary-full { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-primary-full:hover { background: #c73652; }
.btn-outline-full { background: transparent; color: var(--primary); border: 2px solid var(--primary); margin-top: 8px; }
.btn-outline-full:hover { background: var(--primary); color: #fff; }

/* ======= SEARCH BAR ======= */
.search-bar-wrap {
  background: var(--primary);
  padding: 16px 0;
  display: none;
}
.search-bar-wrap.open { display: block; }
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.search-form input::placeholder { color: rgba(255,255,255,0.6); }
.search-form button {
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
}
.search-close { background: transparent !important; }
.search-suggestions {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.sugg-label { font-weight: 600; color: rgba(255,255,255,0.8); }
.search-suggestions a { color: rgba(255,255,255,0.8); transition: color 0.15s; }
.search-suggestions a:hover { color: var(--accent-light); }

/* ======= MOBILE MENU ======= */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  display: none;
}
.mobile-menu-overlay.active { display: block; }
.mobile-menu {
  position: fixed;
  top: 0; left: -320px;
  width: 300px; height: 100vh;
  background: var(--white);
  z-index: 1200;
  overflow-y: auto;
  transition: left 0.3s ease;
}
.mobile-menu.open { left: 0; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-body { padding: 16px; }
.mobile-auth-btns { display: flex; gap: 8px; margin-bottom: 16px; }
.mobile-auth-btns .btn-outline-full, .mobile-auth-btns .btn-primary-full { margin-top: 0; }
.mobile-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 8px;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
  transition: color 0.15s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ======= MESSAGES ======= */
.messages-container { position: fixed; top: 80px; right: 20px; z-index: 2000; width: 320px; }
.alert {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  animation: slideIn 0.3s ease;
}
.alert.alert-error { background: #dc2626; }
.alert.alert-success { background: var(--success); }
.alert-close { background: none; color: #fff; font-size: 1.2rem; padding: 0 4px; }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ======= HERO ======= */
.hero-section { position: relative; }
.hero-slider { position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.hero-slide.active { position: relative; opacity: 1; }
.hero-img { width: 100%; height: 580px; object-fit: cover; }
.hero-placeholder, .hero-default-bg {
  height: 580px;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 50%, #0f3460 100%);
}
.hero-content {
  position: absolute;
  bottom: 80px; left: 60px;
  color: #fff;
  max-width: 500px;
  z-index: 2;
}
.hero-eyebrow { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 10px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 16px; }
.hero-sub { font-size: 1rem; opacity: 0.85; margin-bottom: 28px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.hero-cta:hover { background: var(--white); color: var(--accent); }
.hero-cta-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 12px;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--primary);
  transition: all 0.2s;
  z-index: 5;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-btn:hover { background: var(--accent); color: #fff; }
.slider-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* Gender Links */
.hero-gender-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 24px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.gender-card {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  color: var(--text);
}
.gender-card:hover { border-color: var(--accent); color: var(--accent); background: rgba(233,69,96,0.05); }

/* ======= SECTION HEADER ======= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary);
}
.section-link {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--accent);
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.section-link:hover { gap: 10px; }

/* ======= CATEGORY GRID ======= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.2s;
  color: var(--text);
}
.category-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.cat-icon-wrap {
  width: 70px; height: 70px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.cat-card-label { font-weight: 600; font-size: 0.87rem; }

/* ======= PRODUCT GRID ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ======= PRODUCT CARD ======= */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--border);
}
.badge-discount, .badge-new, .badge-free {
  position: absolute;
  top: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-discount { right: 10px; background: var(--accent); color: #fff; }
.badge-new { left: 10px; background: var(--primary); color: #fff; }
.badge-free { left: 10px; top: 36px; background: var(--success); color: #fff; }

.product-actions-overlay {
  position: absolute;
  bottom: -60px;
  left: 0; right: 0;
  display: flex;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  transition: bottom 0.3s;
}
.product-card:hover .product-actions-overlay { bottom: 0; }
.quick-add-btn {
  flex: 1;
  padding: 8px;
  background: var(--white);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.quick-add-btn:hover { background: var(--accent); color: #fff; }
.wishlist-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all 0.2s;
}
.wishlist-btn:hover, .wishlist-btn.wishlisted { background: var(--accent); color: #fff; }

.product-card-info { padding: 12px 14px; }
.product-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.15s;
}
.product-name:hover { color: var(--accent); }
.product-price-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price { font-weight: 700; font-size: 1rem; color: var(--primary); }
.product-original-price { font-size: 0.83rem; color: var(--text-muted); text-decoration: line-through; }

/* ======= PROMO STRIP ======= */
.promo-strip { background: var(--primary); padding: 32px 0; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.promo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.promo-card i { font-size: 2rem; color: var(--accent-light); flex-shrink: 0; }
.promo-card strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.promo-card span { font-size: 0.8rem; opacity: 0.7; }

/* ======= APP CTA ======= */
.app-cta-section {
  background: linear-gradient(135deg, #0f3460, var(--primary));
  padding: 60px 0;
}
.app-cta-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.app-cta-text { flex: 1; color: #fff; }
.app-cta-text h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 10px; }
.app-cta-text p { opacity: 0.8; margin-bottom: 24px; }
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.app-badge:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.app-cta-img { flex-shrink: 0; }
.phone-mockup {
  width: 120px; height: 200px;
  border: 4px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
}

/* ======= SHOP PAGE ======= */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 60px;
  align-items: start;
}
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sidebar-header h3 { font-family: var(--font-display); font-size: 1.2rem; }
.filter-group { margin-bottom: 24px; }
.filter-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.cat-filter { max-height: 200px; overflow-y: auto; }
.filter-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.filter-opt:hover, .filter-opt.active { background: rgba(233,69,96,0.08); border-color: var(--accent); color: var(--accent); }
.filter-opt input { display: none; }
.price-range-inputs { display: flex; align-items: center; gap: 8px; }
.price-input { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.85rem; }
.filter-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 900;
}
.sidebar-overlay.active { display: block; }

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.shop-results { font-size: 0.9rem; color: var(--text-muted); }
.shop-controls { display: flex; align-items: center; gap: 10px; }
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.87rem;
  background: var(--white);
}

/* ======= PRODUCT DETAIL ======= */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent); }
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}
.product-main-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-discount-lg {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
}
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.thumb.active { border-color: var(--accent); }
.product-detail-name { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
.product-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.rating-stars { display: flex; align-items: center; gap: 3px; font-size: 0.87rem; color: var(--text-muted); }
.rating-stars .fa-star { color: #d1d5db; }
.rating-stars .fa-star.filled { color: #f59e0b; }
.tag-badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  background: var(--primary); color: #fff;
}
.tag-fire { background: #ff6b35; }
.tag-green { background: var(--success); }
.price-section { margin-bottom: 20px; }
.detail-price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.detail-original { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: 10px; }
.detail-save {
  display: inline-block;
  background: rgba(233,69,96,0.1); color: var(--accent);
  font-size: 0.8rem; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; margin-left: 8px;
}
.product-description { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.variant-group { margin-bottom: 18px; }
.variant-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
.size-options, .color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt input, .color-opt input { display: none; }
.size-opt span {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px;
  padding: 0 12px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.size-opt input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.color-swatch { display: block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--border); cursor: pointer; transition: transform 0.15s; }
.color-opt input:checked + .color-swatch { transform: scale(1.2); border-color: var(--primary); }
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 8px;
  overflow: hidden; width: fit-content;
}
.qty-control button {
  width: 40px; height: 42px;
  font-size: 1.2rem; font-weight: 700;
  background: var(--bg-alt); color: var(--text);
  transition: background 0.15s;
}
.qty-control button:hover { background: var(--border); }
.qty-control input {
  width: 56px; height: 42px;
  text-align: center; border: none;
  font-size: 1rem; font-weight: 600;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
}
.add-to-cart-buttons { display: flex; gap: 12px; margin-top: 20px; }
.btn-add-cart {
  flex: 1; padding: 14px;
  background: var(--primary); color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
}
.btn-add-cart:hover { background: var(--accent); }
.btn-wishlist {
  width: 50px; height: 50px;
  border: 2px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text);
  transition: all 0.2s;
}
.btn-wishlist:hover, .btn-wishlist.wishlisted { border-color: var(--accent); color: var(--accent); background: rgba(233,69,96,0.05); }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.trust-item i { color: var(--accent); }

/* Reviews */
.reviews-section { margin-bottom: 60px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 32px; }
.review-card { background: var(--bg-alt); padding: 16px; border-radius: var(--radius); }
.review-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.review-date { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }
.review-stars .fa-star { font-size: 0.8rem; color: #d1d5db; }
.review-stars .fa-star.filled { color: #f59e0b; }
.review-form-wrap { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); max-width: 500px; }
.review-form-wrap h3 { margin-bottom: 16px; }

/* ======= CART ======= */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.cart-item-img { width: 90px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 4px; }
.cart-item-name:hover { color: var(--accent); }
.cart-item-variant { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.cart-item-price { font-size: 0.87rem; color: var(--text-muted); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-subtotal { font-weight: 700; font-size: 1rem; }
.remove-btn { color: var(--text-muted); font-size: 0.9rem; transition: color 0.15s; padding: 4px; }
.remove-btn:hover { color: var(--accent); }
.cart-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.93rem; margin-bottom: 10px; }
.summary-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; margin: 4px 0 20px; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.free-delivery-hint { font-size: 0.8rem; color: var(--success); text-align: center; margin-bottom: 12px; }
.checkout-btn { margin-top: 4px; font-size: 1rem; }

/* ======= CHECKOUT ======= */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-form-section h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; }
.payment-options { margin-top: 28px; margin-bottom: 24px; }
.payment-options h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 14px; }
.payment-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
  font-size: 0.9rem;
}
.payment-opt.active, .payment-opt:has(input:checked) { border-color: var(--accent); background: rgba(233,69,96,0.04); }
.payment-opt input { accent-color: var(--accent); }
.pay-logo { font-weight: 700; color: var(--accent); }
.checkout-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-summary h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; }
.checkout-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bg-alt); }
.checkout-item-info { flex: 1; }
.checkout-item-name { font-size: 0.87rem; font-weight: 600; display: block; }
.checkout-item-variant { font-size: 0.78rem; color: var(--text-muted); }
.checkout-item-qty { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }
.checkout-item-total { font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.bold span { font-weight: 800; }

/* ======= FORMS ======= */
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field-error { font-size: 0.8rem; color: var(--accent); display: block; margin-top: 4px; }

/* ======= AUTH ======= */
.auth-page { display: flex; justify-content: center; padding: 60px 20px; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; }
.auth-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* ======= ORDER SUCCESS ======= */
.success-state { max-width: 560px; margin: 0 auto; padding: 60px 20px; }
.success-icon { font-size: 5rem; color: var(--success); margin-bottom: 20px; }
.success-state h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.order-number-badge {
  display: inline-block;
  background: var(--primary); color: #fff;
  font-size: 1.4rem; font-weight: 800;
  padding: 12px 32px;
  border-radius: 8px;
  margin: 16px 0;
  letter-spacing: 0.06em;
}
.order-details-card { background: var(--bg-alt); padding: 20px; border-radius: var(--radius); margin: 20px 0; text-align: left; }
.order-det-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.order-det-row:last-child { border-bottom: none; }
.order-det-row span { color: var(--text-muted); min-width: 80px; }
.status-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
  background: rgba(16,185,129,0.1); color: var(--success);
  text-transform: capitalize;
}
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ======= TRACK ORDER ======= */
.track-form-wrap { max-width: 600px; margin: 0 auto; }
.track-form { display: flex; gap: 10px; margin-bottom: 32px; }
.track-form input { flex: 1; }
.track-result { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.track-steps { display: flex; justify-content: space-between; margin: 24px 0; flex-wrap: wrap; gap: 8px; }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 70px; }
.step-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--border); border: 2px solid var(--border); }
.track-step.active .step-dot { background: var(--success); border-color: var(--success); }
.track-step span { font-size: 0.75rem; text-align: center; color: var(--text-muted); }
.track-step.active span { color: var(--success); font-weight: 600; }
.track-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 0.9rem; }
.error-msg { color: var(--accent); }

/* ======= PROFILE ======= */
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.profile-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.profile-avatar { color: var(--text-muted); margin-bottom: 12px; }
.profile-sidebar h3 { font-weight: 700; }
.profile-sidebar p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.profile-nav { text-align: left; }
.profile-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--text); transition: background 0.15s; }
.profile-nav a:hover, .profile-nav a.active { background: rgba(233,69,96,0.08); color: var(--accent); }
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.orders-table th, .orders-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.orders-table th { background: var(--bg-alt); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.status-pending { background: rgba(245,158,11,0.1); color: #d97706; }
.status-confirmed { background: rgba(59,130,246,0.1); color: #3b82f6; }
.status-delivered { background: rgba(16,185,129,0.1); color: var(--success); }
.status-cancelled { background: rgba(239,68,68,0.1); color: #ef4444; }

/* ======= CONTACT ======= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item i { font-size: 1.2rem; color: var(--accent); margin-top: 3px; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item p { font-size: 0.9rem; color: var(--text-muted); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; }

/* ======= ABOUT ======= */
.about-hero { text-align: center; padding: 60px 0 40px; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.about-tagline { font-size: 1.2rem; color: var(--text-muted); font-style: italic; }
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-text h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 20px 0 10px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-card span { font-size: 0.85rem; color: var(--text-muted); }

/* ======= EMPTY STATE ======= */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { margin-bottom: 20px; display: block; }
.empty-state h2 { font-family: var(--font-display); margin-bottom: 10px; color: var(--text); }
.empty-state p { margin-bottom: 24px; }

/* ======= PAGE TITLE ======= */
.page-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 32px; }

/* ======= FOOTER ======= */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.87rem; opacity: 0.7; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.87rem; opacity: 0.7; transition: opacity 0.15s; }
.footer-col ul a:hover { opacity: 1; color: var(--accent-light); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; margin-bottom: 10px; }
.contact-list i { opacity: 0.5; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 10px;
}
/* the bar used to be dimmed as a whole, which would also dim the developer
   button - dim the text and badges individually instead */
.footer-bottom { opacity: 1; }
.footer-bottom > p { opacity: 0.6; }
.footer-bottom-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; opacity: 0.6; }
.payment-icons span { padding: 3px 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; font-size: 0.75rem; }

/* ======= MEET THE DEVELOPER ======= */
.dev-wrap { position: relative; display: inline-flex; }
.dev-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 0.78rem; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 15px; border-radius: 30px; cursor: pointer;
  transition: background .16s, border-color .16s, transform .16s;
  white-space: nowrap;
}
.dev-btn i { color: var(--accent); font-size: 0.8rem; transition: color .16s; }
.dev-btn:hover {
  background: var(--accent); border-color: var(--accent); transform: translateY(-1px);
}
.dev-btn:hover i { color: #fff; }
.dev-wrap.is-open .dev-btn { background: var(--accent); border-color: var(--accent); }
.dev-wrap.is-open .dev-btn i { color: #fff; }

.dev-card {
  position: absolute;
  bottom: calc(100% + 11px);
  right: 0;
  width: 232px;
  background: #fff;
  color: #1a1a2e;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,.38);
  overflow: hidden;
  text-align: left;
  z-index: 1200;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.97);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dev-wrap.is-open .dev-card { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
/* little pointer down toward the button */
.dev-card::after {
  content: '';
  position: absolute; bottom: -5px; right: 22px;
  width: 10px; height: 10px; background: #fff; transform: rotate(45deg);
}

.dev-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 11px 9px;
  background: linear-gradient(135deg, #141414 0%, #2b1418 100%);
}
.dev-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.25; }
.dev-role {
  font-size: 8.5px; letter-spacing: .11em; text-transform: uppercase;
  color: #f4a3aa; margin-top: 2px;
}
.dev-close {
  margin-left: auto; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 9.5px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .15s;
}
.dev-close:hover { background: rgba(255,255,255,.28); }

.dev-card-body { padding: 5px 5px 6px; }
.dev-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 7px; border-radius: 8px;
  color: #1a1a2e;
  transition: background .14s;
}
.dev-row:hover { background: #faf6f2; }
.dev-row-main { flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.dev-row-ic {
  width: 25px; height: 25px; border-radius: 7px; flex-shrink: 0;
  background: #FCE8EA; color: var(--accent); font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.dev-row-label {
  display: block; font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  color: #8a857c; font-weight: 600;
}
.dev-row-value { display: block; font-size: 11.5px; font-weight: 600; color: #1a1a2e; word-break: break-all; }
.dev-copy {
  margin-left: auto; flex-shrink: 0;
  width: 23px; height: 23px; border-radius: 6px;
  background: transparent; border: 1px solid var(--border);
  color: #8a857c; font-size: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .14s;
}
.dev-copy:hover { border-color: #1a1a2e; color: #1a1a2e; }
.dev-copy.copied { background: #E9F8EF; border-color: #7BCB97; color: #1d6a38; }

.dev-backdrop { display: none; }

/* on small screens float it in the middle of the viewport instead */
@media (max-width: 560px) {
  .dev-card {
    position: fixed;
    bottom: auto; right: auto;
    top: 50%; left: 50%;
    width: min(268px, calc(100vw - 40px));
    transform: translate(-50%, -46%) scale(.97);
    z-index: 12100;
  }
  .dev-wrap.is-open .dev-card { transform: translate(-50%, -50%) scale(1); }
  .dev-card::after { display: none; }
  .dev-backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(10,10,12,.6); z-index: 12050;
    opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s;
  }
  .dev-wrap.is-open .dev-backdrop { opacity: 1; visibility: visible; }
}

/* ======= UTILITIES ======= */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed;
    top: 0; left: -320px;
    width: 300px; height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s;
    border-radius: 0;
  }
  .shop-sidebar.open { left: 0; }
  .sidebar-close { display: flex !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .about-content { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .main-nav { display: none; }
  .hero-img, .hero-placeholder, .hero-default-bg { height: 360px; }
  .hero-content { left: 24px; bottom: 40px; }
  .hero-title { font-size: 1.8rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-actions { flex-direction: row; align-items: center; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .track-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-gender-links { gap: 8px; }
  .gender-card { padding: 8px 14px; font-size: 0.78rem; }
  .promo-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
