.cart-wrap {
    width: auto;
    display: flex;
}

.cart-items-wrap {
    background-color: black;
    border-radius: 12px;
    padding: 16px;
}

.cart-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.cart-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    background-color: black;
    width: 640px;
    border-bottom: 1px solid #737373;
}

.cart-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-img {
    height: 144px;
    width: 164px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 16px;
}

.cart-item-name {
    font-size: 20px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 600;
}

.cart-customs {
    padding: 16px;
    background-color: #151515;
    margin-top: 16px;
    border-radius: 8px;
}

.cart-customs span{
    color: #B0B0B0;
}


.cart-item-custom-subgroup {
    margin-top: 12px;
}

.cart-item-custom-subgroup:first-child {
    margin-top: 0;
}

.cart-item-subgroup-head {
    font-weight: 500;
    font-size: 20px;
}

.cart-custom-item {
    margin-top: 8px;
    font-size: 16px;
    color: white !important;
}

.cart-custom-item-price {
    font-size: 20px;
    font-weight: 600;
    color: #97041D !important;
}

.cart-summary-wrap {
    margin-left: 32px;
    width: 400px;
    min-height: 240px;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.cart-summary-background {
    background-color: black;
    border-radius: 12px;
    padding: 16px;
}

.summary-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.summary-continue {
    width: 100%;
    height: 56px;
    background-color: #97041D;
    border: 0;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-top: 12px;
    transition: all 0.2s;
}

.summary-continue:hover {
    background-color: #6e0012;
}

.summary-price span:first-child {
    font-size: 20px;
}

.summary-price span:last-child {
    font-size: 20px;
    font-weight: 600;
}

.coupon-apply {
    font-size: 20px;
    padding: 8px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #737373;
    margin-bottom: auto;
    cursor: pointer;
    margin-bottom: 32px;
}

#coupon-input {
    width: 248px;
    height: 48px;
    border: 0;
    border-radius: 8px;
    border-radius: 8px;
    background-color: #151515;
    padding-left: 8px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    text-align: left;
    outline: 0;
}

.coupon-input-wrap {
    display: flex;
    align-items: center;
    background-color: #151515;
    padding: 8px;
    margin-top: 8px;
    border-radius: 8px;
}

.coupon-input-wrap button {
    background-color: #97041D;
    color: white;
    font-size: 16px;
    border: 0;
    border-radius: 8px;
    width: 124px;
    height: 48px;
    transition: all 0.2s;
}

.coupon-input-wrap button:hover {
    background-color: #6e0012;
}

.summary-discount {
    border-bottom: 1px solid #737373;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.details-wrap {
    display: flex;
}

.details-info-wrap {
    margin-left: 32px;
}

.details-info-wrap h2 {
    font-size: 28px;
    font-weight: 600;
}

.details-info {
    background-color: black;
    border-radius: 12px;
    padding: 16px;
    width: 400px;
    height: fit-content;
}

.details-input {
    outline: 0;
    width: 100%;
    height: 56px;
    background-color: #151515;
    border-radius: 8px;
    border: 0;
    margin-bottom: 16px;
    padding: 8px 16px;
    color: white;
}

.confirm-label {
    color: #737373;
    margin-bottom: 2px;
}

.confirm-value {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 8px;
}

.confirm-email-info {
    margin-top: 8px;
    color: white;
}

.details-sum-price {
    font-size: 24px;
    font-weight: 600;
    color: #97041D;
}

.details-sum-head {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

@media only screen and (max-width: 1124px) {
    .cart-wrap {
        flex-direction: column;
    }

    .cart-content {
        margin-bottom: 0;
    }
    
    .cart-summary-wrap {
        margin-top: 32px;
        margin-left: 0;
    }

    .details-wrap {
        flex-direction: column;
    }

    .details-info-wrap {
        margin-top: 32px;
        margin-left: 0;
    }
}  


@media only screen and (max-width: 700px) {
    .cart-wrap {
        width: 90%;
    }

    .cart-content {
        width: 100%;
    }

    .cart-item {
        width: 100%;
    }

    .details-wrap {
        width: 90%;
    }
}

@media only screen and (max-width: 564px) {
    .cart-wrap {
        width: 94%;
    }
    .cart-summary-wrap {
        width: 100%;
    }

    .coupon-input-wrap {
        justify-content: space-between;
    }

    .cart-item-img {
        height: 104px;
        width: 112px;
    }

    .cart-item-name {
        font-size: 18px;
    }

    
    .details-wrap {
        width: 94%;
    }

    .details-info {
        width: 100%;
    }
}



