html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #272725;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- HERO BLOCK ---------- */
.hero {
    box-sizing: border-box;
    background: #072e0d url("/assets/hero-bg.jpg") no-repeat fixed center top;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 23, 36, 0.3) 0%, rgba(3, 41, 24, 1) 100%);
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.8s ease-out;
    margin-top: 0;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__text {
    text-align: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: #ffffff;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
    background: linear-gradient(180deg, rgba(2, 23, 36, 0.4) 0%, rgba(3, 41, 24, 0.7) 100%),
                #072e0d url("/assets/hero-bg.jpg") no-repeat center bottom;
    background-size: cover;
    padding: 1rem 1.5rem;
}

.page-header__content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-header__logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header__link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
}

.page-header__link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .page-header {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }
    .page-header__logo {
        font-size: 1rem;
    }
}

/* Общие стили кнопок */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    outline: none;
    min-width: 150px;
    /* для мобильных — растягиваются по необходимости */;
}

.btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Кнопка "Прайс" */
.btn--price {
    background-color: #0f6d14;
    color: #fff;
    border: 2px solid #0f6d14;
}

.btn--price:hover {
    background-color: #0b5a10;
    border-color: #0b5a10;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 109, 20, 0.4);
}

.btn--price:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(15, 109, 20, 0.5);
    background-color: #09420b;
    transition: all 0.1s ease;
}

/* Кнопка телефона */
.btn--phone {
    background-color: #fff;
    color: #0f6d14;
    border: 2px solid #fff;
}

.btn--phone:hover {
    background-color: #f0f7f0;
    border-color: #f0f7f0;
    color: #0b5a10;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.btn--phone:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    background-color: #e0efe0;
    transition: all 0.1s ease;
}

/* Иконка телефона (SVG или символ) */
.btn__icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

/* ---------- ОСНОВНОЙ КОНТЕНТ ---------- */
.content {
    box-sizing: border-box;
    background-color: #fff;
    color: #272725;
    flex: 1;
    padding: 5rem 1.5rem;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.content__text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.75;
    color: #272725;
    text-align: left;
    max-width: 65ch;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.content__text p {
    margin-bottom: 1.5rem;
}

.content__text h1, .content__text h2, .content__text h3, .content__text h4 {
    line-height: normal;
}

.content__text p:last-child {
    margin-bottom: 0;
}

.content__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

/* ---------- ФУТЕР ---------- */
.footer {
    background-color: #272725;
    color: #fff;
    text-align: center;
    padding: 1.8rem 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-top: 4px solid #70ab68;
    margin-top: auto;
}

.footer__text {
    opacity: 0.9;
    font-weight: 500;
}

.footer__text-contacts a {
    color: #0f6d14;
}

.footer__text-contacts p:first-child {
    margin-top: 0;
}

.footer__text-contacts p:last-child {
    margin-bottom: 0;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-auto {
    margin-bottom: auto !important;
}

small, .small {
    font-size: 0.875em;
}

/* ---------- АНИМАЦИИ ---------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #75a76e;
    animation: fadeInUp 0.4s ease-out;
}

.cookie-popup__content {
    padding: 1.2rem 1.5rem;
}

.cookie-popup__text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #272725;
    margin: 0 0 1rem 0;
}

.cookie-popup__btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    min-width: auto;
    background-color: #0f6d14;
    color: #fff;
    border: 2px solid #0f6d14;
}

.cookie-popup__btn:hover {
    background-color: #0b5a10;
    border-color: #0b5a10;
}

/* ---------- АДАПТИВНОСТЬ ---------- */
@media (max-width: 600px) {
    .hero {
        padding: 1.5rem 1rem;
        justify-content: center;
    }

    .hero__title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero__buttons {
        box-sizing: border-box;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
    }

    .btn {
        box-sizing: border-box;
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
    }

    .content {
        padding: 3rem 1.2rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero__title {
        font-size: 2.2rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.8rem 1.2rem;
    }
}

/* Для очень широких экранов ограничим максимальную ширину текста */
@media (min-width: 1400px) {
    .content {
        max-width: 900px;
    }
}

.main-catalog {
    border-top: 1px solid #d3dad3;
    margin-top: 2em;
    padding-top: 0.4em;
}

.cart-indicator-c {
    background: #011523;
    color: #f0f0f0;
    text-align: right;
}

.cart-indicator-c a {
    text-decoration: none;
    color: #f0f0f0 !important;
}

.cart-indicator-c a i {
    font-style: normal;
}

.cart-indicator-c a:hover i {
    text-decoration: underline;
}

.cart-indicator {
    max-width: 900px;
    margin: 0 auto;
}

/* ---------- CATALOG ---------- */
.b-catalog {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.b-catalog-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background-color: #fafafa;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.b-catalog-item:hover {
    border-color: #75a76e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.b-catalog-item__pic {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e8e8e8;
}

.b-catalog-item__pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b-catalog-item__pic-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85rem;
}

.b-catalog-item__desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.b-catalog-item__avail-prop {
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 70%;
    color: #1e2125;
}

.b-catalog-item__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #272725;
}

.b-catalog-item__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f6d14;
    margin: 0;
}

