/* --- Checkout wizard --- */
.css-cart-aside-panel { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 992px) { .css-cart-aside-panel { position: sticky; top: 16px; } }
.css-cart-aside-header { margin-bottom: 4px; }
.css-cart-aside-title { font-size: 22px; font-weight: 800; color: #1a1a1a; margin: 0 0 4px; }
.css-cart-aside-subtitle { font-size: 14px; color: #666; margin: 0; }
.css-cart-aside-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 4px; }
.css-cart-aside-step-link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; background: #f8f9fa; border: 1px solid #e8eaed; border-radius: 8px; font-size: 11px; font-weight: 600; color: #555; text-align: center; cursor: default; }
.css-cart-aside-step-link:disabled { opacity: 0.55; cursor: not-allowed; }
.css-cart-aside-step-link.is-done { cursor: pointer; opacity: 1; background: #fff; border-color: #4caf50; color: #2e7d32; }
.css-cart-aside-step-link.is-active { background: #fff5f5; border-color: #ee1a19; color: #ee1a19; box-shadow: 0 2px 8px rgba(238, 26, 25, 0.12); }
.css-cart-aside-step-link span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e8eaed; border: 1px solid #d0d5dd; font-size: 11px; font-weight: 700; }
.css-cart-aside-step-link.is-active span { background: #ee1a19; border-color: #ee1a19; color: #fff; }
.css-cart-aside-step-link.is-done span { background: #4caf50; border-color: #4caf50; color: #fff; }
.css-cart-aside-step { display: none !important; }
.css-cart-aside-step.is-active { display: block !important; }
.css-cart-aside-panel > .css-cart-aside-step:not(.is-active) { display: none !important; }
.css-cart-aside-panel > .css-cart-aside-step.is-active { display: block !important; }
.css-cart-aside-card { background: #fff; border: 1px solid #e8eaed; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.css-cart-aside-card--flat { border: none; box-shadow: none; padding: 0; background: transparent; }
.css-cart-aside-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.css-cart-aside-card-header--delivery {
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
    border-color: #f0d9c4;
}

.css-cart-aside-step-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ee1a19;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

.css-cart-aside-step-badge i {
    font-size: 15px;
    line-height: 1;
}

.css-cart-aside-step-num {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: #ee1a19;
    border: 2px solid #ee1a19;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.css-cart-aside-card-header--delivery .css-cart-aside-step-badge {
    background: #e67e22;
    font-size: 15px;
}

.css-cart-aside-card-header--delivery .css-cart-aside-step-num {
    color: #e67e22;
    border-color: #e67e22;
}

.css-cart-aside-card-heading {
    min-width: 0;
    flex: 1;
}

.css-cart-aside-card-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #1a1a1a;
    line-height: 1.25;
}

.css-cart-aside-card-hint {
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
    margin: 0;
}
.css-cart-aside-field { margin-bottom: 12px; }
.css-cart-aside-field-row { margin-left: 0; margin-right: 0; }
.css-cart-aside-step-actions { margin-top: 16px; }
.css-cart-aside-step-actions--split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.css-cart-aside-step-actions--split .css-cart-aside-step-btn { width: 100%; }
.css-cart-aside-info-box { display: flex; gap: 12px; padding: 14px 16px; background: #f8f9fa; border-radius: 10px; border: 1px solid #e8eaed; margin-top: 0; font-size: 13px; }
.css-cart-aside-info-value { font-weight: 700; color: #ee1a19; }
.css-cart-aside-info-note { font-size: 12px; color: #666; margin-top: 4px; }
.css-cart-aside-subsection { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.css-cart-aside-subsection:last-child { border-bottom: none; }
.css-cart-aside-optional-tag { font-weight: 500; color: #888; font-size: 12px; }
.css-cart-aside-invoice-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.css-cart-aside-summary { font-size: 13px; color: #333; padding: 8px 12px; background: #f8f9fa; border-radius: 6px; }
.css-cart-aside-review { display: flex; flex-direction: column; gap: 12px; }
.css-cart-aside-review-block { padding: 12px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e8eaed; }
.css-cart-aside-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; font-size: 13px; }
.css-cart-aside-review-text { font-size: 13px; color: #333; }
.css-cart-aside-review-text--muted { color: #666; margin-top: 4px; }
.css-cart-aside-terms { margin: 0; }
.css-cart-aside-terms-label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.css-cart-aside-submit-hint { font-size: 12px; color: #666; }
.css-cart-delivery-source { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.css-cart-delivery-source-option { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.css-invoice-modal-top { z-index: 1060; }


/* ============================================================
   НОВ БЛОК - ОБЩО ЗА ПЛАЩАНЕ
   ============================================================ */
.css-cart-grand-total-block {
    background: linear-gradient(90deg, #D8061A 0%, #F24A1A 50%, #FB7413 100%);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(216, 6, 26, 0.25);
    position: relative;
    overflow: visible;
}

.css-cart-grand-total-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.css-cart-grand-total-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.css-cart-grand-total-left {
    display: flex;
    flex-direction: column;
}

.css-cart-grand-total-label {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.css-cart-grand-total-sub {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.css-cart-grand-total-right {
    display: flex;
    align-items: center;
}

.css-cart-grand-total-price {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

/* ============================================================
   МОБИЛНА АДАПТАЦИЯ
   ============================================================ */



 
    .is-invalid {
        border: 1px solid #ee1a19 !important;
        background-color: #fff0f0 !important;
    }
    .is-invalid:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(238, 26, 25, 0.2);
    }
    /* ============================================================
   ЛИЧНИ ДАННИ – УЕЛТЪР МОДЕРЕН СТИЛ
   ============================================================ */

/* ===== ОСНОВЕН КОНТЕЙНЕР ===== */
.col.css-border-orange {
    background: #ffffff;
    border: 1px solid #e8eaed !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.col.css-border-orange:hover {
    border-color: #ee1a19 !important;
    box-shadow: 0 8px 32px rgba(238, 26, 25, 0.06) !important;
}

/* ===== ЗАГЛАВИЕ "Детайли на заявката" ===== */
.title.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #ee1a19;
    letter-spacing: 0.5px;
}

/* ===== ВСИЧКИ H5 ЗАГЛАВИЯ ===== */
#form-chekout h5 {
    background: #f8f9fa;
    padding: 12px 16px !important;
    margin: 0 0 18px 0 !important;
    border-bottom: 2px solid #ee1a19 !important;
    border-radius: 8px 8px 0 0;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

#form-chekout h5 .orange-bg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: #ee1a19 !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    font-size: 15px !important;
    flex-shrink: 0;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(238, 26, 25, 0.2);
}

#form-chekout h5 .title-content {
    flex: 1;
}

/* ===== ПОЛЕТА ЗА ЛИЧНИ ДАННИ ===== */
#form-chekout .css-cart-aside-field,
#form-chekout .row {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

#form-chekout label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #2d2d2d !important;
    margin-bottom: 6px !important;
    display: block !important;
}

#form-chekout .text-danger {
    color: #ee1a19 !important;
}

/* ===== ИНПУТ ПОЛЕТА – КАТО КУРИЕРИТЕ ===== */
#form-chekout input[type="text"],
#form-chekout input[type="tel"],
#form-chekout input[type="email"],
#form-chekout input[type="number"],
#form-chekout textarea,
#form-chekout select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e8eaed !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    background: #fafbfc !important;
    transition: all 0.25s ease !important;
    font-family: inherit !important;
}

#form-chekout input[type="text"]:hover,
#form-chekout input[type="tel"]:hover,
#form-chekout input[type="email"]:hover,
#form-chekout input[type="number"]:hover,
#form-chekout textarea:hover,
#form-chekout select:hover {
    background: #ffffff !important;
    border-color: #d0d5dd !important;
}

#form-chekout input[type="text"]:focus,
#form-chekout input[type="tel"]:focus,
#form-chekout input[type="email"]:focus,
#form-chekout input[type="number"]:focus,
#form-chekout textarea:focus,
#form-chekout select:focus {
    outline: none !important;
    border-color: #e67e22 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14) !important;
}

#form-chekout input[type="text"]::placeholder,
#form-chekout input[type="tel"]::placeholder,
#form-chekout input[type="email"]::placeholder,
#form-chekout input[type="number"]::placeholder,
#form-chekout textarea::placeholder,
#form-chekout select::placeholder {
    color: #aaa !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

/* ===== РАДИО БУТОНИ ЗА ПЛАЩАНЕ ===== */
#form-chekout input[type="radio"] {
    accent-color: #ee1a19;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

#form-chekout input[type="radio"] + label {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

#form-chekout input[type="radio"]:checked + label {
    color: #ee1a19;
}

#form-chekout .mb-2:has(.fa-dollar-sign) br {
    display: none;
}

#form-chekout .mb-2:has(.fa-dollar-sign) input[type="radio"] {
    margin-left: 20px;
}

/* ===== SWITCH ЗА ФАКТУРА ===== */
#form-chekout .custom-switch {
    padding-left: 0 !important;
}

#form-chekout .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ee1a19 !important;
    border-color: #ee1a19 !important;
}

#form-chekout .custom-control-label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    padding-left: 56px !important;
}

#form-chekout .custom-control-label::before {
    width: 48px !important;
    height: 26px !important;
    border-radius: 13px !important;
    background: #ccd0d6 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    left: 0 !important;
    top: 0 !important;
}

#form-chekout .custom-control-label::after {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    top: 3px !important;
    left: 3px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

#form-chekout .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(22px) !important;
}

/* ===== БУТОН ЗА ФАКТУРА ===== */
#form-chekout .btn-outline-danger {
    border: 2px solid #ee1a19 !important;
    color: #ee1a19 !important;
    background: transparent !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}

#form-chekout .btn-outline-danger:hover {
    background: #ee1a19 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 26, 25, 0.2);
}

