/* =========================================
   GLOBAL
========================================= */

body {
    background: #f7f3ec;
    font-family: 'Poppins', sans-serif;
    color: #2f2f2f;
}

a {
    text-decoration: none;
}

/* =========================================
   SHOP BANNER
========================================= */

.shop-banner {
    background: linear-gradient(rgba(30, 77, 58, 0.85),
            rgba(30, 77, 58, 0.85)),
        url('/images/banner.jpg') center/cover;
    padding: 100px 0;
    color: white;
}

.shop-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
}

.shop-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* =========================================
   MAIN SECTION
========================================= */

.all-products-section {
    padding: 70px 0;
}

/* =========================================
   FILTER CARD
========================================= */

.filter-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1e4d3a;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li {
    margin-bottom: 12px;
    font-size: 15px;
}

.filter-list input {
    margin-right: 10px;
}

.price-range {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #777;
}

/* =========================================
   SEARCH
========================================= */

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 45px 12px 18px;
    outline: none;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: #1e4d3a;
}

.search-box i {
    position: absolute;
    right: 18px;
    top: 14px;
    color: #777;
}

/* =========================================
   PRODUCTS TOPBAR
========================================= */

.products-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.results-text {
    color: #666;
}

.sort-dropdown {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 18px;
    outline: none;
    background: white;
}

/* =========================================
   PRODUCT CARD
========================================= */

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1e4d3a;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   PRODUCT CONTENT
========================================= */

.product-content {
    padding: 22px;
}

.product-category {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-rating {
    color: #d6a94f;
    margin-bottom: 10px;
}

.product-price {
    color: #1e4d3a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =========================================
   QUANTITY + CART
========================================= */

.quantity-cart {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
}

.qty-box button {
    border: none;
    background: #f2f2f2;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 18px;
}

.qty-box input {
    width: 45px;
    border: none;
    text-align: center;
    outline: none;
}

.add-cart-btn {
    flex: 1;
    border: none;
    background: #1e4d3a;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.add-cart-btn:hover {
    background: #16382b;
}

/* =========================================
   PRODUCT DETAILS PAGE
========================================= */

.product-details-section {
    padding: 80px 0;
}

.main-product-image {
    width: 100%;
    border-radius: 25px;
}

.thumb-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb-gallery img {
    width: 90px;
    height: 90px;
    border-radius: 15px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumb-gallery img:hover {
    border-color: #1e4d3a;
}

.details-category {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.details-title {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
    color: #1e4d3a;
}

.details-rating {
    color: #d6a94f;
    margin-bottom: 15px;
}

.details-price {
    font-size: 40px;
    font-weight: 700;
    color: #1e4d3a;
    margin-bottom: 25px;
}

.details-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.details-benefits {
    padding-left: 20px;
    margin-bottom: 30px;
}

.details-benefits li {
    margin-bottom: 12px;
}

.details-cart-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.details-cart-btn {
    border: none;
    background: #1e4d3a;
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.details-cart-btn:hover {
    background: #16382b;
}

/* =========================================
   RECOMMENDED PRODUCTS
========================================= */

.recommended-products {
    margin-top: 100px;
}

.section-title-wrap {
    margin-bottom: 40px;
}

.section-title-wrap h2 {
    font-size: 36px;
    color: #1e4d3a;
    font-weight: 700;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 991px) {

    .products-topbar {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .details-title {
        font-size: 36px;
    }

    .details-price {
        font-size: 30px;
    }

    .quantity-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .details-cart-row {
        flex-direction: column;
        align-items: stretch;
    }
}