/* ==========================================================================
   STORE.CSS — Surplus Upcycling Enterprise Marketplace
   Loaded only by store.html
   Depends on style.css for :root variables and global resets
   ========================================================================== */

/* ==========================================================================
   1. STORE HERO
   ========================================================================== */
.store-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-bottom: 1px solid var(--border-slate);
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    /* Subtle glow behind hero text */
    .store-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 300px;
        background: radial-gradient(ellipse, rgba(56,189,248,0.07) 0%, transparent 70%);
        pointer-events: none;
    }

    .store-hero h1 {
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: -0.04em;
        margin: 0 0 0.5rem;
        color: var(--text-light);
        position: relative;
    }

    .store-hero p {
        color: var(--text-muted);
        font-size: 1rem;
        margin: 0 auto;
        max-width: 580px;
        position: relative;
    }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-stat .num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-blue);
    font-family: monospace;
}

.hero-stat .lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* ==========================================================================
   2. STORE SHELL LAYOUT (sidebar + main)
   ========================================================================== */
.store-shell {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 180px);
}

/* ==========================================================================
   3. FILTER SIDEBAR
   ========================================================================== */
.filter-sidebar {
    width: 255px;
    flex-shrink: 0;
    padding: 1.25rem 1rem;
    border-right: 1px solid var(--border-slate);
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background: var(--bg-dark);
    scrollbar-width: thin;
    scrollbar-color: var(--border-slate) transparent;
}

    .filter-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .filter-sidebar::-webkit-scrollbar-thumb {
        background: var(--border-slate);
        border-radius: 4px;
    }

.sidebar-section {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-slate);
}

    .sidebar-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.sidebar-section-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

/* Filter chips — single-select style */
.filter-chip-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-chip {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    line-height: 1.3;
}

    .filter-chip:hover {
        border-color: var(--border-slate);
        color: var(--text-light);
        background: rgba(255,255,255,0.03);
    }

    .filter-chip.active {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
        background: rgba(56,189,248,0.07);
        font-weight: 600;
    }

/* Range filter (price, RAM) */
.range-filter {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .range-filter input[type="number"] {
        width: 100%;
        padding: 6px 8px;
        background: var(--panel-bg);
        border: 1px solid var(--border-slate);
        color: var(--text-light);
        border-radius: 5px;
        font-size: 0.8rem;
        margin: 0;
    }

        .range-filter input[type="number"]:focus {
            outline: none;
            border-color: var(--accent-blue);
        }

.range-sep {
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Sidebar select dropdowns */
.sidebar-select {
    width: 100%;
    padding: 7px 10px;
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 0.82rem;
    margin: 0;
}

    .sidebar-select:focus {
        outline: none;
        border-color: var(--accent-blue);
    }

/* Clear filters link */
.clear-filters-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    margin-top: 4px;
    display: inline-block;
}

    .clear-filters-btn:hover {
        color: var(--accent-blue);
    }

/* ==========================================================================
   4. WISHLIST PANEL (inside sidebar)
   ========================================================================== */
.wishlist-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    border-radius: 6px;
    padding: 10px;
}

.wishlist-empty {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    padding: 8px 0;
}

.wishlist-item-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(51,65,85,0.5);
    font-size: 0.78rem;
}

    .wishlist-item-row:last-child {
        border-bottom: none;
    }

.wishlist-item-name {
    flex: 1;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wishlist-item-price {
    color: var(--emerald-green);
    font-family: monospace;
    white-space: nowrap;
    font-size: 0.76rem;
}

.wishlist-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    flex-shrink: 0;
}

    .wishlist-remove:hover {
        color: #f43f5e;
    }

.wishlist-add-to-cart {
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.2);
    color: var(--accent-blue);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
}

    .wishlist-add-to-cart:hover {
        background: rgba(56,189,248,0.2);
    }

/* ==========================================================================
   5. CATALOG MAIN AREA
   ========================================================================== */
.catalog-main {
    flex: 1;
    padding: 1.25rem 1.5rem;
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 10px;
}

.result-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

    .result-count strong {
        color: var(--text-light);
    }

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 6px 10px;
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 0.82rem;
    margin: 0;
}

.search-input {
    padding: 6px 12px;
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 0.82rem;
    width: 200px;
    margin: 0;
}

    .search-input:focus {
        outline: none;
        border-color: var(--accent-blue);
    }

/* ==========================================================================
   6. PRODUCT GRID & CARDS
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
}

    .product-card:hover {
        border-color: rgba(56,189,248,0.35);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

/* Card header — dark gradient with grade badge */
.card-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 1.25rem 1.1rem 1rem;
    border-bottom: 1px solid var(--border-slate);
    position: relative;
}

.grade-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grade-A {
    background: rgba(52,211,153,0.12);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.25);
}

