/* ============================================
   LIBSA — لبسة
   Kuwait Designer Marketplace
   Main Stylesheet
   ============================================ */

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

:root {
  --gold:        #C9A84C;
  --gold-light:  #F0D080;
  --gold-dark:   #9A7A2E;
  --black:       #0D0D0D;
  --off-black:   #1A1A1A;
  --dark:        #2A2A2A;
  --mid:         #6B6B6B;
  --light:       #F4F1EC;
  --white:       #FFFFFF;
  --rose:        #C97B84;
  --success:     #2ECC71;
  --error:       #E74C3C;
  --border:      #E8E3DC;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.1);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);

  --font:        'Tajawal', sans-serif;
  --transition:  all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  direction: rtl;
}

body.lang-en { direction: ltr; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- LANGUAGE SWITCHING — JS handles all text, no CSS duplication ---- */

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 17px; }

.btn-ghost {
  background: transparent;
  color: var(--mid);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--light); color: var(--black); }

.btn-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--black);
}
.btn-icon:hover { background: var(--light); }

.btn-lang {
  background: var(--light);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-lang:hover { background: var(--gold); color: var(--white); }

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

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  flex-shrink: 0;
}
.logo-ar { font-size: 22px; font-weight: 800; color: var(--gold); }
.logo-en { font-size: 11px; font-weight: 600; color: var(--mid); letter-spacing: 2px; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--light); color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-right: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.nav-mobile a:hover { background: var(--light); color: var(--gold); }

/* ---- HERO ---- */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FAF7F2 0%, #FDF9F4 50%, #F5EFE6 100%);
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 13px; color: var(--mid); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cards-stack {
  position: relative;
  width: 320px;
  height: 420px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card { background-size: cover; background-position: center; }
.hc1 {
  width: 200px; height: 280px;
  background-image: linear-gradient(0deg, rgba(154,122,46,0.15), rgba(154,122,46,0.15)), url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=500&q=80');
  background-size: cover; background-position: center;
  top: 60px; right: 30px;
  transform: rotate(-4deg);
}
.hc2 {
  width: 200px; height: 280px;
  background-image: url('https://images.unsplash.com/photo-1539008835657-9e8e9680c956?w=500&q=80');
  background-size: cover; background-position: center;
  top: 40px; right: 80px;
  transform: rotate(2deg);
}
.hc3 {
  width: 200px; height: 280px;
  background-image: url('https://images.unsplash.com/photo-1595777457583-95e059d581b8?w=500&q=80');
  background-size: cover; background-position: center;
  top: 20px; right: 130px;
  border: 1px solid var(--border);
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
}

.link-all {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}
.link-all:hover { color: var(--gold-dark); }

/* ---- CATEGORIES GRID ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.cat-emoji { font-size: 36px; }
.cat-name { font-size: 16px; font-weight: 700; color: var(--dark); }

/* ---- DESIGNER CARDS ---- */
.designers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.designer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.designer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }

.designer-card-cover {
  height: 120px;
  background: linear-gradient(135deg, var(--light), var(--border));
  position: relative;
}

.designer-card-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--gold);
  position: absolute;
  bottom: -36px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  overflow: hidden;
}
.designer-card-avatar img { width: 100%; height: 100%; object-fit: cover; }