/* ===== БУТОН ЗА ЗАВЪРШВАНЕ ===== */
#form-chekout .btn-primary-orange {
    background: #ee1a19 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(238, 26, 25, 0.2);
}

#form-chekout .btn-primary-orange:hover {
    background: #c41716 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(238, 26, 25, 0.3) !important;
}

/* ============================================================
   МОДАЛ – ПОДОБРЕН
   ============================================================ */

.modal-content {
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.modal-header {
    background: #ffffff !important;
    border-bottom: 2px solid #ee1a19 !important;
    padding: 16px 24px !important;
}

.modal-title {
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 18px !important;
}

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

.modal-footer {
    border-top: 1px solid #f0f0f0 !important;
    padding: 16px 24px !important;
    gap: 10px;
}

.modal-body .border {
    border: 2px solid #e8eaed !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    background: #fafbfc !important;
}

.modal-body .border:hover {
    border-color: #d0d5dd !important;
    background: #ffffff !important;
}

.modal-body .border input[type="radio"] {
    accent-color: #ee1a19 !important;
}

.modal-body .col-md-6 label,
.modal-body .col-12 label {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #2d2d2d !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.modal-body .col-md-6 input,
.modal-body .col-12 input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 2px solid #e8eaed !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #fafbfc !important;
    transition: all 0.25s ease !important;
}

.modal-body .col-md-6 input:focus,
.modal-body .col-12 input:focus {
    outline: none !important;
    border-color: #e67e22 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14) !important;
}

.modal-footer .btn-secondary {
    background: transparent !important;
    border: 2px solid #e8eaed !important;
    color: #555 !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.modal-footer .btn-secondary:hover {
    background: #f5f5f5 !important;
    border-color: #d0d5dd !important;
}

.modal-footer .btn-primary-orange {
    background: #ee1a19 !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 28px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.modal-footer .btn-primary-orange:hover {
    background: #c41716 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(238, 26, 25, 0.2);
}

/* ===== ГРЕШКИ ===== */
.is-invalid {
    border: 2px solid #ee1a19 !important;
    background-color: #fff5f5 !important;
}

.is-invalid:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(238, 26, 25, 0.12) !important;
}