.b-catalog-item__text {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-catalog-item__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.b-catalog-item__quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.qty-btn:hover {
    background-color: #f0f0f0;
    border-color: #75a76e;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.btn--cart {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    min-width: auto;
    background-color: #0f6d14;
    color: #fff;
    border: 2px solid #0f6d14;
    border-radius: 8px;
    min-height: 40px;
    box-sizing: border-box;
}

.btn--cart:hover {
    background-color: #0b5a10;
    border-color: #0b5a10;
}

.btn--cart-in {
    padding: 0.35rem 1.2rem;
    font-size: 0.9rem;
    min-width: auto;
    background-color: #fff;
    color: #072e0d;
    border: 2px solid #072e0d;
    border-radius: 8px;
}

.btn--cart-in:hover {
    background-color: #074a0f;
    color: #fff;
}

.hidden {
    display: none !important;
}

/* ---------- TOAST NOTIFICATIONS ---------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    padding: 0.9rem 1.5rem;
    background-color: #272725;
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: toastIn 0.3s ease-out;
    pointer-events: auto;
}

.toast--success {
    background-color: #2e7d32;
}

.toast--warning {
    background-color: #f57c00;
}

.toast--error {
    background-color: #c62828;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- RESPONSIVE CATALOG ---------- */
@media (max-width: 600px) {
    .b-catalog-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .b-catalog-item__pic {
        width: 100%;
        height: 160px;
    }

    .b-catalog-item__title {
        font-size: 1.05rem;
    }

    .b-catalog-item__text {
        font-size: 0.85rem;
    }

    .b-catalog-item__actions {
        flex-wrap: wrap;
    }

    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .toast {
        width: 100%;
    }

    .cart-indicator__link {
        padding: 0.5rem 0.8rem;
    }

    .cart-indicator__icon {
        font-size: 1.1rem;
    }
}

/* ---------- CART PAGE ---------- */
.b-cart__header {
    margin-bottom: 1.5rem;
}

.b-cart__back {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #0c4128;
    text-decoration: none;
    transition: color 0.2s;
}

.b-cart__back:hover {
    color: #0f6d14;
}

.b-cart-header h1 {
    display: inline;
    margin-right: 0.5rem;
}

.b-cart-header__count {
    color: #666;
    font-size: 0.95rem;
}

.b-cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.b-cart-empty__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.b-cart-empty__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.b-cart-empty__text {
    color: #666;
    margin-bottom: 1.5rem;
}

.b-cart-empty__text a {
    color: #0f6d14;
    text-decoration: underline;
}

.b-cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.b-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: box-shadow 0.2s ease;
}

.b-cart-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.b-cart-item__pic {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-cart-item__pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b-cart-item__pic-placeholder {
    font-size: 0.75rem;
    color: #999;
}

.b-cart-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.b-cart-item__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.b-cart-item__name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.b-cart-item__remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background-color: transparent;
    color: #999;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-cart-item__remove:hover {
    background-color: #ffebee;
    color: #d32f2f;
}

.b-cart-item__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.b-cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.b-cart-item__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.b-cart-item__price {
    font-size: 0.85rem;
    color: #888;
}

.b-cart-item__total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f6d14;
}