.grade-B {
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.25);
}

.grade-C {
    background: rgba(244,63,94,0.12);
    color: #f43f5e;
    border: 1px solid rgba(244,63,94,0.25);
}

.grade-default {
    background: rgba(56,189,248,0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(56,189,248,0.25);
}

/* Wholesale eligible banner */
.wholesale-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    color: #f59e0b;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 3px;
}

.card-sku {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-name {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
    padding-right: 60px; /* clearance for grade badge */
}

.card-manufacturer {
    font-size: 0.75rem;
    color: var(--accent-blue);
    margin-top: 3px;
    font-weight: 600;
}

/* Card body — description and spec tags */
.card-body {
    padding: 0.9rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Spec tag grid */
.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.spec-tag {
    background: rgba(15,23,42,0.5);
    border: 1px solid var(--border-slate);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
}

    .spec-tag.highlight {
        border-color: rgba(56,189,248,0.25);
        color: var(--accent-blue);
    }

/* Card footer — price and action buttons */
.card-footer {
    padding: 0.85rem 1.1rem;
    border-top: 1px solid var(--border-slate);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.price-block .price-main {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--emerald-green);
    font-family: monospace;
    line-height: 1;
}

.price-block .price-secondary {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 3px;
}

    .price-block .price-secondary span {
        color: #94a3b8;
        font-family: monospace;
    }

.price-block .price-wholesale-note {
    font-size: 0.68rem;
    color: #f59e0b;
    margin-top: 2px;
    font-weight: 600;
}

.stock-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.stock-low {
    color: #f59e0b;
}

.stock-out {
    color: #f43f5e;
}

.stock-good {
    color: var(--success-green);
}

.card-actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.btn-cart {
    background: var(--accent-blue);
    color: #0f172a;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

    .btn-cart:hover {
        opacity: 0.88;
    }

    .btn-cart:disabled {
        background: var(--border-slate);
        color: var(--text-muted);
        cursor: not-allowed;
        opacity: 1;
    }

.btn-wish {
    background: transparent;
    border: 1px solid var(--border-slate);
    border-radius: 5px;
    padding: 8px 9px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.15s;
    line-height: 1;
}

    .btn-wish:hover,
    .btn-wish.wishlisted {
        border-color: #f43f5e;
        color: #f43f5e;
        background: rgba(244,63,94,0.07);
    }

/* ==========================================================================
   7. EMPTY / LOADING STATES
   ========================================================================== */
.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

    .catalog-empty .icon {
        font-size: 2.5rem;
        display: block;
        margin-bottom: 1rem;
    }

    .catalog-empty h3 {
        color: var(--text-light);
        margin: 0 0 0.5rem;
        font-size: 1.1rem;
    }

    .catalog-empty p {
        font-size: 0.88rem;
        margin: 0;
    }

/* ==========================================================================
   8. CART DRAWER
   ========================================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

    .cart-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 95vw;
    height: 100vh;
    background: #0a1020;
    border-left: 1px solid var(--border-slate);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

    .cart-drawer.open {
        transform: translateX(0);
    }

.cart-drawer-header {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--border-slate);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

    .cart-drawer-header h2 {
        margin: 0;
        font-size: 1rem;
        color: var(--text-light);
        font-weight: 700;
    }

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1;
}

    .cart-close:hover {
        background: var(--panel-bg);
        color: var(--text-light);
    }

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1.4rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-slate) transparent;
}

.cart-empty-msg {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

    .cart-empty-msg .icon {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.75rem;
    }

/* Individual cart item */
.cart-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-slate);
    align-items: flex-start;
}

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-sku {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-top: 1px;
}

.cart-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--emerald-green);
    font-family: monospace;
    margin-top: 4px;
}

.cart-item-wholesale-note {
    font-size: 0.68rem;
    color: #f59e0b;
    margin-top: 2px;
}

/* Qty stepper */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
}