/* ============================================================
   МОБИЛНА АДАПТАЦИЯ
   ============================================================ */




/* ============================================================
   ПЛАЩАНЕ – 2 КОЛОНИ НА ЕДИН РЕД
   ============================================================ */

/* ===== ОСНОВЕН КОНТЕЙНЕР ===== */
.mb-2:has(.fa-dollar-sign) {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    padding-bottom: 16px !important;
}

.mb-2:has(.fa-dollar-sign):hover {
    border-color: #ee1a19;
    box-shadow: 0 4px 20px rgba(238, 26, 25, 0.06);
}

/* ===== ЗАГЛАВИЕ ===== */
.mb-2:has(.fa-dollar-sign) h5 {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    padding: 14px 20px !important;
    margin: 0 0 16px 0 !important;
    border-bottom: 2px solid #ee1a19 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: 0.3px;
}

.mb-2:has(.fa-dollar-sign) h5 .orange-bg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: #ee1a19 !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    font-size: 16px !important;
    flex-shrink: 0;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(238, 26, 25, 0.2);
}

.mb-2:has(.fa-dollar-sign) h5 .title-content {
    flex: 1;
}

/* ===== СКРИВАМЕ СТАРИТЕ br ===== */
.mb-2:has(.fa-dollar-sign) br {
    display: none !important;
}

