/* =========================================================
   SHOP PAGE – MODAL FILTER (NO SLIDER)
   ========================================================= */

.shop-layout {
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    justify-content: center;
    padding: 48px 16px;
}

.shop-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    background: radial-gradient(
        circle at top center,
        rgba(255, 244, 200, 0.9),
        #fffdf0 65%
    );
}

.shop-hero .shop-container {
    width: 100%;
    max-width: 1280px;
    background: #ffffff;
}

/* =========================================================
   DESKTOP (UNCHANGED)
   ========================================================= */
@media (min-width: 992px) {

    .shop-container {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 20px;
        padding: 24px;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
    }

    .shop-sidebar {
        position: sticky;
        top: calc(var(--header-height) + 24px);
        height: fit-content;
        font-size: var(--text-sm);
    }

    .filter-toggle {
        display: none;
    }
}

/* =========================================================
   MOBILE – FILTER MODAL CARD
   ========================================================= */
@media (max-width: 991px) {

    .filter-toggle {
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 12px;

        border-radius: 14px;
        border: 1px solid #e5e7eb;
        background: #ffffff;

        font-size: var(--text-sm);
        font-weight: var(--fw-semibold);
        cursor: pointer;

        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .shop-filter-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        backdrop-filter: blur(2px);

        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 10010;
    }

    .shop-filter-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    .shop-sidebar {
        position: fixed;
        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0;
        pointer-events: none;

        width: 92%;
        max-width: 380px;
        max-height: 80vh;

        padding: 20px;
        background: #ffffff;
        border-radius: 20px;

        box-shadow: 0 24px 60px rgba(0,0,0,0.25);
        overflow-y: auto;

        transition: all 0.25s ease;
        z-index: 10020;

        font-size: var(--text-sm);
    }

    .shop-sidebar.open {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    body.filters-open {
        overflow: hidden;
    }
}

/* =========================================================
   SHOP PAGE – AMAZON-STYLE TYPOGRAPHY (PRODUCTION)
   ========================================================= */

/* Product grid cards */
.product-card {
    font-size: var(--text-sm);
}

/* Product name */
.product-name {
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    line-height: 1.35;
    color: #0f172a;
}

/* Price */
.product-price {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    letter-spacing: 0.2px;
    color: #111827;
}

/* Buttons */
.shop-btn,
.product-card button {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0.25px;
    height: 36px;
    border-radius: 10px;
}

/* Meta text (stock, hints) */
.product-meta {
    font-size: var(--text-xs);
    font-weight: var(--fw-regular);
    color: #6b7280;
}

/* =========================================================
   LIMITED STOCK INDICATOR 🔥
   ========================================================= */

.low-stock {
    margin-top: 6px;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: #b91c1c;
}
