/* ── VARIABLES ── */
:root {
  --bg: #fafaf8;
  --bg2: #f2f2ee;
  --bg3: #e8e8e2;
  --text: #111110;
  --muted: #6b6b63;
  --border: #e2e2dc;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --white: #ffffff;
  --nav-h: 64px;
  --sidebar-w: 240px;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 4%;
  gap: 20px;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.logo-icon {
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-cats {
  display: flex;
  gap: 4px;
}
.nav-cat {
  background: none;
  border: none;
  padding: 6px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-cat:hover { color: var(--text); background: var(--bg2); }
.nav-cat.active { color: var(--text); background: var(--bg3); font-weight: 600; }

.nav-center { flex: 1; min-width: 0; }

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 440px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 40px;
  background: var(--bg2);
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 0 36px 0 42px;
  font-family: 'Jost', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.search-input:focus { border-color: var(--accent); background: var(--white); }
.search-input::placeholder { color: var(--muted); }
.search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-btn {
  position: relative;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.15s;
}
.nav-btn:hover { background: var(--bg2); }
.cart-btn { background: var(--text); color: var(--white); border-radius: 10px; }
.cart-btn:hover { background: #333; }

.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  background: var(--accent);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── HERO ── */
.hero {
  margin-top: var(--nav-h);
  min-height: 520px;
  background: var(--text);
  display: flex;
  align-items: center;
  padding: 60px 4%;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
}
.hero-stat span {
  display: block;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 360px;
}

.hero-carousel {
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--white);
}

.hero-carousel-track { position: relative; }

.hero-carousel-slide {
  display: none;
  flex-direction: column;
  animation: none;
}
.hero-carousel-slide.active {
  display: flex;
  animation: fadeSlide 0.6s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-carousel-slide img {
  width: 300px;
  height: 280px;
  object-fit: cover;
  display: block;
}

.hc-label {
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Jost', sans-serif;
}
.hc-label span { font-weight: 700; color: var(--accent-dark); font-size: 0.9rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 14px;
  background: var(--white);
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--bg3);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ── CATEGORY PILLS ── */
.cats-section {
  padding: 20px 4%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
}
.cats-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cats-row::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  color: var(--text);
}
.cat-pill:hover { border-color: var(--text); }
.cat-pill.active { background: var(--text); color: var(--white); border-color: var(--text); }
.cat-icon { font-size: 1rem; }

/* ── PRODUCTS LAYOUT ── */
.products-section { padding: 32px 4% 60px; }
.products-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* ── FILTER SIDEBAR ── */
.filter-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 66px);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.filter-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
}
.clear-filters {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.clear-filters:hover { text-decoration: underline; }

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.price-inputs input {
  width: 80px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
}
.price-inputs input:focus { border-color: var(--accent); }
.price-inputs span { color: var(--muted); }

.range-slider {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 6px;
}
.range-label { font-size: 0.78rem; color: var(--muted); }

.rating-filters, .filter-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-check input { accent-color: var(--accent); }

.sort-select {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--accent); }

/* ── PRODUCTS MAIN ── */
.products-main { flex: 1; min-width: 0; }

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.results-count {
  font-size: 0.85rem;
  color: var(--muted);
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.15s;
}
.view-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-grid.list-view {
  grid-template-columns: 1fr;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.product-card.list-view {
  display: flex;
  flex-direction: row;
  height: 140px;
}
.product-card.list-view .product-img-wrap { width: 140px; flex-shrink: 0; }
.product-card.list-view .product-img-wrap img { height: 140px; border-radius: 0; }
.product-card.list-view .product-info { display: flex; align-items: center; gap: 20px; padding: 16px 20px; flex: 1; }
.product-card.list-view .product-desc { display: block; flex: 1; }
.product-card.list-view .product-actions { flex-shrink: 0; }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.badge-new { background: #22c55e; color: white; }
.badge-sale { background: #ef4444; color: white; }
.badge-hot { background: var(--accent); color: var(--text); }

.wishlist-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.15s;
  z-index: 2;
  opacity: 0;
}
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn.active { color: #ef4444; opacity: 1; }
.wishlist-btn:hover { background: white; transform: scale(1.1); }

.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg2);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-info { padding: 14px; }
.product-cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  display: none;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.stars { color: var(--accent); font-size: 0.78rem; }
.rating-count { font-size: 0.72rem; color: var(--muted); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.product-price .original {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
  font-family: 'Jost', sans-serif;
}
.out-of-stock-label {
  font-size: 0.72rem;
  color: #ef4444;
  font-weight: 600;
}

.add-cart-btn {
  width: 34px; height: 34px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.add-cart-btn:hover { background: var(--accent); transform: scale(1.05); }
.add-cart-btn:disabled { background: var(--bg3); cursor: not-allowed; }

/* ── NO RESULTS ── */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.no-results-icon { font-size: 3rem; margin-bottom: 12px; }
.no-results h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.no-results p { font-size: 0.875rem; margin-bottom: 20px; }

/* ── CART SIDEBAR ── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.cart-header h2 span { color: var(--muted); font-weight: 400; font-family: 'Jost', sans-serif; }
.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.cart-close:hover { color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 2px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.cart-item-price { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 24px; height: 24px;
  border: 1.5px solid var(--border);
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}
.qty-btn:hover { background: var(--bg2); border-color: var(--text); }
.qty-val { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.cart-item-remove:hover { color: #ef4444; }

.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-subtotal, .cart-shipping, .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.cart-total {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.free-ship { color: #22c55e; font-weight: 600; font-size: 0.8rem; }

.btn-checkout {
  width: 100%;
  height: 48px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.btn-checkout:hover { background: #333; }

.btn-ghost-sm {
  width: 100%;
  height: 40px;
  background: none;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost-sm:hover { border-color: var(--text); color: var(--text); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── PRODUCT MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.product-modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.product-modal::-webkit-scrollbar { width: 4px; }
.product-modal::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 2px; }

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 34px; height: 34px;
  background: var(--bg2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.15s;
  z-index: 10;
}
.modal-close:hover { background: var(--bg3); }

.modal-content { padding: 0 28px 28px; }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.modal-images { position: relative; }
.modal-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
.modal-thumbs {
  display: flex;
  gap: 8px;
}
.modal-thumb {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.modal-thumb.active { border-color: var(--accent); }
.modal-thumb:hover { border-color: var(--text); }

.modal-info { padding-top: 8px; }
.modal-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}
.modal-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.modal-price-wrap { margin-bottom: 16px; }
.modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
}
.modal-original {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-family: 'Jost', sans-serif;
}
.modal-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-options { margin-bottom: 20px; }
.modal-option-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.option-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.option-pill {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
  background: none;
  font-family: 'Jost', sans-serif;
}
.option-pill:hover { border-color: var(--text); }
.option-pill.active { background: var(--text); color: var(--white); border-color: var(--text); }

.modal-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.modal-add-cart {
  flex: 1;
  height: 48px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-add-cart:hover { background: #333; }
.modal-wishlist-btn {
  width: 48px; height: 48px;
  border: 1.5px solid var(--border);
  background: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.15s;
  flex-shrink: 0;
}
.modal-wishlist-btn:hover { border-color: #ef4444; color: #ef4444; }
.modal-wishlist-btn.active { color: #ef4444; border-color: #ef4444; background: #fef2f2; }

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.modal-meta span { color: var(--text); font-weight: 500; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .filter-sidebar { display: none; }
  .products-layout { display: block; }
}

@media (max-width: 768px) {
  .nav-cats { display: none; }
  .navbar { padding: 0 4%; gap: 10px; }
  .hero { flex-direction: column; padding: 40px 4% 60px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .search-input { font-size: 0.82rem; }
}