/* ===== КОНТЕЙНЕР ЗА РАДИО БУТОНИТЕ ===== */
.mb-2:has(.fa-dollar-sign) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 0 20px 12px 20px !important;
}

.mb-2:has(.fa-dollar-sign) h5 {
    width: 100% !important;
    flex: 0 0 100% !important;
    padding: 14px 20px !important;
    margin: 0 -20px 16px -20px !important;
    width: calc(100% + 40px) !important;
}

/* ===== СКРИВАМЕ РАДИО БУТОНИТЕ ===== */
.mb-2:has(.fa-dollar-sign) input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* ===== LABEL-ИТЕ – 2 КОЛОНИ НА ЕДИН РЕД ===== */
.mb-2:has(.fa-dollar-sign) label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    margin: 0 0 0 0 !important;
    padding: 14px 18px !important;
    border: 2px solid #e8eaed !important;
    border-radius: 10px !important;
    background: #fafbfc !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #555 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
}

/* Първият label (Наложен платеж) */
.mb-2:has(.fa-dollar-sign) label:first-of-type {
    margin-right: 10px !important;
}

/* Вторият label (Плащане с карта) */
.mb-2:has(.fa-dollar-sign) label:last-of-type {
    margin-left: 0 !important;
}

/* ===== HOVER ЕФЕКТ ===== */
.mb-2:has(.fa-dollar-sign) label:hover {
    border-color: #d0d5dd !important;
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

/* ===== АКТИВЕН (ИЗБРАН) ЕФЕКТ ===== */
.mb-2:has(.fa-dollar-sign) input[type="radio"]:checked + label {
    border-color: #ee1a19 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 4px rgba(238, 26, 25, 0.08) !important;
    color: #ee1a19 !important;
}

/* ===== ИКОНИ ПРЕД ТЕКСТА (без валутни знаци) ===== */
.mb-2:has(.fa-dollar-sign) label::before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    color: #999 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    content: "" !important;
}



