* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #f4f1ea;
    background:
        radial-gradient(circle at top, rgba(48, 31, 17, 0.4), transparent 35%),
        linear-gradient(180deg, #090807 0%, #12100d 35%, #1b1712 100%);
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#snowCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(8, 7, 7, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-image {
    display: flex;
    align-items: center;
}

.brand-full-logo {
    height: 78px;
    width: auto;
    display: block;
    object-fit: contain;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topnav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    transition: 0.2s ease;
}

.topnav a:hover {
    color: #ffffff;
}

.cart-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #8d533a 0%, #6d3d2c 100%);
    color: #fff4ef;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(111, 59, 37, 0.25);
}

.cart-icon {
    font-size: 18px;
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 120, 89, 0.09), transparent 22%),
        radial-gradient(circle at 70% 40%, rgba(64, 147, 255, 0.08), transparent 22%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.46));
    opacity: 1;
}

.hero-inner {
    padding: 110px 0 90px;
}

.hero-text {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-kicker,
.section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: #ff9c7b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.96;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.hero p {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.6;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(180deg, #ff8f72 0%, #f77a5f 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(247, 122, 95, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f7ede8;
    background: rgba(255, 255, 255, 0.03);
}

.server-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.server-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.server-pill-label {
    color: #ffaf95;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.server-pill-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

/* IMAGE NAV */
.image-nav-section {
    padding: 26px 0 18px;
    position: relative;
    z-index: 2;
}

.image-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.image-nav-item {
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.image-nav-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.image-nav-item:hover {
    transform: translateY(-4px) scale(1.01);
}

/* DECOR */
.hero-decor,
.section-decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero-tree {
    left: -20px;
    bottom: 20px;
    width: 280px;
    opacity: 0.92;
}

.hero-map {
    right: 40px;
    bottom: 70px;
    width: 180px;
    opacity: 0.18;
    transform: rotate(-12deg);
}

/* SHOP */
.shop-section,
.socials-section {
    padding: 80px 0;
}

.shop-section .container {
    position: relative;
}

.shop-chest {
    right: -30px;
    top: -30px;
    width: 170px;
    opacity: 0.9;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-head h2,
.socials-section h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    color: #ffffff;
}

.section-search input {
    width: 320px;
    max-width: 100%;
    height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 17, 14, 0.85);
    color: #fff;
    outline: none;
}

.section-search input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.category-btn {
    height: 46px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: rgba(126, 74, 54, 0.55);
    color: #f8d8cd;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(180deg, #ff8d70 0%, #f2785f 100%);
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    min-height: 350px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(30, 25, 20, 0.98) 0%, rgba(23, 19, 15, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.product-card-inner {
    height: 100%;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sale-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ff605d;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    z-index: 2;
}

.product-icon-wrap {
    margin: 18px 0 22px;
}

.product-icon {
    width: 116px;
    height: 116px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, #ffae63 0%, #ff6a3d 46%, #b31718 100%);
    box-shadow: inset 0 8px 24px rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 42px;
    font-weight: 900;
}

.product-title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.product-category {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 136, 104, 0.15);
    color: #ff9b7c;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.product-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 18px;
}

.product-price {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
}

.product-old-price {
    color: rgba(255, 255, 255, 0.34);
    text-decoration: line-through;
    font-size: 15px;
}

.buy-button {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff8f72 0%, #f57a5f 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
}

/* SOCIALS */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 26px;
}

.social-card {
    min-height: 158px;
    padding: 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.social-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.social-card-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}

.social-card-subtitle {
    font-size: 14px;
    opacity: 0.85;
}

.social-arrow {
    margin-left: auto;
    font-size: 34px;
    opacity: 0.92;
}

.social-telegram {
    background: linear-gradient(135deg, #1092eb 0%, #46b8ff 100%);
}

.social-discord {
    background: linear-gradient(135deg, #5865f2 0%, #7882ff 100%);
}

.social-youtube {
    background: linear-gradient(135deg, #ff2d2d 0%, #ff5a5a 100%);
}

/* FOOTER */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 6, 14, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}

.footer-column h3 {
    margin: 0 0 18px;
    color: #6ca6ff;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    color: #d7dde8;
    font-size: 22px;
    transition: 0.2s ease;
}

.footer-column a:hover {
    color: #8fc0ff;
}

.footer-bottom {
    margin-top: 42px;
    padding: 26px 0 30px;
    text-align: center;
    color: #7f8691;
    font-size: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: min(1060px, 100%);
    border-radius: 30px;
    background: linear-gradient(180deg, #1f1a13 0%, #19140f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    border: none;
    background: transparent;
    color: #0f0f0f;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    min-height: 680px;
}

.modal-left {
    padding: 42px 28px 34px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-right {
    padding: 56px 34px 34px;
    display: flex;
    flex-direction: column;
}

.modal-cart-title {
    margin: 0 0 26px;
    font-size: 56px;
    color: #ffffff;
    font-weight: 900;
}

.cart-product {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    align-items: center;
    gap: 18px;
}

.cart-product-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, #ffae63 0%, #ff6a3d 46%, #b31718 100%);
    color: white;
    font-size: 34px;
    font-weight: 900;
}

.cart-product-name {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.cart-product-tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 136, 104, 0.16);
    color: #ff9b7c;
    font-size: 14px;
    font-weight: 700;
}

.cart-product-price {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
}

.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    height: 58px;
}

.qty-btn,
.qty-value {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn {
    border: none;
    background: rgba(122, 73, 53, 0.55);
    color: #ff9777;
    cursor: pointer;
    font-size: 28px;
}

.qty-btn.danger {
    background: rgba(122, 73, 53, 0.72);
}

.qty-value {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 30px 0 26px;
}

.purchase-info h4,
.payment-box h4 {
    margin: 0 0 22px;
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
}

.purchase-step {
    margin-bottom: 18px;
}

.purchase-step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    color: #ffffff;
}

.purchase-step p {
    margin: 0;
    color: #d8d3cb;
    font-size: 16px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f0ece7;
    font-size: 15px;
    font-weight: 700;
}

.label-muted {
    color: rgba(255, 255, 255, 0.28);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 18, 15, 0.6);
    color: #ffffff;
    outline: none;
    font-size: 16px;
}

.form-group input:focus {
    border-color: rgba(255, 145, 115, 0.8);
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 0;
    color: #efebe5;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
}

.check-row input {
    margin-top: 3px;
    transform: scale(1.15);
}

.payment-box {
    margin-top: auto;
    padding-top: 24px;
}

.payment-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: #f1ece7;
    font-size: 18px;
    margin-bottom: 18px;
}

