/* ============================================================
   REELUB STORES — Premium Mixed Store CSS
   Modern Professional E-Commerce Design
   ============================================================ */

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

:root {
  --p:       #1f4d3f;
  --p-dark:  #0d2f25;
  --p-light: #e8f5f0;
  --accent:  #1f4d3f;
  --accent-light: #f0f5f3;
  --text:    #1a1a1a;
  --text2:   #4a4a4a;
  --text3:   #888888;
  --border:  #e0e8e5;
  --bg:      #f8faf9;
  --white:   #ffffff;
  --success: #2e7d32;
  --danger:  #c62828;
  --warning: #f57f17;
  --shadow1: 0 1px 3px rgba(31,77,63,.08), 0 1px 2px rgba(31,77,63,.04);
  --shadow2: 0 3px 6px rgba(31,77,63,.12), 0 2px 4px rgba(31,77,63,.06);
  --shadow3: 0 10px 20px rgba(31,77,63,.15), 0 6px 6px rgba(31,77,63,.08);
  --r:  12px;
  --r2: 16px;
  --r3: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* ── Top Bar ──────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, var(--p) 0%, #2d5a4f 100%);
  color: rgba(255,255,255,.90);
  font-size: .78rem;
  padding: .5rem 0;
  font-weight: 500;
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.5rem; }

/* ── Header ───────────────────────────────────────────────── */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(31,77,63,.08);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Logo */
.header-logo { flex-shrink: 0; }
.header-logo img { height: 56px; max-width: 200px; object-fit: contain; }
.header-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--p);
  letter-spacing: -.5px;
  white-space: nowrap;
}

/* Search Bar */
.header-search { flex: 1; max-width: 500px; min-width: 200px; }
.header-search form {
  display: flex;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow1);
  height: 40px;
}
.search-cat-select {
  border: none;
  border-right: 1px solid var(--border);
  background: #f8f9fa;
  padding: 0 .75rem;
  font-size: .8rem;
  color: var(--text2);
  cursor: pointer;
  outline: none;
  display: none;
}
.header-search input {
  flex: 1;
  border: none;
  padding: 0 .85rem;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  min-width: 0;
  height: 40px;
  background: #fff;
}
.header-search input::placeholder {
  color: #94a3b8;
  font-size: .85rem;
}
.search-submit-btn {
  background: var(--search-btn);
  color: #fff;
  border: none;
  padding: 0 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.search-submit-btn:hover { filter: brightness(0.85); }

@media (max-width: 768px) {
  .header-search { max-width: 400px; }
  .header-search form { height: 38px; }
  .header-search input { padding: 0 .75rem; font-size: .8rem; }
  .search-submit-btn { padding: 0 .75rem; font-size: .9rem; }
}

@media (max-width: 480px) {
  .header-search { max-width: 100%; }
  .header-search form { height: 36px; }
  .header-search input { padding: 0 .65rem; font-size: .75rem; }
  .search-submit-btn { padding: 0 .65rem; font-size: .8rem; }
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow3);
  z-index: 600;
  display: none;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--border);
  width: 100%;
}
.search-dropdown a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #fafafa;
  transition: .1s;
}
.search-dropdown a:hover { background: #f5f5f5; }
.search-dropdown a img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.search-dropdown-footer {
  padding: .75rem 1rem;
  text-align: center;
  font-size: .85rem;
  color: var(--p);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .4rem .65rem;
  color: var(--p);
  border-radius: var(--r);
  background: none;
  border: none;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
  position: relative;
  font-weight: 500;
}
.header-action-btn:hover { background: var(--p-light); color: var(--p-dark); }
.header-action-btn i { font-size: 1.3rem; }
.header-action-btn span { font-size: .68rem; }
.cart-count-badge {
  position: absolute;
  top: .2rem;
  right: .3rem;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Navigation Bar ───────────────────────────────────────── */
.header-nav {
  background: var(--p);
  border-bottom: none;
  box-shadow: 0 2px 6px rgba(31,77,63,.12);
}
.header-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 48px;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  padding: .45rem 1rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.90);
  white-space: nowrap;
  transition: .2s;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.15); }
