/* =====================================================================
   Winnerleasing — Black Friday. Checkout (Simple: checkout/simplecheckout)
   in the site style: black / orange / white, Unbounded + Manrope.
   CSS only — templates untouched. Scope: Simple pages (#account-forgotten
   wrapper from simple_header.twig) and .simple-content.
   ===================================================================== */

/* ---------- page ---------- */
#account-forgotten {
    max-width: 1440px !important;
    width: 100%;
    padding-left: 32px !important;
    padding-right: 32px !important;
    color: #c9c9c9;
    font-family: 'Manrope', Arial, sans-serif;
}
#account-forgotten .sc-breadcrumb { padding: 16px 0 0; margin: 0; background: none; font-size: 13px; font-weight: 700; }
#account-forgotten .sc-breadcrumb-item,
#account-forgotten .sc-breadcrumb-item a { color: #8a8a8a !important; text-decoration: none; }
#account-forgotten .sc-breadcrumb-item:last-child { color: #ffffff !important; }
#account-forgotten .sc-breadcrumb-item a:hover { color: #ff680a !important; }
#account-forgotten .sc-page-title { padding-top: 24px; }
#account-forgotten .sc-page-title h1 {
    margin: 0;
    color: #ffffff !important;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-transform: none;
}
/* outer white card from simple_header → transparent, blocks inside become cards */
#account-forgotten #content > .content-block {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
#account-forgotten .dark-text { color: #ffffff !important; }
#account-forgotten .light-text { color: #9a9a9a !important; }

