.minimum-order-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}

.green-mark {
    font-size: 1rem;
    color: #1a7a4a;
    font-weight: bold;
}

.form-check input:checked {
    background-color: #bd0e6a;
}

.form-check input {
    margin-top: 0;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    /* border: none; */
    cursor: pointer;
    border: 1px solid #bd0e6a;

}

.form-check-input:checked {
    border-color: #bd0e6a !important;
}

.is-invalid {
    border: 1px solid red !important;
}

.checkout-radio {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-radio:hover {
    border-color: #bd0e6a;
    background-color: #f9f9f9;
}

.checkout-radio-box {
    margin-right: 10px;
}

.pink-radio-input {
    accent-color: #bd0e6a;

}

.form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.1;
    color: #424242;
}

.payment-icon {
    /*margin-right: 10px;*/
    /*width: 40px;*/
    height: auto;
}

.payment-text {
    font-weight: 500;
}

.promo-code-section {


}

/*.promo-input-group {*/
/*    display: flex;*/
/*    gap: 10px;*/
/*    margin-top: 10px;*/
/*}*/

/*.promo-input {*/
/*    flex: 1;*/
/*    padding: 8px 12px;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 4px;*/
/*    font-size: 14px;*/
/*}*/

/*.promo-btn {*/
/*    background-color: #bd0e6a;*/
/*    color: white;*/
/*    border: none;*/
/*    padding: 8px 16px;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*    font-size: 14px;*/
/*    transition: background-color 0.3s;*/
/*}*/

/*.promo-btn:hover {*/
/*    background-color: #a00c5a;*/
/*}*/

/*.promo-btn:disabled {*/
/*    background-color: #ccc;*/
/*    cursor: not-allowed;*/
/*}*/

.promo-input-group {
    position: relative;
    width: 100%;
}

.promo-input {
    width: 100%;
    height: 44px;
    padding: 0 120px 0 15px; /* spațiu pentru buton */
    border-radius: 14px;
    border: 2px solid #f0d8f0;
    background: #fdf8ff;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: -0.3px;
    outline: none;
    transition: 0.3s ease;
}

.promo-input:focus {
    border-color: #be0e6a;
}

.promo-btn {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    height: 40px;
    padding: 0 18px;
    border-radius: 11.5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    border: none;
    border-left: 2px solid #f0d8f0;
    background: #be0e6a;
    color: #fff;
    font-size: 12.5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.promo-btn:hover {
    background: #dc3871;
}

.promo-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    line-height: 1.4;
}

/*.promo-success {*/
/*    background-color: #d4edda;*/
/*    color: #155724;*/
/*    border: 1px solid #c3e6cb;*/
/*}*/