/* ===== ОТМЕТКА ЗА ИЗБРАН ЕЛЕМЕНТ ===== */
.mb-2:has(.fa-dollar-sign) label::after {
    content: "\f058" !important; /* fa-check-circle */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    color: #ee1a19 !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
    margin-left: auto !important;
}

.mb-2:has(.fa-dollar-sign) input[type="radio"]:checked + label::after {
    opacity: 1 !important;
}

/* ============================================================
   МОБИЛНА АДАПТАЦИЯ
   ============================================================ */





/* ===== ОСНОВЕН КОНТЕЙНЕР ===== */
.mb-2:has(.fa-dollar-sign) {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    padding-bottom: 16px !important;
}

.mb-2:has(.fa-dollar-sign):hover {
    border-color: #ee1a19;
    box-shadow: 0 4px 20px rgba(238, 26, 25, 0.06);
}

/* ===== ЗАГЛАВИЕ ===== */
.mb-2:has(.fa-dollar-sign) h5 {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    padding: 14px 20px !important;
    margin: 0 0 16px 0 !important;
    border-bottom: 2px solid #ee1a19 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: 0.3px;
}

.mb-2:has(.fa-dollar-sign) h5 .orange-bg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: #ee1a19 !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    font-size: 16px !important;
    flex-shrink: 0;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(238, 26, 25, 0.2);
}

.mb-2:has(.fa-dollar-sign) h5 .title-content {
    flex: 1;
}

/* ===== СКРИВАМЕ СТАРИТЕ br ===== */
.mb-2:has(.fa-dollar-sign) br {
    display: none !important;
}

/* ===== КОНТЕЙНЕР ЗА РАДИО БУТОНИТЕ ===== */
.mb-2:has(.fa-dollar-sign) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    padding: 0 20px 12px 20px !important;
}

.mb-2:has(.fa-dollar-sign) h5 {
    width: 100% !important;
    flex: 0 0 100% !important;
    padding: 14px 20px !important;
    margin: 0 -20px 16px -20px !important;
    width: calc(100% + 40px) !important;
}

/* ===== СКРИВАМЕ РАДИО БУТОНИТЕ ===== */
.mb-2:has(.fa-dollar-sign) input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* ===== LABEL-ИТЕ – 2 КОЛОНИ НА ЕДИН РЕД, РАВНИ ВИСОЧИНИ ===== */
.mb-2:has(.fa-dollar-sign) label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex: 1 1 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    min-height: 52px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 2px solid #e8eaed !important;
    border-radius: 10px !important;
    background: #fafbfc !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #555 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Първият label (Наложен платеж) */
.mb-2:has(.fa-dollar-sign) label:first-of-type {
    margin-right: 10px !important;
}

/* Вторият label (Плащане с карта) */
.mb-2:has(.fa-dollar-sign) label:last-of-type {
    margin-left: 0 !important;
}

/* ===== HOVER ЕФЕКТ ===== */
.mb-2:has(.fa-dollar-sign) label:hover {
    border-color: #d0d5dd !important;
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

/* ===== АКТИВЕН (ИЗБРАН) ЕФЕКТ ===== */
.mb-2:has(.fa-dollar-sign) input[type="radio"]:checked + label {
    border-color: #ee1a19 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 4px rgba(238, 26, 25, 0.08) !important;
    color: #ee1a19 !important;
}

/* ============================================================
   МОБИЛНА АДАПТАЦИЯ
   ============================================================ */





.mb-2:has(.fa-dollar-sign) label:first-of-type::before {
    content: aqua !important;
}

.mb-2:has(.fa-dollar-sign) label:first-of-type::after {
    content: aqua !important;
}
#form-chekout .row .col-md-6 {
    padding-right: 10px !important;
    padding-left: 0 !important;
}

#form-chekout .row .col-md-6:last-child {
    padding-right: 0 !important;
    padding-left: 10px !important;
}

/* За мобилни устройства */

