:root {
    --primary: #f05a28;
    --primary-dark: #d94d22;
    --secondary: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}
.brand-tagline {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    background: #f9fafb;
    border-radius: 999px;
    overflow: hidden;
}
.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 0.85rem 1rem;
    color: var(--secondary);
}
.search-box button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 0.9rem 1.1rem;
}
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--secondary);
    font-size: 1.1rem;
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    display: grid;
    place-items: center;
    padding: 0 5px;
}
.main-nav {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(240, 90, 40, 0.08);
    color: var(--primary);
    font-weight: 700;
}
.nav-link {
    color: var(--secondary);
    font-weight: 600;
    padding: 0.9rem 0.5rem;
}
.nav-link.active, .nav-link:hover { color: var(--primary); }

.hero-section {
    background: linear-gradient(135deg, #fff7f3 0%, #fff 45%, #fff5f0 100%);
    padding: 4.5rem 0;
}
.eyebrow {
    color: var(--primary);
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.hero-section h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1rem;
}
.hero-subtext {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.hero-image-card {
    background: #fff;
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 22px 60px rgba(31, 41, 55, 0.09);
}
.hero-image-card img {
    border-radius: 24px;
    width: 100%;
    height: 430px;
    object-fit: cover;
}
.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
    border: 1px solid transparent;
}
.primary-button {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 25px rgba(240, 90, 40, 0.2);
}
.primary-button:hover { background: var(--primary-dark); color: #fff; }
.secondary-button {
    background: #fff;
    color: var(--secondary);
    border-color: var(--line);
}
.white-btn { background: #fff; color: var(--secondary); }

.features-section .feature-card,
.benefit-item,
.mini-category-card,
.admin-panel-card,
.stat-card,
.auth-card,
.summary-box,
.filter-sidebar,
.account-sidebar,
.product-card,
.cart-item-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.03);
}
.feature-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1rem;
    min-height: 90px;
}
.feature-card i,
.benefit-item i,
.mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 90, 40, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
}

.category-card {
    background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem 1.25rem;
    text-align: center;
    display: block;
    color: var(--secondary);
}
.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(240, 90, 40, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
}

.product-card {
    overflow: hidden;
}
.product-image-wrap {
    position: relative;
    background: #f3f4f6;
    height: 250px;
    overflow: hidden;
}
.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discount-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
}
.wishlist-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: var(--secondary);
}
.product-body { padding: 1rem; }
.product-body h5 { font-size: 1.02rem; margin-bottom: 0.7rem; }
.price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.current-price {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}
.old-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.86rem;
}
.add-to-cart-btn, .view-btn {
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 700;
}
.view-btn { background: #fff; color: var(--secondary); border: 1px solid var(--line); }

.promo-banner {
    padding: 2rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
}

.benefits-section .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
}
.benefit-item small { display: block; color: var(--muted); }

.site-footer {
    background: #f9fafb;
    border-top: 1px solid var(--line);
}
.footer-links a,
.footer-links span { color: var(--muted); }

.auth-card {
    padding: 1.5rem;
}
.auth-card h3, .auth-card h4 { font-weight: 800; }
.form-control {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.form-control:focus { border-color: rgba(240, 90, 40, 0.5); box-shadow: 0 0 0 0.2rem rgba(240, 90, 40, 0.08); }

.summary-box { padding: 1.3rem; }
.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    color: var(--muted);
}
.summary-line.total { font-size: 1.1rem; font-weight: 800; color: var(--secondary); }

.empty-state {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}
.cart-item-row img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}
.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.quantity-box button {
    width: 34px;
    height: 34px;
    border: none;
    background: #f3f4f6;
    color: var(--secondary);
}
.quantity-box span {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
}

.filter-sidebar { padding: 1.2rem; }
.filter-sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.filter-sidebar a { color: var(--secondary); }

.account-sidebar { padding: 1.2rem; }
.account-sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.account-sidebar a { color: var(--secondary); }
.account-sidebar a.active { color: var(--primary); font-weight: 700; }

