/* === EasyBuy Hub — Main Styles === */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --blue: #0ea5e9;
  --purple: #8b5cf6;
  --green: #10b981;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #fff;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
body { font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 16px; }

/* Topbar */
.topbar { background: #1e293b; color: #cbd5e1; font-size: 12px; padding: 6px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #94a3b8; font-size: 12px; }
.topbar a:hover { color: var(--orange); }

/* Header */
.header { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: 34px; object-fit: contain; display: block; margin-right: 8px; }
.logo-easy { color: var(--orange); }
.logo-buy { color: #1e293b; }
.logo-hub { color: var(--blue); font-size: 20px; font-weight: 600; }
.search-bar { flex: 1; display: flex; border: 2px solid var(--orange); border-radius: 8px; overflow: hidden; }
.search-bar input { flex: 1; border: none; padding: 10px 14px; font-size: 14px; outline: none; }
.search-bar button { background: var(--orange); color: #fff; border: none; padding: 10px 20px; font-size: 14px; cursor: pointer; font-weight: 600; transition: background .2s; }
.search-bar button:hover { background: var(--orange-dark); }
.header-actions { display: flex; gap: 6px; }
.action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: 8px; cursor: pointer; position: relative; font-size: 11px; color: var(--muted); transition: all .2s; white-space: nowrap; }
.action-btn:hover { background: #fff7ed; color: var(--orange); }
.action-btn i { font-size: 20px; }
.badge { position: absolute; top: 2px; right: 6px; background: var(--orange); color: #fff; border-radius: 50%; font-size: 10px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Nav */
.nav-bar { background: var(--orange); }
.nav-inner { display: flex; gap: 0; overflow-x: auto; }
.nav-inner a { color: #fff; font-size: 13px; font-weight: 500; padding: 10px 16px; white-space: nowrap; transition: background .2s; display: flex; align-items: center; gap: 5px; }
.nav-inner a:hover, .nav-inner a.active { background: rgba(0,0,0,0.15); }
.flash-link { background: #dc2626 !important; font-weight: 700 !important; }

/* Hero */
.hero-section { padding: 18px 0 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: stretch; }
.hero-main { position: relative; border-radius: 14px; overflow: hidden; min-height: 0; width: 100%; }
.hero-slides { width: 100%; max-width: 100%; }
.hero-slide { display: none; position: relative; overflow: hidden; padding: clamp(16px, 3vw, 32px); width: 100%; max-width: 100%; min-height: clamp(170px, 25vw, 320px); aspect-ratio: 24 / 8; align-items: center; justify-content: space-between; border-radius: 14px; isolation: isolate; }
.hero-slide.active { display: flex; }
.hero-slide.has-image { padding: 0; background: #f8fafc !important; }
.hero-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; z-index: 1; display: block; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.15) 55%, transparent 75%); z-index: 2; pointer-events: none; }
.hero-slide.has-image::before { background: linear-gradient(90deg, rgba(15,23,42,.16) 0%, rgba(15,23,42,.04) 42%, transparent 72%); }
.hero-text { position: relative; z-index: 3; flex: 1; max-width: min(520px, 70%); }
.hero-slide.has-image .hero-text { margin: clamp(10px, 2vw, 24px); max-width: min(420px, 45%); }
.hero-tag { background: rgba(255,255,255,0.25); display: inline-block; padding: 4px 12px; border-radius: 20px; color: #fff; font-size: 13px; margin-bottom: 8px; }
.hero-text h1 { font-size: clamp(22px, 3.1vw, 32px); color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.hero-text p { color: rgba(255,255,255,0.9); font-size: clamp(12px, 1.4vw, 15px); margin-bottom: 18px; }
.hero-slide > img:not(.hero-slide-bg) { position: relative; z-index: 3; width: min(220px, 32vw); max-width: 38%; border-radius: 10px; object-fit: contain; }
.btn-hero { background: #fff; color: var(--orange); font-weight: 700; padding: 10px 22px; border-radius: 8px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.btn-hero:hover { background: #1e293b; color: #fff; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all .2s; }
.dot.active { background: #fff; width: 22px; border-radius: 4px; }
.hero-banners { display: flex; flex-direction: column; gap: 10px; }
.mini-banner { border-radius: 12px; padding: 18px 14px; color: #fff; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.mini-banner span { font-size: 16px; font-weight: 700; }
.mini-banner small { font-size: 11px; opacity: 0.85; margin-top: 3px; }

/* Flash Sale */
.flash-sale-section { padding: 24px 0; background: #fff; border-bottom: 1px solid var(--border); }
.section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.section-header h2 { font-size: 20px; font-weight: 700; color: var(--text); }
.section-header.flash h2 { color: #dc2626; }
.see-all { margin-left: auto; color: var(--orange); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.countdown { display: flex; gap: 6px; }
.time-box { background: #1e293b; color: #fff; border-radius: 6px; padding: 4px 10px; text-align: center; min-width: 44px; }
.time-box span { font-size: 18px; font-weight: 700; display: block; }
.time-box small { font-size: 9px; opacity: .7; }
.products-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }

/* Categories */
.categories-section { padding: 24px 0; }
.category-scroll-shell { position: relative; }
.category-scroll-btn { display: none; }
.categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cat-card { background: var(--white); border-radius: 12px; border: 1px solid var(--border); padding: 18px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: all .2s; }
.cat-card:hover { box-shadow: 0 4px 16px rgba(249,115,22,0.15); border-color: var(--orange); transform: translateY(-2px); }
.cat-card i { font-size: 26px; }
.cat-card span { font-size: 12px; font-weight: 600; color: var(--text); text-align: center; }

/* Products */
.products-section { padding: 24px 0; }
.filter-sort { display: flex; gap: 10px; margin-left: auto; }
.filter-sort select { padding: 7px 14px; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; cursor: pointer; outline: none; }
.btn-outline { padding: 7px 14px; border: 1px solid var(--orange); border-radius: 7px; font-size: 13px; color: var(--orange); background: #fff; cursor: pointer; font-weight: 600; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* Product Card */
.product-card { background: var(--white); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: all .2s; position: relative; cursor: pointer; }
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.product-badge { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; }
.product-badge.new { background: var(--green); }
.wishlist-btn { position: absolute; top: 10px; right: 10px; background: #fff; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.12); z-index: 2; font-size: 14px; color: #94a3b8; transition: all .2s; }
.wishlist-btn:hover, .wishlist-btn.active { color: #dc2626; }
.product-img { width: 100%; height: 180px; object-fit: cover; display: block; background: #f1f5f9; }
.product-info { padding: 12px; }
.product-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-brand { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.price-current { font-size: 16px; font-weight: 800; color: var(--orange); }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.price-discount { font-size: 11px; color: #dc2626; font-weight: 700; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: #f59e0b; font-size: 12px; }
.rating-count { font-size: 11px; color: var(--muted); }
.btn-add-cart { width: 100%; padding: 8px; background: var(--orange); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-add-cart:hover { background: var(--orange-dark); }
.free-shipping { font-size: 10px; color: var(--green); font-weight: 600; margin-top: 4px; }

/* Load More */
.load-more-wrap { text-align: center; margin-top: 28px; }
.btn-load-more { padding: 12px 36px; border: 2px solid var(--orange); color: var(--orange); background: #fff; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-load-more:hover { background: var(--orange); color: #fff; }

/* Brands */
.brand-section { padding: 24px 0; background: #fff; border-top: 1px solid var(--border); overflow: hidden; }
.brands-row { display: flex; gap: 12px; flex-wrap: wrap; }
.brand-pill { background: #f1f5f9; border: 1px solid var(--border); border-radius: 30px; padding: 8px 22px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s; }
.brand-pill:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Scrolling brand logos (right to left, infinite loop) */
.brand-logos-track-wrap { overflow: hidden; width: 100%; }
.brand-logos-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: brandLogosScroll 7s linear infinite; }
.brand-logos-track-wrap:hover .brand-logos-track { animation-play-state: paused; }
.brand-logo-item { flex: 0 0 auto; height: 56px; display: flex; align-items: center; justify-content: center; }
.brand-logo-item img { height: 100%; max-width: 140px; object-fit: contain; filter: grayscale(15%); opacity: .85; transition: opacity .2s, filter .2s; }
.brand-logo-item img:hover { opacity: 1; filter: grayscale(0%); }
@keyframes brandLogosScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Footer */
.footer { background: #1e293b; color: #94a3b8; padding: 40px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 30px; padding-bottom: 30px; }
.footer-col h3 { font-size: 22px; margin-bottom: 12px; }
.footer-col h4 { color: #e2e8f0; font-size: 14px; margin-bottom: 14px; }
.footer-col p { font-size: 13px; line-height: 1.7; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: #94a3b8; transition: color .2s; }
.footer-col ul a:hover { color: var(--orange); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 16px; transition: all .2s; }
.social-links a:hover { background: var(--orange); color: #fff; }
.payment-methods { display: flex; flex-direction: column; gap: 6px; }
.payment-methods span { background: rgba(255,255,255,0.06); padding: 5px 10px; border-radius: 5px; font-size: 12px; color: #cbd5e1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 16px; font-size: 12px; color: #64748b; }
.footer-bottom a { color: var(--orange); font-weight: 600; }

/* Toast */
.toast { position: fixed; bottom: 30px; right: 30px; background: #1e293b; color: #fff; padding: 13px 22px; border-radius: 10px; font-size: 14px; z-index: 9999; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; max-width: 300px; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* Responsive */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-inner > span:last-child { display: none; }
  .topbar-inner > span:first-child { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-banners { flex-direction: row; }
  .mini-banner { flex: 1; }
  .hero-slide { aspect-ratio: 16 / 7; min-height: clamp(160px, 42vw, 260px); }
  .hero-slide.has-image .hero-text { max-width: 55%; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .header-inner { flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .search-bar { order: 3; flex: 100%; }
  .hero-text h1 { font-size: 22px; }
  .logo { font-size: 19px; }
  .logo img { height: 26px; width: 26px; margin-right: 5px; }
  .logo-hub { font-size: 15px; }
  .header-actions { gap: 4px; margin-left: auto; }
  .action-btn { padding: 6px 9px; font-size: 10px; }
  .action-btn i { font-size: 19px; }
}
@media (max-width: 520px) {
  .hero-slide { aspect-ratio: 16 / 9; min-height: 0; border-radius: 10px; }
  .hero-slide.has-image .hero-text { max-width: 100%; margin: 8px; align-self: flex-end; }
  .hero-slide.has-image .hero-tag, .hero-slide.has-image h1, .hero-slide.has-image p { display: none; }
  .hero-slide.has-image .btn-hero { padding: 7px 12px; font-size: 11px; border-radius: 7px; }
  .slider-dots { bottom: 7px; }
  .dot { width: 6px; height: 6px; }
  .dot.active { width: 16px; }
  .hero-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
  .mini-banner { min-height: 54px; padding: 8px 6px; border-radius: 9px; align-items: flex-start; }
  .mini-banner span { font-size: 10.5px; line-height: 1.08; }
  .mini-banner small { font-size: 7.6px; line-height: 1.15; margin-top: 2px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .header-actions .action-btn span:not(.badge) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Marketplace fixes — product-grid ads, verified seller, Daraz-style mobile cards */
.inline-ad-card { grid-column: 1 / -1; padding: 2px 0; }
.inline-ad-card .ad-banner-inner { min-height: 118px; }
.verified-seller-tag { display: inline-flex; align-items: center; gap: 4px; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 800; margin: 0 0 6px; width: max-content; }
.verified-seller-tag i { font-size: 10px; }
.product-brand-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.product-brand-row .product-brand { margin-bottom: 0; }
@media (max-width: 600px) {
  .products-grid, .products-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .product-card { border-radius: 10px; }
  .product-img { height: 136px; }
  .product-info { padding: 9px; }
  .product-name { font-size: 12px; line-height: 1.35; min-height: 32px; }
  .price-current { font-size: 14px; }
  .price-old, .rating-count { font-size: 10px; }
  .btn-add-cart { padding: 7px 5px; font-size: 11px; }
  .wishlist-btn { width: 28px; height: 28px; font-size: 12px; top: 7px; right: 7px; }
  .product-badge { top: 7px; left: 7px; font-size: 9px; padding: 2px 6px; }
  .inline-ad-card .ad-banner-inner { min-height: 78px; aspect-ratio: 16/6; }
}


/* SEO/mobile polish update */
@media (max-width: 380px) {
  .hero-banners { gap: 5px; }
  .mini-banner { min-height: 50px; padding: 7px 5px; }
  .mini-banner span { font-size: 9.5px; }
  .mini-banner small { font-size: 7px; }
}
.cat-card i.fa-bag-shopping, .cat-card i.fa-suitcase-rolling { font-size: 27px; }


/* === MOBILE CUSTOMER ACCOUNT/CART RESPONSIVE UPDATE 2026-07-16 === */
html, body { max-width: 100%; }
img, svg, video, canvas { max-width: 100%; }

@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .container { width: 100%; padding-left: 10px; padding-right: 10px; }
  .header { padding: 10px 0; }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 9px 8px;
  }
  .logo { min-width: 0; font-size: 18px; grid-column: 1; grid-row: 1; }
  .logo img { width: 25px; height: 25px; }
  .logo-hub { font-size: 14px; }
  .header-actions { margin-left: 0; justify-self: end; gap: 2px; grid-column: 2; grid-row: 1; }
  .action-btn {
    width: 42px;
    min-width: 42px;
    height: 40px;
    padding: 5px;
    justify-content: center;
    border: 1px solid transparent;
  }
  .action-btn:hover, .action-btn:focus-visible { border-color: #fed7aa; }
  .action-btn i { font-size: 18px; }
  .action-btn .badge { top: -2px; right: -1px; }
  .search-bar { grid-column: 1 / -1; grid-row: 2; order: initial; min-width: 0; }
  .search-bar input { min-width: 0; padding: 9px 10px; font-size: 16px; }
  .search-bar button { padding: 9px 13px; }
  .topbar { padding: 5px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-inner > span:first-child { text-align: center; }
  .toast { left: 10px; right: 10px; bottom: 14px; max-width: none; text-align: center; }
}

@media (max-width: 370px) {
  .logo { font-size: 16px; }
  .logo-hub { font-size: 12px; }
  .logo img { width: 22px; height: 22px; margin-right: 4px; }
  .action-btn { width: 38px; min-width: 38px; }
  .search-bar button { padding-left: 11px; padding-right: 11px; font-size: 0; }
  .search-bar button i { font-size: 14px; }
}


/* Footer app downloads */
.footer-app-downloads { border-top:1px solid rgba(255,255,255,.08); padding:22px 0; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.footer-app-copy { display:flex; align-items:center; gap:14px; min-width:260px; }
.footer-app-copy h4 { color:#f8fafc; font-size:15px; margin:0 0 4px; }
.footer-app-copy p { margin:0; color:#94a3b8; font-size:12px; line-height:1.5; }
.footer-app-icon { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; flex:0 0 42px; background:rgba(249,115,22,.16); color:#fb923c; font-size:19px; }
.footer-app-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.footer-download-btn { min-width:210px; display:flex; align-items:center; gap:11px; padding:11px 14px; border-radius:11px; color:#fff!important; text-decoration:none; transition:transform .2s,box-shadow .2s,filter .2s; box-shadow:0 8px 20px rgba(15,23,42,.24); }
.footer-download-btn.customer-app { background:linear-gradient(135deg,#f97316,#ea580c); }
.footer-download-btn.seller-app { background:linear-gradient(135deg,#2563eb,#1d4ed8); }
.footer-download-btn:hover { transform:translateY(-2px); filter:brightness(1.04); }
.footer-download-btn > i { font-size:22px; width:26px; text-align:center; }
.footer-download-btn span { display:flex; flex-direction:column; line-height:1.2; }
.footer-download-btn strong { font-size:13px; }
.footer-download-btn small { color:rgba(255,255,255,.8); font-size:10px; margin-top:4px; }
.footer-download-btn small b { color:#fff; }
@media (max-width:900px){.footer-app-downloads{align-items:flex-start;flex-direction:column}.footer-app-actions{width:100%;justify-content:flex-start}}
@media (max-width:520px){.footer-app-downloads{padding-left:16px;padding-right:16px}.footer-app-actions{flex-direction:column}.footer-download-btn{width:100%;min-width:0}.footer-app-copy{min-width:0}}

/* === MOBILE STOREFRONT REFINEMENTS 2026-07-17 === */
@media (max-width: 600px) {
  /* Two-row horizontal category scroller; desktop grid remains unchanged. */
  .categories-section { padding: 18px 0 12px; }
  .categories-section .section-header { margin-bottom: 10px; }
  .categories-section .section-header h2 { font-size: 16px; }
  .category-scroll-shell { padding: 0 27px; }
  .category-scroll-btn {
    display: flex;
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 24px;
    height: 56px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border: 1px solid #fed7aa;
    border-radius: 9px;
    background: rgba(255,255,255,.96);
    color: var(--orange);
    box-shadow: 0 3px 12px rgba(15,23,42,.14);
    cursor: pointer;
    touch-action: manipulation;
  }
  .category-scroll-btn:disabled { opacity: .35; cursor: default; }
  .category-scroll-left { left: 0; }
  .category-scroll-right { right: 0; }
  .categories-grid {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: repeat(2, 68px);
    grid-auto-flow: column;
    grid-auto-columns: 64px;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .cat-card {
    min-width: 0;
    height: 68px;
    padding: 7px 4px;
    gap: 5px;
    border-radius: 9px;
    scroll-snap-align: start;
  }
  .cat-card i,
  .cat-card i.fa-bag-shopping,
  .cat-card i.fa-suitcase-rolling { font-size: 18px; }
  .cat-card span {
    font-size: 9px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