#form-chekout h5:not(.css-cart-aside-card-title):not(.css-obekt-selected-title) {
    background: #ffffff;
    padding: 12px 16px !important;
    margin: 0 0 5px 0 !important;
    padding-left: 0pc !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

#form-chekout h5.css-cart-aside-card-title {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 4px !important;
    border: none !important;
    border-radius: 0 !important;
    display: block !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    gap: 0 !important;
}

/* --- Delivery --- */

.css-cart-aside-card-body--delivery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.css-delivery-section {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    margin: 0;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.css-delivery-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-bottom: 2px solid #ee1a19;
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
}

.css-delivery-section-header > i {
    color: #ee1a19;
    font-size: 17px;
    width: 22px;
    text-align: center;
}

.css-delivery-section-body {
    padding: 18px;
    overflow: visible;
}

.css-delivery-field.position-relative {
    position: relative;
    overflow: visible;
}

.css-delivery-field.is-autocomplete-open {
    z-index: 30;
}

.css-delivery-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.css-delivery-method-option {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fafbfc;
}

.css-delivery-method-option:hover {
    border-color: #d0d5dd;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.css-delivery-method-option.active {
    border-color: #e67e22;
    background: #fff8f0;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.14);
}

.css-delivery-method-option input[type="radio"] {
    display: none;
}

.css-delivery-method-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
    color: #555;
}

.css-delivery-method-option.active .css-delivery-method-label {
    color: #c45f12;
}

.css-delivery-method-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.css-delivery-method-text i {
    font-size: 12px;
    color: #999;
    transition: color 0.2s;
}

.css-delivery-method-option.active .css-delivery-method-text i {
    color: #e67e22;
}

.css-payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.css-payment-method {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.css-payment-method:hover {
    border-color: #d0d5dd;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.css-payment-method.css-payment-method-active {
    border-color: #e67e22;
    background: #fff8f0;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

.css-payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.css-payment-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 15px;
}

.css-payment-method-active .css-payment-method-icon {
    background: #fde8d0;
    color: #e67e22;
}

.css-payment-method-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.css-payment-method-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.css-payment-method-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.css-payment-method-active .css-payment-method-title {
    color: #c45f12;
}

.css-payment-method-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.css-payment-method-active .css-payment-method-desc {
    color: #9a6b2d;
}

.css-payment-method-test {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff3cd;
    color: #856404;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.css-payment-method.css-payment-method-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: none;
}

.css-payment-method.css-payment-method-disabled:hover {
    border-color: #e5e7eb;
    background: #f3f4f6;
    box-shadow: none;
}

.css-delivery-method-logo {
    max-height: 28px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.css-delivery-method-option.active .css-delivery-method-logo {
    opacity: 1;
}

.css-delivery-method-option.css-delivery-method-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: none;
}

.css-delivery-method-option.css-delivery-method-disabled:hover {
    border-color: #e5e7eb;
    background: #f3f4f6;
    box-shadow: none;
}

.css-delivery-provider-unconfigured {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #ffb4b4;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff7f7 0%, #ffeaea 100%);
    box-shadow: 0 6px 18px rgba(176, 42, 55, 0.08);
    color: #b02a37;
}

.css-delivery-provider-unconfigured-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ee1a19;
    color: #fff;
    flex-shrink: 0;
    font-size: 13px;
}

.css-delivery-provider-unconfigured-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.css-delivery-provider-unconfigured-body strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #9f1d2a;
    line-height: 1.25;
}

.css-delivery-provider-unconfigured-body span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #c0392b;
    line-height: 1.35;
}

