.checkoutcart {
    display: flex;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.checkoutcart-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 3;
    min-width: 0;
    box-sizing: border-box;
}

.checkoutcart-details-header {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.checkoutcart-details-header-title{
    color: #141414;
    font-weight: 700;
    font-size: 1.3rem;
}

.checkoutcart-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    align-items: flex-start;
    width: 100%;
    padding: 1.2rem;
    box-sizing: border-box;
    border-radius: 16px;
}

.checkoutcart-container-saving{
    color: #099250;
}


.checkoutcart-contianer-title {
    text-align: start;
    font-size: 1rem;
    font-weight: 600;
    color: #141414;
}

.checkoutcart-details-policy-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding-left: 0.7rem;
}

.checkoutcart-details-policy-list li {
    color: #525252;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: start;
    padding: 0rem;
}

.checkoutcart-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 2;
    min-width: 0;
    box-sizing: border-box;
}

.checkout-account-login{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
    width: 100%;
}

.checkout-account-login-title{
    color: #141414;
    font-weight: 700;
    font-size: 1.3rem;
}

.checkout-account-login-subtitle {
    font-size: 0.8rem;
    color: #737373;
    margin: 0;
    margin-top: -0.7rem;
    text-align: start;
    line-height: 1.4;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 2px solid #B704F6;
    width: fit-content;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.quantity-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: #B704F6;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 1.3rem;
    height: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.quantity-btn:hover {
    opacity: 0.7;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-value {
    font-size: 1rem;
    font-weight: 600;
    color: #141414;
    margin: 0;
    min-width: 1.3rem;
    text-align: center;
}

.desktop {
    display: flex;
}

.mobile {
    display: none;
}

/* Desktop Large - 1200px and above */
@media (min-width: 1200px) {
    .checkoutcart {
        gap: 1.5rem;
    }
    
    .checkoutcart-details {
        gap: 2rem;
    }
    
    .checkoutcart-container {
        padding: 1.5rem;
    }
    
    .terms {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .checkoutcart-content {
        gap: 2rem;
    }
}

/* Laptop - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .checkoutcart {
        gap: 1.2rem;
    }
    
    .terms {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Tablet - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .checkoutcart {
        gap: 1rem;
    }
    
    .checkoutcart-container {
        padding: 1rem;
    }
    
    .terms {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        gap: 0.25rem;
    }
    

}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .checkoutcart {
        flex-direction: column;
        gap: 1rem;
    }

    .checkoutcart-details {
        width: 100%;
    }

    .checkoutcart-content {
        width: 100%;
    }
    
    .checkoutcart-container {
        padding: 1rem;
    }
    
    .terms {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.2rem;
        text-align: center;
        line-height: 1.4;
    }
    



}

/* Mobile Small - 479px and below */
@media (max-width: 479px) {
    
    .checkoutcart {
        gap: 0.8rem;
    }
    
    .checkoutcart-details {
        gap: 1.2rem;
    }
    
    .checkoutcart-content {
        gap: 1.2rem;
    }
    
    .checkoutcart-container {
        padding: 0.8rem;
    }
    
    .terms {
        padding: 0.6rem;
        font-size: 0.75rem;
        gap: 0.15rem;
    }
    
    
    .exp-btn button {
        padding: 0.8rem 1.5rem;
    }

    
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .checkoutcart-container {
        padding: 0.7rem;
    }
    
    .terms {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    .checkoutcart-empty-text-title {
        font-size: 1.2rem;
    }
    
    .checkoutcart-empty-text-subtitle {
        font-size: 1rem;
    }
}