.simple-content,
.simple-content *:not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not(i) { font-family: 'Manrope', Arial, sans-serif; }
.simple-content { color: #c9c9c9; }
.simple-content a { color: #ff680a; }
.simple-content a:hover { color: #ffffff; }

/* ---------- blocks (Покупець, Доставка, Оплата, Кошик, Коментар …) ---------- */
.simple-content .simplecheckout-block {
    margin-bottom: 16px !important;
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: none !important;
}
.simple-content .checkout-heading,
.simple-content .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #2c2c2c !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-family: 'Unbounded', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: -.3px;
}
.simple-content .checkout-heading *,
.simple-content .panel-title { color: #ffffff !important; font-family: inherit !important; font-size: inherit !important; }
.simple-content .checkout-heading-button a,
.simple-content .checkout-heading a { color: #ff680a !important; font-family: 'Manrope', Arial, sans-serif !important; font-size: 14px !important; font-weight: 700; }
.simple-content .simplecheckout-block-content {
    padding: 20px 24px !important;
    background: transparent !important;
    border: 0 !important;
    color: #c9c9c9 !important;
}
.simple-content .simplecheckout-block-content p,
.simple-content .simplecheckout-block-content span,
.simple-content .simplecheckout-block-content div,
.simple-content .simplecheckout-block-content td,
.simple-content .simplecheckout-block-content th { background-color: transparent; }

/* ---------- form fields ---------- */
.simple-content .control-label,
.simple-content label { color: #ffffff !important; font-weight: 700 !important; font-size: 14px; }
.simple-content .simplecheckout-required,
.simple-content .required::before,
.simple-content .text-danger { color: #ff680a !important; }
.simple-content .form-control,
.simple-content input[type="text"],
.simple-content input[type="tel"],
.simple-content input[type="email"],
.simple-content input[type="password"],
.simple-content input[type="number"],
.simple-content select,
.simple-content textarea {
    min-height: 48px;
    background-color: #1c1c1c !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    box-shadow: none !important;
}
.simple-content textarea { min-height: 96px; }
.simple-content .form-control::placeholder,
.simple-content input::placeholder,
.simple-content textarea::placeholder { color: #8a8a8a !important; }
.simple-content .form-control:focus,
.simple-content input:focus,
.simple-content select:focus,
.simple-content textarea:focus {
    border-color: #ff680a !important;
    box-shadow: 0 0 0 3px rgba(255, 104, 10, .25) !important;
    outline: 0 !important;
}
.simple-content select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff680a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}
.simple-content select option { background: #1c1c1c; color: #ffffff; }
.simple-content .input-group-btn .btn,
.simple-content .input-group-addon { background: #222222 !important; border-color: #333333 !important; color: #ffffff !important; }
.simple-content .has-error .form-control,
.simple-content .form-control.error { border-color: #ff4d4d !important; }
.simple-content .simplecheckout-error-text { color: #ff6b6b !important; font-weight: 700; font-size: 13px; }

/* radio / checkbox (shipping & payment methods, agreements) */
.simple-content .radio,
.simple-content .checkbox { margin: 0 0 10px !important; }
.simple-content .radio label,
.simple-content .checkbox label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px !important;
    background: #1c1c1c !important;
    border: 1px solid #333333 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: border-color .2s;
}
.simple-content .radio label:hover,
.simple-content .checkbox label:hover { border-color: #ff680a !important; }
.simple-content .radio label:has(input:checked),
.simple-content .checkbox label:has(input:checked) { border-color: #ff680a !important; background: #221a14 !important; }
.simple-content input[type="radio"],
.simple-content input[type="checkbox"] {
    position: static !important;
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0 !important;
    accent-color: #ff680a;
}
.simple-content .simplecheckout-methods-description { color: #9a9a9a !important; font-size: 13px; font-weight: 500; }

/* ---------- cart table ---------- */
.simple-content .simplecheckout-cart { width: 100%; border-collapse: collapse; background: transparent !important; }
.simple-content .simplecheckout-cart th {
    padding: 12px 10px !important;
    background: transparent !important;
    border-bottom: 1px solid #2c2c2c !important;
    color: #8a8a8a !important;
    font-weight: 800 !important;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.simple-content .simplecheckout-cart td {
    padding: 14px 10px !important;
    background: transparent !important;
    border-bottom: 1px solid #222222 !important;
    border-top: 0 !important;
    color: #c9c9c9 !important;
    vertical-align: middle !important;
}
.simple-content .simplecheckout-cart td.image img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 4px;
    background: #ffffff;
    border-radius: 10px;
}
.simple-content .simplecheckout-cart td.name a { color: #ffffff !important; font-weight: 700; }
.simple-content .simplecheckout-cart td.name a:hover { color: #ff680a !important; }
.simple-content .simplecheckout-cart td.model,
.simple-content .simplecheckout-cart td.name small,
.simple-content .simplecheckout-cart .options { color: #8a8a8a !important; }
.simple-content .simplecheckout-cart td.price,
.simple-content .simplecheckout-cart td.total { color: #ffffff !important; font-weight: 800 !important; white-space: nowrap; }
.simple-content .simplecheckout-cart td.product-warning { color: #ff6b6b !important; }
.simple-content .simplecheckout-cart td.quantity .input-group { flex-wrap: nowrap; max-width: 140px; }
.simple-content .simplecheckout-cart td.quantity .form-control { min-height: 40px; text-align: center; border-radius: 0 !important; }
.simple-content .simplecheckout-cart td.quantity .btn {
    min-height: 40px;
    background: #222222 !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}
.simple-content .simplecheckout-cart td.quantity .input-group-btn:first-child .btn { border-radius: 10px 0 0 10px !important; }
.simple-content .simplecheckout-cart td.quantity .input-group-btn:last-child .btn { border-radius: 0 10px 10px 0 !important; }
.simple-content .simplecheckout-cart td.quantity .btn-danger,
.simple-content .simplecheckout-cart td.remove .btn,
.simple-content .simplecheckout-cart .fa-times-circle { color: #ff6b6b !important; }
.simple-content .simplecheckout-cart td.quantity .btn:hover { border-color: #ff680a !important; color: #ff680a !important; }

/* totals */
.simple-content .simplecheckout-cart-total {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 8px 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #c9c9c9 !important;
    font-size: 15px;
}
.simple-content .simplecheckout-cart-total-value { color: #ffffff !important; font-weight: 800 !important; min-width: 120px; text-align: right; }
.simple-content #total_total,
.simple-content .simplecheckout-cart-total:last-of-type { font-size: 18px; }
.simple-content #total_total .simplecheckout-cart-total-value,
.simple-content .simplecheckout-cart-total:last-of-type .simplecheckout-cart-total-value {
    color: #ff680a !important;
    font-size: 24px;
}
.simple-content .simplecheckout-cart-total-remove a { color: #ff6b6b !important; }

/* summary (right column) */
.simple-content .simplecheckout-summary-info,
.simple-content .simplecheckout-summary-totals { background: transparent !important; color: #c9c9c9 !important; }

/* ---------- buttons ---------- */
.simple-content .btn-primary,
.simple-content .button,
.simple-content .button_oc,
.simple-content #simplecheckout_button_confirm,
.simple-content .simplecheckout-button-right .button,
.simple-content .simplecheckout-cart-buttons .button {
    min-height: 52px;
    padding: 0 28px !important;
    background: #ff680a !important;
    border: 1px solid #ff680a !important;
    border-radius: 12px !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background .2s;
}
.simple-content .btn-primary *,
.simple-content .button * { color: #000000 !important; }
.simple-content .btn-primary:hover,
.simple-content .button:hover,
.simple-content #simplecheckout_button_confirm:hover { background: #ff7f2e !important; color: #000000 !important; }
.simple-content .btn-default,
.simple-content .simplecheckout-button-left .button {
    background: transparent !important;
    border: 1px solid #444444 !important;
    color: #ffffff !important;
}
.simple-content .btn-default:hover,
.simple-content .simplecheckout-button-left .button:hover { border-color: #ff680a !important; color: #ff680a !important; }
.simple-content .simplecheckout-button-block,
.simple-content .buttons {
    padding: 16px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* ---------- alerts / warnings ---------- */
.simple-content .alert,
.simple-content .simplecheckout-warning-block {
    background: #221414 !important;
    border: 1px solid #5a2a2a !important;
    border-radius: 12px !important;
    color: #ffb3b3 !important;
}
.simple-content .alert-success { background: #12201a !important; border-color: #245a3c !important; color: #9be3b8 !important; }
.simple-content .alert-info { background: #1a1a1a !important; border-color: #333333 !important; color: #c9c9c9 !important; }
.simple-content .simplecheckout-warning-text { color: #ffb3b3 !important; }

/* login popup / steps */
.simple-content .simple-step,
.simple-content .simple-step-current,
.simple-content .simple-step-completed { background: #1c1c1c !important; border: 1px solid #333333; color: #c9c9c9 !important; border-radius: 999px !important; padding: 8px 14px !important; }
.simple-content .simple-step-current { background: #ff680a !important; border-color: #ff680a; color: #000000 !important; }

/* ---------- Nova Poshta select2 (dropdown is attached to <body>) ---------- */
.simple-content .select2-container--default .select2-selection--single,
.simple-content .select2-container--default .select2-selection--multiple {
    min-height: 48px;
    background: #1c1c1c !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
}
.simple-content .select2-container--default .select2-selection__rendered { color: #ffffff !important; padding-left: 14px !important; line-height: 1.4 !important; }
.simple-content .select2-container--default .select2-selection__placeholder { color: #8a8a8a !important; }
.simple-content .select2-container--default .select2-selection__arrow { height: 100% !important; right: 8px !important; }
.simple-content .select2-container--default .select2-selection__arrow b { border-top-color: #ff680a !important; }
.simple-content .select2-container--default.select2-container--open .select2-selection--single { border-color: #ff680a !important; }
.select2-dropdown {
    background: #1c1c1c !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    overflow: hidden;
}
.select2-search--dropdown .select2-search__field {
    background: #161616 !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}
.select2-results__option { color: #d9d9d9 !important; }
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected { background: #2a2a2a !important; color: #ffffff !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted { background: #ff680a !important; color: #000000 !important; }

/* ---------- accessories shelf on checkout (related_checkout) ---------- */
.related-checkout-module h4 { color: #ffffff !important; font-family: 'Unbounded', Arial, sans-serif; font-weight: 700; }
.related-checkout-module .product-thumb {
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 12px !important;
    color: #c9c9c9 !important;
}
.related-checkout-module .related-checkout-image-wrap { background: #ffffff; border-radius: 10px; overflow: hidden; }
.related-checkout-module .related-checkout-name-wrap h4,
.related-checkout-module .related-checkout-name-wrap a { color: #ffffff !important; font-family: 'Manrope', Arial, sans-serif !important; }
.related-checkout-module .related-checkout-badge { background: #ff680a !important; color: #000000 !important; }
.related-checkout-module .related-checkout-add-button { background: #ff680a !important; border-color: #ff680a !important; color: #000000 !important; border-radius: 10px !important; font-weight: 800 !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 767.98px) {
    #account-forgotten { padding-left: 16px !important; padding-right: 16px !important; }
    #account-forgotten .sc-page-title h1 { font-size: 30px; letter-spacing: -1px; }
    .simple-content .checkout-heading,
    .simple-content .panel-heading { padding: 14px 16px !important; font-size: 16px !important; }
    .simple-content .simplecheckout-block-content { padding: 16px !important; }
    .simple-content .simplecheckout-cart td.image img { width: 56px; height: 56px; }
}

/* =====================================================================
   v2 — compact accessories shelf, bottom of the form, confirm button
   ===================================================================== */

/* ---------- related-checkout-module: compact horizontal shelf ---------- */
.related-checkout-module {
    margin: 16px 0 !important;
    padding: 16px !important;
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 16px !important;
    min-width: 0 !important;
    font-family: 'Manrope', Arial, sans-serif !important;
}
.related-checkout-module > h4,
.related-checkout-module > h3,
.related-checkout-module > .h4 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: 'Unbounded', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}
.related-checkout-module > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 0 6px !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #333333 transparent;
}
.related-checkout-module > .row::before,
.related-checkout-module > .row::after { display: none !important; }
.related-checkout-module .product-layout {
    flex: 0 0 150px !important;
    width: 150px !important;
    max-width: 150px !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    scroll-snap-align: start;
}
.related-checkout-module .product-thumb {
    height: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #1c1c1c !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
.related-checkout-module .product-thumb:hover { border-color: #444444 !important; }
.related-checkout-module .related-checkout-image-wrap {
    position: relative !important;
    height: 80px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.related-checkout-module .related-checkout-image-wrap img {
    width: 100% !important;
    height: 80px !important;
    object-fit: contain !important;
    padding: 4px !important;
}
.related-checkout-module .related-checkout-badge {
    top: 4px !important;
    left: 4px !important;
    width: auto !important;
    padding: 2px 6px !important;
    background: #ff680a !important;
    color: #000000 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 16px !important;
}
.related-checkout-module .related-checkout-name-wrap {
    min-height: 0 !important;
    padding: 0 !important;
}
.related-checkout-module .related-checkout-name-wrap h4,
.related-checkout-module .related-checkout-name-wrap a {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
}
.related-checkout-module .related-checkout-rating-wrap,
.related-checkout-module .rating { display: none !important; }
.related-checkout-module .price,
.related-checkout-module [class*="price"] {
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
}
.related-checkout-module .price-old,
.related-checkout-module [class*="price-old"] { color: #8a8a8a !important; font-size: 11px !important; font-weight: 500 !important; }
.related-checkout-module .related-checkout-button-wrap { margin-top: auto !important; padding: 0 !important; }
.related-checkout-module .related-checkout-add-button {
    width: 100% !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 8px !important;
    background: #ff680a !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
}
.related-checkout-module .related-checkout-add-button * { color: #000000 !important; }

/* ---------- bottom of the form: agreements + buttons ---------- */
.simple-content #buttons,
.simple-content .simplecheckout-button-block {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 16px 24px !important;
    margin: 16px 0 0 !important;
    padding: 24px !important;
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 16px !important;
    text-align: left !important;
    overflow: visible !important;
}
.simple-content .simplecheckout-button-right {
    flex: 1 1 420px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    float: none !important;
}
.simple-content .simplecheckout-button-left {
    flex: 0 0 auto;
    display: flex !important;
    gap: 10px;
    float: none !important;
}
.simple-content .simplecheckout-button-left:empty { display: none !important; }

/* agreement: plain checkbox line, not a plate */
.simple-content #agreement_checkbox { display: block; width: 100%; }
.simple-content #agreement_checkbox .checkbox { margin: 0 0 6px !important; }
.simple-content #agreement_checkbox .checkbox label {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #c9c9c9 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.5;
}
.simple-content #agreement_checkbox .checkbox label:hover { color: #ffffff !important; }
.simple-content #agreement_checkbox a { color: #ff680a !important; text-decoration: underline; text-underline-offset: 3px; }
.simple-content #agreement_warning { margin-top: 16px !important; }

/* back / prev — secondary, outlined */
.simple-content #simplecheckout_button_back,
.simple-content #simplecheckout_button_prev {
    min-height: 52px;
    background: transparent !important;
    border: 1px solid #444444 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center;
}
.simple-content #simplecheckout_button_back *,
.simple-content #simplecheckout_button_prev * { color: inherit !important; }
.simple-content #simplecheckout_button_back:hover,
.simple-content #simplecheckout_button_prev:hover { border-color: #ff680a !important; color: #ff680a !important; background: transparent !important; }

/* confirm / next — the main call to action */
.simple-content #simplecheckout_button_confirm,
.simple-content #simplecheckout_button_next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    min-width: 340px;
    min-height: 64px !important;
    padding: 0 36px !important;
    background: #ff680a !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: #000000 !important;
    font-family: 'Unbounded', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    letter-spacing: -.2px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 104, 10, .55), 0 10px 30px rgba(255, 104, 10, .35) !important;
    transition: transform .15s, background .2s, box-shadow .2s !important;
    animation: bf-confirm-pulse 2.4s ease-out infinite;
}
.simple-content #simplecheckout_button_confirm span,
.simple-content #simplecheckout_button_next span { color: #000000 !important; font: inherit !important; }
.simple-content #simplecheckout_button_confirm::after,
.simple-content #simplecheckout_button_next::after {
    content: "→";
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s;
}
.simple-content #simplecheckout_button_confirm:hover,
.simple-content #simplecheckout_button_next:hover {
    background: #ff7f2e !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(255, 104, 10, .5) !important;
}
.simple-content #simplecheckout_button_confirm:hover::after,
.simple-content #simplecheckout_button_next:hover::after { transform: translateX(4px); }
.simple-content #simplecheckout_button_confirm[disabled] {
    opacity: .5;
    animation: none;
    box-shadow: none !important;
    cursor: not-allowed;
}
@keyframes bf-confirm-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 104, 10, .55), 0 10px 30px rgba(255, 104, 10, .35); }
    70%  { box-shadow: 0 0 0 14px rgba(255, 104, 10, 0), 0 10px 30px rgba(255, 104, 10, .35); }
    100% { box-shadow: 0 0 0 0 rgba(255, 104, 10, 0), 0 10px 30px rgba(255, 104, 10, .35); }
}
@media (prefers-reduced-motion: reduce) {
    .simple-content #simplecheckout_button_confirm,
    .simple-content #simplecheckout_button_next { animation: none; }
}

/* "proceed to payment" note */
.simple-content .simplecheckout-proceed-payment {
    margin: 16px 0 0;
    padding: 14px 18px;
    background: #1c1c1c;
    border: 1px solid #333333;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .simple-content #buttons,
    .simple-content .simplecheckout-button-block { flex-direction: column-reverse; align-items: stretch !important; padding: 16px !important; }
    .simple-content .simplecheckout-button-right { flex: none; align-items: stretch; }
    .simple-content .simplecheckout-button-left { justify-content: center; }
    .simple-content #simplecheckout_button_confirm,
    .simple-content #simplecheckout_button_next { min-width: 0; width: 100%; font-size: 16px !important; min-height: 60px !important; }
    .related-checkout-module .product-layout { flex-basis: 140px !important; width: 140px !important; max-width: 140px !important; }
}


/* =====================================================================
   v3 — icons back, readable text in shipping / payment blocks
   ===================================================================== */

/* Font Awesome icons (fa fa-minus, fa fa-plus, fa-times-circle …) */
.simple-content .fa,
.simple-content i.fa,
.simple-content [class^="fa-"],
.simple-content [class*=" fa-"] {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: inherit !important;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.simple-content .btn .fa,
.simple-content .input-group-btn .fa { color: #ffffff !important; font-size: 14px; }
.simple-content .btn-danger .fa,
.simple-content .fa-times-circle,
.simple-content .fa-trash,
.simple-content .fa-trash-o { color: #ff6b6b !important; }
.simple-content .btn:hover .fa { color: #ff680a !important; }

/* all plain text inside blocks is light */
.simple-content .simplecheckout-block-content p,
.simple-content .simplecheckout-block-content span:not(.fa),
.simple-content .simplecheckout-block-content div,
.simple-content .simplecheckout-block-content small,
.simple-content .simplecheckout-block-content li { color: #c9c9c9 !important; }
.simple-content .simplecheckout-block-content b,
.simple-content .simplecheckout-block-content strong { color: #ffffff !important; }

/* method group title ("Нова пошта") */
.simple-content .simplecheckout-block-content > p > b,
.simple-content .simplecheckout-block-content > p:has(> b:only-child) {
    display: block;
    margin: 16px 0 10px !important;
    color: #ffffff !important;
    font-family: 'Unbounded', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* free shipping policy note */
.simple-content [data-shipping-policy] {
    margin: 0 0 16px !important;
    padding: 12px 16px !important;
    background: #221a14 !important;
    border: 1px solid #5a3415 !important;
    border-left: 3px solid #ff680a !important;
    border-radius: 10px !important;
    color: #ffd9c2 !important;
    font-size: 14px !important;
    font-weight: 600;
}

/* method descriptions under radios */
.simple-content .simplecheckout-block-content .form-group > label,
.simple-content .simplecheckout-methods-description {
    color: #9a9a9a !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
.simple-content .radio label span,
.simple-content .checkbox label span { color: inherit !important; }

/* =====================================================================
   v4 — bottom button block in one line:
   [Назад]  [☐ згода з умовами …]  [Оформити замовлення →]
   ===================================================================== */
@media (min-width: 768px) {
    .simple-content #buttons,
    .simple-content .simplecheckout-button-block {
        flex-direction: row-reverse !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    .simple-content .simplecheckout-button-right {
        flex: 1 1 auto !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 24px !important;
        min-width: 0;
    }
    .simple-content #agreement_checkbox {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
    }
    .simple-content #agreement_checkbox .checkbox:last-child { margin-bottom: 0 !important; }
    .simple-content #simplecheckout_button_confirm,
    .simple-content #simplecheckout_button_next { flex: 0 0 auto; min-width: 300px; }
    .simple-content .simplecheckout-button-left { flex: 0 0 auto !important; align-items: center; }
}


/* =====================================================================
   v5 — agreement text (оферта / політика) small and separate;
   phones: clean single column, nothing wider than the card
   ===================================================================== */
.simple-content #agreement_checkbox .checkbox label {
    display: block !important;
    position: relative !important;
    padding-left: 26px !important;
    text-align: left !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: #8a8a8a !important;
    white-space: normal !important;
}
.simple-content #agreement_checkbox .checkbox label input[type="checkbox"] {
    position: absolute !important;
    left: 0; top: 1px;
    width: 16px !important; height: 16px !important;
    margin: 0 !important;
}
.simple-content #agreement_checkbox a,
.simple-content #agreement_checkbox a b { font-weight: 600 !important; color: #c9c9c9 !important; }
.simple-content #agreement_checkbox a:hover,
.simple-content #agreement_checkbox a:hover b { color: #ff680a !important; }

@media (max-width: 767.98px) {
    .simple-content #buttons,
    .simple-content .simplecheckout-button-block {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 16px !important;
    }
    .simple-content .simplecheckout-button-right,
    .simple-content .simplecheckout-button-left {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        align-items: stretch !important;
    }
    .simple-content .simplecheckout-button-right { gap: 12px !important; }
    /* 1) big "Оформити замовлення", 2) small agreement text under it */
    .simple-content #simplecheckout_button_confirm {
        order: 1;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 16px !important;
        text-align: center;
    }
    .simple-content #simplecheckout_button_confirm,
    .simple-content #simplecheckout_button_confirm span {
        font-size: 15px !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }
    .simple-content #agreement_checkbox {
        order: 2;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 12px 0 0 !important;
        border-top: 1px solid #262626;
    }
    .simple-content #agreement_checkbox .checkbox { margin: 0 !important; }
    .simple-content #agreement_checkbox .checkbox label { width: 100% !important; font-size: 11.5px !important; }
    /* 3) "Назад" — quiet full-width button at the bottom */
    .simple-content .simplecheckout-button-left { justify-content: stretch !important; }
    .simple-content #simplecheckout_button_back,
    .simple-content #simplecheckout_button_prev {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center;
        font-size: 14px !important;
    }
}

/* anti-bot check block ("Перевірка перед оформленням") — it comes with inline
   white styles; make it a dark card like the rest of the form */
.simple-content section[data-checkout-guard-position] {
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 16px !important;
    color: #c9c9c9 !important;
}
.simple-content section[data-checkout-guard-position] strong { color: #ffffff !important; font-size: 14px !important; }
.simple-content section[data-checkout-guard-position] span[role="status"] { color: #8a8a8a !important; font-size: 12px !important; }
.simple-content section[data-checkout-guard-position] button {
    background: #1c1c1c !important;
    border: 1px solid #333333 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
}

/* v6 — phones: agreement line (оферта / політика) hidden. The checkbox stays
   in the form, checked by default, so the order is still accepted. */
@media (max-width: 767.98px) {
    .simple-content #agreement_checkbox { display: none !important; }
}