.admin-body {
    background: #eef3fb;
}
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 1.2rem 1rem;
}
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 1.2rem 1rem;
    background: linear-gradient(180deg, #071d3b 0%, #0b2b55 100%);
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-name { color: #fff; font-size: 1rem; }
.sidebar-nav { display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.sidebar-nav a,
.logout-btn {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    transition: 0.2s ease;
    text-decoration: none;
    border: none;
    background: transparent;
}
.sidebar-nav a.active, .sidebar-nav a:hover, .logout-btn:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-main { flex: 1; }
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.admin-body .admin-table thead th { color: #56708e; }
.admin-body .status-pending { background: #fff4d8; color: #a66a00; }
.admin-body .status-processing { background: #e4f0ff; color: #1764bf; }
.admin-body .status-confirmed, .admin-body .status-delivered { background: #e0f4eb; color: #19744e; }
.admin-body .status-shipped, .admin-body .status-out_for_delivery { background: #e4efff; color: #1c64b1; }
.admin-body .status-cancelled, .admin-body .status-returned { background: #fde9e7; color: #b53e39; }
#agent-map { background: #e5f0fc; border: 1px solid #cddff2; }
#agent-map .leaflet-tile { filter: saturate(.58) hue-rotate(105deg) contrast(1.02); }
.header-toggle, .icon-button {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f3f4f6;
    color: var(--secondary);
}
.header-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    min-width: 260px;
}
.header-search input { border: none; background: transparent; width: 100%; outline: none; }
.admin-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff9a76);
    color: #fff;
    font-weight: 700;
}
.admin-content { padding: 1.5rem; }
.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fff7f3, #fff);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.4rem;
}
.date-pill {
    background: rgba(240, 90, 40, 0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 700;
}
.stats-grid { margin-top: 1.5rem; }
.stat-card { padding: 1rem 1.1rem; }
.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}
.stat-card strong {
    font-size: 1.5rem;
    font-weight: 800;
}
.chart-placeholder {
    background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
    padding: 1rem;
    border-radius: 18px;
    min-height: 260px;
}
.chart-bars {
    height: 200px;
    display: flex;
    align-items: end;
    gap: 0.55rem;
}
.chart-bars span {
    display: block;
    flex: 1;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #ffb399 0%, var(--primary) 100%);
}
.map-box {
    position: relative;
    height: 220px;
    border-radius: 18px;
    background: radial-gradient(circle at center, rgba(240, 90, 40, 0.08), rgba(15, 23, 42, 0.02));
    overflow: hidden;
}
.map-point {
    position: absolute;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
}
.p1 { top: 20%; left: 30%; }
.p2 { top: 25%; right: 22%; }
.p3 { left: 48%; bottom: 18%; }
.p4 { bottom: 18%; left: 20%; }
.admin-table thead th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
.status-pending { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.status-processing { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.status-completed { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.status-delivered { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.status-shipped { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.status-cancelled { background: rgba(239, 68, 68, 0.12); color: var(--danger); }

.dashboard-reference { --dashboard-navy: #0b192c; --dashboard-gold: #d4a900; }
.dashboard-banner,
.dashboard-stat-card,
.dashboard-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.dashboard-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--dashboard-gold);
}
.dashboard-banner h3 { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 800; }
.dashboard-banner p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.dashboard-online { color: #15803d; font-size: 0.8rem; font-weight: 700; }
.dashboard-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    height: 100%;
    min-height: 106px;
    padding: 1rem;
    border-top: 3px solid var(--dashboard-navy);
}
.dashboard-stat-card span { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.dashboard-stat-card strong { display: block; margin-top: 0.35rem; font-size: 1.2rem; font-weight: 800; overflow-wrap: anywhere; }
.dashboard-stat-card .stat-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 9px; font-size: 1rem; }
.dashboard-panel { height: 100%; padding: 1.25rem; }
.dashboard-panel h5 { margin-bottom: 1rem; color: var(--dashboard-navy); font-size: 1rem; font-weight: 800; }
.dashboard-panel h5 i { color: var(--dashboard-gold); }
.division-tile { height: 100%; padding: 0.85rem 0.5rem; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.division-tile span { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.division-tile strong { display: block; margin-top: 0.25rem; color: var(--dashboard-navy); font-size: 1.1rem; }
.division-tile small { color: var(--muted); font-size: 0.7rem; font-weight: 500; }
.agent-rank-list { display: grid; }
.agent-rank-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.agent-rank-item:last-child { border-bottom: 0; }
.agent-rank-item strong, .agent-rank-item small { display: block; }
.agent-rank-item strong { font-size: 0.85rem; }
.agent-rank-item small { margin-top: 0.2rem; color: var(--muted); font-size: 0.72rem; }
.agent-rank-item > span { flex: 0 0 auto; color: var(--dashboard-navy); font-size: 0.78rem; font-weight: 700; }
.dashboard-panel .admin-table { font-size: 0.82rem; }
.dashboard-panel .admin-table th { white-space: nowrap; }

@media (max-width: 575.98px) {
    .dashboard-banner { align-items: flex-start; gap: 1rem; padding: 1rem; }
    .dashboard-banner h3 { font-size: 1.05rem; }
    .dashboard-online { white-space: nowrap; }
    .dashboard-stat-card { min-height: 96px; padding: 0.75rem; }
    .dashboard-stat-card strong { font-size: 1.05rem; }
    .dashboard-stat-card .stat-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 0.85rem; }
}

@media (max-width: 991.98px) {
    .admin-layout { display: block; }
    .admin-sidebar { width: 100%; }
    .dashboard-welcome { display: block; }
    .header-search { min-width: 150px; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 2.5rem 0; }
    .site-header .container { flex-wrap: wrap; }
    .main-nav .container { overflow-x: auto; white-space: nowrap; }
    .search-box { width: 100%; }
    .cart-item-row { display: block; }
}

.admin-login-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px;
    background: #edf2f8;
    color: #172d49;
    font-family: 'Manrope', sans-serif;
}
.admin-auth-shell { display: grid; grid-template-columns: 1fr .92fr; width: min(100%, 1080px); min-height: 650px; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(16,36,63,.13); }
.admin-auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 38px 42px; overflow: hidden; color: #fff; background: #10243f url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1400&q=85') center/cover no-repeat; }
.admin-auth-brand::before { position: absolute; inset: 0; content: ''; background: linear-gradient(150deg,rgba(13,34,59,.96),rgba(17,54,91,.86) 56%,rgba(22,70,112,.68)); }
.admin-auth-lockup, .admin-auth-message, .admin-auth-footer { position: relative; z-index: 1; }
.admin-auth-lockup { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: #fff; text-decoration: none; }
.admin-auth-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; background: #f0c85b; color: #10243f; font-size: 1.4rem; font-weight: 800; }
.admin-auth-lockup strong, .admin-auth-lockup small { display: block; }
.admin-auth-lockup strong { font-size: .9rem; letter-spacing: .03em; }
.admin-auth-lockup small { margin-top: 3px; color: #bdcada; font-size: .6rem; font-weight: 700; letter-spacing: .14em; }
.admin-auth-message { max-width: 390px; margin: auto 0; padding: 60px 0; }
.admin-auth-eyebrow { color: #b5c9de; font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.admin-auth-message h1 { margin: 18px 0; color: #fff; font-size: clamp(2.5rem,4.6vw,4rem); font-weight: 800; line-height: 1.08; }
.admin-auth-message p { max-width: 330px; margin: 0; color: #d1dce8; font-size: .96rem; line-height: 1.8; }
.admin-auth-footer { display: flex; justify-content: space-between; gap: 16px; color: #c0cddd; font-size: .68rem; }
.admin-auth-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 54px clamp(30px,5vw,66px) 28px; }
.admin-auth-form-wrap { width: 100%; max-width: 390px; margin: auto; }
.admin-auth-content .admin-auth-eyebrow { color: #1c5792; }
.admin-auth-content h2 { margin: 12px 0 7px; color: #172d49; font-size: 1.8rem; font-weight: 800; }
.admin-auth-intro { margin: 0 0 28px; color: #6b7b8e; font-size: .9rem; }
.admin-auth-field { margin-bottom: 19px; }
.admin-auth-field label { display: block; margin-bottom: 8px; color: #263c56; font-size: .78rem; font-weight: 700; }
.admin-auth-input-wrap { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 0 13px; border: 1px solid #d8e1eb; border-radius: 7px; background: #fbfcfe; transition: border-color .16s ease,box-shadow .16s ease; }
.admin-auth-input-wrap:focus-within { border-color: #3978b3; box-shadow: 0 0 0 3px rgba(28,87,146,.11); }
.admin-auth-input-wrap > i { flex: 0 0 auto; color: #7c8da1; font-size: .88rem; }
.admin-auth-input-wrap input { width: 100%; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: #172d49; font: inherit; font-size: .84rem; }
.admin-auth-input-wrap input::placeholder { color: #9aa8b7; }
.admin-password-toggle { display: grid; flex: 0 0 30px; width: 30px; height: 34px; place-items: center; border: 0; background: transparent; color: #718196; }
.admin-remember { display: flex; align-items: center; gap: 9px; margin: 3px 0 21px; color: #62748a; font-size: .76rem; cursor: pointer; }
.admin-remember input { width: 15px; height: 15px; margin: 0; accent-color: #1c5792; }
.admin-signin-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0 17px; border: 0; border-radius: 7px; background: #1c5792; color: #fff; font: inherit; font-size: .85rem; font-weight: 800; transition: background .16s ease,transform .16s ease; }
.admin-signin-button:hover { transform: translateY(-1px); background: #123e70; }
.admin-auth-error { display: flex; gap: 10px; margin: 0 0 18px; padding: 12px 13px; border: 1px solid #f0d2cf; border-radius: 7px; background: #fff7f6; color: #9e3f3a; font-size: .78rem; }
.admin-back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #52677f; font-size: .76rem; font-weight: 700; text-decoration: none; }
.admin-back-link:hover { color: #1c5792; }
.admin-auth-secure { display: flex; justify-content: center; align-items: center; gap: 8px; padding-top: 20px; border-top: 1px solid #e7edf3; color: #8291a3; font-size: .68rem; }
.admin-auth-secure i { color: #2b806e; }
.admin-login-body .alert-success { font-size: .8rem; }
@media (max-width:760px) {
    .admin-login-body { display: block; padding: 14px; }
    .admin-auth-shell { grid-template-columns: 1fr; width: min(100%,520px); min-height: 0; margin: 0 auto; }
    .admin-auth-brand { min-height: 205px; padding: 22px 24px; }
    .admin-auth-message { margin: 26px 0 0; padding: 0; }
    .admin-auth-message h1 { margin: 8px 0 4px; font-size: 1.55rem; }
    .admin-auth-message p { max-width: 100%; font-size: .78rem; }
    .admin-auth-footer { margin-top: 20px; font-size: .62rem; }
    .admin-auth-content { min-height: 390px; padding: 30px 24px 20px; }
    .admin-auth-form-wrap { margin: 0 auto; }
    .admin-auth-intro { margin-bottom: 21px; }
}
@media (max-width:380px) { .admin-auth-brand { min-height: 185px; } .admin-auth-content { padding-right: 18px; padding-left: 18px; } .admin-auth-footer { flex-wrap: wrap; } }

.storefront-body {
    overflow-x: hidden;
    background: #f8fafc;
    color: #102d57;
    font-family: Inter, Arial, sans-serif;
}
.storefront-body .container { width: calc(100% - 36px); }
.storefront-body .brand-name { color: #0b376b; font-size: 1.25rem; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.storefront-body .brand-tagline { color: #43658c; font-size: .68rem; text-transform: none; letter-spacing: 0; }
.storefront-topbar { min-height: 25px; background: #07396b; color: #fff; }
.storefront-topbar .container { min-height: 25px; }
.storefront-topbar a { color: #fff !important; }
.storefront-header { background: #fff; }
.storefront-header-main { min-height: 61px; padding-top: 6px; padding-bottom: 6px; }
.storefront-logo { width: 50px; height: 50px; object-fit: contain; flex: 0 0 50px; }
.storefront-search-form { max-width: 460px; margin: 0 auto; }
.storefront-search-form .search-box { height: 38px; border-color: #d2e1f2; border-radius: 8px; background: #fff; }
.storefront-search-form .search-box input { padding: .55rem .8rem; font-size: .78rem; }
.storefront-search-form .search-box button { align-self: stretch; min-width: 38px; padding: .45rem; color: #082e5a; background: #ffbd1a; }
.storefront-header-actions { min-width: 150px; justify-content: flex-end; }
.storefront-header-action { position: relative; display: grid; min-width: 70px; justify-items: center; gap: 1px; padding: 0 12px; color: #07396b; text-decoration: none; }
.storefront-header-action + .storefront-header-action { border-left: 1px solid #e6edf5; }
.header-action-icon { position: relative; font-size: 1.35rem; line-height: 1.1; }
.header-action-icon b { position: absolute; top: -7px; right: -10px; display: grid; min-width: 16px; height: 16px; place-items: center; padding: 0 4px; border-radius: 20px; color: #8a5b00; background: #ffbd1a; font-size: .58rem; font-weight: 800; }
.storefront-header-action small { font-size: .65rem; font-weight: 700; }
.storefront-header .header-icon { width: 34px; height: 34px; background: #f2f7fc; color: #07396b; }
.storefront-nav { min-height: 35px; background: #07396b; border: 0; }
.storefront-nav .container { min-height: 35px; gap: 26px !important; }
.storefront-nav .nav-link { position: relative; padding: .55rem 0; color: #fff; font-size: .72rem; font-weight: 600; }
.storefront-nav .nav-link.active, .storefront-nav .nav-link:hover { color: #ffbd1a; }
.storefront-nav .nav-link.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #ffbd1a; content: ''; }
.storefront-nav .category-pill { min-width: 153px; justify-content: center; padding: .52rem .8rem; border-radius: 8px; color: #fff; background: #10548d; font-size: .72rem; }
.storefront-home { padding: 10px 0 26px; background: linear-gradient(#f3f8fd, #fff 40%); }
.home-hero-row { margin-bottom: 16px; }
.home-hero { position: relative; display: flex; min-height: 219px; align-items: center; overflow: hidden; border-radius: 5px; background: #e8f5ff; }
.home-hero-copy { position: relative; z-index: 2; width: 60%; padding: 21px 20px; }
.home-hero .eyebrow { margin-bottom: 7px; color: #1680d5; font-size: .7rem; letter-spacing: .06em; }
.home-hero h1 { margin: 0 0 8px; color: #0b315f; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; }
.home-hero h1 span { color: #f6ad00; }
.home-hero .hero-subtext { margin-bottom: 16px; color: #123a68; font-size: .72rem; }
.home-hero .hero-subtext b { margin: 0 5px; color: #0a80d7; }
.home-hero .primary-button { gap: 10px; padding: .48rem .95rem; color: #173a5e; background: #ffbd1a; box-shadow: none; font-size: .7rem; }
.home-hero .primary-button:hover { background: #f0a900; color: #102d57; }
.home-hero-art { position: absolute; inset: 0 0 0 43%; overflow: hidden; background: radial-gradient(ellipse at 58% 60%, #fff 0 20%, transparent 21%), radial-gradient(circle at 91% 7%, rgba(90,184,240,.2) 0 55px, transparent 56px), radial-gradient(circle at 69% 10%, rgba(80,171,232,.16) 0 48px, transparent 49px), linear-gradient(110deg, rgba(232,245,255,0), #d8efff 72%); }
.hero-product-collage { position: absolute; inset: 0; }
.hero-product { position: absolute; display: grid; width: 24%; height: 64%; place-items: center; object-fit: contain; filter: drop-shadow(0 9px 8px rgba(19,52,83,.18)); }
.hero-product-1 { bottom: 5%; left: 5%; width: 25%; height: 63%; }
.hero-product-2 { bottom: 6%; left: 32%; width: 23%; height: 55%; }
.hero-product-3 { right: 7%; bottom: 5%; width: 27%; height: 67%; }
.hero-product-4 { right: 34%; bottom: 7%; width: 22%; height: 52%; }
.hero-product-collage > span { border-radius: 16px; color: #0872d1; background: linear-gradient(145deg, #fff, #e3f1fb); font-size: 2rem; }
.hero-brand-stamp { position: absolute; top: 10px; right: 23%; display: grid; width: 76px; height: 76px; place-items: center; border: 3px solid #f2bd2e; border-radius: 50%; background: #083a6b; box-shadow: 0 3px 12px #07396b55; }
.hero-brand-stamp img { width: 64px; height: 64px; object-fit: contain; }
.hero-dots { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 7px; }
.hero-dots span { width: 6px; height: 6px; border-radius: 50%; background: #b9cde0; }
.hero-dots span.active { background: #1680d5; }
.hero-service-list, .home-top-categories { overflow: hidden; border: 1px solid #dce8f4; border-radius: 6px; background: #fff; }
.hero-service-list { min-height: 219px; padding: 7px 10px; }
.hero-service-list > div { display: flex; min-height: 50px; align-items: center; gap: 12px; border-bottom: 1px solid #edf2f8; }
.hero-service-list > div:last-child { border-bottom: 0; }
.hero-service-list > div > i { width: 26px; color: #0670c7; font-size: 1.35rem; text-align: center; }
.hero-service-list strong, .hero-service-list small { display: block; white-space: nowrap; }
.hero-service-list strong { color: #123766; font-size: .66rem; }
.hero-service-list small { margin-top: 3px; color: #607b99; font-size: .57rem; }
.home-content-row { align-items: flex-start; }
.home-content-row > .col-lg-10,
.home-content-row > .col-lg-2 { width: auto; }
.home-section { margin-bottom: 18px; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.home-section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #123766; font-size: .98rem; font-weight: 800; }
.home-section-heading h2 i { color: #f4ad08; font-size: .95rem; }
.home-section-heading a { color: #0876d1; font-size: .62rem; text-decoration: none; }
.home-section-heading a i { margin-left: 4px; }
.home-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 12px; }
.home-category-card { display: flex; min-width: 0; min-height: 108px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; overflow: hidden; padding: 10px 8px 8px; border: 1px solid #e5edf6; border-radius: 14px; background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); color: #173b68; text-align: center; text-decoration: none; box-shadow: 0 10px 22px rgba(17, 55, 94, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease; }
.home-category-card:hover { transform: translateY(-3px); border-color: #bfdaf5; color: #0876d1; box-shadow: 0 14px 26px rgba(17, 55, 94, .09); }
.home-category-card > i { color: #536d85; font-size: 1.65rem; }
.home-category-card img { width: 58px; height: 44px; object-fit: cover; border-radius: 12px; }
.home-category-card span { max-width: 100%; overflow: hidden; font-size: .6rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: normal; }
.home-more-category > i { color: #6f8398; }
.home-product-grid { margin-right: 0; margin-left: 0; }
.home-product-grid > div { padding-right: 4px; padding-left: 4px; }
.home-product-card { position: relative; height: 100%; overflow: hidden; border: 1px solid #e2eaf3; border-radius: 6px; background: #fff; }
.home-product-image { position: relative; display: block; height: 98px; overflow: hidden; background: #f7f9fc; }
.home-product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.home-product-image .discount-badge, .home-product-image .bestseller-badge { position: absolute; z-index: 1; top: 6px; left: 6px; padding: 3px 5px; border-radius: 3px; color: #fff; background: #ed4141; font-size: .48rem; font-weight: 800; }
.home-product-image .bestseller-badge { background: #139d65; }
.home-product-image .popular-pick-badge { background: #176fc1; }
.home-product-image .bestseller-badge + img { padding-top: 12px; }
.home-wishlist { position: absolute; top: 5px; right: 5px; display: grid; width: 23px; height: 23px; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #315575; font-size: .65rem; text-decoration: none; }
.home-product-info { padding: 5px 7px 7px; }
.home-product-title { display: block; min-height: 25px; overflow: hidden; color: #183b65; font-size: .58rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
.home-product-rating { margin: 3px 0; color: #efa900; font-size: .53rem; }
.home-product-rating span { color: #7990a9; }
.home-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-bottom: 5px; }
.home-product-price strong { color: #086bc1; font-size: .64rem; }
.home-product-price del { color: #8a9cb0; font-size: .5rem; }
.home-add-to-cart { width: 100%; padding: 5px 3px; border: 0; border-radius: 4px; color: #fff; background: #0872d1; font-size: .52rem; font-weight: 700; }
.home-add-to-cart:hover { background: #075ca8; }
.home-right-sidebar { display: grid; gap: 10px; }
.home-offer-card { position: relative; display: flex; min-height: 114px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 12px; border-radius: 7px; color: #fff; background: radial-gradient(circle at 85% 80%, #176fce 0 18%, transparent 19%), linear-gradient(135deg, #0a3f87, #062b67); text-decoration: none; }
.home-offer-card > span { z-index: 1; color: #ffc222; font-size: .76rem; font-weight: 800; }
.home-offer-card > strong { z-index: 1; font-size: .78rem; }
.home-offer-card > b { z-index: 1; margin-top: 7px; padding: 4px 8px; border-radius: 20px; color: #183961; background: #ffbd1a; font-size: .52rem; }
.offer-bag { position: absolute; right: 16px; bottom: 8px; color: #ed2e78; font-size: 2.7rem; filter: drop-shadow(0 3px 3px #001a4380); }
.offer-bag-two { right: 48px; bottom: 4px; color: #14a4ec; font-size: 2.2rem; }
.home-offer-card > small { position: absolute; right: 15px; bottom: 18px; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; transform: rotate(9deg); border-radius: 3px; color: #fff; background: #092958; font-size: .48rem; font-weight: 900; line-height: 1; text-align: center; }
.home-top-categories { padding: 8px 10px; }
.home-top-categories h3 { margin: 0 0 4px; color: #163a67; font-size: .7rem; font-weight: 800; }
.home-top-categories a { display: flex; min-height: 34px; align-items: center; gap: 7px; border-top: 1px solid #eef2f7; color: #274b72; font-size: .57rem; text-decoration: none; }
.home-top-categories a > span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #0871c6; background: #e7f2fc; }
.home-top-categories a > i { margin-left: auto; color: #64809d; font-size: .55rem; }
.home-sidebar-help { display: flex; min-height: 112px; align-items: center; gap: 11px; padding: 12px; border: 1px solid #dceaf7; border-radius: 10px; color: #163b68; background: linear-gradient(135deg, #f0f8ff, #fff); text-decoration: none; box-shadow: 0 4px 14px rgba(23,60,100,.04); }
.home-sidebar-help-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; color: #0874cb; background: #e1f1ff; font-size: 1.05rem; }
.home-sidebar-help strong, .home-sidebar-help small, .home-sidebar-help b { display: block; }
.home-sidebar-help strong { font-size: .72rem; }
.home-sidebar-help small { margin: 4px 0 6px; color: #647d98; font-size: .59rem; line-height: 1.45; }
.home-sidebar-help b { color: #0874cb; font-size: .59rem; }
.home-sidebar-help b i { margin-left: 4px; font-size: .54rem; }
.home-benefits-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 3px; }
.home-benefits-strip > div { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid #e1ebf7; border-radius: 5px; background: #eef6ff; }
.home-benefits-strip > div:nth-child(4) { background: #f9f0f5; }
.home-benefits-strip > div > i { color: #07589d; font-size: 1.4rem; }
.home-benefits-strip strong, .home-benefits-strip small { display: block; }
.home-benefits-strip strong { color: #193d6a; font-size: .6rem; }
.home-benefits-strip small { margin-top: 2px; color: #617c99; font-size: .52rem; }
@media (min-width: 576px) {
    .storefront-body .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .storefront-body .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .storefront-body .container { max-width: 960px; }
}
@media (min-width: 1100px) {
    .storefront-body .container { max-width: 1010px; }
}
@media (min-width: 1200px) {
    .storefront-body .container { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .storefront-body .container { max-width: 1240px; }
}
@media (max-width: 991.98px) {
    .storefront-body .container { width: calc(100% - 28px); }
    .storefront-header-main { flex-wrap: wrap; }
    .storefront-search-form { order: 3; max-width: none; flex-basis: 100%; }
    .storefront-header-actions { margin-left: auto; }
    .storefront-nav .container { gap: 18px !important; overflow-x: auto; white-space: nowrap; }
    .home-hero { min-height: 205px; }
    .home-hero-copy { width: 68%; }
    .home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-category-card { min-height: 88px; }
    .home-product-image { height: 140px; }
    .home-right-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .storefront-topbar .container { gap: 4px; padding-top: 5px; padding-bottom: 5px; }
    .storefront-topbar .container > div { gap: 8px !important; font-size: .56rem !important; }
    .storefront-topbar .container > div:first-child span:last-child { display: none; }
    .storefront-header-main { min-height: 57px; }
    .storefront-logo { width: 42px; height: 42px; flex-basis: 42px; }
    .storefront-body .brand-name { font-size: 1rem; }
    .storefront-body .brand-tagline { font-size: .58rem; }
    .storefront-header-actions { min-width: auto; }
    .storefront-header-action { min-width: 44px; padding: 0 5px; }
    .storefront-header-action small { font-size: .54rem; }
    .storefront-header-action .header-action-icon { font-size: 1.05rem; }
    .storefront-nav .container { gap: 17px !important; }
    .storefront-nav .category-pill { min-width: 130px; }
    .storefront-nav .nav-link { font-size: .66rem; }
    .storefront-home { padding-top: 8px; }
    .home-hero { min-height: 215px; }
    .home-hero-copy { width: 78%; padding: 17px 14px; }
    .home-hero h1 { font-size: clamp(1.45rem, 7vw, 2rem); }
    .home-hero .hero-subtext { max-width: 250px; font-size: .61rem; }
    .home-hero-art { left: 34%; opacity: .65; }
    .hero-brand-stamp { top: 8px; right: 6px; width: 52px; height: 52px; }
    .hero-brand-stamp img { width: 45px; height: 45px; }
    .home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .home-category-card { min-height: 76px; }
    .home-category-card > i { font-size: 1.35rem; }
    .home-category-card span { font-size: .5rem; }
    .home-section-heading h2 { font-size: .87rem; }
    .home-product-image { height: 125px; }
    .home-product-title { min-height: 28px; font-size: .63rem; }
    .home-product-price strong { font-size: .69rem; }
    .home-add-to-cart { font-size: .58rem; }
    .home-right-sidebar { grid-template-columns: 1fr; }
    .home-offer-card { min-height: 125px; }
    .home-benefits-strip { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .home-benefits-strip > div { min-height: 54px; gap: 7px; padding: 6px; }
    .home-benefits-strip > div > i { font-size: 1.1rem; }
    .home-benefits-strip strong { font-size: .55rem; }
    .home-benefits-strip small { font-size: .46rem; }
}

@media (min-width: 992px) {
    .home-content-row > .col-lg-10 { flex: 0 0 81.5%; max-width: 81.5%; }
    .home-content-row > .col-lg-2 { flex: 0 0 18.5%; max-width: 18.5%; }
}
@media (min-width: 1100px) {
    .storefront-body .container { max-width: 1080px; }
}
@media (min-width: 1200px) {
    .storefront-body .container { max-width: 1160px; }
    .home-content-row > .col-lg-10 { flex-basis: 82.5%; max-width: 82.5%; }
    .home-content-row > .col-lg-2 { flex-basis: 17.5%; max-width: 17.5%; }
    .home-category-grid { grid-template-columns: repeat(auto-fit, minmax(114px, 1fr)); }
}
@media (min-width: 1400px) {
    .storefront-body .container { max-width: 1280px; }
}
.storefront-home { padding-top: 16px; padding-bottom: 42px; background: linear-gradient(180deg, #f1f7fd 0, #fff 420px); }
.home-hero-row { margin-bottom: 24px; }
.home-hero { min-height: 260px; border: 1px solid #deebf7; border-radius: 12px; box-shadow: 0 10px 28px rgba(23,60,100,.07); }
.home-hero-copy { width: 52%; padding: 26px 28px; }
.home-hero .eyebrow { margin-bottom: 10px; font-size: .78rem; }
.home-hero h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.home-hero .hero-subtext { font-size: .8rem; }
.home-hero .primary-button { padding: .65rem 1.15rem; border-radius: 8px; font-size: .78rem; }
.home-hero-art { left: 50%; }
.hero-product { padding: 8px; border: 1px solid rgba(214,229,243,.8); border-radius: 16px; background: rgba(255,255,255,.88); }
.hero-product-1 { bottom: 8%; left: 3%; width: 23%; height: 62%; }
.hero-product-2 { bottom: 8%; left: 29%; width: 22%; height: 54%; }
.hero-product-3 { right: 5%; bottom: 5%; width: 25%; height: 68%; }
.hero-product-4 { right: 31%; bottom: 8%; width: 21%; height: 52%; }
.hero-brand-stamp { top: 13px; right: 21%; width: 82px; height: 82px; }
.hero-brand-stamp img { width: 70px; height: 70px; }
.hero-service-list { min-height: 260px; padding: 10px 13px; border-radius: 12px; box-shadow: 0 8px 24px rgba(23,60,100,.05); }
.hero-service-list > div { min-height: 59px; gap: 14px; }
.hero-service-list > div > i { width: 30px; font-size: 1.45rem; }
.hero-service-list strong { font-size: .72rem; }
.hero-service-list small { font-size: .62rem; }
.home-section { margin-bottom: 24px; }
.home-section-heading { margin-bottom: 12px; }
.home-section-heading h2 { gap: 10px; font-size: 1.15rem; }
.home-section-heading h2 i { font-size: 1.05rem; }
.home-section-heading a { font-size: .72rem; font-weight: 600; }
.home-category-grid { gap: 12px; }
.home-category-card { min-height: 102px; gap: 9px; border-radius: 10px; box-shadow: 0 3px 12px rgba(23,60,100,.035); }
.home-category-card > i { font-size: 1.85rem; }
.home-category-card span { font-size: .68rem; }
.home-product-grid { row-gap: 12px !important; }
.home-product-grid > div { padding-right: 6px; padding-left: 6px; }
.home-product-card { border-color: #e4ebf3; border-radius: 10px; box-shadow: 0 4px 15px rgba(17,55,94,.055); transition: transform .2s ease, box-shadow .2s ease; }
.home-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(17,55,94,.12); }
.home-product-image { height: 142px; background: linear-gradient(145deg, #fbfdff, #f2f7fc); }
.home-product-image img { padding: 8px; transition: transform .25s ease; }
.home-product-card:hover .home-product-image img { transform: scale(1.06); }
.home-product-image .discount-badge, .home-product-image .bestseller-badge { top: 8px; left: 8px; padding: 4px 7px; border-radius: 5px; font-size: .58rem; }
.home-wishlist { top: 8px; right: 8px; width: 28px; height: 28px; border: 1px solid #edf1f6; box-shadow: 0 2px 8px rgba(18,52,86,.08); font-size: .78rem; }
.home-product-info { padding: 9px 10px 10px; }
.home-product-title { min-height: 33px; font-size: .72rem; line-height: 1.35; }
.home-product-rating { margin: 5px 0; font-size: .66rem; }
.home-product-price { gap: 7px; margin-bottom: 8px; }
.home-product-price strong { font-size: .82rem; }
.home-product-price del { font-size: .65rem; }
.home-add-to-cart { padding: 7px 5px; border-radius: 6px; font-size: .65rem; transition: background .18s ease; }
.home-collection-section { margin-top: 14px; padding: 18px; border: 1px solid #e8eef5; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(17,55,94,.04); }
.home-collection-section .home-section-heading { padding-bottom: 11px; border-bottom: 1px solid #edf1f6; }
.home-collection-section .home-section-heading h2::before { width: 4px; height: 22px; border-radius: 4px; background: #ffbb19; content: ''; }
.home-collection-section:nth-of-type(odd) .home-section-heading h2::before { background: #1680d5; }
.home-right-sidebar { gap: 13px; }
.home-offer-card { min-height: 136px; padding: 15px; border-radius: 10px; box-shadow: 0 7px 18px rgba(11,45,91,.13); }
.home-offer-card > span { font-size: .88rem; }
.home-offer-card > strong { margin-top: 2px; font-size: .9rem; }
.home-offer-card > b { padding: 5px 10px; font-size: .58rem; }
.home-top-categories { padding: 12px; border-radius: 10px; box-shadow: 0 5px 17px rgba(23,60,100,.045); }
.home-top-categories h3 { margin-bottom: 7px; font-size: .82rem; }
.home-top-categories a { min-height: 39px; gap: 8px; font-size: .66rem; }
.home-top-categories a > span { width: 28px; height: 28px; flex-basis: 28px; }
.home-benefits-strip { gap: 12px; margin-top: 12px; }
.home-benefits-strip > div { min-height: 60px; gap: 12px; padding: 9px 14px; border-radius: 8px; box-shadow: 0 3px 10px rgba(17,55,94,.035); }
.home-benefits-strip > div > i { font-size: 1.55rem; }
.home-benefits-strip strong { font-size: .7rem; }
.home-benefits-strip small { font-size: .6rem; }
@media (max-width: 991.98px) {
    .home-hero { min-height: 230px; }
    .home-hero .hero-subtext { font-size: .72rem; }
    .home-product-image { height: 165px; }
    .storefront-nav .container { flex-wrap: nowrap; }
    .storefront-nav .nav-link, .storefront-nav .category-pill { flex-shrink: 0; }
}
@media (max-width: 575.98px) {
    .storefront-home { padding-top: 10px; padding-bottom: 28px; }
    .home-hero-row { margin-bottom: 18px; }
    .home-hero { min-height: 220px; border-radius: 10px; }
    .home-hero-copy { width: 82%; padding: 17px; }
    .home-hero h1 { font-size: clamp(1.6rem, 7vw, 2.05rem); }
    .home-hero .hero-subtext { font-size: .65rem; }
    .home-hero-art { left: 42%; opacity: .35; }
    .hero-product { padding: 4px; border-radius: 9px; }
    .hero-brand-stamp { width: 50px; height: 50px; }
    .hero-brand-stamp img { width: 42px; height: 42px; }
    .home-section { margin-bottom: 19px; }
    .home-section-heading h2 { font-size: 1rem; }
    .home-category-grid { gap: 7px; }
    .home-category-card { min-height: 82px; border-radius: 8px; }
    .home-category-card > i { font-size: 1.5rem; }
    .home-category-card span { font-size: .57rem; }
    .home-product-image { height: 145px; }
    .home-product-info { padding: 8px; }
    .home-product-title { min-height: 34px; font-size: .68rem; }
    .home-product-rating { font-size: .62rem; }
    .home-product-price strong { font-size: .78rem; }
    .home-add-to-cart { padding: 7px 4px; font-size: .62rem; }
    .home-collection-section { margin-top: 10px; padding: 13px 8px; border-radius: 10px; }
    .home-right-sidebar { gap: 10px; }
    .home-offer-card { min-height: 130px; }
    .home-benefits-strip { gap: 7px; }
    .home-benefits-strip > div { min-height: 56px; padding: 7px; }
    .home-benefits-strip strong { font-size: .59rem; }
    .home-benefits-strip small { font-size: .5rem; }
}
    @media (min-width: 992px) {
        .home-category-grid { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
        .home-category-card { min-height: 74px; gap: 5px; border-radius: 8px; }
        .home-category-card > i { font-size: 1.35rem; }
        .home-category-card img { width: 42px; height: 32px; }
        .home-category-card span { font-size: .65rem; }
    }
    @media (max-width: 991.98px) {
        .home-category-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 7px; }
        .home-category-card { min-height: 76px; }
    }
    @media (max-width: 575.98px) {
        .home-category-grid { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; }
        .home-category-card { min-height: 72px; gap: 3px; }
        .home-category-card > i { font-size: 1.25rem; }
        .home-category-card span { font-size: .55rem; }
    }
    .home-category-section { min-width: 0; }

.homepage-hero-slide { position: relative; z-index: 1; }
.homepage-hero-slide[hidden] { display: none !important; }
.home-hero .homepage-hero-slide h1 { max-width: 540px; }
.home-hero .homepage-hero-slide .hero-subtext { max-width: 440px; line-height: 1.55; }
.homepage-hero-description { max-width: 420px; margin: -8px 0 14px; color: #54708b; font-size: .72rem; line-height: 1.5; }
.home-hero .hero-dots { position: static; justify-content: flex-start; margin-top: 15px; }
.home-hero .hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #b9cde0; }
.home-hero .hero-dots button.active { width: 20px; border-radius: 10px; background: #1680d5; }
.homepage-hero-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.homepage-hero-banner-image.active { opacity: 1; }
.homepage-hero-fallback { opacity: 0; transition: opacity .35s ease; }
.homepage-hero-fallback.active { opacity: 1; }
.home-hero-art:has(.homepage-hero-banner-image.active) { background: #e8f5ff; }
.home-hero-art:has(.homepage-hero-banner-image.active) .hero-brand-stamp { z-index: 1; }
.home-offer-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
@media (max-width: 575.98px) {
    .homepage-hero-description { font-size: .62rem; }
}

.products-index-page {
    min-height: 65vh;
    padding-top: 28px !important;
    padding-bottom: 48px !important;
    background: linear-gradient(180deg, #f4f8fc 0, #fff 280px);
}
.products-index-page > .row { align-items: flex-start; }
.products-index-page .filter-sidebar {
    position: sticky;
    top: 18px;
    padding: 18px;
    border-color: #e6edf5;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(22, 55, 90, .06);
}
.products-index-page .filter-sidebar h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #193b5c;
    font-size: .9rem;
    font-weight: 800;
}
.products-index-page .filter-sidebar h5 i { color: #f05a28; }
.products-index-page .filter-sidebar ul {
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f6;
}
.products-index-page .filter-sidebar li { color: #3a5570; font-size: .78rem; }
.products-index-page .filter-sidebar li > a { font-weight: 700; }
.products-index-page .filter-sidebar a {
    color: #38536e;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}
.products-index-page .filter-sidebar a:hover { color: #ed5727; }
.products-index-page .filter-sidebar li > .ms-3 { margin-top: 5px; }
.products-filter-options { margin-top: 14px; }
.products-filter-options > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e6edf5;
    border-radius: 9px;
    background: #f8fafc;
    color: #284866;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    list-style: none;
}
.products-filter-options > summary::-webkit-details-marker { display: none; }
.products-filter-options > summary::after { content: '+'; color: #f05a28; font-size: 1rem; }
.products-filter-options[open] > summary::after { content: '−'; }
.products-filter-options form { font-size: .78rem; }
.products-filter-options .form-label { margin-bottom: 5px; color: #52677d; font-size: .72rem; font-weight: 700; }
.products-filter-options .form-control,
.products-filter-options .form-select { min-height: 40px; border-color: #e4ebf3; border-radius: 8px; font-size: .8rem; }
.products-filter-options .btn { padding: 10px; border-radius: 8px; background: #f05a28; border-color: #f05a28; font-size: .8rem; font-weight: 700; }
.products-index-heading {
    min-height: 68px;
    padding: 5px 2px 14px;
    border-bottom: 1px solid #e8eef5;
}
.products-index-heading h3 { margin: 2px 0 0; color: #183858; font-size: 1.45rem; font-weight: 800; }
.products-index-eyebrow { color: #7d91a6; font-size: .65rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.products-item-count { padding: 7px 11px; border: 1px solid #e3ebf4; border-radius: 999px; background: #fff; color: #668098 !important; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.products-index-grid { --bs-gutter-y: 1rem; }
.products-index-grid > div { display: flex; }
.products-index-page .product-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    border-color: #e7edf4;
    border-radius: 13px;
    box-shadow: 0 5px 18px rgba(23, 55, 88, .055);
    transition: transform .18s ease, box-shadow .18s ease;
}
.products-index-page .product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(23, 55, 88, .12); }
.products-index-page .product-image-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #f8fafc, #edf3f8);
}
.products-index-page .product-image-wrap img { transition: transform .25s ease; }
.products-index-page .product-card:hover .product-image-wrap img { transform: scale(1.04); }
.products-index-page .discount-badge { top: 9px; left: 9px; padding: 5px 8px; border-radius: 6px; font-size: .64rem; }
.products-index-page .wishlist-btn { top: 8px; right: 8px; width: 32px; height: 32px; box-shadow: 0 2px 9px rgba(20, 47, 75, .12); }
.products-index-page .product-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.products-index-page .product-body h5 {
    display: -webkit-box;
    min-height: 2.65em;
    overflow: hidden;
    color: #263f59;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.products-index-page .price-row { flex-wrap: wrap; gap: 4px 8px; margin: auto 0 10px; }
.products-index-page .current-price { font-size: .98rem; }
.products-index-page .old-price { font-size: .72rem; }
.products-index-page .view-btn,
.products-index-page .add-to-cart-btn { padding: 9px 7px; border-radius: 8px; font-size: .72rem; }
.products-index-page .view-btn { border-color: #e5ebf2; }
.products-index-page .add-to-cart-btn { background: #f05a28; }
.products-index-page .product-body form { margin-top: 7px !important; }
.products-index-page nav[role="navigation"] { padding-top: 5px; }
@media (max-width: 991.98px) {
    .products-index-page { padding-top: 16px !important; }
    .products-index-page .filter-sidebar { position: static; padding: 14px; }
    .products-index-page .filter-sidebar h5 { margin-bottom: 10px; }
    .products-index-page .filter-sidebar ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0 -2px;
        padding: 2px 2px 11px;
        border-bottom: 0;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .products-index-page .filter-sidebar li { display: contents; }
    .products-index-page .filter-sidebar li > a,
    .products-index-page .filter-sidebar li > .ms-3 a {
        display: block;
        flex: 0 0 auto;
        padding: 7px 11px;
        border: 1px solid #e5edf5;
        border-radius: 999px;
        background: #f8fafc;
        color: #38536e;
        font-size: .7rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .products-index-page .filter-sidebar li > .ms-3 { margin: 0 !important; }
    .products-filter-options { margin-top: 0; }
    .products-index-page .filter-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); }
    .products-index-page .filter-sidebar h5 { grid-row: 1; }
    .products-index-page .filter-sidebar ul { grid-row: 2; }
    .products-filter-options { grid-row: 3; }
    .products-index-page .section-header { margin-bottom: 14px !important; }
}
@media (max-width: 575.98px) {
    .products-index-page { padding-bottom: 30px !important; }
    .products-index-page > .row { --bs-gutter-y: 14px; }
    .products-index-page .filter-sidebar { padding: 12px; border-radius: 12px; }
    .products-index-heading { min-height: 58px; padding-bottom: 11px; }
    .products-index-heading h3 { font-size: 1.2rem; }
    .products-index-eyebrow { font-size: .57rem; }
    .products-item-count { padding: 6px 9px; font-size: .64rem; }
    .products-index-grid { --bs-gutter-x: .65rem; --bs-gutter-y: .75rem; }
    .products-index-page .product-body { padding: 9px; }
    .products-index-page .product-body h5 { font-size: .73rem; }
    .products-index-page .current-price { font-size: .82rem; }
    .products-index-page .old-price { font-size: .63rem; }
    .products-index-page .view-btn,
    .products-index-page .add-to-cart-btn { padding: 8px 5px; font-size: .64rem; }
}

.home-section { margin-bottom: 26px; }
.home-category-section,
.home-products-section {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e5edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(21, 52, 82, .055);
}
.home-section-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #7890a6;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.home-category-section .home-section-heading,
.home-products-section .home-section-heading {
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf2f7;
}
.home-category-section .home-section-heading h2,
.home-products-section .home-section-heading h2 {
    color: #153b61;
    font-size: 1.12rem;
}
.home-category-heading-actions { display: flex; align-items: center; gap: 14px; }
.home-category-heading-actions > a { font-weight: 700; }
.home-category-carousel { --category-visible: 5; }
.home-category-viewport { overflow: hidden; }
.home-category-grid {
    display: flex;
    gap: 13px;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.home-category-card {
    flex: 0 0 calc((100% - 52px) / 5);
    min-height: 158px;
    justify-content: flex-start;
    gap: 11px;
    padding: 13px 10px 12px;
    border-color: #e9eff5;
    border-radius: 13px;
    background: linear-gradient(155deg, #fff 15%, #f7fbff);
    box-shadow: 0 4px 12px rgba(25, 59, 92, .045);
}
.home-category-card:hover { border-color: #bcd9f1; box-shadow: 0 10px 22px rgba(25, 75, 117, .11); }
.home-category-card .home-category-photo {
    display: grid;
    width: 100%;
    height: 96px;
    flex: 0 0 96px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f6fc;
}
.home-category-card .home-category-photo img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}
.home-category-card .home-category-photo > i { color: #3781bb; font-size: 2.1rem; }
.home-category-card > span:last-child {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: #244663;
    font-size: .7rem;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-category-card:hover > span:last-child { color: #0876d1; }
.home-category-controls { display: flex; align-items: center; gap: 8px; color: #788da2; font-size: .65rem; font-weight: 700; }
.home-category-controls button {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #e0eaf3;
    border-radius: 50%;
    background: #fff;
    color: #285477;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.home-category-controls button:hover:not(:disabled) { border-color: #1376bb; background: #1376bb; color: #fff; }
.home-category-controls button:disabled { opacity: .45; }
.home-category-carousel-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #8a9bac; font-size: .62rem; }
.home-category-progress { height: 3px; flex: 1; overflow: hidden; border-radius: 3px; background: #edf2f7; }
.home-category-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #157ac0, #ffbd1a); transition: width .35s ease; }
.home-products-section { padding: 17px; }
.home-products-section .home-section-heading { margin-bottom: 12px; }
.home-products-section .home-section-heading h2 { gap: 8px; }
.home-products-section .home-section-heading h2 i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff6dc; color: #e3a300; font-size: .9rem; }
.home-products-section:nth-of-type(odd) .home-section-heading h2 i { background: #eaf5ff; color: #1676b7; }
.home-products-section .home-product-card { border-radius: 12px; box-shadow: 0 4px 14px rgba(17, 55, 94, .055); }
.home-products-section .home-product-image { height: 172px; }
.home-products-section .home-product-info { padding: 10px 11px 11px; }
.home-products-section .home-product-title { min-height: 2.7em; font-size: .72rem; }
.home-products-section .home-product-rating { font-size: .65rem; }
.home-products-section .home-product-price strong { font-size: .82rem; }
.home-products-section .home-add-to-cart { padding: 8px 5px; border-radius: 7px; font-size: .64rem; }
.home-collection-section { margin-top: 0; }
.home-product-carousel { --product-visible: 6; min-width: 0; }
.home-product-viewport { overflow: hidden; }
.home-product-grid {
    display: flex;
    flex-wrap: nowrap;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.home-product-grid > div { flex: 0 0 calc(100% / var(--product-visible)); max-width: calc(100% / var(--product-visible)); }
.home-product-carousel-footer { min-height: 29px; }
.home-product-carousel.is-static .home-product-carousel-footer { display: none; }
@media (max-width: 1199.98px) {
    .home-category-carousel { --category-visible: 4; }
    .home-category-card { flex-basis: calc((100% - 39px) / 4); }
    .home-product-carousel { --product-visible: 3; }
}
@media (max-width: 767.98px) {
    .home-category-section,
    .home-products-section { padding: 14px; border-radius: 13px; }
    .home-category-carousel { --category-visible: 3; }
    .home-category-card { flex-basis: calc((100% - 26px) / 3); min-height: 138px; padding: 9px; }
    .home-category-card .home-category-photo { height: 82px; flex-basis: 82px; }
    .home-category-heading-actions { gap: 8px; }
    .home-category-controls { gap: 5px; }
    .home-category-controls button { width: 26px; height: 26px; }
    .home-category-section .home-section-heading h2,
    .home-products-section .home-section-heading h2 { font-size: .98rem; }
    .home-products-section .home-product-image { height: 150px; }
    .home-product-carousel { --product-visible: 2; }
}
@media (max-width: 575.98px) {
    .home-section { margin-bottom: 17px; }
    .home-category-section,
    .home-products-section { padding: 12px; }
    .home-category-carousel { --category-visible: 2; }
    .home-category-grid { gap: 9px; }
    .home-category-card { flex-basis: calc((100% - 9px) / 2); min-height: 126px; gap: 8px; }
    .home-category-card .home-category-photo { height: 74px; flex-basis: 74px; }
    .home-category-card > span:last-child { font-size: .65rem; }
    .home-category-section .home-section-heading,
    .home-products-section .home-section-heading { align-items: flex-end; gap: 8px; }
    .home-section-eyebrow { font-size: .53rem; }
    .home-category-heading-actions { flex-direction: column; align-items: flex-end; gap: 5px; }
    .home-category-heading-actions > a { font-size: .6rem; }
    .home-category-carousel-footer { font-size: .56rem; }
    .home-products-section .home-product-image { height: 132px; }
    .home-products-section .home-product-info { padding: 8px; }
    .home-products-section .home-product-title { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-category-grid,
    .home-product-grid,
    .home-category-progress span { transition: none; }
}