.css-delivery-provider-unconfigured--critical {
    border-color: #ee1a19;
    background: linear-gradient(180deg, #ffecec 0%, #ffd6d6 100%);
}

.css-cart-aside-step-btn.css-disabled,
.css-cart-aside-step-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.css-cart-aside-step-btn:disabled {
    pointer-events: none;
}

.css-cart-aside-back.btn-outline-secondary:hover,
.css-cart-aside-back.btn-outline-secondary:focus,
.css-cart-aside-back.btn-outline-secondary:not(:disabled):not(.disabled):active {
    color: #495057 !important;
    background-color: #e9ecef;
    border-color: #ced4da;
    box-shadow: none;
}

.css-delivery-field {
    margin-bottom: 14px;
}

.css-delivery-field:last-child {
    margin-bottom: 0;
}

.css-delivery-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #2d2d2d;
    margin-bottom: 6px;
}

.css-delivery-required {
    color: #ee1a19;
}

.css-delivery-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fafbfc;
    transition: all 0.25s ease;
}

.css-delivery-input:hover {
    background: #ffffff;
    border-color: #d0d5dd;
}

.css-delivery-input:focus {
    outline: none;
    border-color: #e67e22;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14);
}

.css-delivery-input.is-invalid {
    border-color: #ee1a19 !important;
    background: #fff5f5 !important;
}

.css-delivery-input.is-invalid:focus {
    border-color: #ee1a19 !important;
    box-shadow: 0 0 0 4px rgba(238, 26, 25, 0.12);
}

#form-chekout .js-form-message.u-has-error > .invalid-feedback,
#form-chekout .css-cart-aside-field.u-has-error > .invalid-feedback,
#form-chekout .css-delivery-field.u-has-error > .invalid-feedback {
    display: block;
}

.css-delivery-textarea {
    min-height: 60px;
    resize: vertical;
    font-family: inherit;
}

.css-delivery-field .autocomplete {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1;
}

.css-delivery-field .autocomplete ul {
    position: static;
    width: 100% !important;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
    list-style: none;
    margin: 4px 0 0;
    padding: 4px 0;
}

.css-delivery-field .autocomplete ul li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.css-delivery-field .autocomplete ul li:hover {
    background: #ee1a19;
    color: #fff;
}

.css-delivery-city-pick-wrap {
    position: relative;
}

.css-delivery-city-pick {
    cursor: pointer;
    caret-color: transparent;
    padding-right: 42px !important;
}

.css-delivery-city-clear {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transform: translateY(-50%);
}

.css-delivery-city-clear:hover {
    background: #fee2e2;
    color: #ee1a19;
}

.css-delivery-city-clear.hide {
    display: none;
}

.js-city-field.is-autocomplete-open {
    z-index: 80;
}

.css-delivery-city-search {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 120;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #f0d9c4;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.18);
}

.css-delivery-city-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.css-delivery-city-search-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.css-delivery-city-search-title i {
    color: #e67e22;
}

.css-delivery-city-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
    color: #6b7280;
    cursor: pointer;
}

.css-delivery-city-search-close:hover {
    background: #fee2e2;
    color: #ee1a19;
}