.qty-btn {
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    color: var(--text-light);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

    .qty-btn:hover {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

.qty-display {
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 2px 3px;
    border-radius: 3px;
    margin-top: 1px;
    flex-shrink: 0;
}

    .cart-item-remove:hover {
        color: #f43f5e;
    }

/* Cart footer totals + checkout */
.cart-footer {
    padding: 1.1rem 1.4rem;
    border-top: 1px solid var(--border-slate);
    background: var(--panel-bg);
    flex-shrink: 0;
}

.cart-totals {
    margin-bottom: 0.9rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

    .cart-total-row.grand {
        font-size: 0.97rem;
        font-weight: 700;
        color: var(--text-light);
        border-top: 1px solid var(--border-slate);
        padding-top: 7px;
        margin-top: 6px;
    }

        .cart-total-row.grand span:last-child {
            color: var(--emerald-green);
            font-family: monospace;
        }

.btn-checkout {
    width: 100%;
    padding: 12px;
    background: var(--accent-blue);
    color: #0f172a;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.97rem;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.15s;
}

    .btn-checkout:hover {
        opacity: 0.9;
    }

    .btn-checkout:disabled {
        background: var(--border-slate);
        color: var(--text-muted);
        cursor: not-allowed;
        opacity: 1;
    }

.checkout-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 7px;
    line-height: 1.4;
}

/* ==========================================================================
   9. FLOATING CART BUTTON (FAB)
   ========================================================================== */
.cart-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-blue);
    color: #0f172a;
    border: none;
    border-radius: 50px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(56,189,248,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1500;
    transition: transform 0.15s, box-shadow 0.15s;
}

    .cart-fab:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(56,189,248,0.4);
    }

    .cart-fab .fab-count {
        background: #0f172a;
        color: var(--accent-blue);
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .cart-fab.hidden {
        display: none;
    }

/* ==========================================================================
   10. CHECKOUT MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .modal-overlay.open {
        display: flex;
    }

.modal-box {
    background: #0a1020;
    border: 1px solid var(--border-slate);
    border-radius: 10px;
    padding: 1.75rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

    .modal-box h2 {
        margin: 0 0 0.2rem;
        font-size: 1.15rem;
        color: var(--text-light);
    }

.modal-sub {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0 0 1.25rem;
}

/* Pending payment notice banner */
.payment-pending-banner {
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 6px;
    padding: 0.9rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    color: #f59e0b;
    line-height: 1.5;
}

    .payment-pending-banner strong {
        display: block;
        margin-bottom: 3px;
        font-size: 0.85rem;
    }

/* Order summary inside modal */
.order-summary-box {
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    border-radius: 6px;
    padding: 0.9rem;
    margin-bottom: 1.25rem;
}

    .order-summary-box h4 {
        margin: 0 0 8px;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
    }

.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 3px 0;
}

.order-summary-total {
    border-top: 1px solid var(--border-slate);
    padding-top: 7px;
    margin-top: 5px;
    font-weight: 700;
    color: var(--emerald-green);
    font-family: monospace;
}

/* Contact input fields in modal */
.contact-fields {
    margin-bottom: 1rem;
}

    .contact-fields label {
        display: block;
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 3px;
        margin-top: 10px;
        font-weight: 600;
    }

    .contact-fields input {
        width: 100%;
        padding: 8px 11px;
        background: var(--panel-bg);
        border: 1px solid var(--border-slate);
        border-radius: 5px;
        color: var(--text-light);
        font-size: 0.85rem;
        box-sizing: border-box;
        margin: 0;
    }

        .contact-fields input:focus {
            outline: none;
            border-color: var(--accent-blue);
        }

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}

.btn-modal-cancel {
    flex: 1;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--border-slate);
    color: var(--text-muted);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
}

    .btn-modal-cancel:hover {
        border-color: var(--text-muted);
        color: var(--text-light);
    }

.btn-modal-submit {
    flex: 2;
    padding: 9px;
    background: var(--accent-blue);
    border: none;
    color: #0f172a;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

    .btn-modal-submit:hover {
        opacity: 0.9;
    }

/* ==========================================================================
   11. TOAST NOTIFICATIONS
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--panel-bg);
    border: 1px solid var(--border-slate);
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 0.82rem;
    color: var(--text-light);
    z-index: 4000;
    opacity: 0;
    transition: all 0.22s;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .toast.success {
        border-color: rgba(52,211,153,0.4);
        color: #34d399;
    }

    .toast.error {
        border-color: rgba(244,63,94,0.4);
        color: #f43f5e;
    }

    .toast.info {
        border-color: rgba(56,189,248,0.4);
        color: var(--accent-blue);
    }

/* ==========================================================================
   12. MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 767px) {
    .filter-sidebar {
        display: none; /* Hidden on mobile — future: slide-in drawer */
    }

    .store-hero {
        padding: 1.5rem 1.25rem 1.25rem;
    }

        .store-hero h1 {
            font-size: 1.3rem;
            margin-bottom: 0;
        }

        .store-hero p {
            display: none;
        }

    .hero-stats {
        gap: 1rem 1.25rem;
        margin-top: 0.85rem;
    }

    .hero-stat .num {
        font-size: 1.05rem;
    }

    .hero-stat .lbl {
        font-size: 0.62rem;
    }

    .catalog-main {
        padding: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .search-input {
        width: 100%;
    }

    .cart-fab {
        bottom: 5.5rem;
    }
    /* Clear mobile nav bar */

    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-right {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }
}

/* ==========================================================================
   13. DESKTOP ENHANCEMENTS
   ========================================================================== */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}
