/* ════════════════════════════════════════════════════════════════
   KrenX Design System — assets/css/style.css
   Palette: Vermilion Red · Charcoal · Gold · Teal · Off-white
   ════════════════════════════════════════════════════════════════ */

/* ── Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────────────── */
:root {
  --red:       #D63031;
  --red-dark:  #B02020;
  --red-light: #FDECEA;
  --gold:      #FDCB6E;
  --gold-dark: #E6A817;
  --teal:      #00B894;
  --blue:      #0984E3;
  --charcoal:  #2D3436;
  --gray-dark: #636E72;
  --gray-mid:  #B2BEC3;
  --gray-light:#DFE6E9;
  --bg:        #F4F6F9;
  --white:     #FFFFFF;
  --font-main: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --radius:    12px;
  --radius-sm: 8px;
  --transition: all .22s ease;
}

/* ── Reset / Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Topbar ─────────────────────────────────────────────────────── */
.topbar {
  background: var(--charcoal);
  color: #fff;
  font-size: 12.5px;
  padding: 6px 0;
}
.district-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 12px;
  font-weight: 500;
  max-width: 220px;
}
.district-pill:hover { background: rgba(255,255,255,.18); }
.district-pill i { color: var(--gold); font-size: 11px; }
.topbar-right { gap: 16px; }
.topbar-link {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}
.topbar-link:hover { color: var(--gold); }

/* ── Site Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}
.site-header > .container-fluid { padding: 10px 16px; }

/* Brand / Logo */
.brand-logo { display: flex; align-items: center; line-height: 1; flex-shrink: 0; }
.brand-k    { font-family: var(--font-main); font-size: 28px; font-weight: 800; color: var(--red); letter-spacing: -2px; }
.brand-renx { font-family: var(--font-main); font-size: 24px; font-weight: 700; color: var(--charcoal); }

/* Search */
.search-form { position: relative; max-width: 680px; }
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--gray-light);
  border-radius: 40px;
  overflow: hidden;
  transition: var(--transition);
}
.search-wrap:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,48,49,.10); }
.search-cat-select {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  border-right: 1px solid var(--gray-light);
  outline: none;
  min-width: 100px;
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  outline: none;
  font-family: var(--font-body);
}
.search-btn {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.search-btn:hover { background: var(--red-dark); }
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 200;
  margin-top: 6px;
  overflow: hidden;
}
.suggestion-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.suggestion-item:hover { background: var(--bg); }
.suggestion-item i { color: var(--red); font-size: 12px; width: 16px; }

/* Header Icons */
.header-actions { gap: 8px; }
.header-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--charcoal);
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}
.header-icon-btn:hover { background: var(--red-light); color: var(--red); border-color: var(--red); }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.btn-sell {
  background: var(--red);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sell:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(214,48,49,.3); }

/* Category Nav */
.cat-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  gap: 0;
  padding: 0 16px;
  white-space: nowrap;
}
.cat-nav-link {
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-dark);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-nav-link:hover, .cat-nav-link.active {
  color: var(--red);
  border-color: var(--red);
}