.promo-success {
    background: linear-gradient(135deg, #e8f8ef, #d4f5e5);
    border: 1px solid #a8e6c3;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    font-size: 12.5px;
    line-height: 1.1;
    color: #1a7a4a;
    font-weight: 600;
    align-items: flex-start;
    text-align: center;
}

.promo-error {
    background: linear-gradient(135deg, #fdf0f7, #fce4f0);
    border: 1px solid #f8c8e0;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    font-size: 12.5px;
    line-height: 1.1;
    color: #d81b7a;
    font-weight: 600;
    align-items: flex-start;
    text-align: center;
}

.checkout-total {
    font-size: 16px;
    font-weight: 800;
    color: #424242;
    margin-bottom: 15px;
}

/* Добавить анимацию для привлечения внимания к сообщению */
.promo-message {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discount-line {
    color: #1a7a4a;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.green-mark {
    font-size: 1rem;
    color: #1a7a4a;
    font-weight: bold;
}

.subtotal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.subtotal-item h6 {
    margin: 0;
    font-size: 1rem;
}

.subtotal-label {
    text-align: left;
}

.subtotal-value {
    text-align: right;
}

@media (max-width: 767px) {
    .breadcrumbs {
        background: #fbfbfb;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding: 5px 0 !important;
        margin-bottom: 5px;
    }

    .breadcrumb {
        margin-bottom: 0;
    }

    body {
        background-color: white!important;
    }

    .form-mobile {
        margin-top: 0;
    }

    .mobile-products-section {
        padding-left: 0;
        padding-right: 0;
    }

    /*.topmag-card {*/
    /*    background: #fbfbfb;*/
    /*    border-radius: 10px;*/
    /*    padding: 10px;*/
    /*    box-shadow: unset;*/
    /*    margin-bottom: 10px;*/
    /*}*/
    .topmag-card .form-control {
        height: 40px;
        border-radius: 10px;
        margin-top: 10px !important;
        border: 1px solid #424242;
        background-color: white !important;
    }

    .topmag-card h5 {
        margin-left: 0;
        margin-bottom: 10px !important;
        font-size: 16px;
    }

    #city:disabled {
        opacity: .4;
    }

    #region, #city {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'%3E%3Cpath fill='grey' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: 100% center;
        background-size: 30px;
    }

    .checkout-radio {
        margin-top: 0;
        border-radius: 10px;
        margin-bottom: 10px;
        border-color: #424242;
        background: white;
        height: 40px;
    }

    .check-mobile {
        padding-bottom: 0 !important;
    }

    .checkout-order-item h6 {
        font-size: 12.5px;
        line-height: 1.1;
        margin-left: 0;
    }

    .promo-input-group {
        gap: unset;
        height: 40px;
    }

    /*#promo-code-input {*/
    /*    height: 40px !important;*/
    /*    border-radius: 10px 0 0 10px !important;*/
    /*    border-color: #424242 !important;*/
    /*    background: white !important;*/
    /*    border-right: unset;*/
    /*}*/

    .promo-code-section h6 {
        font-size: 16px;
        margin-left: 0;
    }

    hr {
        margin: 10px 0 !important;
    }

    .promo-code-section {
        padding-top: 10px;
        margin-top: 10px;
    }

    .promo-btn {
        border-radius: 0 10px 10px 0 !important;
    }

    .checkout-order-item {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .mobilePrivacy {
        margin-top: 10px;
    }

    .btn-pink {
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .form-check-label {
        display: inline;
    }

}

.active-cashback {
    background: linear-gradient(90deg, #48B777 0%, #3BA46B 100%);
    border-radius: 14px;
    color: white;
    height: 44px;
    transition: .3s;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
}

.active-cashback:hover {
    background: linear-gradient(90deg, #3BA46B 0%, #48B777 100%);
}

.active-cashback b {
    font-size: 16px;
}

.active-cashback-title {
    background: linear-gradient(90deg, #48B777 0%, #3BA46B 100%);
    font-size: 20px;
    color: white;
    height: 44px;
    border-radius: 14px;
}

#cashbackAvailable {
    font-size: 18px !important;
}

.spent-cashback {
    background: linear-gradient(90deg, #FB7D7E 0%, #F76862 100%);
    border-radius: 12px;
    color: white;
    min-height: 38px;
    transition: .3s;
}

.spent-cashback:hover {
    background: linear-gradient(90deg, #F76862 0%, #FB7D7E 100%);
}

.spent-cashback b {
    font-size: 16px;
}

.modal-active-button {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.modal-cancel-button {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

@media (max-width: 767px) {
    #cashbackApplyBtn {
        font-size: 13px !important;
    }

    .modal-cancel-button {
        font-size: 13px !important;
    }

    .active-cashback-title {
        font-size: 16px !important;
    }

    .info-title-referral {
        margin-bottom: 0;
    }
}

.info-title-referral {
    line-height: 1.1;
}


#cashbackModalLabel {
    margin-bottom: 0 !important;
}

.modal-body {
    padding: 15px 15px 0 15px !important;
}


/* NEW DESIGN */
.topmag-card-header {
    background: linear-gradient(to right, #830B41, #be0e6a);
    padding: 15px;
    color: #ffffff;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    border: 1px solid #f0d8f0;
    border-bottom: unset;
}

.topmag-card-header h5 {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.2px;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.topmag-card-content {
    padding: 15px;
    border: 1px solid #f0d8f0;
    border-top: unset;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.topmag-card-inputs label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #424242;
    margin-bottom: 0;
}

.topmag-card-inputs {
    margin-bottom: 5px;
}


.topmag-card-inputs .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #f0d8f0;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #2d1a2e;
    background: #fdf8ff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    height: 44px;
}

.products-title-text {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #2d1a2e;
    letter-spacing: -0.5px;
}

.topmag-radio-input {
    display: flex;
    align-items: center;
    /*gap: 12px;*/
    padding: 12px 14px;
    border: 2px solid #f0d8f0;
    border-radius: 14px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
    background: #fdf8ff;
    height: 44px;
}

.topmag-radio-input:has(input:checked) {
    border-color: #d81b7a;
}

.topmag-radio-input:has(input:checked) label {
    color: #d81b7a;
    font-weight: 600;
}

.checkout-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fdf0f7, #fce4f0);
    border: 1px solid #f8c8e0;
}

.topmag-card-inputs input::placeholder {
    color: #cccccc;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: 0.3s ease;
}

.title-2-lines {
    font-size: 12.5px !important;
    line-height: 1.1;

    display: -webkit-box;
    -webkit-line-clamp: 2; /* maxim 2 rânduri */
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.subtotal-item h6 {
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.checkoutDiscount {
    display: grid;
    row-gap: 3px;
    margin-bottom: 15px;
}

.subtotal-item {
    margin-bottom: 0;
}

.priceInfo {
    font-size: 12.5px;
    color: #424242;
    font-weight: 600;
}

.lowPrice {
    color: #d81b7a;
}

.highPrice {
    text-decoration: line-through;
    font-weight: unset;
    font-size: 10px;
    color: #cccccc;
}

.quantityInfo {
    font-size: 12.5px;
    font-weight: 600;
    color: #424242;
}

.checkoutDesign {
    --bs-gutter-x: 15px;
}

.checkout-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e8f8ef, #d4f5e5);
    border: 2px solid #a8e6c3;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 15px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1a7a4a;
}

.checkInput {
    margin-bottom: 15px;
    margin-top: 15px;
}


.dividerCheckout {
    display: flex;
    align-items: center;
    text-align: center;
    color: #d81b7a;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 1;
}

.dividerCheckout::before, .dividerCheckout::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.dividerCheckout::before {
    margin-right: 15px;
}

.dividerCheckout::after {
    margin-left: 15px;
}


.checkoutButtonNew {
    width: 100%;
    padding: 16px;
    background: #be0e6a;
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(216, 27, 122, 0.35);
    position: relative;
    overflow: hidden;
    height: 46px;
}

.checkoutButtonNew:hover {
    background: #dc3871;
}

.breadcrumb-item {
    font-weight: 600;
    color: #d81b7a;
}

.breadcrumb-item.active {
    font-weight: 400;
    color: #a08caa;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #a08caa;
}

body {
    /*background: #faf5ff !important;*/
}

#topbar {
    /*background: #faf5ff !important;*/
}

@media (min-width: 768px) {
    .stickyTop {
        position: sticky;
        top: 75px; /* distanța de sus */
        align-self: flex-start; /* important */
    }

    .topmag-card {
        box-shadow: 0 4px 8px rgba(216, 27, 122, 0.35);
    }
}


#cashbackModal .modal-content {
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(216, 27, 122, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
}

#cashbackModal .modal-header {
    background: linear-gradient(to right, #830B41, #be0e6a);
    padding: 15px;
    color: #fff;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.checkoutModal-closeBtn {

    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white!important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}

.checkoutModal-closeBtn:hover {
    background: rgba(255, 255, 255, 0.35);
}

#cashbackModal .modal-title {
    font-family: 'Nunito', sans-serif;
    color: white;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.3px;
    position: relative;
    line-height: 1;
    z-index: 1;
}

.info-title-referral {
    margin-top: 15px;
    color: #d81b7a;
    font-weight: 600;
    font-size: 12px;
    display: grid;
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 3px;
}

.info-title-referral span {
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #b060a0;
    margin-bottom: 3px;
}

.modalCashBackText {
    font-size: 12px;
    color: #b060a0;
    margin-bottom: 3px;
    line-height: 1.4;
}

#cashbackUseMaxBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #d81b7a;
    background: #fff0f7;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #d81b7a;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

#cashbackUseMaxBtn:hover {
    color: #fff0f7;
    background: #d81b7a;
}

.cashbackCardInfo {
    background: linear-gradient(135deg, #fff0f7, #f3e8ff);
    border: 2px solid #f0d8f0;
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 15px;
}

.cashCard_Info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.cashSummary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: #2d1a2e;
}

.cashSummaryPrice {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #d81b7a;
}

.cashCard_InfoTitle {
    font-size: 13px;
    color: #a08caa;
    font-weight: 500;
}

.cashCard_InfoText {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #2d1a2e;
    display: flex;
    gap: 3px;
}

.inputCashback {
    position: relative;
}

#cashbackAmountInput {
    font-size: 20px;
    margin-top: 3px;
    color: #2d1a2e;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.input-suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    color: #a08caa;
    pointer-events: none;
}

#checkoutCashbackUsed {
    color: #22a56b;
}

.summary-divider {
    height: 2px;
    background: #f0d8f0;
    margin: 8px 0;
    border-radius: 2px;
}

.modal-footer {
    border-top: unset!important;
}

#cashbackApplyBtn {
    width: 100%;
    padding: 16px;
    background: #be0e6a;
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(216, 27, 122, 0.35);
    position: relative;
    overflow: hidden;
    height: 46px;
}

#cashbackApplyBtn:hover {
    background: #dc3871;
}

@media (max-width: 767px) {

    .topmag-card {
        border-radius: 15px;
        margin-bottom: 5px;
    }

    .breadcrumbs {
        background: #fff !important;
        box-shadow: 0 1px 4px rgba(216, 27, 122, 0.35);
    }

    .topmag-card-content {
        padding: 10px;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .topmag-card-header {
        padding: 10px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    .topmag-card-header h5 {
        margin-bottom: 0!important;
        font-size: 15px;
    }

    .topmag-card-inputs .form-control {
        height: 40px;
        padding: 2px 12px;
        margin-top: 2px!important;
    }

    .topmag-radio-input {
        height: 40px;
        padding: 2px 12px;
    }

    .dividerCheckout {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .active-cashback {
        height: 40px;
    }

    #promo-code-input {
        height: 40px;
    }

    .promo-btn {
        height: 36px;
    }

    .promo-error, .promo-success {
        padding: 10px;
        margin-bottom: 10px;
    }

    .checkout-delivery {
        margin-bottom: 10px;
    }

    .checkout-total {
        margin-bottom: 10px;
    }

    .checkInput {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .checkoutButtonNew {
        height: 40px;
    }

    .topmag-card-inputs label {
        font-size: 11.5px;
    }

    #cashbackApplyBtn {
        height: 40px;
    }

    .cashbackCardInfo {
        padding: 10px;
        margin-bottom: 10px;
    }
    #cashbackUseMaxBtn {
        height: 40px;
        margin-bottom: 10px;
    }

    .modal-content {
        margin: 5px;
    }

    #cashbackModal .modal-header {
        padding: 10px;
    }

    #cashbackModal .modal-title {
        font-size: 18px;
    }

    #cashbackAmountInput {
        font-size: 18px;
    }

    .cashSummary {
        font-size: 14px;
        line-height: 1.1;
    }

    .cashSummaryPrice {
        font-size: 18px;
        line-height: 1.1;
    }

    .modal-body {
        padding: 10px 10px 0 10px !important;
    }

    .totalCashBackPrimit h5{
        font-size: 14px;
        line-height: 1;
        font-weight: 600;
    }
}

