/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/


/* Products Section */
.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    margin: 0;
}

.product-details {
/*    display: grid;*/
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.image-container.featured {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    border: 1px solid #ddd;
}

.image-container.featured img {
    max-width: 100%;
    max-height: 100%;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-price {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.product-quantity {
    margin-bottom: 20px;
}

.product-quantity label {
    font-size: 16px;
    margin-right: 10px;
}

.product-quantity input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    margin-right: 10px;
}

.add-to-cart {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.product-info #quantity{   
    color: #333;
    padding: 10px 15px;
    border: 1px solid li;
    cursor: pointer;
    font-size: 16px;
}

.add-to-cart:hover {
    background-color: #555;
}

.product-meta {
    margin-top: 20px;
}

.product-meta p {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-meta ul {
    list-style: none;
    padding: 0;
}

.product-meta ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    list-style: none;
}








.product-tabs {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.tab-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #ccc;
}

.tab-menu li {
    padding: 10px 20px;
    cursor: pointer;
    background: #f8f8f8;
    font-weight: bold;
    margin-right: 10px;   
}

.tab-menu li.active {
    background: white;
    border-bottom: 2px solid transparent;
}

.tab-content {
    margin-top: 20px;
    padding: 20px 11px;
}

.tab-content ul{
    list-style: none;
}

.tab-content ul li{
    list-style: none;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.rating-stars {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 10px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.rating-stars input[type="radio"]:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffcc00;
}

.review-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.review-form input, .review-form textarea, .review-form button {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.review-form button {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    max-width: 220px;
    font-size: 16px;
}

.review-form button:hover {
    background: #333;
}













.related-products {
    margin-top: 40px;
    font-family: Arial, sans-serif;
}

.related-products h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.product-grid {
/*    display: grid;*/
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    padding: 15px;
    /*border: 1px solid #ddd;*/
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
}

.image-container .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e63946;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

.product-card h4 {
    margin: 10px 0;
    font-size: 12px;
    font-weight: bold;
}

.product-card .stars {
    margin: 10px 0;
    font-size: 14px;
    color: #ffcc00;
}

.product-card .price {
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
}

.product-card .price .original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.product-card .add-to-cart {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.product-card .add-to-cart:hover {
    background: #555;
}

.product-info .product-price{
    font-size: 24px;
    font-weight: 600;
    color: #2468c9;
}

.product-info .product-price .sale-price {
    color: #dc3545;
    text-decoration: line-through;
    margin-right: 5px;
}

.related-products .price{
    font-size: 16px;
    font-weight: 600;
    color: #2468c9;
}

.related-products .price .sale-price {
    color: #dc3545;
    text-decoration: line-through;
    margin-right: 5px;
}
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure all cards have the same height */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.1rem;
    margin: 10px 0;
}

.stars {
    margin: 5px 0;
}

.price {
    margin: 10px 0;
    font-size: 1rem;
}

.sale-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.button-container {
    margin-top: auto; /* Push the button to the bottom */
}

.add-to-cart {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.add-to-cart:hover {
    background-color: #218838;
}