.payment-line strong {
    font-size: 28px;
    color: #ffffff;
}

.pay-button {
    width: 100%;
    height: 62px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #ff8f72 0%, #f57a5f 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.pay-button:hover {
    transform: translateY(-2px);
}

.pay-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.payment-note {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    line-height: 1.45;
}

.modal-status {
    min-height: 22px;
    margin-top: 14px;
    color: #ff9c86;
    font-size: 14px;
    font-weight: 700;
}

/* ADAPTIVE */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .socials-grid {
        grid-template-columns: 1fr;
    }

    .footer-column h3 {
        font-size: 22px;
    }

    .footer-column a,
    .footer-bottom {
        font-size: 18px;
    }
}

@media (max-width: 1100px) {
    .brand-full-logo {
        height: 64px;
    }

    .hero-tree {
        width: 220px;
        opacity: 0.65;
    }

    .hero-map {
        width: 130px;
    }

    .shop-chest {
        width: 120px;
        right: 0;
    }
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .topnav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cart-product {
        grid-template-columns: 92px 1fr;
    }

    .cart-product-price,
    .cart-qty {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .image-nav-grid {
        grid-template-columns: 1fr;
    }

    .brand-full-logo {
        height: 56px;
    }

    .hero-tree,
    .hero-map,
    .shop-chest {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 100%);
    }

    .hero {
        min-height: 560px;
    }

    .hero-inner {
        padding: 72px 0 60px;
    }

    .hero p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 24px;
    }

    .modal {
        padding: 12px;
    }

    .modal-left,
    .modal-right {
        padding: 24px 18px;
    }

    .modal-cart-title {
        font-size: 40px;
    }

    .purchase-info h4,
    .payment-box h4 {
        font-size: 26px;
    }
}
/* =========================
   MOBILE FIX PACK
   вставить в конец style.css
   ========================= */

