
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", 'Roboto', sans-serif;
}


.pricecontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    text-align: center;
}

.pricehe, .priceh {
    font-size: 2rem;
    color: #333;
    margin-top:30px;
}

.priceproducts-grid {
    display: grid;
    gap: 20px;
    padding: 0 10px;
    justify-content: center;
}

.priceproduct-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}



.priceproduct-name{
    font-size: 19px;

}

.priceproduct-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}


.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.priceproduct-original-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
    text-decoration: line-through;
}

.priceproduct-discounted-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e74c3c;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 8px;
}

.view-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
}


.view-more {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f4511e, #ff7849);
    color: #fff;
    font-size: 1.0rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.view-more:hover {
    background: linear-gradient(135deg, #d7431c, #ff502f);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}


.purchase-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f4511e, #ff7849);
    color: #fff;
    font-size: 1.0rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.purchase-button:hover {
    background: linear-gradient(135deg, #d7431c, #ff502f);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.purchase-button:active {
    transform: translateY(0);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.quantity-container {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-container button {
    width: 40px;  
    height: 40px;  
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity-container button:hover {
    background-color: #ddd;
}

.quantity-container input {
    width: 40px; 
    height: 40px;
    text-align: center;
    padding: 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.total-price {
    font-size: 18px;
    font-weight: bold;
    color: #333; 
    padding: 10px 0; 
    text-align: center; 
}

.total-price p {
    margin: 0;
}

.total-amount {
    font-size: 20px;
    color: #f4511e; 
    font-weight: bold;
}


@media (min-width: 1024px) {
    .priceproducts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    
    .priceproducts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .quantity-container {
        gap: 8px;
    }
    .quantity-container button,
    .quantity-container input {
        width: 36px;
        height: 36px;
    }
    .discount-badge {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    .priceproduct-name{
        font-size:15px;
    }
    .total-price {
        font-size: 16px;
    }
    .total-amount {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .priceproducts-grid {
        grid-template-columns: repeat(2, 1fr);
        scroll-behavior: smooth;
    }
    .purchase-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .pricehe, .priceh {
        font-size: 1.8rem;
    }
    .quantity-container {
        gap: 6px;
    }
    .quantity-container button,
    .quantity-container input {
        width: 32px;
        height: 32px;
    }
    .discount-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    .priceproduct-name{
        font-size:15px;
    }
    .total-price {
        font-size: 15px;
    }
    .total-amount {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .priceproducts-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 8px; 
        scroll-behavior:smooth;
    }
    .pricehe, .priceh {
        font-size: 1.4rem;
    }
    .priceproduct-name {
        font-size: 14px;
    }
    .purchase-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .quantity-container {
        gap: 3px;
    }
    .quantity-container button,
    .quantity-container input {
        width: 26px;
        height: 26px;
    }
    .discount-badge {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    .total-price, .total-amount {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .priceproducts-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 6px;
        scroll-behavior:smooth;
    }
    .pricehe, .priceh {
        font-size: 1.3rem;
    }
    .priceproduct-name {
        font-size: 13px;
    }
    .purchase-button {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    .quantity-container {
        gap: 2px;
    }
    .quantity-container button,
    .quantity-container input {
        width: 22px;
        height: 22px;
    }
    .discount-badge {
        font-size: 0.65rem;
        padding: 2px 3px;
    }
    .total-price, .total-amount {
        font-size: 12px;
    }
}

