/* ==================== RESET & BASE ==================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
.clear { clear:both; display:block; overflow:hidden; visibility:hidden; width:0; height:0; }
.clear:after { clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0; }
* html .clear { height:1%; }
* { box-sizing: border-box; }
strong, b {font-weight: bold;}

body {
    line-height: 160%; 
    color: #2A438A; 
    font-size: 16px; 
    background: #fff; 
    font-family: 'MoscowSans', arial, sans-serif;
    overflow-x: hidden;
}

/* ==================== CONTAINER (FIGMA WIDTH) ==================== */
.container {
    width: 100%;
    max-width: 2500px; /* По Figma */
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    background: #fff;
}

/* ==================== TYPOGRAPHY ==================== */
.section-title {
    font-size: 64px;
    line-height: 75px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #2A438A;
    text-transform: uppercase;
}
.section-title.white { color: #fff; }

.text-body { font-size: 24px; line-height: 28px; font-weight: 300; }
.text-small { font-size: 20px; line-height: 28px; font-weight: 300; }

/* ==================== BUTTONS ==================== */
.btn-pill {
    display: inline-flex; justify-content: center; align-items: center; gap: 20px;
    height: 80px; padding: 0 40px; border-radius: 65px;
    background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff; text-decoration: none; text-transform: uppercase;
    font-size: 20px; font-weight: 400; backdrop-filter: blur(5px); transition: all 0.3s; cursor: pointer;
}
.btn-pill:hover { background: rgba(255, 255, 255, 0.4); }

.btn-outline-blue {
    display: inline-flex; justify-content: center; align-items: center; gap: 20px;
    height: 81px; padding: 0 60px; border-radius: 77px;
    border: 1px solid #2A438A; color: #2A438A; text-decoration: none;
    text-transform: uppercase; font-size: 16px; transition: all 0.3s;
}
.btn-outline-blue:hover { background: #2A438A; color: #fff; }
/* Стили для магазина */
.shop-header {
    background: #333;
    color: white;
    padding: 20px 0;
}

.shop-main {
    min-height: 70vh;
    padding: 40px 0;
}

.shop-footer {
    background: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* ==================== ОФОРМЛЕНИЕ ЗАКАЗА (sale.order.ajax) ==================== */
/* Основной контейнер */
#bx-soa-order {
    font-family: 'MoscowSans', sans-serif !important;
    color: #333;
    background: #fff;
    padding-top: 20px;
}

/* Заголовки секций */
.bx-soa-section-title {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #2A438A !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #E8E8E8 !important;
    letter-spacing: 0.3px !important;
}
.bx-soa-reg-block p{
    margin: 0 0 15px;
}
/* Отступы для конкретного радио-элемента */
#NEW_GENERATE_N {
    margin: 8px; /* Отступ от кружка до текста */
}
#NEW_GENERATE_Y {
    margin-bottom: 20px;
    margin-left: 8px;
    margin-right: 8px;
}
.bx-selected .bx-soa-coupon-label{
    padding: 7px 0;
}
.bx-soa-customer-label{
    padding: 7px 0!important;
}
/* Поля ввода */
#bx-soa-order .form-control,
#bx-soa-order input[type="text"],
#bx-soa-order input[type="email"],
#bx-soa-order input[type="tel"],
.bx-authform-input-container input[type="password"],
#bx-soa-order select,
#bx-soa-order textarea {
    font-family: 'MoscowSans', sans-serif !important;
    border: 1px solid #E8E8E8 !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    transition: border-color 0.2s !important;
}

#bx-soa-order .form-control:focus,
#bx-soa-order input:focus,
#bx-soa-order select:focus,
#bx-soa-order textarea:focus {
    border-color: #2A438A !important;
    box-shadow: none !important;
    outline: none !important;
}
.bx-soa h3.bx-title{
    padding-bottom: 10px;
}
.bx-authform-label-container{
    padding-bottom: 5px;
}
/* Лейблы */
#bx-soa-order .control-label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #54585A !important;
    margin-bottom: 5px !important;
}

/* 🔹 КНОПКИ В СТИЛЕ .btn-outline-blue */
#bx-soa-order .btn.btn-default,
#bx-soa-order .btn-order-save,
#bx-soa-order .btn.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 20px 60px !important;
    background: transparent !important;
    border: 1px solid #2A438A !important;
    border-radius: 65px !important;
    color: #2A438A !important;
    text-decoration: none !important;
    font-family: 'MoscowSans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
}

#bx-soa-order .btn.btn-default:hover,
#bx-soa-order .btn-order-save:hover,
#bx-soa-order .btn.btn-primary:hover {
    background: #2A438A !important;
    color: #fff !important;
    border-color: #2A438A !important;
}

/* Секции (доставка, оплата) - БЕЗ ФОНА, ТОЛЬКО РАМКА */
.bx-soa-section-content {
    background: #fff !important;
    border: 1px solid #E8E8E8 !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

/* Итоги заказа (сайдбар) */
#bx-soa-total,
.bx-soa-cart-total {
    background: #fff !important;
    border: 1px solid #E8E8E8 !important;
    padding: 25px !important;
}

.bx-soa-cart-total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #F0F0F0 !important;
}

.bx-soa-cart-total-line-total {
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-bottom: none !important;
}

.bx-soa-cart-t {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #54585A !important;
}

.bx-soa-cart-d {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #2A438A !important;
}

/* Товары в заказе */
.bx-soa-item-table {
    background: #fff !important;
    border: 1px solid #E8E8E8 !important;
    padding: 15px !important;
}

.bx-soa-item-title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
}

/* Сообщения об ошибках */
#bx-soa-order .alert {
    border-radius: 0 !important;
    border: 1px solid #E8E8E8 !important;
    padding: 15px 20px !important;
    font-family: 'MoscowSans', sans-serif !important;
    margin-bottom: 20px !important;
    background: #fff !important;
}

#bx-soa-order .alert-danger {
    border-color: #c00 !important;
    color: #c00 !important;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 920px) {
    .bx-soa-section-title {
        font-size: 20px !important;
    }
    .bx-soa-cart-d {
        font-size: 16px !important;
    }
    .bx-soa-section-content {
        padding: 15px !important;
    }
    #bx-soa-order .btn.btn-default,
    #bx-soa-order .btn-order-save,
    #bx-soa-order .btn.btn-primary {
        padding: 16px 40px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    #bx-soa-order {
        padding: 10px 0 !important;
    }
    .bx-soa-section-title {
        font-size: 18px !important;
    }
    #bx-soa-total,
    .bx-soa-cart-total {
        padding: 20px 15px !important;
        margin-top: 20px !important;
    }
    .bx-soa-cart-d {
        font-size: 24px !important;
    }
    #bx-soa-order .btn.btn-default,
    #bx-soa-order .btn-order-save,
    #bx-soa-order .btn.btn-primary {
        width: 100% !important;
        padding: 18px 30px !important;
        font-size: 14px !important;
        margin-top: 10px !important;
    }
}
/* Пагинация news-pagination */
.nav-pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.nav-pagination .page-numbers {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(42, 67, 138, 0.3);
    border-radius: 50px;
    color: #2A438A;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-pagination .page-link:hover {
    background: #2A438A;
    color: #fff;
    border-color: #2A438A;
}

.nav-pagination .page-link.current {
    background: #2A438A;
    color: #fff;
    border-color: #2A438A;
    font-weight: 600;
    cursor: default;
}

.nav-pagination .page-link.prev,
.nav-pagination .page-link.next {
    min-width: auto;
    padding: 0 20px;
    font-size: 18px;
}

.rekvizit-company {font-size:16px;}