.designer-card-body {
  padding: 48px 20px 20px;
}
.designer-card-name { font-size: 17px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.designer-card-specialty { font-size: 13px; color: var(--mid); margin-bottom: 12px; }
.designer-card-stats { display: flex; gap: 16px; }
.designer-card-stat { font-size: 13px; color: var(--mid); }
.designer-card-stat strong { color: var(--black); }

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.product-card-img {
  aspect-ratio: 3/4;
  background: var(--light);
  overflow: hidden;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.product-card-body { padding: 16px; }
.product-card-designer { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.product-card-name { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.product-card-price { font-size: 17px; font-weight: 800; color: var(--black); }
.product-card-price span { font-size: 12px; color: var(--mid); font-weight: 400; }

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn-add-cart {
  flex: 1;
  background: var(--gold);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--gold-dark); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #128C7E; }

/* ---- SKELETONS ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-base {
  background: linear-gradient(90deg, var(--light) 25%, #EDE8E0 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
.designer-skeleton {
  height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--light) 25%, #EDE8E0 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.product-skeleton {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--light) 25%, #EDE8E0 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ---- JOIN CTA ---- */
.join-cta {
  background: linear-gradient(135deg, var(--off-black) 0%, var(--dark) 100%);
  padding: 80px 24px;
  text-align: center;
  margin: 40px 0 0;
}
.join-cta-content { max-width: 600px; margin: 0 auto; }
.join-cta h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.join-cta p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }

/* ---- FOOTER ---- */
.footer { background: var(--black); padding: 60px 24px 0; }
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-ar { font-size: 28px; font-weight: 800; color: var(--gold); }
.footer-brand .logo-en { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 2px; }
.footer-brand p { margin-top: 12px; color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--mid); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 6px; display: none; }
.form-error.visible { display: block; }

/* ---- AUTH PAGES ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE6 100%);
  padding: 24px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .logo-ar { font-size: 36px; font-weight: 800; color: var(--gold); }
.auth-logo .logo-en { font-size: 13px; font-weight: 600; color: var(--mid); letter-spacing: 2px; }
.auth-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.auth-sub { font-size: 15px; color: var(--mid); text-align: center; margin-bottom: 32px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 13px; color: var(--mid); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--mid); }
.auth-footer a { color: var(--gold); font-weight: 600; }

/* ---- DASHBOARD LAYOUT ---- */
.dash-layout {
  display: flex;
  min-height: 100vh;
}
.dash-sidebar {
  width: 260px;
  background: var(--off-black);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-sidebar-logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.dash-sidebar-logo .logo-ar { font-size: 24px; font-weight: 800; color: var(--gold); }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  border-right: 3px solid transparent;
}
.dash-nav a:hover, .dash-nav a.active { color: var(--white); border-right-color: var(--gold); background: rgba(201,168,76,0.1); }
.dash-main { flex: 1; padding: 40px; background: #F8F6F2; overflow-y: auto; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.dash-title { font-size: 28px; font-weight: 800; color: var(--black); }

/* ---- STAT CARDS ---- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.stat-card-label { font-size: 13px; color: var(--mid); font-weight: 500; margin-bottom: 8px; }
.stat-card-value { font-size: 32px; font-weight: 800; color: var(--black); }
.stat-card-sub { font-size: 13px; color: var(--success); font-weight: 600; margin-top: 4px; }

/* ---- TABLE ---- */
.table-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.table-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.table-title { font-size: 17px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 14px 20px; font-size: 13px; font-weight: 600; color: var(--mid); text-align: right; background: var(--light); border-bottom: 1px solid var(--border); }
tbody td { padding: 16px 20px; font-size: 14px; color: var(--dark); border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FDFAF6; }

/* ---- STATUS BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-pending  { background: #FFF3CD; color: #856404; }
.badge-approved { background: #D4EDDA; color: #155724; }
.badge-rejected { background: #F8D7DA; color: #721C24; }
.badge-new      { background: #CCE5FF; color: #004085; }
.badge-paid     { background: #D4EDDA; color: #155724; }
.badge-shipped  { background: #E2D9F3; color: #432874; }
.badge-delivered{ background: #D4EDDA; color: #155724; }

/* ---- TOAST ---- */
.toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--off-black);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: slideUp 0.3s ease;
}
.toast.success { border-right: 4px solid var(--success); }
.toast.error   { border-right: 4px solid var(--error); }
.toast.info    { border-right: 4px solid var(--gold); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 22px; font-weight: 800; }
.modal-close { font-size: 24px; color: var(--mid); cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--black); }

/* ---- IMAGE UPLOAD ---- */
.img-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.img-upload-zone:hover, .img-upload-zone.drag-over { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.img-upload-zone input { display: none; }
.img-upload-icon { font-size: 36px; margin-bottom: 12px; }
.img-upload-text { font-size: 15px; color: var(--mid); }
.img-upload-text strong { color: var(--gold); }

.img-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 16px; }
.img-preview-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--light);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .designers-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline, .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 40px 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { text-align: center; justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .designers-grid  { grid-template-columns: repeat(1, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 20px; }
  .footer-container { grid-template-columns: 1fr; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; height: auto; position: relative; }
  .auth-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
