
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}


.container .bg {
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image: url("bg2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.4;
}


h1 {
    text-align: center;
    font-size: 32px;
    color: #333;
}

h2 {
    text-align: center;
    color: #333;
}

h4 {
    text-align: center;
    color: #333;
}


.cart-table {
    width: 100%;
    border-collapse: separate;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 0px;
    border-spacing: 0px;
}

.cart-table th, .cart-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
}

.cart-table th {
    background-color: #f7f7f7;
}

.cart-table td {
    padding: 15px;
}


.add-to-cart, .checkout, .remove-btn {
    padding: 10px 20px;
    background-color: #0275d8;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.add-to-cart:hover, .checkout:hover, .remove-btn:hover {
    background-color: #025aa5;
}


.quantity-input {
    width: 50px;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    text-align: center;
    transition: border-color 0.3s;
}

.quantity-input:focus {
    border-color: #0044cc;
    outline: none;
}


.remove-btn {
    background-color: #d9534f;
    color: white;
}

.remove-btn:hover {
    background-color: #c9302c;
}


.empty-cart {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #0044cc; 
    background-color: #fff; 
    border: 2px solid #0044cc; 
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}


.grand-total td {
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: right;
}

.grand-total td:last-child {
    font-size: 18px;
    color: #0275d8;
}

.grand-total td:first-child {
    text-align: right;
    font-size: 16px;
}


.ob-total td {
    font-weight: bold;
    background-color: #f7f7f7;
    text-align: right;
}

.ob-total td:last-child {
    font-size: 18px;
    color: #0275d8;
}

.ob-total td:first-child {
    text-align: right;
    font-size: 16px;
}


.products {
    margin-top: 30px;
}


.product-image {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 2px solid #0044cc;
    border-radius: 10px;
}


.product-table {
    width: 100%;
    border-collapse: separate;
    margin-top: 20px;
    border-spacing: 0px;
    border: 2px solid #ddd;
    border-radius: 0px;
}

.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
    
}

.product-table th {
    background-color: #f7f7f7;
}


.product-table td:nth-child(1), 
.product-table th:nth-child(1) {
    width: 40%;
}

.product-table td:nth-child(2), 
.product-table th:nth-child(2) {
    width: 30%;
}

.product-table td:nth-child(3), 
.product-table th:nth-child(3) {
    width: 20%;
}

.product-table td:nth-child(4),
.product-table th:nth-child(4) {
    width: auto;
}

.no-stock-message {
    text-align: center;
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 20px;
}
.no-stock-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.no-stock-message p {
    font-size: 18px;
}



.checkout-message {
    text-align: center;
    margin-bottom: 20px;
}

.checkout-message h2 {
    font-size: 32px;
    color: #0044cc;
}

.checkout-message p {
    font-size: 18px;
    color: #333;
    margin-top: 10px;
}

.checkout-buttons {
    text-align: center;
}

.payment-btn {
    padding: 15px 30px;
    background-color: #0275d8;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.payment-btn:hover {
    background-color: #025aa5;
}

.payment-btn:active {
    background-color: #014f86;
}


.customer-info-page h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
}

.customer-info-page .form {
    margin-top: 20px;
}

.customer-info-page label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

.customer-info-page input[type="text"],
.customer-info-page textarea,
.customer-info-page input[type="email"] {
    width: 90%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}

.customer-info-page button.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0275d8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.customer-info-page button.submit-btn:hover {
    background-color: #025aa5;
}


.customer-info-page input[type="text"]:focus,
.customer-info-page textarea:focus,
.customer-info-page input[type="email"]:focus {
    border-color: #5cb85c;
    outline: none;
}


.required:after {
    content: " *";
    color: #e74c3c;
}


.review-order-page {
    background-color: #f4f4f4;
     font-family: 'Roboto', sans-serif;
}

.review-order-page .review-order {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-order-page .review-order h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.review-order-page .review-order ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.review-order-page .review-order ul li {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.review-order-page .review-buttons {
    text-align: center;
    margin-top: 20px;
}

.review-order-page .btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s;
    margin: 5px;
    display: inline-block;
}

.review-order-page .btn.primary {
    background-color: #0275d8;
}

.review-order-page .btn.primary:hover {
    background-color: #025aa5;
}

.review-order-page .btn.secondary {
    background-color: #6c757d;
}

.review-order-page .btn.secondary:hover {
    background-color: #5a6268;
}



.review-order-page textarea
{
    width: 90%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}



@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .cart-table th, .cart-table td {
        padding: 10px 12px;
    }

    .add-to-cart, .checkout, .remove-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .quantity-input {
        width: 40px;
        padding: 6px;
        font-size: 14px;
    }

    .product-table th, .product-table td {
        padding: 10px;
    }

    .product-table td {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .product-table, .cart-table {
        width: 100%;
        font-size: 14px;
    }

    .add-to-cart, .checkout, .remove-btn {
        width: 100%;
        padding: 10px 20px;
    }

    .quantity-input {
        width: 35px;
    }

    .empty-cart {
        font-size: 16px;
    }
}


@media (max-width: 768px) {
   
    .customer-info-page input[type="text"],
    .customer-info-page input[type="email"],
    .customer-info-page textarea {
        font-size: 14px;
    }

    .review-order-page button.checkout {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
  
    .customer-info-page input[type="text"],
    .customer-info-page input[type="email"],
    .customer-info-page textarea {
        font-size: 14px;
    }

    .review-order-page button.checkout {
        font-size: 14px;
    }
}
