/* ============ Storefront — Mobile Phone Store — Red & Black Theme ============ */
:root {
  --red: #E53935;
  --red-hover: #C62828;
  --red-light: rgba(229, 57, 53, 0.12);
  --red-glow: rgba(229, 57, 53, 0.25);

  --black: #000000;
  --bg-dark: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1C1C1C;
  --surface: #181818;
  --border: #252525;
  --border-light: #303030;

  --text-primary: #F5F5F5;
  --text-secondary: #888888;
  --text-muted: #555555;

  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-card: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.7), 0 0 0 1px rgba(229,57,53,0.1);
  --shadow-glow: 0 0 20px rgba(229,57,53,0.3);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header-brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.store-logo-header {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f0f0f;
  flex-shrink: 0;
}
.header-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  white-space: nowrap;
}
.header-brand-name span { color: var(--red); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--red-light);
  color: var(--white);
  border-color: var(--red);
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.cart-btn:hover { background: var(--red-hover); box-shadow: var(--shadow-glow); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  background: var(--white);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-count.hidden { display: none; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #000 0%, #0D0000 50%, #1A0505 100%);
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(229,57,53,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(229,57,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.hero h1 span { color: var(--red); }

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-hero-primary:hover {
  background: var(--red-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-hero-primary svg { width: 18px; height: 18px; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-hero-secondary:hover { border-color: var(--red); background: var(--red-light); }

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-phone-icon {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(229,57,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229,57,53,0.2);
}
.hero-phone-icon svg {
  width: 64px;
  height: 64px;
  color: var(--red);
  opacity: 0.8;
}

/* ===== Products Section ===== */
.featured-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 0;
}
.featured-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.featured-heading h2 { font-family: var(--font-display); font-size: 26px; color: var(--white); }
.featured-heading h2 span { color: var(--red); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); background: var(--surface); font-size: 18px; cursor: pointer; }
.carousel-btn:hover { border-color: var(--red); color: var(--red); }
.featured-carousel { overflow: hidden; }
.featured-slide { display: grid; grid-template-columns: minmax(220px, 34%) 1fr; min-height: 260px; background: linear-gradient(110deg, #171717, #0e0e0e); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.featured-image { min-height: 260px; background: var(--black); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px 38px; }
.featured-label { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-content h3 { margin: 8px 0 14px; font-family: var(--font-display); font-size: clamp(24px, 4vw, 38px); color: var(--white); }
.featured-price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); }
.featured-lbp { margin-top: 4px; color: var(--text-muted); font-size: 12px; }
.btn-featured-cart { width: auto; padding: 11px 20px; margin-top: 22px; }
.featured-dots { display: flex; justify-content: center; gap: 6px; padding-top: 14px; }
.featured-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--border-light); cursor: pointer; }
.featured-dot.active { width: 22px; border-radius: 4px; background: var(--red); }

.products-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.section-title span { color: var(--red); }
.section-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.category-filter-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.category-filter-btn:hover {
  border-color: rgba(229, 57, 53, 0.9);
  color: var(--white);
  transform: translateY(-1px);
}
.category-filter-btn.active {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.22), rgba(229, 57, 53, 0.12));
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.2);
}

.store-search-wrap { position: relative; }
.store-search-wrap .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.store-search-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 36px;
  font-size: 14px;
  color: var(--text-primary);
  width: 220px;
  transition: border-color var(--transition);
  font-family: inherit;
}
.store-search-input::placeholder { color: var(--text-muted); }
.store-search-input:focus { outline: none; border-color: var(--red); }

.store-sort {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition);
  appearance: auto;
}
.store-sort:focus { outline: none; border-color: var(--red); }
.store-sort option { background: var(--surface); color: var(--text-primary); }

