/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --primary: #e31e2d;
  --primary-dark: #c0151f;
  --primary-light: #ff4d5a;
  --accent: #ff6b00;
  --dark: #0a1628;
  --dark-2: #1a2640;
  --text: #1a1a2e;
  --text-2: #555;
  --text-3: #888;
  --border: #e8e8e8;
  --bg: #f5f7fa;
  --white: #ffffff;
  --success: #1dba6b;
  --warning: #f59e0b;
  --danger: #e31e2d;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }

/* ── CONTAINER ─────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── TOP BAR ───────────────────────────────────────── */
.top-bar { background: var(--dark); color: #aaa; font-size: 12px; padding: 7px 0; }
.top-bar-inner { display: flex; justify-content: center; gap: 40px; }
.top-bar-inner span { display: flex; align-items: center; gap: 6px; }
.top-bar-inner i { color: var(--primary); }

.hide-desktop { display: none !important; }
.hide-mobile { display: block !important; }

@media (max-width: 768px) {
  .hide-desktop { display: block !important; }
  .hide-mobile { display: none !important; }
}

/* ── HEADER ────────────────────────────────────────── */
.header { background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 0; }

.logo { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: 2px; color: var(--dark); }
.logo-dot { color: var(--primary); }

.search-bar { flex: 1; display: flex; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input { flex: 1; padding: 10px 16px; border: none; outline: none; font-size: 14px; }
.search-bar button { background: var(--primary); color: white; border: none; padding: 10px 20px; cursor: pointer; font-size: 16px; transition: background 0.2s; }
.search-bar button:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.action-btn { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; cursor: pointer; }
.action-btn:hover { background: var(--bg); color: var(--primary); }
.cart-btn { background: var(--primary); color: white; border-radius: 8px; position: relative; }
.cart-btn:hover { background: var(--primary-dark); color: white; }
.cart-count { background: var(--white); color: var(--primary); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

.mobile-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--dark); cursor: pointer; padding: 8px; }

/* Mobile Sidebar */
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.active { opacity: 1; pointer-events: all; }

.mobile-sidebar { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: white; z-index: 1001; transition: left 0.3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.mobile-sidebar.active { left: 0; }

.sidebar-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.sidebar-header .logo { font-family: var(--font-head); font-weight: 700; color: var(--dark); letter-spacing: 1px; }
.close-btn { background: none; border: none; font-size: 20px; color: var(--text-3); cursor: pointer; }

.sidebar-content { flex: 1; overflow-y: auto; padding: 20px 20px 86px; }
.mobile-search { display: flex; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.mobile-search input { flex: 1; padding: 10px; border: none; outline: none; font-size: 14px; }
.mobile-search button { background: var(--primary); color: white; border: none; padding: 10px; }

.sidebar-nav-links { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; }
.sidebar-nav-links a:hover { background: var(--bg); color: var(--primary); }
.sidebar-nav-links i { width: 20px; text-align: center; color: var(--text-3); font-size: 16px; }
.sidebar-nav-links hr { margin: 12px 0; border: none; border-top: 1px solid var(--border); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; min-width: 200px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all 0.2s; z-index: 200; }
.dropdown-menu::before { content: ''; position: absolute; top: -10px; left: 0; width: 100%; height: 10px; }
.dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; transition: background 0.15s; }
.dropdown-menu a:hover { background: var(--bg); color: var(--primary); }
.dropdown-menu hr { margin: 6px 0; border: none; border-top: 1px solid var(--border); }

/* ── MAIN NAV ──────────────────────────────────────── */
.main-nav { background: var(--dark); }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: block; padding: 12px 16px; color: #ccc; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-list a:hover { color: white; }
.nav-item { position: relative; }

/* Mega Menu */
.mega-menu { position: absolute; top: 100%; left: 0; background: white; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); min-width: 600px; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: all 0.2s; z-index: 200; border: 1px solid var(--border); }
.nav-item:hover .mega-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; transition: all 0.2s; color: #1a1a2e; border: 1px solid transparent; background: #ffffff; }
.mega-item:hover { background: #f8f9fa; color: var(--primary); transform: translateX(5px); border-color: #eee; }
.mega-icon-wrap { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 6px; flex-shrink: 0; overflow: hidden; border: 1px solid #eee; }
.mega-icon-wrap img { width: 100%; height: 100%; object-fit: contain; background: white; }
.mega-icon-wrap i { color: var(--text-3); font-size: 16px; }
.mega-name { font-weight: 600; font-size: 14px; color: #1a1a2e; }

.categories-mega,
.brands-mega {
  width: min(1120px, calc(100vw - 40px));
  left: 0;
  padding: 0;
}

.categories-mega-inner {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 10px;
  padding: 16px;
  max-height: 430px;
  overflow-y: auto;
}

.categories-mega .mega-item {
  padding: 8px 10px;
}

.categories-mega .mega-icon-wrap {
  width: 32px;
  height: 32px;
}

.brands-mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 16px;
  padding: 18px;
  max-height: 460px;
  overflow-y: auto;
}

.brand-group {
  min-width: 0;
}

.brand-group-title {
  background: #f7f8fa;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.brand-mega-item {
  padding: 6px 4px;
  margin-bottom: 2px;
  border: none;
  background: transparent;
  justify-content: flex-start;
  gap: 8px;
}

.brand-mega-item:hover {
  transform: none;
  background: #f8f9fa;
  border-radius: 6px;
  border-color: transparent;
}

.brand-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-mega-name {
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .categories-mega-inner,
  .brands-mega-inner {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

/* ── FLASH ─────────────────────────────────────────── */
.flash-container { position: fixed; top: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; animation: slideIn 0.3s ease; }
.flash-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.flash-danger { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
.flash-info { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }
.flash-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }
.flash button { background: none; border: none; cursor: pointer; opacity: 0.6; font-size: 12px; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── HERO / CAROUSEL ─────────────────────────────────── */
.hero-section { background: var(--bg); padding: 20px 0; }
.carousel-container { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: #eee; }
.carousel-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img { width: 100%; display: block; object-fit: cover; aspect-ratio: 16 / 5.5; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 5; transition: all 0.2s; color: var(--dark); opacity: 0; }
.carousel-container:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--primary); color: white; }
.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.2s; }
.carousel-dot.active { background: white; width: 24px; border-radius: 4px; }

.middle-banner { margin: 40px 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.middle-banner img { width: 100%; display: block; object-fit: cover; aspect-ratio: 16 / 5.5; }
.middle-carousel { margin: 40px 0; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(227,30,45,0.35); }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--dark); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-2); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 50%; transition: all 0.2s; }

/* ── SECTION ───────────────────────────────────────── */
.section { padding: 60px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-title { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--dark); position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.section-title::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 48px; height: 3px; background: var(--primary); border-radius: 2px; }
.view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: white;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.view-all:hover {
  background: var(--primary);
  color: white;
}

/* Tighten vertical rhythm for stacked homepage sections */
.section-compact {
  padding: 28px 0;
}

.section-compact .section-header {
  margin-bottom: 20px;
}

/* ── CATEGORIES GRID ───────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.cat-card { text-align: center; padding: 20px 12px; background: white; border-radius: var(--radius); border: 2px solid var(--border); cursor: pointer; transition: all 0.2s; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon { width: 80px; height: 80px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.cat-icon img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); }

/* ── HOMEPAGE CATEGORY IMAGE CARDS ────────────────── */
/* home-cat styles defined below (search "home-cat-grid") */

/* ── TESTIMONIALS ─────────────────────────────────── */
.testimonials-section {
  background: #f8fafc;
}

.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 32px) / 3);
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 13px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 14px;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark);
}

