/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {

    background-image: url(img/prod.jpg);
    background-size: cover;
    background-attachment: fixed;
    overflow-y: scroll;
}

/* Container */
.checkout-container {
    width: 900px;
    margin: 175px auto 40px auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}


/* Header */
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 2.6em;
    color: #2e8b57;
    /* Dark sea green */
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Form Styles */
.checkout-form {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #2e8b57;
    /* Dark sea green */
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #c8e6c9;
    /* Light green */
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #388e3c;
    /* Green */
    box-shadow: 0 0 8px rgba(56, 142, 54, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.form-check input {
    margin-right: 12px;
    accent-color: #388e3c;
    /* Green */
}

.form-check label {
    font-size: 1.1em;
}

.form-check label a {
    color: #388e3c;
    /* Green */
    text-decoration: none;
    font-weight: 500;
}

.form-check label a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1em;
    color: #ffffff;
    background-color: #388e3c;
    /* Green */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    background-color: #2c6b2f;
    /* Darker green */
    transform: scale(1.05);
}

/* Thank You Message */
#thank-you-message {
    text-align: center;
    padding: 40px;
    background-color: #e8f5e9;
    /* Very light green */
    border: 1px solid #c8e6c9;
    /* Light green */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#thank-you-message h2 {
    color: #2e8b57;
    /* Dark sea green */
    font-size: 2.4em;
    font-weight: 700;
    margin-bottom: 20px;
}

#thank-you-message p {
    font-size: 1.2em;
    color: #388e3c;
    /* Green */
}

/* Order Summary */
.order-summary {
    margin-top: 40px;
}

.order-summary h2 {
    font-size: 2.4em;
    color: #2e8b57;
    /* Dark sea green */
    margin-bottom: 20px;
    font-weight: 700;
}

.order-summary table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.order-summary table th,
.order-summary table td {
    border: 1px solid #c8e6c9;
    /* Light green */
    padding: 14px;
    text-align: left;
}

.order-summary table th {
    background-color: #e8f5e9;
    /* Very light green */
    font-weight: 500;
}

.order-summary table .total {
    font-weight: 700;
    text-align: right;
    background-color: #f1f8e9;
    /* Very light green */
    padding-top: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .button {
        font-size: 1em;
        padding: 12px 24px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .checkout-header h1 {
        font-size: 2.2em;
    }
}

.nav-icons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fa-user {
    font-size: 20px;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.account-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.account-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.account-menu a:hover {
    background-color: #f0f0f0;
}

.cart-icon {
    font-size: 20px;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.cart-icon i {
    font-size: 20px;
    color: #fff;
}

.cart-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 200px;
}

.cart-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.cart-menu a:hover {
    background-color: #f0f0f0;
}

}

footer {

    position: relative;

    top: 100px;

    background: #111;

    height: auto;

    width: 100vw;

    color: #fff;

    padding-top: 40px;

}

.footer-content {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;

}

.footer-content h3 {

    font-size: 1.8rem;

    text-transform: capitalize;

    line-height: 3rem;

}

.footer-content p {

    max-width: 500px;

    margin: 10px auto;

    line-height: 28px;

    font-size: 14px;

}

.socials {

    list-style: none;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 1rem 0 3rem 0;

}

.socials li {

    margin: 0 10px;

}

.socials a {

    text-decoration: none;

    color: #fff;

}

.socials a i {

    font-size: 1.1rem;

    transition: color 0.4s ease;

}

.socials a:hover i {

    color: aqua;

}

.footer-bottom {

    width: 100vw;

    padding: 20px 0;

    text-align: center;

}

.footer-bottom p {

    font-size: 14px;

    word-spacing: 2px;

}

.footer-bottom span {

    opacity: 0.4;

    font-weight: 200;

}

.logo {
    width: 50px;
    height: auto;
}