/* ═══════════════════════════════════════════════════
   EMPERIALHOMEGOODS — Main Stylesheet
   Font: Nunito + Barlow Condensed
   Theme colors are injected dynamically via PHP buildThemeCss()
   These :root values are FALLBACKS only — overridden by inline <style>
═══════════════════════════════════════════════════ */
:root {
  --primary:    #f57224;
  --primary-dk: #d4601a;
  --secondary:  #1a1a2e;
  --black:      #1a1a2e;
  --dark:       #333;
  --text-color: #333;
  --mid:        #666;
  --light:      #f5f5f5;
  --white:      #fff;
  --border:     #e0e0e0;
  --red:        #e74c3c;
  --green:      #27ae60;
  --bg-color:   #f0f0f0;
  --card-bg:    #ffffff;
  --navbar-bg:  #f57224;
  --navbar-text:#ffffff;
  --footer-bg:  #1a1a2e;
  --footer-text:#ffffff;
  --category-nav-bg: #d4601a;
  --category-nav-text: #ffffff;
  --btn-hover:  #d4601a;
  --btn-text:   #ffffff;
  --icon-default:#666;
  --icon-hover: #f57224;
  --icon-active:#f57224;
  --link-color: #f57224;
  --shadow:     0 2px 12px rgba(0,0,0,.1);
  --radius:     6px;
  --transition: .2s ease;
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'Nunito',sans-serif; color:var(--text-color); background:var(--bg-color); font-size:14px; line-height:1.5; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* ── Announce strip ──────────────────────────────────── */
.announce-strip {
  background:var(--primary);
  color:#fff;
  overflow:hidden;
  height:32px;
  display:flex;
  align-items:center;
}
.announce-track {
  display:flex;
  align-items:center;
  gap:60px;
  white-space:nowrap;
  animation: marquee 30s linear infinite;
  padding:0 20px;
}
@keyframes marquee { 0%{transform:translateX(100vw)} 100%{transform:translateX(-100%)} }
.announce-item { font-size:12px; font-weight:700; }
.announce-item a { color:#fff; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background:var(--navbar-bg);
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.header-main {
  max-width:1320px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:16px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  max-height: 48px; /* never stretch the navbar */
}
.site-logo img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-text {
  font-family:'Barlow Condensed',sans-serif;
  font-size:32px;
  font-weight:900;
  color:#fff;
  letter-spacing:-1px;
}
.logo-dot { color:#333; }

/* Search */
.search-form { flex:1; display:flex; max-width:640px; }
.search-input {
  flex:1;
  padding:10px 16px;
  border:none;
  border-radius:4px 0 0 4px;
  font-size:14px;
  font-family:'Nunito',sans-serif;
  outline:none;
}
.search-btn {
  background:#fff3;
  color:#fff;
  border:1px solid #fff5;
  border-left:none;
  padding:10px 22px;
  font-weight:800;
  font-family:'Nunito',sans-serif;
  font-size:14px;
  border-radius:0 4px 4px 0;
  transition:var(--transition);
}
.search-btn:hover { background:#fff4; }

/* Header actions */
.header-actions { display:flex; align-items:center; gap:20px; margin-left:auto; }
.action-item {
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  cursor:pointer;
  position:relative;
  transition:var(--transition);
}
.action-item:hover { opacity:.85; }
.action-item i { font-size:22px; }
.action-label { display:flex; flex-direction:column; line-height:1.2; }
.action-small { font-size:10px; opacity:.85; }
.action-bold { font-size:13px; font-weight:800; }
.cart-icon { position:relative; }
.cart-badge {
  position:absolute;
  top:-6px;
  left:14px;
  background:#e74c3c;
  color:#fff;
  font-size:10px;
  font-weight:800;
  width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Dropdown */
.dropdown-menu {
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
  min-width:180px;
  padding:8px 0;
  z-index:2000;
}
.dropdown-menu a {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  color:var(--dark);
  font-weight:600;
  font-size:13px;
  transition:var(--transition);
}
.dropdown-menu a:hover { background:var(--light); color:var(--primary); }
.dropdown-menu i { width:16px; color:var(--primary); }
.dropdown-divider { border-top:1px solid var(--border); margin:4px 0; }
#accountDropdownToggle:hover .dropdown-menu { display:block; }

/* ── Category nav ───────────────────────────────────── */
.category-nav {
  background:var(--category-nav-bg);
  border-top:1px solid rgba(255,255,255,.15);
}
.nav-inner {
  max-width:1320px;
  margin:0 auto;
  padding:0 16px;
  display:flex;
  align-items:center;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav-inner::-webkit-scrollbar { display:none; }
.all-cats-btn, .cat-link {
  color:#fff;
  padding:10px 14px;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  transition:var(--transition);
  display:flex;
  align-items:center;
  gap:6px;
}
.all-cats-btn:hover, .cat-link:hover { background:rgba(255,255,255,.15); }
.hot-link { color:#ffe0b2; }
.hot-link i { color:#ff8c00; }

/* Mega menu */
.mega-menu {
  display:none;
  position:absolute;
  left:0;
  top:100%;
  width:220px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.15);
  border-radius:0 0 var(--radius) var(--radius);
  z-index:1500;
  max-height:80vh;
  overflow-y:auto;
}
.mega-menu.open { display:block; }
.mega-cats li a {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  color:var(--dark);
  font-weight:600;
  font-size:13px;
  border-bottom:1px solid var(--border);
  transition:var(--transition);
}
.mega-cats li a:hover { background:var(--light); color:var(--primary); }
.mega-cats i { width:18px; color:var(--primary); }

/* ── Layout ──────────────────────────────────────────── */
.container { max-width:1320px; margin:0 auto; padding:0 16px; }
.page-wrap { padding:16px 0; }

/* ── Hero slider ─────────────────────────────────────── */
.hero-section {
  background:transparent;
  margin-bottom:16px;
  display:grid;
  grid-template-columns:200px 1fr 200px;
  gap:10px;
  border-radius:0;
  overflow:visible;
}
/* Keep sidebar-nav hidden (legacy, no longer used on homepage) */
.sidebar-nav { display:none; }
.hero-banner { position:relative; overflow:hidden; }
.hero-slides { display:flex; transition:transform .55s cubic-bezier(.4,0,.2,1); height:420px; }
.hero-slide {
  min-width:100%;
  width:100%;
  background:linear-gradient(135deg, #f57224, #d4601a);
  display:flex;
  align-items:center;
  padding:36px 44px;
  gap:30px;
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
  background-size:cover;
  background-position:center;
}
.hero-slide::before {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 70% 50%, rgba(255,255,255,.1) 0%, transparent 70%);
}
.hero-text { color:#fff; z-index:1; }
.hero-badge {
  background:#fff;
  color:var(--primary);
  font-size:10px;
  font-weight:900;
  font-family:'Barlow Condensed',sans-serif;
  padding:4px 10px;
  border-radius:3px;
  display:inline-block;
  margin-bottom:12px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.hero-text h1 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:40px;
  font-weight:900;
  line-height:1.1;
  text-shadow:0 2px 8px rgba(0,0,0,.2);
}
.hero-text p { font-size:15px; margin:8px 0 16px; opacity:.9; }
.hero-cta {
  background:#fff;
  color:var(--primary);
  padding:10px 24px;
  border-radius:4px;
  font-weight:800;
  font-size:14px;
  display:inline-block;
  transition:var(--transition);
}
.hero-cta:hover { background:var(--light); transform:translateY(-1px); }
.hero-img { z-index:1; max-height:280px; margin-left:auto; }
.slide-dots {
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:6px;
  z-index:5;
}
.dot {
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  cursor:pointer;
  transition:var(--transition);
}
.dot.active { background:#fff; width:20px; border-radius:4px; }
.slide-prev, .slide-next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.3);
  color:#fff;
  width:36px; height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  transition:var(--transition);
}
.slide-prev { left:10px; }
.slide-next { right:10px; }
.slide-prev:hover, .slide-next:hover { background:rgba(0,0,0,.6); }

.side-banners {
  display:flex;
  flex-direction:column;
  gap:10px;
}
.side-banner {
  flex:1;
  min-height:120px;
  background:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:16px 12px;
  color:#fff;
  border-radius:var(--radius);
  transition:var(--transition);
  cursor:pointer;
  text-decoration:none;
  background-size:cover;
  background-position:center;
}
.side-banner:hover { filter:brightness(1.08); transform:scale(1.01); }
.side-banner:nth-child(2) { background-color:var(--black); }
.side-banner h3 { font-size:13px; font-weight:800; margin:0 0 4px; }
.side-banner p  { font-size:11px; opacity:.8; margin:0 0 4px; }
.side-banner .cta { font-size:11px; font-weight:800; background:#fff2; padding:4px 12px; border-radius:3px; margin-top:8px; display:inline-block; color:#fff; }

/* ── Quick access icons ──────────────────────────────── */
.quick-access {
  background:#fff;
  border-radius:var(--radius);
  padding:14px 8px;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.quick-access::-webkit-scrollbar { display:none; }
.qa-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:120px;
  padding:8px 12px;
  gap:8px;
  transition:var(--transition);
  border-right:1px solid var(--border);
  text-align:center;
}
.qa-item:last-child { border-right:none; }
.qa-item:hover { transform:translateY(-2px); }
.qa-icon {
  width:56px; height:56px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--border);
}
.qa-label { font-size:11px; font-weight:700; color:var(--dark); }

/* ── Section titles ──────────────────────────────────── */
.section-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.section-title {
  font-family:'Barlow Condensed',sans-serif;
  font-size:22px;
  font-weight:800;
  color:var(--black);
  display:flex;
  align-items:center;
  gap:8px;
}
.section-title i { color:var(--primary); }
.see-all {
  font-size:12px;
  font-weight:700;
  color:var(--primary);
  display:flex;
  align-items:center;
  gap:4px;
  transition:var(--transition);
}
.see-all:hover { text-decoration:underline; }

/* ── Flash sale bar ──────────────────────────────────── */
.flash-bar {
  background:var(--primary);
  color:#fff;
  border-radius:var(--radius) var(--radius) 0 0;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:16px;
}
.flash-title {
  font-family:'Barlow Condensed',sans-serif;
  font-size:22px;
  font-weight:900;
  display:flex;
  align-items:center;
  gap:8px;
}
.flash-title i { animation:pulse 1s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.timer { display:flex; align-items:center; gap:6px; margin-left:auto; font-size:13px; }
.timer-label { opacity:.85; }
.timer-display { display:flex; gap:4px; }
.time-unit {
  background:rgba(0,0,0,.25);
  padding:4px 8px;
  border-radius:4px;
  font-weight:800;
  font-size:16px;
  font-family:'Barlow Condensed',sans-serif;
  min-width:36px;
  text-align:center;
}
.timer-sep { font-size:18px; font-weight:900; }

/* ── Product cards ───────────────────────────────────── */
.products-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}
.flash-section .products-grid {
  background:#fff;
  border-radius:0 0 var(--radius) var(--radius);
  padding:12px;
  gap:10px;
}

.product-card {
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  transition:var(--transition);
  position:relative;
  display:flex;
  flex-direction:column;
}
.product-card:hover {
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transform:translateY(-2px);
  border-color:#ddd;
}
.product-img-wrap {
  position:relative;
  aspect-ratio:1;
  overflow:hidden;
  background:var(--light);
}
.product-img-wrap img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}
.product-card:hover .product-img-wrap img { transform:scale(1.05); }
.discount-badge {
  position:absolute;
  top:8px;
  left:8px;
  background:var(--red);
  color:#fff;
  font-size:10px;
  font-weight:900;
  padding:2px 6px;
  border-radius:3px;
}
.wishlist-btn {
  position:absolute;
  top:8px;
  right:8px;
  width:30px; height:30px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow);
  opacity:0;
  transition:var(--transition);
  color:var(--mid);
  border:none;
  cursor:pointer;
  z-index:2;
}
.product-card:hover .wishlist-btn { opacity:1; }
.wishlist-btn:hover { color:var(--red); }
@media (max-width:768px) { .wishlist-btn { opacity:1; } }
.product-info { padding:10px; flex:1; display:flex; flex-direction:column; gap:4px; }
.product-name {
  font-size:12px;
  font-weight:600;
  color:var(--dark);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.4;
}
.product-price { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.price-current {
  font-size:15px;
  font-weight:900;
  color:#1a8a3a;
  font-family:'Barlow Condensed',sans-serif;
}
.price-old {
  font-size:11px;
  color:var(--mid);
  text-decoration:line-through;
}
.product-rating { display:flex; align-items:center; gap:4px; }
.stars { color:#f0c040; font-size:10px; }
.rating-count { font-size:10px; color:var(--mid); }
.product-stock { font-size:10px; color:var(--red); font-weight:700; }
.add-cart-btn {
  background:var(--primary);
  color:#fff;
  border:none;
  padding:7px;
  border-radius:0 0 var(--radius) var(--radius);
  font-weight:700;
  font-size:12px;
  transition:var(--transition);
  display:none;
}
.product-card:hover .add-cart-btn { display:block; }
.add-cart-btn:hover { background:var(--primary-dk); }

/* Stock bar (flash sale) */
.stock-bar-wrap { margin-top:4px; }
.stock-bar-bg { background:#eee; border-radius:3px; height:5px; }
.stock-bar-fill { background:var(--primary); height:5px; border-radius:3px; }
.stock-text { font-size:10px; color:var(--mid); margin-top:2px; }

/* ── Category tiles ──────────────────────────────────── */
.cat-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}
.cat-tile {
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  text-align:center;
  transition:var(--transition);
  border:1px solid var(--border);
}
.cat-tile:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.cat-tile-img {
  aspect-ratio:1;
  width:100%;
  object-fit:cover;
  background:var(--light);
}
.cat-tile-placeholder {
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--primary), var(--primary-dk));
  font-size:32px;
  color:#fff;
}
.cat-tile-name {
  padding:8px 4px;
  font-size:12px;
  font-weight:700;
  color:var(--dark);
}

/* ── Content section wrappers ───────────────────────── */
.content-section { margin-bottom:20px; }
.white-box { background:var(--card-bg); border-radius:var(--radius); padding:16px; }

/* ── Cart page ───────────────────────────────────────── */
.cart-grid { display:grid; grid-template-columns:1fr 320px; gap:16px; align-items:start; }
.cart-items { background:#fff; border-radius:var(--radius); }
.cart-item {
  display:flex;
  gap:16px;
  padding:16px;
  border-bottom:1px solid var(--border);
  align-items:center;
}
.cart-item-img { width:80px; height:80px; object-fit:cover; border-radius:4px; }
.cart-item-info { flex:1; }
.cart-item-name { font-weight:700; margin-bottom:4px; }
.cart-item-price { color:#1a8a3a; font-weight:900; font-size:16px; }
.qty-control { display:flex; align-items:center; gap:8px; margin-top:8px; }
.qty-btn {
  width:28px; height:28px;
  border:1px solid var(--border);
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  transition:var(--transition);
}
.qty-btn:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.qty-input { width:40px; text-align:center; border:1px solid var(--border); border-radius:4px; padding:4px; font-family:inherit; }
.cart-remove { color:var(--mid); margin-left:auto; }
.cart-remove:hover { color:var(--red); }
.cart-summary {
  background:#fff;
  border-radius:var(--radius);
  padding:20px;
  position:sticky;
  top:120px;
}
.summary-row {
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid var(--border);
  font-size:13px;
}
.summary-total {
  font-weight:900;
  font-size:16px;
  color:#1a8a3a;
}
.checkout-btn {
  background:var(--primary);
  color:#fff;
  width:100%;
  padding:14px;
  border-radius:4px;
  font-weight:800;
  font-size:15px;
  margin-top:16px;
  transition:var(--transition);
}
.checkout-btn:hover { background:var(--primary-dk); }

/* ── Auth forms ──────────────────────────────────────── */
.auth-page {
  min-height:80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
}
.auth-box {
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  width:100%;
  max-width:440px;
  padding:40px;
}
.auth-logo {
  text-align:center;
  margin-bottom:24px;
}
.auth-logo .logo-text { font-size:36px; }
.auth-title { font-size:22px; font-weight:800; margin-bottom:8px; }
.auth-sub { color:var(--mid); margin-bottom:24px; font-size:13px; }
.form-group { margin-bottom:16px; }
.form-label { font-weight:700; font-size:13px; margin-bottom:6px; display:block; }
.form-input {
  width:100%;
  padding:11px 14px;
  border:1px solid var(--border);
  border-radius:4px;
  font-family:'Nunito',sans-serif;
  font-size:14px;
  transition:var(--transition);
  outline:none;
}
.form-input:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(245,114,36,.1); }
.form-btn {
  width:100%;
  padding:13px;
  background:var(--primary);
  color:#fff;
  border-radius:4px;
  font-weight:800;
  font-size:15px;
  transition:var(--transition);
  margin-top:8px;
}
.form-btn:hover { background:var(--primary-dk); }
.form-switch { text-align:center; margin-top:16px; font-size:13px; color:var(--mid); }
.form-switch a { color:var(--primary); font-weight:700; }
.alert { padding:12px 16px; border-radius:4px; margin-bottom:16px; font-size:13px; font-weight:600; }
.alert-error { background:#fff0f0; border:1px solid #ffcccc; color:var(--red); }
.alert-success { background:#f0fff4; border:1px solid #b7f5d4; color:var(--green); }

/* ── Toast ───────────────────────────────────────────── */
.toast {
  position:fixed;
  bottom:24px;
  right:24px;
  background:var(--black);
  color:#fff;
  padding:12px 20px;
  border-radius:var(--radius);
  font-weight:700;
  font-size:13px;
  transform:translateY(100px);
  opacity:0;
  transition:all .3s ease;
  z-index:9999;
  max-width:300px;
}
.toast.show { transform:translateY(0); opacity:1; }
.toast.success { background:var(--green); }
.toast.error   { background:var(--red); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background:var(--footer-bg); color:var(--footer-text); margin-top:40px; }
.footer-top {
  max-width:1320px;
  margin:0 auto;
  padding:48px 24px 36px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1.4fr;
  gap:40px;
  align-items:start;
}
.footer-col { display:flex; flex-direction:column; }
.footer-col h4 { color:#fff; font-size:13px; font-weight:800; margin:0 0 16px; text-transform:uppercase; letter-spacing:.8px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-col ul { list-style:none; margin:0; padding:0; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:rgba(255,255,255,.6); font-size:13px; transition:var(--transition); text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.footer-col a:hover { color:#fff; padding-left:4px; }
.footer-social { display:flex; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
.footer-social a {
  width:38px; height:38px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  transition:var(--transition);
  color:rgba(255,255,255,.7);
}
.footer-social a:hover { background:var(--primary); border-color:var(--primary); color:#fff; transform:translateY(-2px); }
.footer-app p { font-size:12px; color:rgba(255,255,255,.5); margin:0 0 10px; text-transform:uppercase; letter-spacing:.5px; font-weight:700; }
.app-badge {
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  padding:9px 14px;
  border-radius:6px;
  font-size:12px;
  margin-bottom:8px;
  transition:var(--transition);
  color:rgba(255,255,255,.8);
  text-decoration:none;
}
.app-badge i { font-size:16px; }
.app-badge:hover { background:rgba(255,255,255,.15); color:#fff; border-color:rgba(255,255,255,.25); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 24px;
  max-width:1320px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:rgba(255,255,255,.45);
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom p { margin:0; }
.footer-payment { display:flex; gap:12px; font-size:22px; color:rgba(255,255,255,.5); align-items:center; }

/* ── Pagination ──────────────────────────────────────── */
.pagination { display:flex; gap:8px; justify-content:center; margin:24px 0; }
.page-btn {
  width:36px; height:36px;
  border:1px solid var(--border);
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  transition:var(--transition);
  color:var(--dark);
  background:#fff;
}
.page-btn:hover, .page-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }


/* ═══════════════════════════════════════════════════
   BRAND STRIP — Homepage brand/category banner row
═══════════════════════════════════════════════════ */
.brand-strip {
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:10px;
  background:#fff;
  border-radius:var(--radius);
  padding:14px 12px;
  margin-bottom:16px;
  box-shadow:var(--shadow);
}
.brand-strip-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  border-radius:8px;
  overflow:hidden;
  border:1px solid var(--border);
  transition:var(--transition);
  background:#fafafa;
  min-height:80px;
}
.brand-strip-item:hover {
  border-color:var(--primary);
  box-shadow:0 4px 14px rgba(245,114,36,.15);
  transform:translateY(-2px);
  background:#fff;
}
.brand-strip-banner { width:100%; height:60px; overflow:hidden; }
.brand-strip-banner img { width:100%; height:100%; object-fit:cover; display:block; }
.brand-strip-text {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:8px 6px;
  gap:5px;
  width:100%;
  flex:1;
  text-align:center;
  min-height:80px;
}
.brand-strip-logo { max-height:36px; max-width:80px; width:auto; height:auto; object-fit:contain; }
.brand-strip-avatar {
  width:40px; height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dk));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:900;
  font-family:'Barlow Condensed',sans-serif;
  flex-shrink:0;
}
.brand-strip-name {
  font-size:11px;
  font-weight:800;
  color:var(--dark);
  line-height:1.3;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.brand-strip-tag { font-size:9px; color:var(--mid); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
/* ── Responsive ──────────────────────────────────────── */
@media (max-width:1100px) {
  .products-grid { grid-template-columns:repeat(4,1fr); }
  .cat-grid { grid-template-columns:repeat(4,1fr); }
  .brand-strip { grid-template-columns:repeat(6,1fr); }
}

@media (max-width:900px) {
  /* hero-section responsive handled below */
  .hero-banner { border-radius:var(--radius); }
  .products-grid { grid-template-columns:repeat(3,1fr); }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .footer-top { grid-template-columns:repeat(2,1fr); gap:28px; }
  .brand-strip { grid-template-columns:repeat(5,1fr); gap:8px; }
  .bar-timer { display:none; }
  .quick-access { gap:8px; }
  .qa-icon-circle { width:44px; height:44px; font-size:16px; }
  .qa-label { font-size:10px; }
  .category-nav .nav-inner { gap:4px; }
  .cat-link { font-size:12px; padding:6px 10px; }
}

@media (max-width:768px) {
  .container { padding:0 10px; }
  .header-main { padding:8px 10px; gap:8px; }
  .site-logo .logo-text { font-size:22px; }
  .products-grid { grid-template-columns:repeat(3,1fr); gap:6px; }
  /* Inside swipe sections, grid is overridden to flex — see swipe carousel rules */
  .deal-body .products-grid { grid-template-columns:unset; }
  .cat-grid { grid-template-columns:repeat(3,1fr); gap:8px; }
  .brand-strip { display:flex; flex-direction:row; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:6px; padding:10px 8px; scrollbar-width:none; }
  .brand-strip::-webkit-scrollbar { display:none; }
  .brand-strip-item { flex:0 0 calc(25% - 5px); min-width:calc(25% - 5px); scroll-snap-align:start; }
  .brand-strip-banner { height:48px; }
  .brand-strip-name { font-size:10px; }
  .deal-body { padding:8px; }
  .section-bar { padding:10px 12px; }
  .bar-title { font-size:17px; }
  .hero-text h1 { font-size:clamp(22px,5vw,40px); }
  .hero-text p { font-size:13px; }
  .hero-cta { font-size:12px; padding:8px 16px; }
  .white-box { padding:12px; }
  .section-title { font-size:16px; }
  .page-wrap { padding-top:10px; }
  /* 3-col card tweaks */
  .product-info { padding:6px 7px; gap:3px; }
  .product-name { font-size:11px; -webkit-line-clamp:2; }
  .price-current { font-size:13px; }
  .price-old { font-size:10px; }
  .add-cart-btn { font-size:10px; padding:5px 4px; }
  .discount-badge { font-size:9px; padding:2px 4px; }
  .stars { font-size:9px; }
  .rating-count { font-size:9px; }
}

@media (max-width:640px) {
  .header-main { flex-wrap:wrap; }
  .search-form { order:3; flex:0 0 100%; margin-top:4px; }
  .search-input { font-size:13px; }
  .products-grid { grid-template-columns:repeat(3,1fr); gap:5px; }
  .deal-body .products-grid { grid-template-columns:unset; }
  .cat-grid { grid-template-columns:repeat(3,1fr); gap:6px; }
  .brand-strip { display:flex; flex-direction:row; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:5px; padding:8px 6px; scrollbar-width:none; }
  .brand-strip::-webkit-scrollbar { display:none; }
  .brand-strip-item { flex:0 0 calc(25% - 4px); min-width:calc(25% - 4px); scroll-snap-align:start; }
  .brand-strip-avatar { width:34px; height:34px; font-size:15px; }
  .brand-strip-name { font-size:9px; }
  .brand-strip-text { padding:6px 4px; min-height:68px; }
  .cart-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; gap:20px; }
  .action-label { display:none; }
  .header-actions { gap:10px; }
  .action-item i { font-size:20px; }
  .cart-badge { top:-4px; right:-6px; width:16px; height:16px; font-size:9px; }
  .product-card { border-radius:6px; }
  .product-info { padding:5px 6px; gap:2px; }
  .product-name { font-size:10.5px; -webkit-line-clamp:2; }
  .price-current { font-size:12px; }
  .price-old { font-size:9px; }
  .add-cart-btn { font-size:10px; padding:5px 4px; }
  .discount-badge { font-size:9px; padding:1px 4px; top:5px; left:5px; }
  .wishlist-btn { width:26px; height:26px; font-size:11px; }
  .quick-access { grid-template-columns:repeat(4,1fr); gap:6px; padding:10px 6px; }
  .qa-icon-circle { width:40px; height:40px; font-size:14px; }
  .qa-label { font-size:9px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
  .announce-strip { font-size:11px; padding:5px 0; }
  .category-nav .all-cats-btn { display:none; }
  .category-nav .cat-link { display:none; }
  .section-bar { flex-wrap:wrap; gap:8px; }
  .bar-seeall { margin-left:auto; }
  .hero-badge { font-size:10px; padding:3px 8px; }
  .breadcrumb { font-size:12px; padding:6px 0; }
  .help-grid, .checkout-grid { grid-template-columns:1fr !important; }
}

@media (max-width:400px) {
  .products-grid { grid-template-columns:repeat(3,1fr); gap:4px; }
  .deal-body .products-grid { grid-template-columns:unset; }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .brand-strip { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:4px; scrollbar-width:none; }
  .brand-strip::-webkit-scrollbar { display:none; }
  .brand-strip-item { flex:0 0 calc(25% - 3px); min-width:calc(25% - 3px); scroll-snap-align:start; }
  .quick-access { grid-template-columns:repeat(4,1fr); }
  .site-logo .logo-text { font-size:18px; }
}

/* ═══════════════════════════════════════════════════
   SECTION BARS — Flash/Top/Phone/Appliance headers
═══════════════════════════════════════════════════ */
.deal-section { margin-bottom:20px; border-radius:var(--radius); overflow:visible; box-shadow:var(--shadow); }
.deal-section > .section-bar { border-radius:var(--radius) var(--radius) 0 0; }
@media (max-width:768px) {
  .deal-section { overflow:visible; }
  .deal-body { overflow:hidden; border-radius:0 0 var(--radius) var(--radius); }
}

.section-bar {
  display:flex;
  align-items:center;
  padding:12px 18px;
  gap:16px;
  min-height:52px;
}
.bar-red    { background:#e53935; }
.bar-green  { background:#2e7d32; }
.bar-blue   { background:#ff359a; }
.bar-purple { background:#6a1b9a; }

.bar-left { display:flex; align-items:center; gap:10px; }
.bar-icon {
  font-size:20px;
  color:#fff;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
.pulse-icon { animation:pulse 1s infinite; }

.bar-title {
  font-family:'Barlow Condensed',sans-serif;
  font-size:22px;
  font-weight:900;
  color:#fff;
  letter-spacing:.5px;
  text-transform:uppercase;
  white-space:nowrap;
}

/* Timer */
.bar-timer {
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:16px;
}
.bar-timer-label { color:rgba(255,255,255,.85); font-size:12px; font-weight:700; white-space:nowrap; }
.bar-timer-units { display:flex; align-items:center; gap:4px; }
.t-block {
  background:rgba(0,0,0,.28);
  border-radius:5px;
  padding:4px 9px;
  text-align:center;
  min-width:42px;
}
.t-block span {
  display:block;
  font-family:'Barlow Condensed',sans-serif;
  font-size:22px;
  font-weight:900;
  color:#fff;
  line-height:1;
}
.t-block small { font-size:9px; color:rgba(255,255,255,.7); font-weight:700; letter-spacing:.5px; }
.t-sep { font-size:20px; font-weight:900; color:#fff; margin:0 1px; }

/* See All */
.bar-seeall {
  margin-left:auto;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:12px;
  font-weight:800;
  padding:6px 14px;
  border-radius:20px;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:5px;
  transition:var(--transition);
  border:1px solid rgba(255,255,255,.3);
}
.bar-seeall:hover { background:rgba(255,255,255,.32); }

/* Deal body */
.deal-body {
  background:#fff;
  padding:14px;
}

/* ── Desktop swipe carousel ── */
.deal-body .products-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px !important;
  padding: 14px !important;
  grid-template-columns: unset !important;
  /* Visible scrollbar on desktop */
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
}
.deal-body .products-grid::-webkit-scrollbar {
  height: 6px;
  display: block;
}
.deal-body .products-grid::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}
.deal-body .products-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.deal-body .products-grid::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
/* Each card = exactly 1/6 of the container */
.deal-body .products-grid .product-card {
  flex: 0 0 calc(16.666% - 10px) !important;
  min-width: calc(16.666% - 10px) !important;
  max-width: calc(16.666% - 10px) !important;
  scroll-snap-align: start;
  width: auto !important;
}
.empty-section {
  text-align:center;
  padding:40px;
  color:var(--mid);
}
.empty-section i { font-size:36px; color:#ddd; display:block; margin-bottom:10px; }

/* Quick access icon circles */
.qa-icon-circle {
  width:56px; height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

/* hero sizing handled in base rules above */

/* ═══════════════════════════════════════════════════
   SEARCH BAR — extend + center
═══════════════════════════════════════════════════ */
.header-main {
  max-width:1320px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:20px;
}
.search-form {
  flex:1;
  max-width:none;   /* fill available space */
  display:flex;
}
.search-input {
  flex:1;
  padding:11px 18px;
  font-size:14px;
  border-radius:4px 0 0 4px;
  border:none;
  outline:none;
}
.search-btn {
  padding:11px 28px;
  font-size:14px;
  font-weight:800;
}

/* ═══════════════════════════════════════════════════
   ACCOUNT DROPDOWN — fix hover gap so clicks work
═══════════════════════════════════════════════════ */
.account-wrap {
  position:relative;
  cursor:pointer;
}
/* Remove old CSS-only hover trigger; JS handles it now */
.dropdown-menu {
  display:none;
  position:absolute;
  top:calc(100% + 4px);   /* small gap covered by padding */
  right:0;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
  min-width:190px;
  padding:8px 0;
  z-index:2000;
}
/* Invisible bridge between trigger and menu so mouse can travel */
.account-wrap::after {
  content:'';
  position:absolute;
  top:100%;
  left:0; right:0;
  height:10px;
}
.dropdown-menu.open { display:block; }
.dropdown-menu a {
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 18px;
  color:var(--dark);
  font-weight:600;
  font-size:13px;
  transition:var(--transition);
  white-space:nowrap;
}
.dropdown-menu a:hover { background:var(--light); color:var(--primary); }


/* ── Mobile Nav Drawer ───────────────────────────────── */
.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 8000;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 8001;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.open { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.mobile-nav-title { font-family:'Barlow Condensed',sans-serif; font-size:22px; font-weight:900; }
.mobile-nav-header button { background:none; border:none; color:#fff; font-size:20px; cursor:pointer; }
.mobile-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}
.mobile-nav-user i { font-size: 22px; color: var(--primary); }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.mobile-nav-links a:hover { background: var(--light); color: var(--primary); }
.mobile-nav-links a i { width: 20px; color: var(--primary); font-size: 14px; }
.mobile-nav-divider {
  padding: 10px 18px 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
  /* Show mobile menu button */
  .mobile-menu-btn { display: flex !important; }
  /* Hide desktop nav items */
  .category-nav .all-cats-btn { display: none !important; }
  .category-nav .cat-link { display: none !important; }
  /* Nav bar just holds the hamburger */
  .category-nav { padding: 6px 10px !important; }
  .category-nav .nav-inner { justify-content: flex-start; gap: 0; }

  /* Hero full width — remove any margin/radius so it bleeds edge to edge */
  .hero-section { border-radius: 0 !important; overflow: visible; }
  .hero-banner  { border-radius: 0 !important; margin: 0 -10px; width: calc(100% + 20px); }
  .hero-slides  { border-radius: 0; }
  .hero-slide   {
    border-radius: 0;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ── Hero Slider — responsive heights ────────────────── */
@media (min-width: 1100px) {
  .hero-slides { height: 440px; }
  .hero-slide  { min-height: 440px; padding: 40px 50px; }
  .hero-text h1 { font-size: 48px; }
  .hero-text p  { font-size: 16px; }
  .hero-cta { padding: 12px 28px; font-size: 15px; }
}

@media (max-width: 900px) {
  .hero-slides { height: 300px; }
  .hero-slide  { min-height: 300px; padding: 24px 28px; }
}

@media (max-width: 640px) {
  .hero-banner { border-radius: 0; }
  .hero-slides { height: 220px; }
  .hero-slide  {
    min-height: 220px;
    min-width: 100%;
    width: 100%;
    padding: 20px 18px;
    box-sizing: border-box;
  }
  .hero-text h1 { font-size: 24px; }
  .hero-text p  { font-size: 12px; margin: 6px 0 12px; }
  .hero-cta { font-size: 11px; padding: 8px 14px; }
  .hero-badge { font-size: 9px; }
}

/* ── Banner text on real images ──────────────────────── */

/* Text block when sitting on top of a real photo — no full overlay,
   just a frosted-glass pill so text stays readable */
.hero-text-on-image {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 22px 28px;
  display: inline-block;
  max-width: 420px;
}

/* When there is NO image (gradient bg) — keep original full-width style */
.hero-text:not(.hero-text-on-image) {
  padding: 0;
  background: none;
}

/* Hero text shadow for both cases */
.hero-text h1,
.hero-text p,
.hero-text .hero-badge {
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

/* Side banner text on image — pill behind text only */
.side-banner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  color: #fff;
}
.side-text-on-image {
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
  padding: 12px 16px;
  width: auto;
  min-width: 80%;
}
.side-text-on-image h3,
.side-text-on-image p {
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.side-banner-badge {
  font-size: 9px;
  font-weight: 900;
  background: rgba(255,255,255,.25);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
}

/* ── Header hamburger button (mobile) ───────────────── */
.header-mobile-menu-btn { display: none !important; }

@media (max-width: 640px) {
  .header-mobile-menu-btn { display: flex; }
  /* Hide customer care on very small screens to save space */
  .action-item:not(.account-wrap):not(.cart-icon) { display: none; }
}

/* ═══════════════════════════════════════════════════
   HERO SECTION — mobile collapse
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* On tablet: hide left column, hero + right side banners only */
  .hero-section { grid-template-columns: 1fr 200px; }
  .hero-section .side-banners:first-child { display: none; }
}
@media (max-width: 768px) {
  /* Full-width banner only */
  .hero-section { grid-template-columns: 1fr; }
  .side-banners { display: none; }
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — mobile
═══════════════════════════════════════════════════ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 340px 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ═══════════════════════════════════════════════════
   CHECKOUT PAGE — mobile
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cart-grid { grid-template-columns: 1fr !important; }
  .cart-summary { position: static !important; }
  /* Reorder: summary first on mobile */
  .cart-grid > div:last-child { order: -1; }
}

/* ═══════════════════════════════════════════════════
   ACCOUNT PAGE — mobile (supplement to inline styles)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .account-layout-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .account-sidebar-wrap { position: static !important; }
}

/* ═══════════════════════════════════════════════════
   FORMS — mobile full width inputs
═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .form-row { flex-direction: column !important; gap: 0 !important; }
  .form-row .form-group { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════
   FOOTER — mobile
═══════════════════════════════════════════════════ */
/* About page mobile */
@media (max-width: 640px) {
  .about-story-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .about-story-grid > div:last-child { height: 200px !important; }
}
/* Mid-page banners stack on mobile */
@media (max-width: 640px) {
  .mid-banners-grid { grid-template-columns: 1fr !important; }
}
/* ═══════════════════════════════════════════════════
   MOBILE SWIPE CAROUSEL for product sections
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .deal-body { padding: 0 !important; }
  .deal-body .products-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 10px 10px 14px !important;
    grid-template-columns: unset !important;
  }
  .deal-body .products-grid::-webkit-scrollbar { display: none !important; }
  .deal-body .products-grid .product-card {
    flex: 0 0 calc(33.333% - 6px) !important;
    min-width: calc(33.333% - 6px) !important;
    max-width: calc(33.333% - 6px) !important;
    scroll-snap-align: start;
    width: auto !important;
  }
}

/* ═══════════════════════════════════════════════════
   FOOTER — mobile
═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .site-footer { margin-top: 24px; }
  .site-footer .footer-top {
    padding: 0 !important;
    display: block !important;
    gap: 0 !important;
  }

  /* Accordion-style collapsible columns */
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 0;
  }
  .footer-col h4 {
    font-size: 13px;
    margin: 0;
    padding: 14px 16px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    letter-spacing: .5px;
  }
  .footer-col h4::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: rgba(255,255,255,.4);
    transition: transform .3s;
  }
  .footer-col.open h4::after { transform: rotate(180deg); }
  .footer-col ul,
  .footer-col .footer-social,
  .footer-col .footer-app {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s ease;
    padding: 0 16px;
  }
  .footer-col.open ul,
  .footer-col.open .footer-social,
  .footer-col.open .footer-app {
    max-height: 300px;
    padding: 0 16px 14px;
  }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a { font-size: 13px; }

  /* Social icons row */
  .footer-social { flex-wrap: nowrap; gap: 12px; margin-bottom: 0; }
  .footer-social a { width: 40px; height: 40px; font-size: 17px; }

  /* App badges side by side */
  .footer-app { flex-direction: row; gap: 10px; }
  .footer-app .app-badge { flex: 1; justify-content: center; font-size: 12px; padding: 8px 10px; margin-bottom: 0; }

  /* Bottom bar */
  .footer-bottom {
    padding: 14px 16px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-payment { justify-content: center; font-size: 20px; }
}
@media (max-width: 400px) {
  .deal-body .products-grid .product-card {
    flex: 0 0 calc(33.333% - 6px) !important;
    min-width: calc(33.333% - 6px) !important;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
   Only visible on screens ≤ 768px
═══════════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
}

/* ── Notification dot (hidden until there are notifications) */
.mob-notif-dot {
  display: none;
  position: absolute;
  top: -3px; right: -4px;
  width: 8px; height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.mob-notif-dot.visible { display: block; }

/* ── Notification panel (hidden off-screen by default) */
.mob-notif-panel {
  display: none;
  position: fixed;
  bottom: 62px; left: 0; right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.15);
  z-index: 1300;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  max-height: 70vh;
  flex-direction: column;
}
.mob-notif-panel.open {
  display: flex;
  transform: translateY(0);
}

.mob-notif-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1250;
}
.mob-notif-overlay.open { display: block; }

@media (max-width: 768px) {
  body { padding-bottom: 62px; }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 62px;
    background: #fff;
    border-top: 2px solid #8000ff;
    box-shadow: 0 -2px 16px rgba(0,0,0,.12);
    z-index: 9000;
    align-items: stretch;
  }

  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #f222aa;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Nunito', sans-serif;
  }
  .mob-nav-item:active,
  .mob-nav-item.active { color: #8000ff; }

  .mob-nav-icon {
    font-size: 22px;
    line-height: 1;
    position: relative;
    display: block;
  }
  .mob-nav-label {
    font-size: 10px;
    font-weight: 700;
    display: block;
  }

  .mob-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid #eee;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    position: relative;
  }
  .mob-notif-header::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    background: #ddd;
    border-radius: 2px;
  }
  .mob-notif-body {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
  }
  .mob-notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
  }
  .mob-notif-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
  .mob-notif-empty p { font-size: 13px; font-weight: 600; }
  .mob-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
  }
  .mob-notif-item:last-child { border-bottom: none; }
  .mob-notif-item-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff8f5;
    display: flex; align-items: center; justify-content: center;
    color: #f57224;
    font-size: 15px;
    flex-shrink: 0;
  }
  .mob-notif-item-text { flex: 1; line-height: 1.4; }
  .mob-notif-item-title { font-weight: 800; color: #222; margin-bottom: 2px; }
  .mob-notif-item-time  { font-size: 11px; color: #aaa; }
}