.cart-empty {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
}

.cart-empty-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-empty-text-title {
    color: #141414;
    font-weight: bold;
    font-size: 1.4rem;
}

.cart-empty-text-subtitle {
    color: #525252;
    font-weight: 400;
    font-size: 1.2rem;
}

.exp-btn button {
    display: flex;
    border: none;
    background-color: transparent;
    border: 1px solid #FF0000;
    color: #FF0000;
    padding: 1rem 2.2rem;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart {
    display: flex;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 3;
    min-width: 0;
    box-sizing: border-box;
}

.cart-details-header {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.cart-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    align-items: flex-start;
    width: 100%;
    padding: 1.2rem;
    box-sizing: border-box;
}

.cart-details-policy {
    color: #FF0000;
}

.cart-details-policy:hover {
    color: #FF0000;
    text-decoration: underline;
    cursor: pointer;
}

.cart-contianer-title {
    text-align: start;
    font-size: 1rem;
    font-weight: 600;
}

.terms {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    justify-content: center;
    background-color: #E5E7EB;
    padding: 0.8rem 1rem;
    box-sizing: border-box;
    font-size: 0.9rem;
    color: #525252;
    flex-wrap: wrap;
}

.cart-details-policy-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding-left: 0.7rem;
}

.cart-details-policy-list li {
    color: #525252;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: start;
    padding: 0rem;
}

.cart-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 2;
    min-width: 0;
    box-sizing: border-box;
}

.cart-content-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.cart-content-items-details {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.cart-content-items-details-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #FF0000;
    background-color: white;
    padding: 0.5rem;
    box-sizing: border-box;
}

.cart-content-offers {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.cart-content-offers-icon {
    padding: 0.5rem;
    background-color: #D3F8DF;
    border-radius: 8px;
}

.cart-content-offers-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: stretch;
    text-align: start;
    min-width: 0;
}

.cart-content-offers-title {
    text-align: start;
    font-size: 1rem;
}

.cart-content-offers-subtitle {
    color: #525252;
    text-align: start;
    font-size: 0.8rem;
}

.cart-content-payment {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
}

.cart-content-payment-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.cart-content-payment-divider {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
}

.cart-content-amount {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
}

.dialog-payment {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    align-items: flex-start;
}

.dialog-payment input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: red;
    cursor: pointer;
}

.dialog-payment label {
    cursor: pointer;
}

.dialog-edit-address {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.7rem;
}

.dialog-edit-address input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: red;
    cursor: pointer;
}

.dialog-edit-address label {
    cursor: pointer;
}

.dialog-edit-address-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    flex: 1;
}

.dialog-edit-address-details-divider {
    width: 2px;
    height: 20px;
    background: #E5E7EB;
    margin: 0 0.2rem;
}

.address-btn button {
    display: flex;
    align-items: center;
    color: #737373;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    background-color: transparent;
    border: 0px;
    gap: 0.2rem;
}

.address-btn:hover {
    text-decoration: underline;
    text-decoration-color: #737373;
}

.desktop {
    display: flex;
}

.mobile {
    display: none;
}

/* Desktop Large - 1200px and above */
@media (min-width: 1200px) {
    .cart {
        gap: 1.5rem;
    }

    .cart-details {
        gap: 2rem;
    }

    .cart-container {
        padding: 1.5rem;
    }

    .terms {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .cart-content {
        gap: 2rem;
    }
}

/* Laptop - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .cart {
        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) {
    .cart {
        gap: 1rem;
    }

    .cart-container {
        padding: 1rem;
    }

    .terms {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        gap: 0.25rem;
    }

    .cart-content-offers {
        gap: 1rem;
    }
}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .cart {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .cart-details {
        width: 100%;
    }

    .cart-content {
        width: 100%;
    }

    .cart-container {
        padding: 1rem;
    }

    .terms {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.2rem;
        text-align: center;
        line-height: 1.4;
    }

    .cart-content-offers {
        gap: 1rem;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: flex;
    }
}

/* Mobile Small - 479px and below */
@media (max-width: 479px) {
    .cart {
        gap: 0.8rem;
    }

    .cart-details {
        gap: 1.2rem;
    }

    .cart-content {
        gap: 1.2rem;
    }

    .cart-container {
        padding: 0.8rem;
    }

    .terms {
        padding: 0.6rem;
        font-size: 0.75rem;
        gap: 0.15rem;
    }

    .cart-content-offers {
        gap: 0.8rem;
    }

    .exp-btn button {
        padding: 0.8rem 1.5rem;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .cart-container {
        padding: 0.7rem;
    }

    .terms {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    .cart-empty-text-title {
        font-size: 1.2rem;
    }

    .cart-empty-text-subtitle {
        font-size: 1rem;
    }
}