.testimonial-city {
  font-size: 12px;
  color: var(--text-3);
}

.testimonial-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-nav:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.testimonial-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── PRODUCT CARD ──────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.25s; position: relative; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-discount { background: var(--primary); color: white; }
.badge-bestseller { background: var(--accent); color: white; }
.badge-new { background: var(--success); color: white; }
.product-wishlist { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; border: none; opacity: 0; transition: all 0.2s; }
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist.active, .product-wishlist i.active { color: var(--primary); }
.product-img { width: 100%; aspect-ratio: 1; padding: 16px; display: flex; align-items: center; justify-content: center; background: #fafafa; overflow: hidden; }
.product-img svg, .product-img img { width: 160px; height: 160px; object-fit: contain; transition: transform 0.3s; }
.product-card:hover .product-img svg, .product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.8em; }
.product-meta { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 12px; }
.rating-count { font-size: 12px; color: var(--text-3); }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-current { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--dark); }
.price-original { font-size: 14px; color: var(--text-3); text-decoration: line-through; }
.price-discount { font-size: 13px; color: var(--success); font-weight: 600; }
.product-body form, .product-body .btn-block { margin-top: auto; }

/* ── PRODUCT DETAIL ────────────────────────────────── */
.product-detail { padding: 40px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery { background: white; border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.product-gallery-main { display: flex; align-items: center; justify-content: center; min-height: 360px; }
.product-main-image { max-width: 340px; max-height: 340px; width: 100%; object-fit: contain; }
.product-info h1 { font-family: var(--font-head); font-size: 30px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.product-brand-tag { color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.product-rating-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.price-box { margin-bottom: 24px; }
.price-box .current { font-family: var(--font-head); font-size: 38px; font-weight: 700; }
.price-box .original { font-size: 16px; color: var(--text-3); text-decoration: line-through; margin-left: 8px; }
.price-box .save { background: #dcfce7; color: var(--success); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 4px; margin-left: 8px; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.in-stock { background: #dcfce7; color: var(--success); }
.out-stock { background: #fee2e2; color: var(--danger); }
.add-to-cart-form { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.qty-selector { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-selector button { width: 36px; height: 44px; background: var(--bg); border: none; font-size: 18px; cursor: pointer; transition: background 0.15s; }
.qty-selector button:hover { background: var(--border); }
.qty-selector input { width: 48px; height: 44px; border: none; text-align: center; font-size: 16px; font-weight: 600; }

/* ── CART ──────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-items { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 90px; height: 90px; object-fit: contain; border-radius: 8px; background: #fafafa; padding: 8px; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-meta { font-size: 13px; color: var(--text-3); }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--border); background: white; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cart-qty input { width: 40px; text-align: center; border: 1px solid var(--border); border-radius: 4px; padding: 4px; }
.cart-item-price { text-align: right; }
.cart-item-price .price { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.cart-remove { color: var(--text-3); font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.cart-remove:hover { color: var(--danger); }

.order-summary { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 80px; }
.order-summary h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 16px; margin-top: 4px; }
.summary-row .green { color: var(--success); }
.coupon-box { display: flex; gap: 8px; margin: 16px 0; }
.coupon-box input { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; }
.coupon-box input:focus { outline: none; border-color: var(--primary); }

/* ── CHECKOUT ──────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.form-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.form-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group.full { grid-column: 1 / -1; }
.address-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color 0.2s; margin-bottom: 12px; }
.address-card.selected, .address-card:has(input:checked) { border-color: var(--primary); background: #fff5f5; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; margin-bottom: 10px; transition: border-color 0.2s; }
.payment-option:has(input:checked) { border-color: var(--primary); background: #fff5f5; }

/* ── PROFILE ───────────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.profile-sidebar { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile-header { background: linear-gradient(135deg, var(--dark), var(--dark-2)); padding: 32px 24px; text-align: center; }
.profile-avatar { width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; margin: 0 auto 12px; font-family: var(--font-head); font-weight: 700; }
.profile-name { color: white; font-weight: 700; font-size: 18px; }
.profile-email { color: #aaa; font-size: 13px; }
.profile-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; transition: all 0.15s; cursor: pointer; }
.profile-nav a:hover, .profile-nav a.active { background: #fff5f5; color: var(--primary); padding-left: 26px; }
.profile-nav a:last-child { border-bottom: none; }

/* ── ORDER TABLE ───────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th { background: var(--dark); color: white; padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }

/* ── STATUS BADGES ─────────────────────────────────── */
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-Pending { background: #fef3c7; color: #92400e; }
.status-Confirmed { background: #dbeafe; color: #1e40af; }
.status-Processing { background: #ede9fe; color: #5b21b6; }
.status-Shipped { background: #e0f2fe; color: #075985; }
.status-Delivered { background: #dcfce7; color: #15803d; }
.status-Cancelled { background: #fee2e2; color: #991b1b; }
.status-Refunded { background: #f3f4f6; color: #374151; }

/* ── PAGINATION ────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 2px solid var(--border); transition: all 0.2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── BREADCRUMB ────────────────────────────────────── */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ── FILTER SIDEBAR ────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.filter-sidebar { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 80px; }
.filter-section { margin-bottom: 28px; }
.filter-section h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.filter-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filter-item input { accent-color: var(--primary); }
.filter-item label { cursor: pointer; flex: 1; }
.filter-item:hover label { color: var(--primary); }
.price-range { display: flex; gap: 8px; }
.price-range input { flex: 1; padding: 8px; border: 2px solid var(--border); border-radius: 6px; font-size: 13px; }

.category-accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
}

.category-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.category-accordion-summary::-webkit-details-marker {
  display: none;
}

.category-accordion-summary i {
  font-size: 11px;
  color: var(--text-3);
  transition: transform 0.2s ease;
}

.category-accordion[open] .category-accordion-summary i {
  transform: rotate(180deg);
}

.category-accordion-body {
  padding: 0 8px 8px;
  border-top: 1px solid var(--border);
}

.category-sub-item {
  padding: 7px 6px;
  font-size: 13px;
}

.filter-simple-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.sort-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sort-select { padding: 8px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; cursor: pointer; }
.results-count { font-size: 14px; color: var(--text-3); }

/* ── FOOTER ────────────────────────────────────────── */
.footer { background: var(--dark); color: #aaa; padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: 2px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 10px; }
.footer-contact i { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 15px; }
.social-links a:hover { background: var(--primary); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { background: rgba(255,255,255,0.12); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }

/* ── EMPTY STATE ───────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 40px; }
.empty-state i { font-size: 64px; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text-3); margin-bottom: 24px; }

/* ── REVIEW FORM ───────────────────────────────────── */
.review-card { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 12px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.reviewer-avatar { width: 36px; height: 36px; background: var(--primary); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.review-meta { flex: 1; }
.reviewer-name { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-3); }
.star-rating { display: flex; gap: 4px; }
.star-rating input { display: none; }
.star-rating label { font-size: 28px; cursor: pointer; color: #ddd; transition: color 0.1s; }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #f59e0b; }

/* ── SUCCESS PAGE ──────────────────────────────────── */
.success-page { text-align: center; padding: 80px 0; }
.success-icon { width: 100px; height: 100px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--success); margin: 0 auto 24px; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .carousel-slide img {
    aspect-ratio: 16 / 9;
  }

  .middle-banner img {
    aspect-ratio: 16 / 9;
  }

  .section-compact {
    padding: 20px 0;
  }

  .section-compact .section-header {
    margin-bottom: 14px;
    gap: 10px;
  }
  .section-title {
    font-size: 20px !important;
    max-width: 65%;
    white-space: normal !important; /* Allow title to wrap but keep button in line */
  }
  .section-title::after { width: 30px; bottom: -4px; }
  .view-all { padding: 6px 10px; font-size: 12px; }

  .header-inner { justify-content: space-between; gap: 8px; padding: 10px 0; }
  .logo { font-size: 16px; margin-right: auto; margin-left: 6px; white-space: nowrap; letter-spacing: 0.5px; }
  .search-bar { display: none; }
  .mobile-toggle { display: block; order: -1; }
  .header-actions { gap: 4px; }
  .action-btn { padding: 6px; }
  .hide-mobile { display: none; }
  
  .main-nav { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .cart-grid, .checkout-grid, .profile-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .breadcrumb { flex-wrap: wrap; row-gap: 4px; }
  .product-detail-grid { gap: 20px; }
  .product-gallery { padding: 16px; }
  .product-gallery-main { min-height: 240px; }
  .product-main-image { max-width: 230px; max-height: 230px; }
  .product-info h1 { font-size: 24px; }
  .product-brand-tag { font-size: 12px; margin-bottom: 8px; }
  .product-rating-row { flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .price-box { margin-bottom: 16px; }
  .price-box .current { font-size: 30px; }
  .price-box .original { font-size: 14px; }
  .price-box .save { display: inline-block; margin-left: 0; margin-top: 8px; }
  .stock-badge { margin-bottom: 12px; }
  .add-to-cart-form { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
  .qty-selector { width: 100%; justify-content: center; }
  .qty-selector input { width: 64px; }
  .add-to-cart-form .btn { width: 100%; justify-content: center; }
  .product-auth-badge { padding: 12px 14px !important; align-items: flex-start !important; }
  .product-auth-icon { font-size: 20px !important; }
  .variations-selection { margin: 18px 0 !important; padding-top: 16px !important; }
  .variation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .product-description-block { margin-top: 20px !important; padding-top: 16px !important; }
  .product-delivery-box { padding: 12px !important; }
  .reviews-section { margin-top: 32px !important; }
  .reviews-title { font-size: 24px !important; margin-bottom: 16px !important; }
  .reviews-layout { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px !important; }
  .review-submit-btn { width: 100%; justify-content: center; }

  /* Profile Mobile Adjustments */
  .profile-grid { gap: 16px; }
  .profile-header { padding: 20px; display: flex; align-items: center; gap: 15px; text-align: left; }
  .profile-avatar { width: 50px; height: 50px; font-size: 20px; margin: 0; }
  .profile-name { font-size: 16px; margin: 0; }
  .profile-email { font-size: 12px; }
  .profile-nav { display: flex; overflow-x: auto; white-space: nowrap; border-top: 1px solid var(--border); scrollbar-width: none; }
  .profile-nav::-webkit-scrollbar { display: none; }
  .profile-nav a { border-bottom: none; border-right: 1px solid var(--border); padding: 12px 20px; flex: 1; justify-content: center; }
  .profile-nav a:hover, .profile-nav a.active { padding-left: 20px; }
  
  .profile-grid > div > div { padding: 20px !important; }
  .table-wrap { margin: 0 -20px; width: calc(100% + 40px); }
  th, td { padding: 12px 10px; font-size: 13px; }
}

/* ── BRANDS SECTION ────────────────────────────────── */
.brands-section { padding: 60px 0; }

/* ── NEWSLETTER SECTION ────────────────────────────── */
.newsletter-section { padding: 80px 0; background: #000; color: white; border-top: 1px solid #333; }
.newsletter-card { max-width: 800px; margin: 0 auto; text-align: center; }
.newsletter-card h2 { font-family: var(--font-head); font-size: 32px; font-weight: 700; margin-bottom: 12px; color: white; }
.newsletter-card p { color: #aaa; font-size: 16px; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.newsletter-input { flex-grow: 1; padding: 14px 20px; border: 1px solid #333; background: #111; border-radius: var(--radius); outline: none; transition: all 0.2s; font-size: 15px; color: white; }
.newsletter-input:focus { border-color: white; background: #1a1a1a; }
.newsletter-btn { padding: 14px 30px; background: white; color: black; border: none; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: all 0.3s; font-size: 14px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.newsletter-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }

@media (max-width: 768px) {
  /* Newsletter Mobile */
  .newsletter-section { padding: 50px 0; }
  .newsletter-card h2 { font-size: 26px; }
  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-input { width: 100%; text-align: center; }
  
  /* Brands Mobile handled in lower block */

  /* Categories Mobile - 4 per row */
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .cat-card { padding: 12px 4px; }
  .cat-icon { width: 45px; height: 45px; font-size: 22px; margin-bottom: 6px; }
  .cat-name { font-size: 10px; }

  .home-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .home-cat-thumb {
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 7px;
  }

  .home-cat-name {
    font-size: 12px;
  }

  .testimonials-track {
    gap: 12px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    padding: 14px;
  }

  .testimonial-nav {
    display: none;
  }

  /* Footer Mobile */
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px 15px; 
  }
  .footer-col:first-child { 
    grid-column: span 2; 
    margin-bottom: 10px;
    text-align: left;
  }
  .footer-col:first-child p {
    text-align: left;
    margin-left: 0;
  }
  .footer-col:first-child .social-links {
    justify-content: flex-start;
  }
  .footer-col h4 { font-size: 16px; margin-bottom: 15px; }
  .footer-col ul li { margin-bottom: 8px; }
}

/* --- ORDER STATUS BADGES --- */
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
}
.status-Pending { background: #fff7ed; color: #9a3412; border: 1px solid #ffedd5; }
.status-Confirmed { background: #ecfdf5; color: #065f46; border: 1px solid #d1fae5; }
.status-Processing { background: #eff6ff; color: #1e40af; border: 1px solid #dbeafe; }
.status-Shipped { background: #f5f3ff; color: #5b21b6; border: 1px solid #ede9fe; }
.status-Delivered { background: #f0fdf4; color: #166534; border: 1px solid #dcfce7; }
.status-Cancelled { background: #fef2f2; color: #991b1b; border: 1px solid #fee2e2; }
.status-Refunded { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }

/* Status Select (Admin) */
.status-select {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    outline: none;
    transition: all 0.2s;
}
.status-select:hover { border-color: var(--primary); }
/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar { background: white; border-bottom: 1px solid var(--border); padding: 16px 0; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; }
.trust-item i { font-size: 22px; color: var(--primary); }
.trust-content { text-align: left; }
.trust-title { font-weight: 700; font-size: 14px; color: var(--dark); }
.trust-desc { font-size: 12px; color: var(--text-3); }

@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
  .trust-item {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 15%;
  }
}

@media (max-width: 480px) {
  .home-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-item {
    padding-left: 5%;
  }
  .trust-title { font-size: 13px; }
  .trust-desc { font-size: 11px; }
}
@media (max-width: 768px) {
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1200;
    transition: all 0.3s ease;
    display: block !important;
    padding: 24px;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
  }
  .filter-sidebar.active {
    left: 0;
  }
  /* Sort Bar Mobile */
  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .sort-bar .results-count {
    font-size: 13px;
  }
  .sort-bar form {
    width: 100%;
    justify-content: space-between;
  }
  .sort-select {
    font-size: 13px;
    padding: 6px 10px;
    max-width: 160px;
  }
  
  .mobile-filter-btn-wrap {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: var(--bg);
    padding: 10px 0;
    border: none !important;
    outline: none !important;
  }
  
  /* Top Bar Ticker */
  .top-bar-inner {
    position: relative;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .ticker-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-size: 11px;
  }
  .ticker-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .ticker-item:not(.active) {
    transform: translateY(10px);
  }
}

/* ── PERFORMANCE NUTRITION SECTION ────────────────── */
.perf-nut-section {
  padding: 40px 0;
  background: var(--white);
}

.perf-nut-section .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
}

.perf-nut-section .all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #eef2f7;
  color: var(--primary);
  border-radius: 50%;
  font-size: 10px;
  margin-left: 5px;
  transition: all 0.3s;
}

.perf-nut-section .all-link:hover {
  background: var(--primary);
  color: white;
}

.perf-nut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.perf-nut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.perf-nut-card:hover {
  transform: translateY(-5px);
}

.perf-nut-img {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f9fb;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-bottom: 12px;
}

.perf-nut-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.perf-nut-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

@media (max-width: 768px) {
  .perf-nut-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
    gap: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .perf-nut-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .perf-nut-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
  }
  
  .perf-nut-card {
    flex: 0 0 120px;
    scroll-snap-align: start;
  }
}

/* ── GRIDS ─────────────────────────────────────────── */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.home-cat-card:hover {
  transform: translateY(-5px);
}

.home-cat-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f9fb;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 10px;
}

.home-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.home-cat-thumb i {
  font-size: 30px;
  color: var(--text-3);
}

.home-cat-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  line-height: 1.3;
}

/* Brands carousel */
.brands-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brands-carousel-viewport {
  flex: 1;
  min-width: 0;
}

.brands-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.brands-arrow:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.brands-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 0;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8f9fb;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s;
  text-decoration: none;
}

.brand-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.brand-img {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.brand-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.brand-placeholder {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-3);
}

.brand-info {
  text-align: center;
  padding: 5px 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .home-cat-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
    gap: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-cat-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
  }

  /* Brands mobile - bigger, full-width image, no borders */
  .brands-carousel-wrapper {
    gap: 0;
  }

  .brands-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .brands-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .brands-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 8px;
    margin-top: 0;
  }

  .brand-card {
    flex: 0 0 42vw;
    min-width: 0;
    scroll-snap-align: start;
    border: none !important;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: white;
  }

  .brand-img {
    aspect-ratio: 3 / 4;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0 !important;
    background: #f0f0f0;
    border: none;
  }

  .brand-img img {
    padding: 0 !important;
    object-fit: cover;
    border-radius: 0;
  }

  .brand-info {
    padding: 8px 10px;
  }

  .brand-name {
    font-size: 12px;
  }
}

/* ════════════════════════════════════════════════════
   WHY CHOOSE US — TRUST FEATURES SECTION
   ════════════════════════════════════════════════════ */
.trust-features-section {
  padding: 80px 0 90px;
  background: #f0f2f5;
  position: relative;
  overflow: hidden;
}
.trust-features-section::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(227,30,45,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.trust-features-section::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(227,30,45,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section heading override for centered layout */
.trust-features-section .section-title {
  font-size: 36px;
}

/* ── Stats banner ── */
.trust-features-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.25);
  position: relative;
  z-index: 1;
}

.trust-stat {
  padding: 40px 20px;
  text-align: center;
  position: relative;
}
.trust-stat::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.10);
}
.trust-stat:last-child::after { display: none; }

.trust-stat-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.trust-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Feature cards grid ── */
.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  position: relative;
  z-index: 1;
}

.trust-feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 15px;
  border: 1.5px solid #e8eaed;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.trust-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #ff6b35);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.trust-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  border-color: #d0d3d8;
}
.trust-feature-card:hover::before {
  opacity: 1;
}

.trust-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff5722 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(227,30,45,0.30);
}
.trust-feature-icon i {
  font-size: 24px;
  color: #fff;
}

.trust-feature-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.trust-feature-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.trust-feature-card p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════════════════
   WHATSAPP CTA SECTION
   ════════════════════════════════════════════════════ */
.whatsapp-cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #0f2040 50%, #0a1628 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.whatsapp-cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(227,30,45,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.whatsapp-cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(227,30,45,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.whatsapp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* Left text block */
.whatsapp-cta-text { flex: 1; }

.whatsapp-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227,30,45,0.15);
  border: 1px solid rgba(227,30,45,0.40);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.whatsapp-cta-badge i { font-size: 13px; }

.whatsapp-cta-text h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.whatsapp-cta-text h2 span {
  color: var(--primary);
}

.whatsapp-cta-text p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.whatsapp-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.whatsapp-perks li {
  color: rgba(255,255,255,0.80);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-perks li i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* Right action block */
.whatsapp-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.whatsapp-cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.whatsapp-cta-card p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  padding: 18px 38px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 30px rgba(227,30,45,0.40);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.whatsapp-btn i {
  font-size: 28px;
}
.whatsapp-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(227,30,45,0.50);
  color: #fff;
}

.whatsapp-online {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255,255,255,0.50);
  font-size: 13px;
  margin-top: 12px;
}
.whatsapp-online-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-red 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,30,45,0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(227,30,45,0); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .trust-features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .trust-features-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { padding: 28px 16px; }
  .trust-stat-number { font-size: 36px; }
  .trust-stat::after { top: 10%; height: 80%; }
  .trust-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

  .whatsapp-cta-section { padding: 52px 0; }
  .whatsapp-cta-inner { flex-direction: column; text-align: center; gap: 36px; }
  .whatsapp-cta-text h2 { font-size: 28px; }
  .whatsapp-cta-text p { max-width: 100%; }
  .whatsapp-perks { align-items: center; }
  .whatsapp-cta-card { padding: 28px 24px; width: 100%; }
  .whatsapp-btn { font-size: 18px; padding: 16px 28px; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .trust-features-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-stat-number { font-size: 30px; }
  .trust-features-section .section-title { font-size: 24px !important; text-align: center; }
  .trust-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .trust-feature-card { padding: 16px 10px !important; }
  .trust-feature-icon { width: 40px !important; height: 40px !important; margin: 0 auto 12px !important; }
  .trust-feature-icon i { font-size: 18px !important; }
  .trust-feature-card h3 { font-size: 14px !important; }
  .trust-feature-card p { font-size: 10px !important; line-height: 1.4 !important; }
}

/* ════════════════════════════════════════════════════
   SOCIAL MEDIA SECTION
   ════════════════════════════════════════════════════ */
.social-section {
  padding: 60px 0;
  background: #f0f2f5;
}

.social-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.social-card:hover::before { opacity: 1; }

/* Instagram — gradient brand */
.social-card--instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: white;
}
/* Facebook — brand blue */
.social-card--facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5fcc 100%);
  color: white;
}

.social-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.20);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-card-icon i {
  font-size: 30px;
  color: white;
}

.social-card-body {
  flex: 1;
  min-width: 0;
}
.social-card-platform {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.social-card-handle {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}
.social-card-cta {
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
}

.social-card-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.social-card:hover .social-card-arrow {
  background: rgba(255,255,255,0.32);
  transform: translateX(3px);
}
.social-card-arrow i {
  color: white;
  font-size: 14px;
}

/* ── Footer map ── */
.footer-map {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  margin-bottom: 0;
}
.footer-map h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.footer-map-item { display: flex; flex-direction: column; gap: 10px; }
.footer-map-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.9);
}
.footer-map-label i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-map-label strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.footer-map-label span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.footer-map-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.footer-map-frame iframe { display: block; }
@media (max-width: 600px) {
  .footer-maps-grid { grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .footer-map-item { justify-content: space-between; }
  .footer-map-frame iframe { height: 140px !important; }
  .footer-map-label { min-height: 72px; }
  .footer-map-label strong { font-size: 12px; }
  .footer-map-label span { font-size: 11px; }
}

/* Responsive social cards */
@media (max-width: 600px) {
  .social-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .social-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 12px;
  }
  .social-card-handle { font-size: 16px; }
  .social-card-cta { display: none; }
  .social-card-arrow { display: none; }
  .social-card-icon { width: 48px; height: 48px; border-radius: 12px; }
  .social-card-icon i { font-size: 22px; }
}

/* ── CONTENT-VISIBILITY: Skip rendering offscreen sections ──── */
/* The browser won't layout/paint these until user scrolls near them */
.trust-features-section,
.whatsapp-cta-section,
.testimonials-section,
.newsletter-section,
.social-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ── MOBILE BOTTOM NAV ─────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  box-shadow: 0 -4px 15px rgba(227,30,45,0.3);
  z-index: 1000;
  justify-content: space-around;
  padding: 10px 0 8px;
  border-top: none;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s, transform 0.2s;
}

.mobile-nav-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: white;
}

.mobile-nav-offers i {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 0;
}

.relative-icon {
  position: relative;
}

.mobile-cart-badge {
  position: absolute;
  top: -6px;
  right: calc(50% - 18px);
  background: white;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--primary);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 66px !important;
  }
}

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37,211,102,0.55);
  color: #fff;
}
@media (min-width: 769px) {
  .whatsapp-float { bottom: 30px; }
}