/* ===== Store grid ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.store-card:hover {
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.store-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.store-card:hover .store-card-image img { transform: scale(1.04); }

.store-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.store-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-card-category {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.28);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.store-card-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-usd-tag {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
}
.price-usd-tag span { color: var(--red); font-size: 16px; }
.price-lbp-tag {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), box-shadow var(--transition);
  margin-top: auto;
  font-family: inherit;
}
.btn-add-cart:hover { background: var(--red-hover); box-shadow: 0 4px 12px rgba(229,57,53,0.4); }
.btn-add-cart svg { width: 16px; height: 16px; }
.btn-add-cart.added {
  background: #2A2A2A;
  color: #aaa;
  pointer-events: none;
}
.btn-add-cart.added::before { content: '✓ '; }

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}
.product-modal.open {
  display: block;
}
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.product-modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 32px));
  max-height: min(90vh, 760px);
  margin: 48px auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.product-modal-image-wrap {
  background: #0d0d0d;
  min-height: 260px;
}
.product-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-modal-content {
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-modal-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
}
.product-modal-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.product-modal-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-wrap;
}
.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, 0.75);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.product-modal-cart {
  margin-top: auto;
}

/* ===== Empty state ===== */
.store-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  gap: 12px;
}
.store-empty.show { display: flex; }
.store-empty svg { width: 48px; height: 48px; color: var(--text-muted); }
.store-empty-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}
.store-empty-sub { font-size: 14px; color: var(--text-muted); max-width: 300px; }

/* ===== Cart Drawer ===== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 380px;
  max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.cart-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.cart-close-btn:hover { color: var(--white); border-color: var(--red); }
.cart-close-btn svg { width: 16px; height: 16px; }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 40px 20px;
}
.cart-empty-msg.show { display: flex; }
.cart-empty-msg svg { width: 40px; height: 40px; color: var(--text-muted); }
.cart-empty-msg p { font-size: 14px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}
.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--black);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.cart-item-price { font-size: 13px; color: var(--red); font-weight: 700; }
.cart-item-price-lbp { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  font-family: inherit;
  line-height: 1;
}
.qty-btn:hover { border-color: var(--red); color: var(--red); }
.qty-display {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 18px;
  text-align: center;
}
.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red); }
.cart-item-remove svg { width: 14px; height: 14px; }

.cart-drawer-footer {
  border-top: 1px solid var(--border);
  padding: 20px 22px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-totals { display: flex; flex-direction: column; gap: 8px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total-label { font-size: 13px; color: var(--text-secondary); }
.cart-total-val { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.cart-total-row.total-big .cart-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.cart-total-row.total-big .cart-total-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.btn-checkout:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-checkout svg { width: 22px; height: 22px; }

/* ===== Footer ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.footer-brand-name span { color: var(--red); }
.footer-tagline { font-size: 13.5px; color: var(--text-muted); max-width: 280px; line-height: 1.5; }
.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-location svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }

.footer-social-block h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  min-width: 160px;
}
.footer-social-link:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red-light);
}
.footer-social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-whatsapp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--whatsapp);
  text-decoration: none;
  transition: opacity var(--transition);
}
.footer-whatsapp-link:hover { opacity: 0.8; }
.footer-whatsapp-link svg { width: 18px; height: 18px; }

/* ===== Toast ===== */
.toast-stack {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
  align-items: center;
}
.toast {
  background: #222;
  border: 1px solid #333;
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast-success { border-color: rgba(76,175,80,0.4); }
.toast.toast-error { background: var(--red); border-color: transparent; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; height: 60px; }
  .header-nav { display: none; }

  .hero { padding: 48px 16px 44px; }
  .hero-inner { flex-direction: column; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }

  .products-section { padding: 32px 16px 60px; }
  .featured-section { padding: 32px 16px 0; }
  .featured-slide { grid-template-columns: 1fr; }
  .featured-image { min-height: 210px; max-height: 260px; }
  .featured-content { padding: 24px; }
  .section-top { flex-direction: column; align-items: flex-start; }
  .section-filters { width: 100%; flex-wrap: wrap; }
  .store-search-input { width: 100%; flex: 1; }

  .store-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .store-card-body { padding: 12px; gap: 8px; }
  .store-card-name { font-size: 13.5px; line-height: 1.45; }
  .store-card-description {
    font-size: 12.5px;
    line-height: 1.55;
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }
  .price-usd-tag { font-size: 18px; }
  .btn-add-cart {
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
    min-height: 42px;
  }

  .product-modal-panel {
    width: min(92vw, 500px);
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .product-modal-image-wrap {
    min-height: 220px;
    max-height: 280px;
  }
  .product-modal-content {
    padding: 20px 16px 18px;
    gap: 10px;
  }
  .product-modal-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .cart-drawer { width: 100vw; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-social-links { flex-direction: row; flex-wrap: wrap; }
  .footer-social-link { min-width: unset; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .store-grid { grid-template-columns: 1fr 1fr; }
  .store-card-description { line-clamp: 4; -webkit-line-clamp: 4; }
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 8px 10px; }
}
