/* ====================================================================
   SIOSTORE CUSTOMER CSS — Shop, Product, Cart, Account
   Design: Clean modern storefront — blue & white
   ==================================================================== */

:root {
    --brand:        #1a8fe3;
    --brand-dark:   #1278c7;
    --brand-mid:    #2fa8f5;
    --brand-light:  #e8f4fd;
    --navy:         #0a2540;
    --text-primary: #0f172a;
    --text-secondary:#4b5563;
    --text-muted:   #9ca3af;
    --border:       #e2e8f0;
    --bg:           #f8fafc;
    --white:        #ffffff;
    --success:      #10b981;
    --warning:      #f59e0b;
    --danger:       #ef4444;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow:       0 1px 3px rgba(0,0,0,.07);
    --shadow-md:    0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
    --font-body:    'DM Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --nav-h:        64px;
    --transition:   all .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text-primary); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: var(--white); border-bottom: 1px solid var(--border);
    height: var(--nav-h);
}
.nav-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 24px; height: 100%;
    display: flex; align-items: center; gap: 24px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700;
    font-size: 18px; color: var(--text-primary); flex-shrink: 0;
}
.nav-logo-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.nav-search {
    flex: 1; max-width: 520px; position: relative;
}
.nav-search input {
    width: 100%; padding: 10px 16px 10px 44px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 14px; color: var(--text-primary);
    background: var(--bg); outline: none; transition: var(--transition);
}
.nav-search input:focus { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(232,76,76,.1); }
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 15px; pointer-events: none; }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-btn {
    position: relative; display: flex; align-items: center;
    gap: 7px; padding: 8px 14px; border-radius: var(--radius);
    font-size: 13.5px; font-weight: 600; color: var(--text-secondary);
    transition: var(--transition);
}
.nav-btn:hover { background: var(--bg); color: var(--text-primary); }
.nav-btn.primary { background: var(--brand); color: #fff; }
.nav-btn.primary:hover { background: var(--brand-dark); }
.nav-badge {
    position: absolute; top: 2px; right: 2px;
    min-width: 18px; height: 18px; border-radius: 20px;
    background: var(--brand); color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 2px solid var(--white);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.nav-link:hover { color: var(--text-primary); background: var(--bg); }
.nav-link.active { color: var(--brand); }
.nav-mobile-toggle { display: none; width: 38px; height: 38px; border-radius: var(--radius); background: var(--bg); align-items: center; justify-content: center; font-size: 18px; }

/* ── Container ───────────────────────────────────────────────────── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ── Hero Banner ─────────────────────────────────────────────────── */
.hero-wrap { overflow: hidden; }
.hero-slide {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; margin: 20px 0;
    min-height: 360px; display: flex; align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.hero-content { padding: 48px 56px; max-width: 560px; position: relative; z-index: 2; }
.hero-tag { display: inline-block; background: rgba(232,76,76,.2); color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.hero-title { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; object-fit: cover; opacity: .4; }

/* ── Section Headers ─────────────────────────────────────────────── */
.section { padding: 40px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.section-link { font-size: 13.5px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 6px; }
.section-link:hover { text-decoration: underline; }

/* ── Category Pills ──────────────────────────────────────────────── */
.category-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 20px; background: var(--white); border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); cursor: pointer; flex-shrink: 0;
    transition: var(--transition); min-width: 90px;
}
.category-pill:hover, .category-pill.active { border-color: var(--brand); background: var(--brand-light); }
.category-pill img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.category-pill-icon { width: 44px; height: 44px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--brand); }
.category-pill span { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-align: center; white-space: nowrap; }

/* ── Product Grid ────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-grid-5 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.product-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); overflow: hidden;
    transition: var(--transition); cursor: pointer;
    position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.product-card-img {
    aspect-ratio: 1; overflow: hidden; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--brand); color: #fff;
    font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.product-card-badge.new    { background: var(--success); }
.product-card-badge.deal   { background: var(--warning); color: #92400e; }
.product-card-wishlist {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--text-muted); transition: var(--transition);
    opacity: 0;
}
.product-card:hover .product-card-wishlist { opacity: 1; }
.product-card-wishlist:hover, .product-card-wishlist.active { color: var(--brand); }
.product-card-body { padding: 14px; }
.product-card-brand { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.product-card-name { font-size: 13.5px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;   display: -webkit-box;
  -webkit-line-clamp: 2;  overflow: hidden; line-clamp: 2;}
.product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.product-card-rating .stars { display: flex; gap: 2px; }
.product-card-rating .stars i { font-size: 11px; color: var(--warning); }
.product-card-rating span { font-size: 11.5px; color: var(--text-muted); }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-price { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--brand); }
.product-card-price del { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.product-card-add {
    width: 34px; height: 34px; border-radius: var(--radius);
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; transition: var(--transition);
}
.product-card-add:hover { background: var(--brand-dark); transform: scale(1.08); }

/* ── Announcement Banner ─────────────────────────────────────────── */
.announcement-swiper { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.announcement-swiper::-webkit-scrollbar { display: none; }
.announcement-card {
    flex-shrink: 0; width: 280px; border-radius: var(--radius-lg);
    overflow: hidden; position: relative; aspect-ratio: 16/9;
}
.announcement-card img { width: 100%; height: 100%; object-fit: cover; }
.announcement-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%); }
.announcement-card-content { position: absolute; bottom: 14px; left: 14px; right: 14px; }
.announcement-card-title { color: #fff; font-weight: 700; font-size: 14px; }

/* ── Shop Layout ─────────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 0; }

/* Filter sidebar */
.filter-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); height: fit-content; }
.filter-panel { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.filter-panel-header { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.filter-panel-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.filter-clear { font-size: 12px; color: var(--brand); font-weight: 600; cursor: pointer; }
.filter-section { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; }
.filter-option input { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.filter-option label { font-size: 13.5px; color: var(--text-secondary); cursor: pointer; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-input { flex: 1; padding: 7px 10px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; outline: none; }
.price-input:focus { border-color: var(--brand); }

/* Shop main */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.shop-result-count { font-size: 14px; color: var(--text-muted); }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort select { padding: 8px 32px 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13.5px; outline: none; background: var(--white); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.shop-sort select:focus { border-color: var(--brand); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 34px; height: 34px; border-radius: var(--radius); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.view-btn.active { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

/* ── Product Detail ──────────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 32px 0; }
.product-gallery { position: sticky; top: calc(var(--nav-h) + 16px); height: fit-content; }
.product-main-img {
    aspect-ratio: 1; background: var(--white); border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); display: flex; align-items: center;
    justify-content: center; overflow: hidden; margin-bottom: 12px;
}
.product-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .3s ease; }
.product-main-img:hover img { transform: scale(1.08); }
.product-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-thumb-item {
    width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--radius);
    border: 2px solid var(--border); overflow: hidden; cursor: pointer;
    background: var(--white); transition: var(--transition);
}
.product-thumb-item:hover, .product-thumb-item.active { border-color: var(--brand); }
.product-thumb-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.product-info-brand { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.product-info-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.product-info-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-info-rating .stars i { color: var(--warning); font-size: 14px; }
.product-info-rating span { font-size: 13.5px; color: var(--text-muted); }
.product-info-price { margin-bottom: 20px; }
.product-price-main { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--brand); }
.product-price-original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; margin-left: 10px; }
.product-price-save { background: #fef9c3; color: #854d0e; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-left: 10px; }
.product-description { font-size: 14.5px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }

/* Variants */
.variant-section { margin-bottom: 20px; }
.variant-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.variant-label span { font-weight: 400; color: var(--text-muted); }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-btn {
    padding: 7px 14px; border-radius: var(--radius);
    border: 1.5px solid var(--border); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: var(--transition); background: var(--white);
}
.variant-btn:hover { border-color: var(--brand); color: var(--brand); }
.variant-btn.active { border-color: var(--brand); background: var(--brand-light); color: var(--brand); }
.variant-btn.out-of-stock { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.color-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.color-swatch.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand); }

/* Qty + Add to cart */
.qty-cart { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 38px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--text-secondary); transition: var(--transition); }
.qty-btn:hover { background: var(--bg); color: var(--text-primary); }
.qty-input { width: 52px; height: 46px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 15px; font-weight: 700; outline: none; }
.btn-add-cart {
    flex: 1; padding: 12px 24px; background: var(--brand); color: #fff;
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: var(--transition);
}
.btn-add-cart:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-wishlist-product {
    width: 48px; height: 48px; border-radius: var(--radius);
    border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-muted); transition: var(--transition);
}
.btn-wishlist-product:hover, .btn-wishlist-product.active { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

/* Product meta */
.product-meta { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.product-meta-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.product-meta-row i { width: 18px; color: var(--text-muted); }
.product-meta-row span { color: var(--text-muted); }
.product-meta-row strong { color: var(--text-primary); }

/* ── Cart ────────────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 32px 0; }
.cart-items { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border); align-items: start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 88px; height: 88px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cart-item-variant { font-size: 12.5px; color: var(--text-muted); margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.cart-qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-qty-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-secondary); transition: var(--transition); }
.cart-qty-btn:hover { background: var(--bg); }
.cart-qty-val { width: 36px; text-align: center; font-size: 13.5px; font-weight: 700; border-left: 1px solid var(--border); border-right: 1px solid var(--border); padding: 4px 0; }
.cart-remove { font-size: 13px; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.cart-remove:hover { color: var(--danger); }
.cart-item-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--brand); white-space: nowrap; }

/* Cart summary */
.cart-summary { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px); height: fit-content; }
.cart-summary-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.summary-row.total { border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 17px; font-weight: 700; }
.summary-row.total .amount { color: var(--brand); font-family: var(--font-display); font-size: 22px; }
.coupon-input { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13.5px; outline: none; }
.coupon-input input:focus { border-color: var(--brand); }
.btn-checkout {
    width: 100%; padding: 14px; background: var(--brand); color: #fff;
    border-radius: var(--radius); font-size: 15px; font-weight: 700;
    text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: var(--transition); margin-top: 16px;
}
.btn-checkout:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ── Checkout ────────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 32px 0; }
.checkout-step { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); margin-bottom: 16px; overflow: hidden; }
.checkout-step-header { padding: 18px 22px; display: flex; align-items: center; gap: 14px; cursor: pointer; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-num.done { background: var(--success); }
.checkout-step-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.checkout-step-body { padding: 0 22px 22px; }

/* Address card */
.address-card {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 14px 16px; cursor: pointer; transition: var(--transition); margin-bottom: 10px;
    display: flex; gap: 12px; align-items: flex-start;
}
.address-card:hover { border-color: var(--brand); }
.address-card.selected { border-color: var(--brand); background: var(--brand-light); }
.address-card input[type="radio"] { margin-top: 3px; accent-color: var(--brand); }
.address-card-body { flex: 1; }
.address-card-name  { font-weight: 700; font-size: 13.5px; margin-bottom: 3px; }
.address-card-text  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Payment methods */
.payment-method {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 14px 16px; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.payment-method:hover { border-color: var(--brand); }
.payment-method.selected { border-color: var(--brand); background: var(--brand-light); }
.payment-method i { font-size: 22px; color: var(--text-muted); width: 28px; text-align: center; }
.payment-method.selected i { color: var(--brand); }
.payment-method-label { font-weight: 600; font-size: 14px; }
.payment-method-sub   { font-size: 12.5px; color: var(--text-muted); }

/* ── Order success ───────────────────────────────────────────────── */
.order-success { text-align: center; padding: 80px 24px; }
.order-success-icon { width: 80px; height: 80px; border-radius: 50%; background: #ecfdf5; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.order-success-icon i { font-size: 36px; color: var(--success); }
.order-success h1 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.order-success p { font-size: 16px; color: var(--text-secondary); max-width: 440px; margin: 0 auto 28px; }

/* ── Account ─────────────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 32px 0; }
.account-sidebar { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 20px; position: sticky; top: calc(var(--nav-h)+16px); height: fit-content; }
.account-user { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.account-user img, .account-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; }
.account-avatar { background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.account-user-name  { font-weight: 700; font-size: 15px; }
.account-user-email { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.account-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius);
    font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition); width: 100%;
}
.account-nav-item:hover  { background: var(--bg); color: var(--text-primary); }
.account-nav-item.active { background: var(--brand-light); color: var(--brand); }
.account-nav-item i { width: 18px; text-align: center; }
.account-content { display: flex; flex-direction: column; gap: 20px; }

/* ── Reviews ─────────────────────────────────────────────────────── */
.review-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.reviewer-name  { font-weight: 700; font-size: 14px; }
.reviewer-date  { font-size: 12px; color: var(--text-muted); }
.review-stars i { font-size: 13px; color: var(--warning); }
.review-text    { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── Tabs ────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 2.5px solid transparent; transition: var(--transition); cursor: pointer; }
.tab-btn:hover  { color: var(--text-primary); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { display: none; } .tab-panel.active { display: block; }

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { font-size: 10px; }

/* ── Buttons (general) ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: 1.5px solid transparent; }
.btn-primary   { background: var(--brand);  color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--white);  color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── Form elements ───────────────────────────────────────────────── */
.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border-radius: var(--radius); border: 1.5px solid var(--border); font-size: 14px; outline: none; transition: var(--transition); background: var(--white); }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232,76,76,.1); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 56px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-logo .nav-logo-mark { background: var(--brand); }
.footer-brand-logo span { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-col-title { color: #fff; font-weight: 700; font-size: 13.5px; margin-bottom: 16px; }
.footer-link { display: block; font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 10px; transition: var(--transition); }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ── Flash / Alerts ──────────────────────────────────────────────── */
.flash { position: fixed; top: calc(var(--nav-h)+16px); right: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; animation: slideIn .3s ease; max-width: 360px; }
@keyframes slideIn { from { transform: translateX(100%); opacity:0; } to { transform: translateX(0); opacity:1; } }
.flash-success { background: #ecfdf5; color: #065f46; border-left: 4px solid var(--success); }
.flash-error   { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--danger);  }

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination-wrap { display: flex; justify-content: center; padding: 32px 0; }
.pagination { display: flex; gap: 6px; }
.pagination .page-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius); border: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: var(--transition); }
.pagination .page-item.active .page-link { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .page-link:hover { background: var(--bg); border-color: var(--brand); color: var(--brand); }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.badge-green  { background: #ecfdf5; color: #065f46; }
.badge-red    { background: #fef2f2; color: #991b1b; }
.badge-yellow { background: #fffbeb; color: #92400e; }
.badge-blue   { background: #eff6ff; color: #1e40af; }
.badge-gray   { background: #f1f5f9; color: #475569; }
.badge-purple { background: #f5f3ff; color: #5b21b6; }


/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* ── Sections ───────────────────────────────────────────────────── */
.home-section          { padding: 48px 0; }
.home-section--deals   { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head              { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 12px; }
.sec-title             { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-primary); }
.sec-sub               { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.sec-link              { font-size: 13.5px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0; margin-top: 4px; }
.sec-link:hover        { text-decoration: underline; }
.sec-fire              { color: var(--brand); margin-right: 8px; }

/* ── Hero Slider ────────────────────────────────────────────────── */
.hs-wrap  { overflow: hidden; background: var(--navy); }
.hs       { position: relative; min-height: 420px; }
.hs__slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
    opacity: 0; transform: scale(1.02);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
}
.hs__slide.active {
    opacity: 1; transform: scale(1);
    pointer-events: auto; position: relative; min-height: 420px;
}
.hs__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(10,37,64,.82) 0%, rgba(10,37,64,.55) 55%, rgba(10,37,64,.2) 100%);
}
.hs__content {
    position: relative; z-index: 2;
    max-width: 600px; padding: 72px 0;
}
.hs__tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(26,143,227,.25); border: 1px solid rgba(26,143,227,.5);
    color: #7dd3fc; font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hs__title {
    font-family: var(--font-display); font-size: 46px; font-weight: 700;
    color: #fff; line-height: 1.12; margin-bottom: 18px;
}
.hs__sub   { font-size: 17px; color: rgba(255,255,255,.68); line-height: 1.6; margin-bottom: 32px; max-width: 480px; }
.hs__btns  { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hs {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius);
    font-size: 15px; font-weight: 700; transition: var(--transition);
}
.btn-hs--primary { background: var(--brand); color: #fff; }
.btn-hs--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-hs--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-hs--ghost:hover  { background: rgba(255,255,255,.22); }
.hs__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.25);
    color: #fff; font-size: 14px; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s; backdrop-filter: blur(4px);
}
.hs__arrow:hover { background: rgba(255,255,255,.3); }
.hs__arrow--prev { left: 20px; }
.hs__arrow--next { right: 20px; }
.hs__dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.hs__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.35); border: none; cursor: pointer;
    transition: all .25s;
}
.hs__dot.active { background: #fff; width: 28px; border-radius: 4px; }

/* ── Promo Grid ─────────────────────────────────────────────────── */
.promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    grid-auto-rows: 200px;
}
.promo-card {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; display: flex; align-items: flex-end;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.promo-card--lg { grid-row: span 2; }
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo-card__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.promo-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,37,64,.8) 0%, rgba(10,37,64,.2) 50%, transparent 100%);
}
.promo-card__body { position: relative; z-index: 2; padding: 20px 22px; width: 100%; }
.promo-card__title {
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    color: #fff; line-height: 1.3; margin-bottom: 10px;
}
.promo-card--lg .promo-card__title { font-size: 24px; }
.promo-card__cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #fff;
    background: rgba(26,143,227,.7);
    padding: 5px 14px; border-radius: 20px; transition: background .2s;
}
.promo-card:hover .promo-card__cta { background: var(--brand); }

/* ── Category Grid ──────────────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}
.cat-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 12px 16px;
    text-align: center; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    transition: var(--transition);
}
.cat-card:hover { border-color: var(--brand); background: var(--brand-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card__img-wrap {
    width: 68px; height: 68px; border-radius: 18px;
    background: var(--brand-light);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    transition: background .18s;
}
.cat-card:hover .cat-card__img-wrap { background: rgba(26,143,227,.15); }
.cat-card__img  { width: 100%; height: 100%; object-fit: cover; }
.cat-card__icon { font-size: 28px; color: var(--brand); }
.cat-card__name { font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.cat-card__count { font-size: 11px; color: var(--text-muted); }

/* ── Brands Ticker ──────────────────────────────────────────────── */
.brands-outer {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    margin-top: 8px;
}
.brands-track {
    display: flex; gap: 14px; align-items: center;
    animation: brandsScroll 30s linear infinite;
    width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes brandsScroll { from { transform:translateX(0) } to { transform:translateX(-50%) } }
.brand-tile {
    flex-shrink: 0; background: var(--white);
    border: 1.5px solid var(--border); border-radius: var(--radius-lg);
    padding: 12px 24px; min-width: 120px; height: 66px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.brand-tile:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(26,143,227,.12); }
.brand-tile__img  { height: 34px; max-width: 90px; object-fit: contain; filter: grayscale(35%); transition: filter .2s; }
.brand-tile:hover .brand-tile__img { filter: grayscale(0); }
.brand-tile__name { font-size: 13px; font-weight: 700; color: var(--text-secondary); }

/* ── Vendor Grid ────────────────────────────────────────────────── */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}
.vendor-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; display: flex; flex-direction: column;
    transition: var(--transition);
}
.vendor-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vendor-card__cover {
    height: 64px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 100%);
}
.vendor-card__avatar-wrap {
    display: flex; justify-content: center;
    margin-top: -30px; position: relative; z-index: 2;
}
.vendor-card__avatar {
    width: 60px; height: 60px; border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.14);
}
.vendor-card__avatar--photo { object-fit: cover; }
.vendor-card__avatar--init {
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
}
.vendor-card__body { padding: 12px 16px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.vendor-card__name { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.vendor-card__meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 11.5px; color: var(--text-muted); }
.vendor-card__meta i { color: var(--brand); margin-right: 3px; font-size: 10px; }
.vendor-card__badge { display: inline-flex; align-items: center; gap: 5px; background: #dbeafe; color: #1e40af; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; margin-top: 6px; }

/* ── CTA Banner ─────────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 60%, var(--brand) 100%);
    border-radius: var(--radius-lg);
    padding: 52px 56px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-banner__eyebrow { display: block; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.cta-banner__title { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-banner__sub   { font-size: 15px; color: rgba(255,255,255,.6); max-width: 440px; line-height: 1.65; }
.cta-banner__btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--navy);
    font-size: 15px; font-weight: 700;
    padding: 16px 36px; border-radius: var(--radius);
    flex-shrink: 0; transition: var(--transition);
    white-space: nowrap;
}
.cta-banner__btn:hover { background: var(--brand-light); color: var(--brand); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* 1280px */
@media (max-width: 1280px) {
    .hs__title { font-size: 40px; }
    .container { padding: 0 20px; }
}

/* 1100px */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
    .promo-card--lg { grid-row: span 2; }
}

/* 1024px */
@media (max-width: 1024px) {
    .shop-layout     { grid-template-columns: 1fr; }
    .filter-sidebar  { display: none; }
    .product-detail  { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery { position: static; }
    .cart-layout     { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .account-layout  { grid-template-columns: 1fr; gap: 16px; }
    .account-sidebar { position: static; }
    .hs__title       { font-size: 36px; }
    .hs__content     { padding: 56px 0; }
    .cta-banner      { padding: 40px 40px; }
    .cta-banner__title { font-size: 26px; }
}

/* 768px — mobile */
@media (max-width: 768px) {
    :root { --nav-h: 56px; }

    /* Nav */
    .nav-search  { display: none; }
    .nav-links   { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-inner   { padding: 0 16px; gap: 10px; }
    .nav-btn span { display: none; }
    .nav-btn      { padding: 8px 10px; }
    .nav-btn.primary span { display: inline; }

    /* Container */
    .container { padding: 0 16px; }

    /* Sections */
    .home-section { padding: 32px 0; }
    .sec-title    { font-size: 19px; }
    .sec-head     { margin-bottom: 18px; }

    /* Hero */
    .hs       { min-height: auto; }
    .hs__slide.active { min-height: 280px; }
    .hs__content { padding: 40px 0 48px; max-width: 100%; }
    .hs__title { font-size: 26px; line-height: 1.2; }
    .hs__sub   { font-size: 14px; margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;   display: -webkit-box;
  overflow: hidden;  line-clamp: 2; }
    .hs__tag   { font-size: 11px; padding: 4px 12px; margin-bottom: 14px; }
    .hs__arrow { display: none; }
    .btn-hs    { padding: 12px 22px; font-size: 14px; }

    /* Promo */
    .promo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
    .promo-card--lg { grid-row: span 2; }
    .promo-card__title { font-size: 14px; }
    .promo-card--lg .promo-card__title { font-size: 18px; }
    .promo-card__body { padding: 14px 16px; }
    .promo-card__cta  { display: none; }

    /* Categories */
    .cat-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
    .cat-card { padding: 14px 8px 12px; gap: 8px; }
    .cat-card__img-wrap { width: 52px; height: 52px; border-radius: 12px; }
    .cat-card__name  { font-size: 11.5px; }
    .cat-card__count { display: none; }

    /* Brands */
    .brand-tile { min-width: 100px; height: 56px; padding: 10px 16px; }
    .brand-tile__img { height: 28px; }

    /* Vendors */
    .vendor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vendor-card__cover { height: 50px; }
    .vendor-card__avatar { width: 52px; height: 52px; }
    .vendor-card__avatar-wrap { margin-top: -26px; }
    .vendor-card__name { font-size: 13px; }

    /* Products */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* CTA */
    .cta-banner { padding: 32px 24px; flex-direction: column; text-align: center; gap: 20px; }
    .cta-banner__sub { margin: 0 auto; }
    .cta-banner__title { font-size: 22px; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; }

    /* Cart */
    .cart-item { grid-template-columns: 64px 1fr; gap: 12px; }
    .cart-item-price { grid-column: 1/-1; text-align: right; }

    /* Footer */
    .footer { padding: 40px 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* 480px */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    /* Hero */
    .hs__slide.active { min-height: 230px; }
    .hs__title { font-size: 21px; }
    .hs__sub   { -webkit-line-clamp: 2; font-size: 13px;   display: -webkit-box;
  -webkit-box-orient: vertical;  overflow: hidden;  line-clamp: 2; }
    .hs__btns  { gap: 10px; }

    /* Promo */
    .promo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .promo-card { min-height: 140px; }
    .promo-card--lg { grid-row: span 1; min-height: 180px; }

    /* Categories */
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .cat-card__img-wrap { width: 46px; height: 46px; border-radius: 10px; }
    .cat-card__name { font-size: 10.5px; }

    /* Products */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card-title { font-size: 12px; }

    /* Vendors */
    .vendor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Nav logo text */
    .nav-logo span { display: none; }

    /* Section header */
    .sec-link { font-size: 12px; }
    .sec-title { font-size: 17px; }

    /* CTA */
    .cta-banner { padding: 28px 18px; }
    .cta-banner__title { font-size: 19px; }
    .cta-banner__btn { padding: 14px 24px; font-size: 14px; }
}

/* 360px */
@media (max-width: 360px) {
    .vendor-grid  { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .cat-grid     { grid-template-columns: repeat(3, 1fr); }
    .hs__title    { font-size: 18px; }
    .container    { padding: 0 10px; }
}