/* ── District Modal ─────────────────────────────────────────────── */
.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}
.district-btn {
  padding: 10px 8px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  font-size: 11px;
  transition: var(--transition);
  line-height: 1.3;
}
.district-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.district-btn.active { border-color: var(--red); background: var(--red); color: #fff; }
.district-btn i { display: block; margin-bottom: 4px; font-size: 14px; }

/* ── AdSense Strips ─────────────────────────────────────────────── */
.adsense-strip { background: var(--bg); text-align: center; }
.ad-label { font-size: 10px; color: var(--gray-mid); text-align: center; display: block; margin-bottom: 2px; }

/* ── Hero Section ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #D63031 0%, #B02020 50%, #6C0E0E 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-main);
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-title .highlight { color: var(--gold); }
.hero-subtitle { color: rgba(255,255,255,.80); font-size: clamp(13px, 2vw, 16px); margin-bottom: 28px; }
.hero-search-wrap {
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  max-width: 640px;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  background: transparent;
}
.hero-search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.hero-search-btn:hover { background: var(--red-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-tag {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-tag:hover { background: rgba(255,255,255,.25); }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.7); }

/* ── Section Styles ──────────────────────────────────────────────── */
.section { padding: 36px 0; }
.section-heading {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.section-subheading { color: var(--gray-dark); font-size: 13px; }
.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all:hover { color: var(--red-dark); }

/* ── Category Grid ───────────────────────────────────────────────── */
.categories-section { background: var(--white); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
}
.cat-card:hover {
  border-color: currentColor;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  color: var(--red);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}
.cat-name { font-size: 11px; font-weight: 600; line-height: 1.3; }

/* ── Product Cards ───────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  position: relative;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--red); }
.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.product-badge.service { background: var(--teal); }
.product-wishlist {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-mid);
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.product-wishlist:hover, .product-wishlist.active { color: var(--red); }
.product-body { padding: 12px; }
.product-category { font-size: 10px; color: var(--red); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.product-price { font-size: 15px; font-weight: 700; color: var(--red); }
.product-old-price { font-size: 11px; color: var(--gray-mid); text-decoration: line-through; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; margin-bottom: 8px; }
.product-rating .stars { color: #F39C12; font-size: 10px; }
.product-rating .count { color: var(--gray-mid); }
.product-district { font-size: 10px; color: var(--gray-mid); display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.btn-add-cart {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-add-cart:hover { background: var(--red-dark); }
.btn-add-cart.service-btn { background: var(--teal); }
.btn-add-cart.service-btn:hover { background: #00A082; }

/* ── Service Cards ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid var(--bg);
}
.service-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.service-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.service-provider { font-size: 12px; color: var(--gray-dark); margin-bottom: 6px; }
.service-fee { font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.service-tag {
  font-size: 10px;
  background: var(--bg);
  color: var(--gray-dark);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ── Local Ad Banner ─────────────────────────────────────────────── */
.local-ads-strip { background: var(--charcoal); padding: 16px 0; }
.local-ad-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 80px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  color: #fff;
  transition: var(--transition);
}
.local-ad-card:hover { transform: scale(1.02); }
.local-ad-label {
  position: absolute;
  top: 4px; right: 6px;
  font-size: 9px;
  background: rgba(255,255,255,.25);
  padding: 1px 6px;
  border-radius: 10px;
}
.local-ad-title { font-weight: 700; font-size: 14px; }
.local-ad-desc { font-size: 11px; opacity: .85; }

/* ── How it Works ────────────────────────────────────────────────── */
.hiw-section { background: var(--white); }
.hiw-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
}
.hiw-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.hiw-icon {
  width: 72px; height: 72px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: var(--red);
  margin: 0 auto 16px;
}
.hiw-step-num {
  width: 28px; height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin: 0 auto 12px;
}
.hiw-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.hiw-desc { font-size: 12.5px; color: var(--gray-dark); line-height: 1.6; }

/* ── Seller CTA Section ──────────────────────────────────────────── */
.seller-cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a2e 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.seller-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(214,48,49,.05),
    rgba(214,48,49,.05) 2px,
    transparent 2px,
    transparent 10px
  );
}
.seller-cta-content { position: relative; z-index: 2; }
.seller-cta h2 {
  font-family: var(--font-main);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.seller-cta p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 28px; }
.seller-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214,48,49,.4); }
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── Site Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-brand { font-size: 24px; }
.footer-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 32px 0 20px; }
.footer-bottom { color: rgba(255,255,255,.5); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { background: var(--red); color: #fff; }
.pay-badge {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* ── Utilities ───────────────────────────────────────────────────── */
.text-red  { color: var(--red)  !important; }
.text-teal { color: var(--teal) !important; }
.text-gold { color: var(--gold) !important; }
.bg-red    { background: var(--red)  !important; }
.bg-teal   { background: var(--teal) !important; }
.card-hover { transition: var(--transition); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Toast Notification ──────────────────────────────────────────── */
.krenx-toast-wrap {
  position: fixed;
  top: 80px; right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.krenx-toast {
  background: var(--charcoal);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: all;
  box-shadow: var(--shadow-md);
  animation: slideIn .3s ease;
  max-width: 320px;
}
.krenx-toast.success { border-left: 4px solid var(--teal); }
.krenx-toast.error   { border-left: 4px solid var(--red);  }
.krenx-toast.info    { border-left: 4px solid var(--blue); }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Loading Spinner ─────────────────────────────────────────────── */
.spinner-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
}
.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--gray-light);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Delivery Badges ─────────────────────────────────────────────── */
.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.delivery-badge.home  { background: #e3f2fd; color: #1565c0; }
.delivery-badge.pickup { background: #e8f5e9; color: #2e7d32; }
.delivery-badge.online { background: #f3e5f5; color: #6a1b9a; }

/* ── Form Styles ─────────────────────────────────────────────────── */
.form-control:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,48,49,.12);
}
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 32px 0 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .district-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-card { padding: 20px 14px; }
  .hero-stats { gap: 16px; }
}
@media (max-width: 480px) {
  .brand-k { font-size: 22px; } .brand-renx { font-size: 18px; }
  .hero-search-wrap { border-radius: 30px; }
  .hero-search-btn { padding: 10px 18px; font-size: 13px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Sticky Bottom Bar (Mobile) ─────────────────────────────────── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  z-index: 500;
}
.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--gray-dark);
  font-weight: 500;
  padding: 4px;
  transition: var(--transition);
}
.mobile-bottom-bar a:hover, .mobile-bottom-bar a.active { color: var(--red); }
.mobile-bottom-bar a i { font-size: 18px; }
@media (max-width: 768px) {
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 70px; }
}
