@import url(./global.css);

/* Dropdown styles */

.cart-dropdown {
    position: relative;
}

.cart-dropdown .dropdown-content {
    display: none;
    position: fixed;
    background-color:#616a61;
    
    border: 2px solid rgb(109, 121, 109);
   min-width: 100px;
    max-height: 46rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 11;
   right: 3.2rem;
}

.cart-dropdown:hover
.dropdown-content {
    display: block;
}

.cart-dropdown .dropdown-content div {
    padding: 10px;
}

.buy-button{
    background-color: orange;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 10px; 
}

#product-details {
    display: flex;
    margin: 20px;
}

.product-image {
    flex: 1;
}

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

.product-info {
    flex: 2;
    padding: 0 20px;
}

.product-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 5px;
}

.product-info strong {
    font-weight: bold;
}

.product-info p:last-child {
    margin-bottom: 0;
}


.add-to-cart-button {
    background-color: orange;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 10px;
}

.add-to-cart-button:hover {
    background-color: darkorange;
}


.add-to-cart button {
    margin-bottom: 5px;
}

#banner-image {
    width: 100%;
}

#banner h1 {
    text-align: center;
    border-bottom: 1px solid green;
    padding-bottom: 20px;
    font-size: 26px;
}

@media screen and (max-width: 768px) {

    .cart-dropdown .dropdown-content {
        display: block;
    
    }
    
    .container {
        flex-direction: column;
        padding: 20px;
    }
    
    .jacket-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .info {
        width: 100%;
    }

    .size-dropdown {
        display: block;
        margin-top: 20px;
    }

    .size-dropdown-content {
        width: 100%;
        min-width: unset;
        border-radius: 0;
        padding: 10px 0;
    }

    #banner {
        padding-top: 70px;
    }
}

form {
    max-width: 1200px;
    padding: 40px;
    margin: 0 auto;
    background-color: hwb(95deg 70.62% 23.94%);
    margin-bottom: 20px;
}

form div {
    margin-bottom: 15px;
}

form label {
    font-weight: bold;
    padding: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 95%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #b8b5b5;
}

#contact h2 {
    padding: 20px;
    text-align: center;
    border-top: 1px solid black;
}


.payment-container {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #a1a8a2;
}

.payment-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid darkgreen;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.data-usage p {
    margin: 10px 0;
    text-align: center;
}

.terms-conditions {
    margin-top: 20px;
    text-align: center;
}


input[type="checkbox"] {
    margin-top: 5px;
}

.order-summary {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid darkgreen;
    border-radius: 5px;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.item {
    margin-bottom: 10px;
}


.price {
    margin-left: auto;
    float: right;
}

.subtotal .amount,
.shipping .amount,
.total .amount {
    float: right;
}

.checkout-button {
    display: block;
    width: 50%;
    margin: 0 auto;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms h1 {
    color: black;
    padding-top: 100px;
    text-align: center;
    border-bottom: 1px solid black;
}

.terms h2 {
    color: black;
    text-align: left;
    font-size: 20px;
}

.terms p {
    font-size: 18px;
}