@media (max-width: 900px) {
    .topbar {
        position: relative;
    }

    .topbar-inner {
        min-height: auto;
        padding: 14px 0 10px;
        gap: 12px;
    }

    .brand-full-logo {
        height: 52px;
        max-width: 100%;
    }

    .topnav {
        width: 100%;
        order: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .topnav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 10px;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        text-align: center;
        font-size: 14px;
    }

    .cart-preview {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 16px;
        border-radius: 14px;
    }

    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero-inner {
        padding: 56px 0 42px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(34px, 12vw, 56px);
        line-height: 0.98;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        border-radius: 14px;
    }

    .server-badges {
        justify-content: center;
    }

    .server-pill {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 14px;
    }

    .image-nav-section {
        padding: 18px 0 8px;
    }

    .image-nav-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .image-nav-item img {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
    }

    .shop-section,
    .socials-section {
        padding: 48px 0;
    }

    .section-head {
        gap: 14px;
        margin-bottom: 20px;
    }

    .section-head h2,
    .socials-section h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .section-search input {
        width: 100%;
        height: 48px;
        border-radius: 12px;
        font-size: 15px;
    }

    .category-row {
        gap: 8px;
        margin-bottom: 20px;
    }

    .category-btn {
        flex: 1 1 auto;
        min-width: 0;
        height: 42px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        min-height: unset;
        border-radius: 22px;
    }

    .product-card-inner {
        padding: 20px 16px 16px;
    }

    .sale-badge {
        top: 14px;
        right: 14px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .product-icon-wrap {
        margin: 10px 0 16px;
    }

    .product-icon {
        width: 88px;
        height: 88px;
        border-radius: 22px;
        font-size: 32px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-category {
        font-size: 13px;
        padding: 7px 12px;
        margin-bottom: 14px;
    }

    .product-price {
        font-size: 24px;
    }

    .buy-button {
        height: 50px;
        border-radius: 14px;
        font-size: 16px;
    }

    .socials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .social-card {
        min-height: 116px;
        padding: 18px;
        border-radius: 20px;
        gap: 14px;
    }

    .social-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 20px;
    }

    .social-card-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .social-card-subtitle {
        font-size: 13px;
    }

    .social-arrow {
        font-size: 24px;
    }

    .footer {
        padding-top: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-column h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .footer-column a {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 24px;
        padding: 20px 0 24px;
        font-size: 16px;
    }

    .hero-tree,
    .hero-map,
    .shop-chest {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 100%);
    }

    .topnav {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner {
        padding: 46px 0 34px;
    }

    .hero-kicker,
    .section-kicker {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: clamp(30px, 11vw, 44px);
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .btn {
        min-height: 46px;
        font-size: 15px;
    }

    .modal {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-dialog {
        width: 100%;
        border-radius: 20px;
        margin: 12px 0;
    }

    .modal-grid {
        display: block;
        min-height: unset;
    }

    .modal-left,
    .modal-right {
        padding: 18px 14px;
    }

    .modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .modal-cart-title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .cart-product {
        grid-template-columns: 72px 1fr;
        gap: 12px;
    }

    .cart-product-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        font-size: 26px;
    }

    .cart-product-name {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .cart-product-tag {
        font-size: 12px;
        padding: 6px 10px;
    }

    .cart-product-price {
        grid-column: span 2;
        font-size: 22px;
    }

    .cart-qty {
        grid-column: span 2;
        width: 100%;
        height: 48px;
        border-radius: 12px;
    }

    .qty-btn,
    .qty-value {
        width: 48px;
        height: 48px;
    }

    .purchase-info h4,
    .payment-box h4 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .purchase-step strong {
        font-size: 16px;
    }

    .purchase-step p {
        font-size: 14px;
        line-height: 1.55;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label,
    .check-row {
        font-size: 14px;
    }

    .form-group input {
        height: 50px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 15px;
    }

    .payment-line {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .payment-line strong {
        font-size: 22px;
    }

    .pay-button {
        height: 52px;
        border-radius: 14px;
        font-size: 18px;
    }

    .payment-note {
        font-size: 12px;
    }

    .modal-close {
        top: 10px;
        right: 14px;
        font-size: 34px;
        color: #ffffff;
    }
}

@media (max-width: 420px) {
    .topnav {
        grid-template-columns: 1fr;
    }

    .topnav a {
        min-height: 40px;
        font-size: 13px;
    }

    .server-pill {
        flex-direction: column;
        gap: 4px;
    }

    .product-title {
        font-size: 22px;
    }

    .social-card {
        padding: 16px;
    }

    .social-arrow {
        display: none;
    }
}
/* =========================
   MOBILE MENU TOGGLE
   вставить в конец style.css
   ========================= */

.desktop-only {
    display: inline-flex;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: linear-gradient(180deg, #8d533a 0%, #6d3d2c 100%);
    color: #fff4ef;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 24px rgba(111, 59, 37, 0.25);
}

.mobile-menu-toggle-text {
    font-size: 15px;
}

.mobile-menu-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mobile-menu-toggle.is-open .mobile-menu-arrow {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .topbar {
        position: relative;
    }

    .topbar-inner {
        min-height: auto;
        padding: 14px 0 10px;
        gap: 12px;
    }

    .brand-full-logo {
        height: 52px;
        max-width: 100%;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: 100%;
        order: 3;
    }

    .topnav {
        display: none !important;
        width: 100%;
        order: 4;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 2px;
    }

    .topnav.is-open {
        display: grid !important;
    }

    .topnav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        text-align: center;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .mobile-menu-toggle {
        min-height: 46px;
        border-radius: 12px;
    }

    .mobile-menu-toggle-text {
        font-size: 14px;
    }

    .mobile-menu-arrow {
        font-size: 18px;
    }
}