:root {
    --brand-red: #D90429;
    --brand-red-dark: #B00321;
    --brand-dark: #0F172A;
    --surface-card: #FFFFFF;
    --surface-muted: #F8FAFC;
    --border-subtle: #E2E8F0;
}

html, body {
    max-width: 100%;
    overflow-x: clip;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #F4F6F9;
    color: #0F172A;
}

/* SHOP HEADER */
.shop-header-box {
    border: 1px solid var(--border-subtle);
}

/* FILTER BUTTON TABS */
.filter-btn-tab {
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-btn-tab.active {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #FFFFFF !important;
}

/* PRODUCT CARDS */
.product-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    border-radius: 14px !important;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle) !important;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(217, 4, 41, 0.45) !important;
}

.product-thumb-container {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: var(--surface-muted);
    position: relative;
}

.product-thumb-container img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.quick-view-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
}

.product-badge-pill {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 6px;
}

.price-text {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0F172A;
}

.mrp-text {
    font-size: 0.78rem;
    color: #94A3B8;
    text-decoration: line-through;
    white-space: nowrap;
}

/* Uniform Cart Button & Stepper Height */
.cart-control-container {
    height: 36px;
    width: 100%;
}

.cart-control-container > .btn,
.cart-control-container > div {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    width: 100%;
    box-sizing: border-box;
    border-radius: 9px !important;
}

.btn-qty-control {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

/* CART TOAST NOTIFICATION */
.cart-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    background: #059669;
    color: #FFF;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    font-weight: 600;
    font-size: 0.85rem;
    display: none;
}

@media (max-width: 576px) {
    .product-thumb-container {
        height: 140px;
        padding: 8px;
    }

    .price-text {
        font-size: 0.92rem;
    }

    .mrp-text {
        font-size: 0.7rem;
    }

    .quick-view-btn {
        display: none;
    }

    .cart-control-container,
    .cart-control-container > .btn,
    .cart-control-container > div {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
    }

    .cart-toast {
        left: 12px;
        right: 12px;
        top: 12px;
        text-align: center;
    }
}