.b-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid #e0e0e0;
}

.b-cart-footer__total {
    display: flex;
    flex-direction: column;
}

.b-cart-footer__total-label {
    font-size: 0.9rem;
    color: #666;
}

.b-cart-footer__total-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.btn--checkout {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    background-color: #0f6d14;
    color: #fff;
    border: 2px solid #0f6d14;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn--checkout:hover {
    background-color: #0b5a10;
    border-color: #0b5a10;
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .b-cart-item {
        padding: 0.85rem;
    }

    .b-cart-item__pic {
        width: 64px;
        height: 64px;
    }

    .b-cart-item__name {
        font-size: 0.95rem;
    }

    .b-cart-item__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .b-cart-item__prices {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .b-cart-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        position: sticky;
        bottom: 16px;
        z-index: 100;
    }

    .b-cart-footer__total {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .b-cart-footer__total-value {
        font-size: 1.3rem;
    }

    .btn--checkout-sticky {
        width: 100%;
        text-align: center;
    }
}

/* ---------- ORDER FORM ---------- */
.b-order {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.b-order__header {
    margin-bottom: 2rem;
}

.b-order__back {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #0c4128;
    text-decoration: none;
    transition: color 0.2s;
}

.b-order__back:hover {
    color: #0f6d14;
}

.b-order__header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #272725;
}

.b-order__summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.b-order__summary-images {
    display: flex;
}

.b-order__summary-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #fff;
    margin-left: -12px;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.b-order__summary-img:first-child {
    margin-left: 0;
}

.b-order__summary-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b-order__summary-placeholder {
    width: 100%;
    height: 100%;
    background: #ccc;
}

.b-order__summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.b-order__summary-count {
    font-size: 0.9rem;
    color: #666;
}

.b-order__summary-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f6d14;
}

.b-order__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.b-order__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.b-order__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #272725;
}

.b-order__required {
    color: #c62828;
}

.b-order__input {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #272725;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.b-order__input::placeholder {
    color: #999;
}

.b-order__input:focus {
    border-color: #0f6d14;
    box-shadow: 0 0 0 3px rgba(15, 109, 20, 0.1);
}

.b-order__input.has-error {
    border-color: #c62828;
}

.b-order__error {
    font-size: 0.85rem;
    color: #c62828;
    min-height: 1.2em;
}

.b-order__field--checkbox {
    gap: 0.6rem;
}

.b-order__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.b-order__checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.b-order__checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.b-order__checkbox-input:checked + .b-order__checkbox-custom {
    background-color: #0f6d14;
    border-color: #0f6d14;
}

.b-order__checkbox-input:checked + .b-order__checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.b-order__checkbox-input:focus + .b-order__checkbox-custom {
    box-shadow: 0 0 0 3px rgba(15, 109, 20, 0.15);
}

.b-order__checkbox-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.b-order__checkbox-text a {
    color: #0f6d14;
    text-decoration: underline;
}

.b-order__checkbox-text a:hover {
    color: #0b5a10;
}

.b-order__submit {
    margin-top: 0.5rem;
    min-width: 100%;
    position: relative;
}

.b-order__submit-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.b-order__submit.loading .b-order__submit-text {
    display: none;
}

.b-order__submit.loading .b-order__submit-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- THANKYOU MODAL ---------- */
.b-thankyou {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.b-thankyou__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.b-thankyou__content {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.b-thankyou__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #0f6d14;
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.b-thankyou__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #272725;
    margin: 0 0 0.5rem;
}

.b-thankyou__text {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1.5rem;
}

.b-thankyou__btn {
    min-width: 160px;
}

.banner-free-delivery {
    margin: 1.5em 0;
    background: #0c4128;
    text-align: center;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    font-style: italic;
    border-radius: 20px;
    padding: 10px 30px;
    line-height: 1;
}

.banner-free-delivery:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---------- RESPONSIVE ORDER ---------- */
@media (max-width: 600px) {
    .b-order {
        padding: 1.5rem 1rem;
    }

    .b-order__header h1 {
        font-size: 1.5rem;
    }

    .b-thankyou__content {
        padding: 2rem 1.5rem;
    }
}