/* ── POLICY PAGES ────────────────────────────────────── */
.policy-hero {
  background: linear-gradient(135deg, var(--primary), #000);
  padding: 48px 0 40px;
  color: #fff;
}
.policy-hero-inner h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.policy-hero-inner p { font-size: 15px; opacity: 0.85; }
.policy-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.policy-hero .breadcrumb span { color: #fff; }
.policy-hero .breadcrumb i { color: rgba(255,255,255,0.5); }

.policy-container { padding: 40px 15px 60px; }

.policy-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .policy-card { padding: 24px 18px; }
}

.policy-intro {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 32px;
  background: #fff5f5;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
}

.policy-section {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.policy-section:last-child { border-bottom: none; padding-bottom: 0; }
.policy-section-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #ff6b35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  margin-top: 2px;
}
.policy-section h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.policy-section p, .policy-section ul {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}
.policy-section ul { padding-left: 20px; }
.policy-section ul li { margin-bottom: 4px; }
.policy-section a { color: var(--primary); font-weight: 500; }

.policy-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.policy-crosslinks a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.policy-crosslinks a:hover { border-color: var(--primary); color: var(--primary); }
.policy-crosslinks a i { color: var(--primary); }

.policy-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.policy-badge {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.policy-badge i { font-size: 24px; color: var(--primary); }
.policy-badge span { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.3; }
@media (max-width: 700px) {
  .policy-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ── CONTACT PAGE ────────────────────────────────────── */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .contact-cards-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}
.contact-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--dark); margin: 0; }
.contact-card-label { font-size: 13px; color: var(--text-3); margin: 0; }
.contact-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-top: 4px;
}
.contact-card-link:hover { color: var(--primary); }
.contact-card-link i { color: var(--primary); width: 16px; }
.contact-card-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 6px;
  width: fit-content;
  transition: opacity 0.2s;
}
.contact-card-wa:hover { opacity: 0.9; color: #fff; }
.contact-card-hours { font-size: 14px; color: var(--text); margin: 4px 0 0; }
.contact-card-hours i { color: var(--primary); margin-right: 6px; }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 800px) { .branches-grid { grid-template-columns: 1fr; } }

.branch-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.branch-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.branch-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.branch-address {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.branch-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.branch-meta span { font-size: 13px; color: var(--text-3); }
.branch-meta i { color: var(--primary); margin-right: 6px; }
.branch-map { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.policy-note-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}
.policy-note-box a { color: var(--primary); font-weight: 600; }