.css-delivery-city-search-input {
    margin-bottom: 6px;
    border-color: #e67e22;
    background: #fffaf5;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

.css-delivery-city-search-input:focus {
    border-color: #e67e22;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.16);
}

.css-delivery-city-search-hint {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #9a6b3d;
}

.css-delivery-city-suggest {
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafbfc;
}

.css-delivery-city-suggest ul {
    list-style: none;
    margin: 0;
    padding: 4px;
}

.css-delivery-city-suggest ul li {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.css-delivery-city-suggest ul li small {
    color: #888;
    font-weight: 500;
    margin-left: 6px;
}

.css-delivery-city-suggest ul li:hover {
    background: #fff5f5;
    color: #ee1a19;
}

.css-delivery-city-suggest .css-delivery-autocomplete-msg {
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.css-delivery-section,
.css-delivery-section-body,
.css-cart-aside-card-body--delivery {
    overflow: visible;
}

.css-delivery-field .autocomplete .css-delivery-loading,
.css-delivery-field .autocomplete .css-delivery-autocomplete-msg {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===== АДРЕС ГРИД – 2 КОЛОНИ ===== */
.css-delivery-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

.css-delivery-address-grid .css-delivery-field {
    margin-bottom: 0;
    position: relative;
    overflow: visible;
}

.css-delivery-address-grid .css-delivery-field.is-autocomplete-open {
    z-index: 40;
}

/* ============================================================
   МОБИЛНА АДАПТАЦИЯ
   ============================================================ */






/* --- Cart page layout --- */
.css-cart-page-layout {
    overflow: visible;
}

.css-cart-page-layout > [class*="col-"] {
    overflow: visible;
}

.css-cart-items-column,
.css-cart-aside-column {
    padding-top: 8px;
}

@media (min-width: 992px) {
    .css-cart-page-layout > .css-cart-aside-column {
        padding-left: 24px;
        border-left: 1px solid #eee;
    }
}



.css-css-cart-aside-column { padding-top: 8px; }
@media (min-width: 992px) {
    .cart-table > .css-css-cart-aside-column { padding-left: 24px; border-left: 1px solid #eee; }
}


/* ===== ПРАЗНА КОЛИЧКА – ЦЯЛА СТРАНИЦА ===== */
.css-cart-page-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52vh;
    padding: 48px 16px;
}

.css-cart-page-empty-inner {
    width: 100%;
    max-width: 480px;
    text-align: center;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.css-cart-page-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff5f5;
    color: #ee1a19;
    font-size: 36px;
}

.css-cart-page-empty-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
}

.css-cart-page-empty-text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

.css-cart-page-empty-btn {
    min-width: 200px;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 8px;
}

/* --- Invoice form / modal --- */
.css-invoice-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22);
}

.css-invoice-open-btn:hover,
.css-invoice-open-btn:focus {
    color: #fff;
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.css-invoice-summary {
    margin-top: 10px;
}

.css-invoice-modal {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16) !important;
}

.css-invoice-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px !important;
    border-bottom: 1px solid #eef0f3 !important;
    background: #fff !important;
}

.css-invoice-modal-heading {
    padding-right: 8px;
}

.css-invoice-modal-title {
    margin: 0 0 4px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
}

.css-invoice-modal-hint {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.css-invoice-modal-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin: 2px 2px 0 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.css-invoice-modal-close:hover,
.css-invoice-modal-close:focus {
    background: #e5e7eb;
    color: #111827;
    border-color: #d1d5db;
}

.css-invoice-modal-body {
    padding: 18px 20px 10px !important;
}

.css-invoice-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.css-invoice-type-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
}

.css-invoice-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.css-invoice-type-card:hover {
    border-color: #d0d5dd;
    background: #fff;
}

.css-invoice-type-card.css-invoice-type-on {
    border-color: #ee1a19;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(238, 26, 25, 0.06);
}

.css-invoice-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff;
    color: #ee1a19;
    border: 1px solid #ffd0d0;
    font-size: 14px;
}

.css-invoice-type-text {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.css-invoice-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.css-invoice-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
}

.css-invoice-input:focus {
    outline: none;
    border-color: #ee1a19;
    box-shadow: 0 0 0 3px rgba(238, 26, 25, 0.08);
}

.css-invoice-input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.css-invoice-adres-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0;
}

.css-invoice-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px !important;
    border-top: 1px solid #eef0f3 !important;
    background: #fff;
}

.css-invoice-modal-cancel {
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    background: #f3f4f6;
}

.css-invoice-modal-cancel:hover,
.css-invoice-modal-cancel:focus {
    color: #111827;
    background: #e5e7eb;
    border-color: #d1d5db;
}

.css-invoice-modal-save {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

#form-chekout .css-invoice-modal-save.btn-primary-orange {
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(238, 26, 25, 0.2);
}

#form-chekout .css-invoice-modal-save.btn-primary-orange:hover {
    transform: none;
}