.nav-link--sale { color: #ffd700 !important; font-weight: 700; }
.nav-link--all { color: #fff; font-weight: 700; background: rgba(255,255,255,.15); }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Announcement Bar ─────────────────────────────────────── */
.announce-bar {
  font-size: .82rem;
  padding: .5rem 1rem;
  text-align: center;
  font-weight: 500;
}

/* ── Flash ────────────────────────────────────────────────── */
.flash {
  padding: .8rem 1.25rem;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flash--success { background: #e8f5e9; color: #1b5e20; border-bottom: 2px solid #a5d6a7; }
.flash--error   { background: #ffebee; color: #b71c1c; border-bottom: 2px solid #ef9a9a; }
.flash--warning { background: #fff8e1; color: #e65100; border-bottom: 2px solid #ffe082; }

/* ── Hero Slider ──────────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--p) 0%, #2d5a4f 100%);
  height: 480px;
  border-radius: var(--r2);
  margin: 1rem 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,77,63,.75) 0%, rgba(31,77,63,.4) 50%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 600px;
}
.slide-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.slider-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: .3s;
}
.slider-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: .2s;
}
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.35); }

/* ── Home Sections ────────────────────────────────────────── */
.section { padding: 2.5rem 0; }
.section--gray { background: linear-gradient(135deg, var(--bg) 0%, #f0f5f3 100%); padding: 2.5rem 0; border-radius: var(--r2); }
.home-section { padding: 2.5rem 0; }
.home-section + .home-section { border-top: 1px solid var(--border); }

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.75rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 32px;
  background: linear-gradient(180deg, var(--p) 0%, #2d5a4f 100%);
  border-radius: 2px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.section-head-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-head-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  position: relative;
}
.section-head-title::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background: linear-gradient(180deg, var(--p) 0%, #2d5a4f 100%);
  border-radius: 2px;
}
.section-view-all {
  font-size: .82rem;
  font-weight: 600;
  color: var(--p);
  display: flex;
  align-items: center;
  gap: .25rem;
}
.section-view-all:hover { text-decoration: underline; }

/* ── Categories ───────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}
.cat-card {
  background: linear-gradient(135deg, var(--white) 0%, #f9fef6 100%);
  border-radius: var(--r2);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: .25s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.cat-card:hover {
  border-color: var(--p);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31,77,63,.12);
  background: linear-gradient(135deg, var(--p-light) 0%, #f0f5f3 100%);
}
.cat-card-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}
.cat-card-icon {
  width: 56px;
  height: 56px;
  background: var(--p-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--p);
}
.cat-card-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── Products Grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* Product Display Modes */
.products-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.products-grid.grid-1 { grid-template-columns: 1fr; }

.product-card.list-mode {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: stretch;
  border-radius: var(--r2);
}
.product-card.list-mode .product-card-img-wrap {
  padding-top: 100%;
  border-radius: var(--r2) 0 0 var(--r2);
}
.product-card.list-mode .product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}
.product-card.list-mode .add-to-cart-btn {
  border-radius: 0 var(--r2) var(--r2) 0;
  padding: 1rem;
  align-self: stretch;
}

.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 1.5rem;
}
.carousel-container::-webkit-scrollbar { display: none; }

.product-card {
  background: var(--white);
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 12px 32px rgba(31,77,63,.16);
  border-color: var(--p);
  transform: translateY(-6px);
}
.product-card-img-wrap {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f9f9f9;
}
.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  z-index: 1;
}
.product-badge--sale { background: var(--danger); color: #fff; }
.product-badge--new  { background: var(--success); color: #fff; }
.wishlist-btn-card {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow1);
  font-size: .9rem;
  color: var(--text3);
  border: none;
  transition: .15s;
  z-index: 1;
}
.wishlist-btn-card:hover, .wishlist-btn-card.wishlisted { color: #e53935; }
.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.product-card-brand { font-size: .7rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-card-name {
  font-size: .95rem;
  font-weight: 600;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
}
.stars { color: #f9a825; letter-spacing: -.5px; }
.rating-count { color: var(--text3); }
.product-card-price {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.price-now { font-size: 1.05rem; font-weight: 800; color: var(--p); }
.price-was { font-size: .78rem; color: var(--text3); text-decoration: line-through; }
.price-save { font-size: .72rem; color: var(--success); font-weight: 600; }
.add-to-cart-btn {
  width: 100%;
  padding: .7rem;
  background: var(--add-cart-btn);
  color: #fff;
  border: none;
  border-radius: 0 0 8px 8px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.add-to-cart-btn:hover { filter: brightness(0.9); opacity: 0.95; }

/* ── Deal Banner ──────────────────────────────────────────── */
.deal-banner {
  background: linear-gradient(135deg, #d4a574 0%, #c9915f 100%);
  border-radius: var(--r2);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  color: #fff;
  box-shadow: 0 8px 24px rgba(212,165,116,.25);
}
.deal-banner h3 { font-size: 1.5rem; font-weight: 800; }
.deal-banner p { opacity: .95; margin-top: .4rem; font-size: .95rem; }

/* ── Product Detail ───────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 2.5rem;
  background: var(--white);
  border-radius: var(--r2);
  padding: 2rem;
  box-shadow: var(--shadow1);
  border: 1px solid var(--border);
}
.gallery-main {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fafafa;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: .15s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--p); }
.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.product-meta { font-size: .82rem; color: var(--text3); margin-bottom: .75rem; }
.product-meta a { color: var(--p); }
.product-price-box { background: #fffbf0; border-radius: var(--r); padding: 1rem; margin: 1rem 0; }
.price-main { font-size: 2rem; font-weight: 800; color: var(--p); }
.price-main-original { font-size: .9rem; color: var(--text3); text-decoration: line-through; margin-left: .5rem; }
.price-discount-badge {
  background: var(--danger);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 4px;
  margin-left: .5rem;
}
.tab-btn {
  padding: .7rem 1.5rem;
  border: none;
  background: none;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text3);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: .15s;
}
.tab-btn--active, .tab-btn:hover { color: var(--p); border-bottom-color: var(--p); }
.product-description { line-height: 1.9; color: var(--text2); }
.product-description h2, .product-description h3 { margin: 1rem 0 .5rem; color: var(--text); }
.product-description ul { padding-left: 1.25rem; margin: .5rem 0; }
.product-description p { margin-bottom: .6rem; }

/* ── Shop Listing ─────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.shop-filters {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #f0f0f0;
  position: sticky;
  top: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.shop-filters h3 { font-size: .85rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid #f0f0f0; color: #1e293b; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group > label { font-size: .8rem; font-weight: 700; display: block; margin-bottom: .6rem; color: #1e293b; text-transform: uppercase; letter-spacing: .05em; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text3);
  padding: .75rem 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text3); transition: .15s; }
.breadcrumb a:hover { color: var(--p); }
.breadcrumb-sep { opacity: .5; }

/* ── Cart ─────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-items-wrap { background: var(--white); border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.cart-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
  transition: .2s;
}
.cart-item:hover { background: #fafafa; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; border: 1px solid var(--border); }
.cart-item-info { flex: 1; }
.cart-item-info a { font-size: .9rem; font-weight: 600; color: var(--text); display: block; margin-bottom: .25rem; }
.cart-item-price { font-size: .82rem; color: var(--text3); }
.cart-item-sub { font-weight: 800; font-size: 1.05rem; color: var(--danger); }
.cart-summary-box {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  padding: 1.5rem;
  position: sticky;
  top: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cart-summary-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid #f0f0f0; color: #1e293b; }
.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  cursor: pointer;
}
.qty-btn:hover { border-color: var(--p); color: var(--p); }
.coupon-form { display: flex; gap: .5rem; }

/* ── Cart Drawer ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 900;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow3);
  transition: right .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { right: 0; }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #2D2D2D;
  color: #fff;
}
.cart-drawer-head h3 { font-size: 1rem; font-weight: 700; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-drawer-foot { padding: 1.1rem 1.25rem; border-top: 1px solid var(--border); background: #fafafa; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text3); }
.cart-empty i { font-size: 4rem; opacity: .12; display: block; margin-bottom: 1rem; }

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 700; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 800;
  transition: left .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: var(--shadow3);
}
.mobile-drawer.open { left: 0; }
@media (max-width: 768px) {
  #mobileMenuBtn { display: flex !important; }
}
@media (min-width: 769px) {
  #mobileMenuBtn { display: none !important; }
}

/* ── Auth ─────────────────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card {
  background: var(--white);
  border-radius: var(--r2);
  padding: 2.25rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow2);
  border: 1px solid var(--border);
}
.auth-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; text-align: center; color: var(--text); }

/* ── Account ──────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.account-sidebar {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  position: sticky;
  top: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.account-sidebar-header { background: #2D2D2D; color: #fff; padding: 1.25rem; text-align: center; }
.account-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto .5rem; }
.account-nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid #f5f5f5;
  transition: .15s;
}
.account-nav-link:hover { background: var(--p-light); color: var(--p); }
.account-nav-link.active { background: var(--p-light); color: var(--p); font-weight: 700; border-left: 3px solid var(--p); }
.account-main { min-width: 0; }
.stat-card-sm { background: var(--white); border-radius: var(--r2); padding: 1.25rem; border: 1px solid var(--border); text-align: center; }
.stat-val { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-lbl { font-size: .78rem; color: var(--text3); margin-top: .2rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 600;
  border: none;
  transition: .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--p); color: #fff; box-shadow: 0 4px 12px rgba(31,77,63,.25); }
.btn--primary:hover { background: var(--p-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,77,63,.35); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--p-dark); }
.btn--outline { background: transparent; border: 2px solid var(--p); color: var(--p); }
.btn--outline:hover { background: var(--p); color: #fff; }
.btn--ghost { background: transparent; color: var(--text2); }
.btn--ghost:hover { background: var(--bg); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--success { background: var(--success); color: #fff; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1fba56; }
.btn--sm { padding: .4rem .95rem; font-size: .8rem; }
.btn--lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ────────────────────────────────────────────────── */
.form-control, .fg input, .fg select, .fg textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .875rem;
  color: var(--text);
  background: #fff;
  transition: .2s;
}
.form-control:focus, .fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.form-hint { font-size: .75rem; color: var(--text3); margin-top: .3rem; }
.form-control--sm { padding: .4rem .7rem; font-size: .82rem; }
.req { color: var(--danger); }

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; overflow: hidden; transition: .2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-body { padding: 1.5rem; }

/* ── Badges ───────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 4px; font-size: .72rem; font-weight: 700; }
.badge--success { background: #e8f5e9; color: #1b5e20; }
.badge--danger  { background: #ffebee; color: #b71c1c; }
.badge--warning { background: #fff8e1; color: #e65100; }
.badge--info    { background: #e3f2fd; color: #0d47a1; }
.badge--gray    { background: #f5f5f5; color: #616161; }
.badge--primary { background: var(--p-light); color: var(--p); }

/* ── Table ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table th { text-align: left; padding: .7rem 1rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text3); border-bottom: 2px solid var(--border); background: #fafafa; white-space: nowrap; }
.table td { padding: .75rem 1rem; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.table tr:hover td { background: #fafbfe; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .35rem; padding: 2rem 0; }
.page-btn { padding: .45rem .85rem; border-radius: var(--r); border: 1px solid var(--border); background: var(--white); font-size: .875rem; font-weight: 600; color: var(--text2); transition: .15s; cursor: pointer; }
.page-btn:hover { border-color: var(--p); color: var(--p); }
.page-btn--active { background: var(--p); color: #fff; border-color: var(--p); }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text3); }
.empty-state i { font-size: 3rem; opacity: .15; display: block; margin-bottom: 1rem; }
.empty-state h3, .empty-state h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert { padding: .85rem 1rem; border-radius: var(--r); margin-bottom: 1rem; font-size: .875rem; }
.alert--error   { background: #ffebee; color: #b71c1c; border-left: 4px solid var(--danger); }
.alert--success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid var(--success); }
.alert--warning { background: #fff8e1; color: #e65100; border-left: 4px solid var(--warning); }
.alert--info    { background: #e3f2fd; color: #0d47a1; border-left: 4px solid var(--p); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: linear-gradient(135deg, var(--p) 0%, #0d2f25 100%); color: rgba(255,255,255,.85); padding: 3.5rem 0 0; margin-top: 4rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-col {}
.footer-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.95); margin-bottom: 1rem; }
.footer-link { display: block; font-size: .85rem; color: rgba(255,255,255,.80); padding: .35rem 0; transition: .15s; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.80); }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); color: rgba(255,255,255,.90); display: flex; align-items: center; justify-content: center; transition: .2s; }
.footer-social a:hover { background: rgba(255,255,255,.30); color: #fff; }

/* ── Brands Strip ─────────────────────────────────────────── */
.brands-strip { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.brand-item { padding: .75rem 1.5rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--border); transition: .2s; display: flex; align-items: center; }
.brand-item:hover { border-color: var(--p); box-shadow: var(--shadow1); }
.brand-item img { height: 32px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: .2s; }
.brand-item:hover img { filter: none; opacity: 1; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.testimonial-card { background: var(--white); border-radius: var(--r2); padding: 1.25rem; border: 1px solid var(--border); }
.stars { color: #f9a825; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* ── #backToTop ───────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow2);
  z-index: 200;
}

/* ── Display Mode Buttons ─────────────────────────────────── */
.display-mode-btns { display: flex; gap: .4rem; }
.display-mode-btns .btn {
  padding: .4rem .75rem;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text2);
}
.display-mode-btns .btn:hover {
  border-color: var(--p);
  color: var(--p);
  box-shadow: none;
  background: var(--p-light);
}
.display-mode-btns .btn.active {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet Landscape & Small Laptop (1024px - 1399px) */
@media (max-width: 1399px) {
  .container { max-width: 100%; }
  .header-inner { padding: 0 1.25rem; }
}

/* Tablet & Small Desktop (768px - 1024px) */
@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
  .product-gallery { margin-bottom: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .shop-filters { position: static; margin-bottom: 1.5rem; }
  .account-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .account-sidebar { position: static; margin-bottom: 1.5rem; }
  .cart-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .cart-summary-box { position: static; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 320px; }
  .slide-content h1 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
  .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1rem; }
  .deal-banner { padding: 1.25rem 1.5rem; gap: 1rem; }
  .deal-banner h3 { font-size: 1.2rem; }
  .section-head { margin-bottom: 1rem; }
  .gallery-thumb { width: 60px; height: 60px; }
}

/* Tablet Portrait & Mobile Large (480px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  body { font-size: 13px; }
  .container { padding: 0 1rem; }
  .header-inner { height: 56px; padding: 0 1rem; gap: 1rem; }
  .header-logo img { height: 48px; max-width: 160px; }
  .header-logo-text { font-size: 1.1rem; }
  .header-search { display: none; max-width: none; }
  .header-search.open { display: block; position: absolute; top: 56px; left: 0; right: 0; padding: .5rem .75rem; background: var(--p); z-index: 600; max-width: 100%; }
  .header-search.open input { font-size: .85rem; padding: 0 .75rem; height: 38px; }
  .header-search.open .search-submit-btn { padding: 0 1rem; }
  .header-action-btn { padding: .35rem .55rem; }
  .header-action-btn i { font-size: 1.1rem; }
  .header-action-btn span { font-size: .6rem; }
  .hero-slider { height: 280px; }
  .slide-content { padding: 0 1rem; }
  .slide-content h1 { font-size: clamp(1.2rem, 2.8vw, 1.8rem); margin-bottom: .5rem; }
  .slide-content p { font-size: .85rem; margin-bottom: 1rem; }
  .slider-prev, .slider-next { width: 32px; height: 32px; font-size: .9rem; left: .75rem; right: .75rem; }
  .topbar { display: none; }
  .topbar-inner { padding: 0 1rem; }
  .home-section { padding: 1.5rem 0; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .cat-card { padding: .75rem .5rem; }
  .cat-card-icon, .cat-card-img { width: 48px; height: 48px; font-size: 1.2rem; }
  .cat-card-name { font-size: .75rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card-body { padding: .55rem; }
  .product-card-name { font-size: .8rem; line-height: 1.3; }
  .product-card-brand { font-size: .65rem; }
  .price-now { font-size: .95rem; }
  .product-detail { grid-template-columns: 1fr; padding: 1.25rem; gap: 1.5rem; }
  .product-gallery { margin-bottom: 1rem; }
  .gallery-main { aspect-ratio: 1; }
  .gallery-thumb { width: 56px; height: 56px; }
  .product-title { font-size: 1.15rem; }
  .product-price { margin: .75rem 0; }
  .deal-banner { padding: 1rem 1.25rem; gap: 1rem; }
  .deal-banner h3 { font-size: 1.1rem; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { margin-bottom: 1.5rem; }
  .cart-item { gap: .75rem; padding: .75rem 1rem; }
  .cart-item img { width: 70px; height: 70px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-box { margin-top: 1.5rem; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { margin-bottom: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .footer-title { font-size: .75rem; margin-bottom: .75rem; }
  .footer-link { font-size: .8rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; font-size: .75rem; }
  .brands-strip { gap: 1rem; }
  .brand-item { padding: .5rem 1rem; }
  .brand-item img { height: 28px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .deal-banner { flex-direction: column; text-align: left; }
  .btn { padding: .55rem 1.2rem; font-size: .8rem; min-height: 40px; }
  .btn--lg { padding: .65rem 1.5rem; }
  .btn--sm { padding: .3rem .75rem; font-size: .75rem; }
  .auth-card { padding: 1.75rem 1.25rem; width: 100%; max-width: 100%; }
  .auth-card h2 { font-size: 1.15rem; }
  .fg { margin-bottom: .85rem; }
  .form-control { padding: .55rem .75rem; font-size: .825rem; }
  .table { font-size: .8rem; }
  .table th { padding: .55rem .75rem; font-size: .7rem; }
  .table td { padding: .6rem .75rem; }
}

/* Mobile Small (<480px) */
@media (max-width: 480px) {
  body { font-size: 13px; }
  .container { padding: 0 .75rem; max-width: 100%; }
  .topbar { display: none; }
  .header-inner { height: 56px; padding: 0 .75rem; gap: .5rem; }
  .header-logo img { height: 44px; max-width: 140px; }
  .header-logo-text { font-size: 1rem; letter-spacing: -1px; }
  .header-search { display: none; }
  .header-search.open { display: block; position: absolute; top: 56px; left: 0; right: 0; padding: .4rem .6rem; background: var(--p); z-index: 600; max-width: 100%; }
  .header-search.open input { font-size: .8rem; padding: 0 .6rem; height: 36px; }
  .header-search.open .search-submit-btn { padding: 0 .75rem; font-size: 1rem; }
  .header-action-btn { padding: .3rem .4rem; gap: .1rem; }
  .header-action-btn i { font-size: 1rem; }
  .header-action-btn span { font-size: .55rem; line-height: 1; }
  .nav-link { padding: .35rem .65rem; font-size: .8rem; }
  .hero-slider { height: 220px; }
  .slide-content { padding: 0 .75rem; }
  .slide-content h1 { font-size: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: .35rem; }
  .slide-content p { display: none; }
  .slider-controls { bottom: .75rem; }
  .slider-dot { width: 6px; height: 6px; }
  .slider-dot.active { width: 18px; }
  .slider-prev, .slider-next { width: 30px; height: 30px; font-size: .8rem; left: .5rem; right: .5rem; }
  .home-section { padding: 1.25rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: .75rem; gap: .5rem; }
  .section-head-title::before { display: none; }
  .section-view-all { font-size: .75rem; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .cat-card { padding: .6rem .4rem; gap: .4rem; }
  .cat-card-icon, .cat-card-img { width: 42px; height: 42px; font-size: 1rem; }
  .cat-card-name { font-size: .7rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .product-card { border-radius: 8px; }
  .product-card-body { padding: .5rem; gap: .25rem; }
  .product-card-brand { font-size: .6rem; }
  .product-card-name { font-size: .75rem; line-height: 1.2; }
  .product-card-rating { font-size: .7rem; gap: .2rem; }
  .price-now { font-size: .85rem; }
  .add-to-cart-btn { padding: .45rem; font-size: .75rem; gap: .3rem; }
  .product-detail { grid-template-columns: 1fr; padding: 1rem .75rem; gap: 1rem; }
  .product-gallery { margin-bottom: .75rem; }
  .gallery-main { aspect-ratio: 1; }
  .gallery-thumbs { gap: .4rem; margin-top: .5rem; }
  .gallery-thumb { width: 50px; height: 50px; }
  .product-info { min-width: 0; }
  .product-title { font-size: 1rem; margin-bottom: .35rem; }
  .product-price { margin: .5rem 0; }
  .product-meta { font-size: .75rem; margin-bottom: .5rem; }
  .deal-banner { padding: .85rem 1rem; gap: .75rem; flex-direction: column; }
  .deal-banner h3 { font-size: 1rem; }
  .deal-banner p { margin: 0; font-size: .8rem; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { margin-bottom: 1.25rem; }
  .cart-item { gap: .6rem; padding: .65rem .85rem; }
  .cart-item img { width: 60px; height: 60px; }
  .cart-item-info a { font-size: .8rem; }
  .cart-item-price { font-size: .75rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-box { margin-top: 1.25rem; padding: 1rem; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { margin-bottom: 1.25rem; }
  .account-nav-link { padding: .65rem 1rem; font-size: .8rem; }
  .stat-card-sm { padding: 1rem; }
  .stat-val { font-size: 1.3rem; }
  .stat-lbl { font-size: .7rem; }
  .footer { padding: 2rem 0 0; margin-top: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 1.5rem; }
  .footer-title { font-size: .7rem; margin-bottom: .6rem; }
  .footer-link { font-size: .75rem; padding: .2rem 0; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; padding: 1rem 0; font-size: .7rem; }
  .footer-social { gap: .5rem; justify-content: center; }
  .footer-social a { width: 30px; height: 30px; font-size: .75rem; }
  .brands-strip { gap: .75rem; }
  .brand-item { padding: .4rem .85rem; }
  .brand-item img { height: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1rem; }
  .btn { padding: .5rem 1rem; font-size: .75rem; min-height: 36px; gap: .3rem; }
  .btn i { font-size: .9rem; }
  .btn--lg { padding: .6rem 1.25rem; }
  .btn--sm { padding: .3rem .7rem; font-size: .7rem; }
  .btn--full { width: 100%; }
  .btn--icon { width: 36px; height: 36px; padding: 0; }
  .auth-wrap { padding: 1.5rem .75rem; }
  .auth-card { padding: 1.5rem 1rem; max-width: 100%; }
  .auth-card h2 { font-size: 1rem; margin-bottom: 1.25rem; }
  .fg { margin-bottom: .75rem; }
  .fg label { font-size: .75rem; margin-bottom: .25rem; }
  .form-control { padding: .5rem .7rem; font-size: .8rem; }
  .form-control::placeholder { font-size: .8rem; }
  .table { font-size: .75rem; }
  .table th { padding: .45rem .6rem; font-size: .65rem; }
  .table td { padding: .5rem .6rem; }
  .table th, .table td { text-align: left; }
  .pagination { gap: .25rem; padding: 1.5rem 0; }
  .page-btn { padding: .35rem .65rem; font-size: .75rem; }
  .badge { padding: .15rem .4rem; font-size: .65rem; }
  .empty-state { padding: 2.5rem .75rem; }
  .empty-state i { font-size: 2.5rem; }
  .empty-state h3, .empty-state h4 { font-size: .95rem; }
  .card { border-radius: 8px; }
  .card-body { padding: 1rem; }
  #backToTop { width: 36px; height: 36px; bottom: 1rem; right: 1rem; font-size: 1rem; }
}

/* Extra Small Mobile (<360px) */
@media (max-width: 359px) {
  .container { padding: 0 .6rem; }
  .header-inner { padding: 0 .6rem; gap: .3rem; }
  .header-logo img { height: 40px; }
  .header-action-btn { padding: .25rem .3rem; }
  .header-action-btn span { display: none; }
  .products-grid { grid-template-columns: 1fr; gap: .4rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-item img { width: 50px; height: 50px; }
  .btn { padding: .45rem .85rem; font-size: .7rem; min-height: 32px; }
  .btn--icon { width: 32px; height: 32px; }
}
