.outer-container{
    width: 75%;
    max-width: 1140px;
    margin: 0 auto;
}

.items-container{
    width: 75%;
}

.cart-header{
    font-family: Amsterdam;
    margin: 2rem;
}

.item-card{
    display: flex;
    flex-wrap: wrap;
    /* background: #e3e3e3 ; */
    /* background: #d9d9d9; */
    background: #ffffff;
    border-radius: .5rem;
    margin: 5px 0;
    padding: 2rem 1rem;
    box-shadow: none;
    min-height: 250px;
}

.item-card:hover{
    -webkit-box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
    box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
}

.item-card:nth-child(1){
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.item-card:last-child{
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.item-name{
    font-family: Amsterdam;
    font-size: 2rem;
}

.number-input{
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
}

.item-price{
    text-align: center;
}

.change-amounts,
.number-display{
    font-size: 1.4rem;
    
}

.change-amounts:hover{
    color: var(--Bright-pink-very-dark);
}

.change-amounts:focus,
.change-amounts:focus-visible,
.change-amounts:focus-within,
.change-amounts:visited,
.change-amounts:active{
    border: none;
    box-shadow: none;
}

.remove-form{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.remove-but{
    border: none;
    color: var(--bg-dark);
    background: transparent;
    font-size: 1.5rem;
    
}

.remove-but:focus,
.remove-but:focus-visible,
.remove-but:focus-within,
.remove-but:visited,
.remove-but:active{
    border: none;
    box-shadow: none;
}

.remove-but:hover{
    color: var(--Dark-pink);
}

.addresses-container{
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + label {
    border: 1px solid var(--Bright-pink);
    -webkit-box-shadow: inset 0px 0px 16px -1px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px 0px 16px -1px rgba(0,0,0,0.2);
    box-shadow: inset 0px 0px 16px -1px rgba(0,0,0,0.2);
}

.address{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 100px;
    height: max-content;
    /* background: #e9e9e9; */
    background: #ffffff;
    padding: 1rem;
    
}

/* Default styles for one or more than 3 addresses */
.address.single,
.address.multi {
    width: 100%;
    border-radius: 1.5rem;
}

/* Default styles for two addresses */
.address.double {
    width: 49.5%;
    border-radius: .5rem; /* Adjust this as needed */
}

/* Styles for the first address in the two-address scenario */
.address.double:first-of-type {
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

/* Styles for the second address in the two-address scenario */
.address.double:last-child {
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.address.triple{
    width: 33%;
    border-radius: .5rem;
}

.address.triple:first-of-type {
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.address.triple:last-child{
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.address:hover{
    cursor: pointer;
    -webkit-box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
    box-shadow: 7px 7px 21px 5px rgba(0,0,0,0.15);
}

.label-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: max-content;
}

.address-label{
    margin: 0;
    line-height: 25px;
    height: max-content;
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-city{
    display: flex;
    font-size: 60%;
    font-weight: 400;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-desc-container{
    position: relative;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-desc-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25%; /* Adjust the width of the fade effect */
    height: 100%;
    background: linear-gradient(to right, rgb(255, 255, 255, 0) 0%, rgb(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.address-desc{
    display: flex;
    color: #757575;
    font-size: 85%;
}

.manage-addresses{
    width: 100%;
    text-align: center;
    color: var(--Dark-pink);
    
}

.manage-addresses:hover{
    text-decoration: none;
    color: var(--Dark-pink-dark);
}


.price-container{
    display: flex;
    flex-wrap: wrap;
    /* max-width: 35%; */
    /* background: var(--bg-semi-dark); */
    border-radius: 1rem;
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.summary-title{
    width: 100%;
    font-size: 1.2rem;
    font-weight: 400;
    margin: .75rem 0;
}

.summary-value{
    font-weight: 700;
    float: right;
}

.coupon-form{
    width: auto;
    max-width: max-content;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    margin: 0 auto;
}

.coupon-form-container,
.remove-coupon-container{
    width: 100%;
    margin-bottom: 1rem;
}

.coupon-input{
    width: 80%;
    margin: 0;
    float: left;
    padding: 1.42rem;
    border: none;
    border-radius: 5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.coupon-apply{
    width: 20%;
    margin: 0;
    float: left;
    padding: .25rem 0;
    border: none;
    border-radius: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: var(--Bright-pink);
}

.remove-coupon-form{
    width: 35%;
    max-width: 35%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    margin: 0 auto;
}

.remove-coupon-container{
    width: 100%;
    padding: 0.7rem 1.1rem;
    border-radius: 5rem;
    border: 3px solid white;
    display: flex;
    justify-content: space-between;
}

.remove-coupon-btn{
    background: transparent;
    color: var(--Dark-pink);
    padding: 0;
    
}

.remove-coupon-btn:hover{
    background: transparent;
    color: var(--Bright-pink);
}

.coupon-text{
    color: var(--Dark-pink);
}

.checkout-btn-container{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: 2rem 0;
}

.checkout-btn{
    background: var(--Bright-pink);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    
}

.checkout-btn:hover{
    color: white;
    background: var(--Bright-pink-dark);
}

@media(max-width: 1250px){
    .outer-container{
        width: 90%;
    }

    .item-name {
        font-size: 2rem;
    }
}

@media(max-width: 1024px){
    .outer-container{
        width: 95%;
    }

    .items-container{
        width: 90%;
    }
}

@media(max-width: 992px){
    .item-name {
        font-size: 1.5rem;
    }

    .item-price{
        font-size: 1.2rem;
    }

    .remove-coupon-form{
        width: 50%;
        max-width: 50%;
        margin: 0 auto;
    }


    .coupon-form {
        width: auto;
        max-width: max-content;
        margin: 0 auto;
    }

    .checkout-btn{
        width: 35%;
    }
}

@media(max-width: 850px){
    .item-price{
        font-size: 1rem;
    }
}

@media(max-width: 735px){

    .item-price{
        font-size: 1rem;
    }

    .change-amounts, .number-display{
        font-size: 1rem;
    }
}

@media(max-width: 670px){
    .item-card{
        justify-content: space-between;
        min-height: 200px;
        padding: 2rem;
    }

    .item-img-container{
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .item-name {
        font-size: 0.7rem;
    }

    .item-name-container{
        max-width: 25%;
    }

    .item-price-container{
        max-width: 35%;
        width: 35%;
    }

    .remove-but{
        font-size: 1rem;
    }

    .checkout-btn {
        width: 45%;
    }
}

@media(max-width: 500px){
    
    .checkout-btn{
        width: 75%;
    }

}
