
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}


header{
    position: sticky;
    top: 0;
    z-index: 9999;
}

.container {
    margin-top: 20px;
    background-color: #F8F9FA;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #F8F9FA;  
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(216, 64, 64, 0.4);
}

.product-image {
    height: 250px;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
    position: relative;
}


.product-details {
    padding: 15px;
}

.product-title {
    background-color: #643805;
    padding: 10px;
    border-radius: 5px;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2em;
    transition: background-color 0.3s, color 0.3s;
    /* text-transform: uppercase; */
    font-weight: 700;
    text-decoration: none;
    
}


.product-details h4 {
    margin: 0;
}

.product-details p {
    font-size: 16px;
    margin-bottom: 15px;
    
}

.add-cart-btn {
    background-color: #E67E22;
    border: 2px solid #E67E22;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
    font-weight: 800;
    
}

.add-cart-btn:hover {
    background-color: #B71C1C;
    
}

.offer-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #8B0000;
    color: #FFD700;
    padding: 3px 6px;
	border-top-right-radius: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;

}


.product-description {
    font-size: 14px;
    color: #1D1616;
    margin-bottom: 15px;
    line-height: 1.5;
}


h2 {
    font-weight: 700;
}



.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 20px;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 12px;
}

.card-body h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body p {
    font-size: 0.95rem;
    color: #1D1616;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}

.card h4 {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.order-value {
    font-weight: bold;
    color: #343a40;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    padding-left: 2px;
    padding-right: 2px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
}


.price-strike {
    text-decoration: line-through;
    color: #1D1616;
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 750;
}

.price-current {
    color: #8B0000;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 5px;
}

.product-unit {
    background-color: #1D1616;
    color: #FFFFFF;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 14px;
    border-radius: 8px;
}



.quantity-control {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fffef5; /* Soft cream */
    border: 2px solid #654321; /* Earthy brown border */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(101, 67, 33, 0.08); /* Subtle brown shadow */
    overflow: hidden;
    height: 50px;
}

.quantity-control button {
    flex: 1;
    background: linear-gradient(135deg, #654321, #8b5a2b); /* Earthy brown gradient */
    color: #fffef5; /* Creamy beige */
    border: none;
    font-size: 22px;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.quantity-control button:hover {
    background: linear-gradient(135deg, #4a2f15, #654321); /* Darker brown gradient */
    transform: scale(1.02);
}

.quantity-control span {
    flex: 1;
    background: #fffef5; /* Soft cream */
    color: #654321; /* Earthy brown */
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #f7ece1; /* Light tan */
    border-right: 1px solid #f7ece1; /* Light tan */
}

.suggestion-section {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #ddd;
}
.suggestion-section h5 {
    font-size: 14px;
    margin-bottom: 10px;
}
.suggestion-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.suggestion-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.suggestion-item span {
    flex-grow: 1;
}
.add-suggestion-btn {
    padding: 5px 10px;
    background-color: #D4A017;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.add-suggestion-btn:hover {
    background-color: #b38e14;
}


        @keyframes fadein {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeout {
            from {
                opacity: 1;
                transform: translateY(0);
            }
            to {
                opacity: 0;
                transform: translateY(10px);
            }
        }


@media  (max-width: 360px) {
    /* Body adjustments */
    .body {
        padding: 15px;
    }

    /* Container settings */
    .container {
        padding: 18px;
        margin-top: 12px;
        box-shadow: none;
    }

    .product-image {
        height: 150px;
        width: 100%;
    }

    .offer-badge  {
        font-size: 8px;
        padding: 3px 8px;
    }

    .product-title {
        font-size: 0.70rem;
        padding: 2px;
    }
    
    .product-details h4 {
        font-size: 0.85rem;
        margin: 0;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .add-cart-btn {
        padding: 2px 3px;
        height: 30px;
        justify-content: center;
        font-size: .85rem;
    }

    .price-container {
        font-size: 0.70rem;
    }

    .quantity-control {
        height: 30px;
        justify-content: center;
    }

    .price-strike,
    .price-current {
        font-size: 0.55rem;
    }


    .quantity-control button {
        font-size: 12px;
        padding: 6px 0;
    }

    .quantity-control span {
        font-size: 12px;
    }

    .product-unit {
        font-size: 0.40rem; /* Adjust font size for unit */
        padding-left: 3px;
        padding-right: 3px;
        border-radius: 5px;

    }
}

@media (min-width: 361px) and (max-width: 414px) {
    /* Body adjustments */
    .body {
        padding: 15px;
    }

    /* Container settings */
    .container {
        padding: 20px;
        margin-top: 15px;
        box-shadow: none;
    }

    .product-image {
        height: 150px;
        width: 100%;
    }

    .offer-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .product-title {
        font-size: 0.75rem;
        padding: 3px;
    }
    
    .product-details h4 {
        font-size: 0.80rem;
        margin: 0;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .add-cart-btn {
        padding: 6px 10px;
        height: 35px;
    }

    .price-container {
        font-size: 0.75rem;
        font-weight: 700
    }

    .quantity-control {
        height: 35px;
        justify-content: center;
    }

    .price-strike,
    .price-current {
        font-size: 0.75rem;
        
    }


    .quantity-control button {
        font-size: 1rem;
        padding: 8px 0;
    }

    .quantity-control span {
        font-size: 1rem;
    }

    .product-unit {
        font-size: 0.42rem; /* Adjust font size for unit */
        padding-left: 2px;
        padding-right: 2px;
        border-radius: 4px;

    }
}

@media (min-width: 415px) and (max-width: 430px) {
    /* Body adjustments */
    body {
        padding: 15px;
    }

    /* Container settings */
    .container {
        padding: 20px;
        margin-top: 15px;
        box-shadow: none;
    }

    .product-image {
        height: 175px;
        width: 100%;
    }

    .offer-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .product-title {
        font-size: 0.80rem;
        padding: 3px;
    }
    
    .product-details h4 {
        font-size: 0.85rem;
        margin: 0;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .add-cart-btn {
        padding: 6px 10px;
        height: 35px;
    }

    .price-container {
        font-size: 0.75rem;
    }

    .quantity-control {
        height: 35px;
        justify-content: center;
    }

    .price-strike,
    .price-current {
        font-size: 0.75rem;
    }


    .quantity-control button {
        font-size: 15px;
        padding: 8px 0;
    }

    .quantity-control span {
        font-size: 15px;
    }

    .product-unit {
        font-size: 0.55rem;
        padding-left: 3px;
        padding-right: 3px;
        border-radius: 5px;
    }

    }

@media (min-width: 431px) and (max-width: 480px) {
    /* Body adjustments */
    body {
        padding: 15px;
    }

    /* Container settings */
    .container {
        padding: 20px;
        margin-top: 15px;
        box-shadow: none;
    }

    .product-image {
        height: 200px;
        width: 100%;
    }

    .offer-badge {
        font-size: 12px;
        padding: 3px 8px;
    }

    .product-title {
        font-size: 0.80rem;
        padding: 3px;
    }
    
    .product-details h4 {
        font-size: 0.85rem;
        margin: 0;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 25px;
        border-radius: 10px;
    }

    .add-cart-btn {
        padding: 6px 10px;
        height: 35px;
    }

    .price-container {
        font-size: 0.85rem;
    }

    .quantity-control {
        height: 35px;
        justify-content: center;
    }

    .price-strike,
    .price-current {
        font-size: 0.9rem;
    }


    .quantity-control button {
        font-size: 18px;
        padding: 8px 0;
    }

    .quantity-control span {
        font-size: 18px;
    }

    .product-unit {
        font-size: 0.55rem;
        padding-left: 3px;
        padding-right: 3px;
        border-radius: 6px;
    }

    }

    @media (min-width: 481px) and (max-width: 720px) {
        /* Body adjustments */
        body {
            padding: 20px;
        }
    
        /* Container settings */
        .container {
            padding: 25px;
            margin-top: 20px;
            box-shadow: none;
        }
    
        .product-image {
            height: 220px;
            width: 100%;
        }
    
        .offer-badge {
            font-size: 14px;
            padding: 4px 10px;
        }
    
        .product-title {
            font-size: 1rem;
            padding: 5px;
        }
        
        .product-details h4 {
            font-size: 1rem;
            margin: 0;
        }
    
        .product-card {
            width: 100%;
            margin: 0 auto;
            margin-bottom: 30px;
            border-radius: 12px;
        }
    
        .add-cart-btn {
            padding: 8px 12px;
            height: 40px;
        }
    
        .price-container {
            font-size: 1rem;
        }
    
        .quantity-control {
            height: 40px;
            justify-content: center;
        }
    
        .price-strike,
        .price-current {
            font-size: 1rem;
        }
    
        .quantity-control button {
            font-size: 20px;
            padding: 10px 0;
        }
    
        .quantity-control span {
            font-size: 20px;
        }
    
        .product-unit {
            font-size: 0.50rem;
            padding-left: 5px;
            padding-right: 5px;
            border-radius: 8px;
        }
    }
    
    @media (min-width: 721px) and (max-width: 900px) {
        /* Body adjustments */
        body {
            padding: 20px;
        }
    
        /* Container settings */
        .container {
            padding: 30px;
            margin-top: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
    
        .product-image {
            height: 220px;
            width: 100%;
        }
    
        .offer-badge {
            font-size: 14px;
            padding: 4px 10px;
        }
    
        .product-title {
            font-size: 1rem;
            padding: 5px;
        }
        
        .product-details h4 {
            font-size: 1rem;
            margin: 5px 0;
        }
    
        .product-card {
            width: 100%;
            margin: 0 auto;
            margin-bottom: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
    
        .add-cart-btn {
            padding: 10px 15px;
            height: 40px;
        }
    
        .price-container {
            font-size: 1rem;
        }
    
        .quantity-control {
            height: 40px;
            justify-content: center;
        }
    
        .price-strike,
        .price-current {
            font-size: 0.90rem;
        }
    
        .quantity-control button {
            font-size: 18px;
            padding: 12px 0;
        }
    
        .quantity-control span {
            font-size: 18px;
        }
    
        .product-unit {
            font-size: 0.70rem;
            padding-left: 4px;
            padding-right: 4px;
            border-radius: 8px;
        }
    }
    
    @media (min-width: 901px) and (max-width: 1280px) {
        /* Body adjustments */
        body {
            padding: 25px;
        }
    
        /* Container settings */
        .container {
            padding: 30px;
            margin-top: 25px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
    
        /* Product image */
        .product-image {
            height: 220px;
            width: 100%;
        }
    
        /* Badges and labels */
        .offer-badge {
            font-size: 14px;
            padding: 4px 10px;
        }
    
        /* Product title */
        .product-title {
            font-size: 1rem;
            padding: 5px;
        }
        
        /* Product details */
        .product-details h4 {
            font-size: 1rem;
            margin: 5px 0;
        }
    
        /* Product card */
        .product-card {
            width: 100%;
            margin: 0 auto;
            margin-bottom: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
    
        /* Add to cart button */
        .add-cart-btn {
            padding: 10px 15px;
            height: 40px;
            font-size: 1rem;
        }
    
        /* Price container */
        .price-container {
            font-size: 0.90rem;
        }
    
        /* Quantity control */
        .quantity-control {
            height: 40px;
            justify-content: center;
        }
    
        /* Price elements */
        .price-strike,
        .price-current {
            font-size: 0.80rem;
        }
    
        /* Quantity control buttons */
        .quantity-control button {
            font-size: 18px;
            padding: 10px 0;
        }
    
        .quantity-control span {
            font-size: 18px;
        }
    
        /* Product unit */
        .product-unit {
            font-size: 0.70rem;
            padding-left: 4px;
            padding-right: 4px;
            border-radius: 10px;
        }
    }
   
    @media (min-width: 1281px) and (max-width: 1920px) {
        /* Body adjustments */
        body {
            padding: 25px;
        }
    
        /* Container settings */
        .container {
            padding: 30px;
            margin-top: 25px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
    
        /* Product image */
        .product-image {
            height: 220px;
            width: 100%;
        }
    
        /* Badges and labels */
        .offer-badge {
            font-size: 14px;
            padding: 4px 10px;
        }
    
        /* Product title */
        .product-title {
            font-size: 1rem;
            padding: 5px;
        }
        
        /* Product details */
        .product-details h4 {
            font-size: 1rem;
            margin: 5px 0;
        }
    
        /* Product card */
        .product-card {
            width: 100%;
            margin: 0 auto;
            margin-bottom: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
    
        /* Add to cart button */
        .add-cart-btn {
            padding: 10px 15px;
            height: 40px;
            font-size: 1rem;
        }
    
        /* Price container */
        .price-container {
            font-size: 0.90rem;
        }
    
        /* Quantity control */
        .quantity-control {
            height: 40px;
            justify-content: center;
        }
    
        /* Price elements */
        .price-strike,
        .price-current {
            font-size: 0.80rem;
        }
    
        /* Quantity control buttons */
        .quantity-control button {
            font-size: 18px;
            padding: 10px 0;
        }
    
        .quantity-control span {
            font-size: 18px;
        }
    
        /* Product unit */
        .product-unit {
            font-size: 0.70rem;
            padding-left: 4px;
            padding-right: 4px;
            border-radius: 10px;
        }
    }
   