.products-hero {
    position: relative;

    height: 80vh;
    min-height: 420px;

    display: flex;
    align-items: center;

    background: url('../imgs/productsection.png') center/cover no-repeat;

    margin-bottom: 3%;
}

.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.4)
    );
}

.products-hero .container {
    position: relative;
    z-index: 2;
}

.products-hero h1 {
    font-size: 42px;
}

.products-hero p {
    font-size: 16px;
    max-width: 600px;
}

.products-hero .btn-outline-light {
    border-width: 2px;
}

.products-hero .btn-outline-light:hover {
    background: white;
    color: #000;
}

.products-wrapper {
    flex: 1;
    min-height: 0;  
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;

    padding-bottom: 40px;
}

.shop-sidebar {
    padding-top: 10px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-btn {
    display: block;
    padding: 8px 0;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
}

.category-btn:hover {
    color: #0d6efd;
}

.products-toolbar {
    background: #f9fafc;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e5e9f2;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #dbe7ff;
}

.product-image {
    height: 260px;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-height: 200px;
    object-fit: contain;
    transition: 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-cart-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;

    background: #0d6efd;
    color: white;

    border: none;
    width: 45px;
    height: 45px;

    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-cart-btn:hover {
    background: #0b5ed7;
}

.product-card:hover .product-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-body {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.product-price {
    color: #0d6efd;
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}

.product-image {
    position: relative;
}

.promo-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    z-index: 2;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.new-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 18px;
}

.normal-price {
    font-weight: 600;
    font-size: 16px;
}