:root {
    --ns-blue: #8b5a2b;
    --ns-purple: #c19a6b;
    --ns-bg-light: #faf5ec;
    --ns-bg-gradient:
        radial-gradient(ellipse 100% 70% at 0% 0%, #faf5ec 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 100%, #f3eadb 0%, transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #fdfaf5 42%, #f3eadb 100%);
    --ns-text-main: #2b1d10;
    --ns-text-muted: #8a7660;
    --ns-border-subtle: rgba(80, 50, 25, 0.08);
    --ns-glass-bg: rgba(255, 255, 255, 0.82);
    --ns-glass-border: rgba(255, 255, 255, 0.9);
    --ns-shadow-soft: 0 14px 34px rgba(110, 70, 30, 0.16);
    --ns-shadow-card: 0 14px 32px rgba(70, 45, 20, 0.16);
    --ns-radius-lg: 24px;
    --ns-radius-md: 18px;
    --ns-radius-pill: 999px;
    --ns-input-border: #d9c8ac;
    --ns-input-border-hover: #c4a882;
    --ns-input-border-focus: #8b5a2b;
    --bs-primary: #8b5a2b;
    --bs-primary-rgb: 139, 90, 43;
    --bs-link-color: #8b5a2b;
    --bs-link-hover-color: #6e4520;
    --bs-focus-ring-color: rgba(139, 90, 43, 0.28);
}

.btn-primary {
    --bs-btn-bg: #8b5a2b;
    --bs-btn-border-color: #8b5a2b;
    --bs-btn-hover-bg: #7a4f25;
    --bs-btn-hover-border-color: #7a4f25;
    --bs-btn-active-bg: #6e4520;
    --bs-btn-active-border-color: #6e4520;
    --bs-btn-disabled-bg: #8b5a2b;
    --bs-btn-disabled-border-color: #8b5a2b;
    --bs-btn-focus-shadow-rgb: 139, 90, 43;
}

.btn-outline-primary {
    --bs-btn-color: #8b5a2b;
    --bs-btn-border-color: rgba(139, 90, 43, 0.55);
    --bs-btn-hover-bg: #8b5a2b;
    --bs-btn-hover-border-color: #8b5a2b;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #6e4520;
    --bs-btn-active-border-color: #6e4520;
    --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 139, 90, 43;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #8b5a2b;
    border-color: #8b5a2b;
}

html {
    background-color: var(--ns-bg-light);
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ns-text-main);
    background: transparent;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--ns-bg-gradient);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.site-main {
    min-height: 100vh;
    padding-top: var(--site-header-h, 0px);
    background: transparent;
}

/* Header */

.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(70, 45, 20, 0.08);
}

/* Top brown strip */

.site-strip {
    background: linear-gradient(90deg, var(--ns-blue) 0%, #6e4520 100%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12.5px;
    overflow: hidden;
    max-height: 60px;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.site-header-compact .site-strip {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.site-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 32px;
    padding-block: 4px;
}

.site-strip-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.01em;
}

.site-strip-item i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.site-strip-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-strip-link {
    color: #ffffff;
    font-weight: 500;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
    padding-bottom: 1px;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.site-strip-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.site-strip-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}

.site-strip-social {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.site-strip-social-link {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.site-strip-social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Logo */

.site-logo-wrapper {
    flex: 0 0 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.site-logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

/* Main row */

.site-header-main {
    padding-block: 18px;
    background: #ffffff;
    border-bottom: 1px solid rgba(217, 200, 172, 0.45);
}

.site-header-main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
}

.site-header-main-inner .site-logo-wrapper {
    grid-column: 1;
}

.site-header-main-inner .site-header-search {
    grid-column: 2;
}

.site-header-main-inner .site-header-contacts {
    grid-column: 3;
}

.site-header-main-inner .site-nav-toggle {
    grid-column: 4;
}

.site-header-search {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #fdfaf3;
    border: 1px solid rgba(217, 200, 172, 0.9);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    justify-self: stretch;
}

.site-header-search:focus-within {
    border-color: rgba(139, 90, 43, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.08);
}

.site-header-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(125, 100, 70, 0.85);
    font-size: 15px;
    pointer-events: none;
}

.site-header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 12px 11px 44px;
    font-size: 14px;
    color: var(--ns-text-main);
    outline: none;
}

.site-header-search-input::placeholder {
    color: rgba(125, 100, 70, 0.7);
}

.site-header-search-submit {
    border: none;
    background: linear-gradient(180deg, var(--ns-blue) 0%, #6e4520 100%);
    color: #ffffff;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.18s ease;
}

.site-header-search-submit:hover {
    filter: brightness(1.06);
}

/* Contacts */

.site-header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
}

.site-header-slogan {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ns-text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.site-header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.15;
}

.site-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--ns-text-main);
    letter-spacing: 0.01em;
    transition: color 0.18s ease;
}

.site-header-phone i {
    font-size: 14px;
    color: var(--ns-blue);
}

.site-header-phone:hover {
    color: var(--ns-blue);
}

.site-header-phone-secondary {
    font-size: 14px;
    font-weight: 500;
    color: var(--ns-text-muted);
}

.site-header-phone-secondary:hover {
    color: var(--ns-blue);
}

/* Toolbar (catalog button + nav + actions) */

.site-header-navband {
    display: block;
}

.site-header-toolbar {
    background: #fdfaf3;
    border-bottom: 1px solid rgba(217, 200, 172, 0.6);
}

.site-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
}

.site-toolbar-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.site-toolbar-catbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--ns-blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: background-color 0.18s ease, color 0.18s ease;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.site-toolbar-catbtn:hover {
    background: #6e4520;
    color: #ffffff;
}

.site-toolbar-catbtn i {
    font-size: 15px;
}

.site-toolbar-link {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ns-text-main);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.site-toolbar-link:hover {
    color: var(--ns-blue);
    border-bottom-color: var(--ns-blue);
}

.site-toolbar-actions {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
}

.site-action-btn {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(217, 200, 172, 0.9);
    color: var(--ns-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-action-btn:hover {
    background: var(--ns-blue);
    border-color: var(--ns-blue);
    color: #ffffff;
    transform: translateY(-1px);
}

.site-action-btn i {
    font-size: 17px;
}

.site-action-btn-cart {
    background: linear-gradient(180deg, var(--ns-blue) 0%, #6e4520 100%);
    border-color: transparent;
    color: #ffffff;
    width: auto;
    padding: 0 14px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    gap: 8px;
}

.site-action-btn-cart:hover {
    color: #ffffff;
    filter: brightness(1.08);
    border-color: transparent;
}

.site-action-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c0392b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(192, 57, 43, 0.4);
    pointer-events: none;
}

.site-action-btn-cart .site-action-count {
    background: #ffffff;
    color: var(--ns-blue);
    box-shadow: 0 2px 6px rgba(43, 29, 16, 0.18);
}

.site-header-bottom {
    position: relative;
    z-index: 3;
    background: #ffffff;
    border-top: 1px solid rgba(217, 200, 172, 0.5);
    border-bottom: 1px solid rgba(217, 200, 172, 0.45);
}

.site-header-bottom-inner {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 90, 43, 0.25) transparent;
}

.site-header-bottom-inner::-webkit-scrollbar {
    height: 4px;
}

.site-header-bottom-inner::-webkit-scrollbar-thumb {
    background: rgba(139, 90, 43, 0.25);
    border-radius: 999px;
}

.site-cat-link {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    color: var(--ns-text-main);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    border-right: 1px solid rgba(217, 200, 172, 0.55);
    transition: background-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    cursor: pointer;
}

.site-cat-link--catalog {
    background: var(--ns-blue);
    color: #ffffff;
    font-weight: 600;
    border-right: 1px solid rgba(110, 69, 32, 0.35);
}

.site-cat-link--catalog:hover {
    background: #6e4520;
    color: #ffffff;
}

.site-cat-link--catalog i {
    font-size: 15px;
}

.site-cat-link:first-child {
    border-left: 1px solid rgba(217, 200, 172, 0.55);
}

.site-cat-link:hover {
    background: rgba(139, 90, 43, 0.07);
    color: var(--ns-blue);
}

/* Mobile toggle */

.site-nav-toggle {
    border: 1px solid rgba(217, 200, 172, 0.9);
    background: #ffffff;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-blue);
    justify-self: end;
}

.site-nav-toggle i {
    font-size: 22px;
}

/* Mobile menu */

.site-mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.22s ease, max-height 0.22s ease;
    background: #fdfaf3;
    border-top: 1px solid rgba(217, 200, 172, 0.6);
}

.site-mobile-menu.open {
    display: flex;
    opacity: 1;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.site-mobile-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 12px 12px;
    box-sizing: border-box;
}

.site-mobile-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(217, 200, 172, 0.6);
}

.site-mobile-phone,
.site-mobile-call {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    text-align: left;
    color: var(--ns-text-main);
}

.site-mobile-phone {
    font-size: 18px;
    font-weight: 600;
}

.site-mobile-call {
    font-size: 15px;
    font-weight: 500;
    color: var(--ns-blue);
    cursor: pointer;
}

.site-mobile-phone i,
.site-mobile-call i {
    color: var(--ns-blue);
    font-size: 18px;
}

.site-mobile-link {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 4px;
    font-size: 15px;
    color: var(--ns-text-main);
    border-bottom: 1px solid rgba(217, 200, 172, 0.4);
    background: transparent;
}

.site-mobile-actions {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid rgba(217, 200, 172, 0.6);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 12px;
    width: 100%;
}

.site-mobile-action-link {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 4px;
    font-size: 14px;
    color: var(--ns-text-muted);
}

/* Responsive header */

@media (max-width: 1199.98px) {
    .site-header-main-inner {
        gap: 18px;
    }

    .site-header-phone {
        font-size: 17px;
    }

    .site-header-phone-secondary {
        font-size: 13px;
    }

    .site-toolbar-link {
        padding: 10px 10px;
    }
}

@media (max-width: 991.98px) {
    .site-strip {
        font-size: 12px;
    }

    .site-strip-info {
        gap: 12px;
    }

    .site-header-main-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 10px 12px;
        align-items: center;
    }

    .site-header-main-inner .site-logo-wrapper {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .site-header-main-inner .site-header-contacts {
        display: none;
    }

    .site-header-main-inner .site-nav-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header-main-inner .site-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
    }

    .site-toolbar-inner {
        min-height: 48px;
    }

    .site-header-navband {
        display: flex;
        align-items: stretch;
        background: #ffffff;
        border-bottom: 1px solid rgba(217, 200, 172, 0.45);
    }

    .site-header-navband .site-header-toolbar {
        flex: 0 0 auto;
        order: 2;
        background: transparent;
        border-bottom: none;
    }

    .site-header-navband .site-header-toolbar .container-fluid {
        padding-left: 8px;
        padding-right: 12px;
        height: 100%;
    }

    .site-header-navband .site-toolbar-inner {
        min-height: 48px;
        height: 100%;
    }

    .site-header-navband .site-toolbar-actions {
        margin-left: 0;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .site-header-navband .site-header-bottom {
        flex: 1 1 auto;
        order: 1;
        min-width: 0;
        border-top: none;
        border-bottom: none;
        background: transparent;
    }

    .site-header-navband .site-header-bottom-inner {
        -webkit-overflow-scrolling: touch;
        height: 100%;
    }

    .site-toolbar-actions {
        margin-left: 0;
    }

    .site-header-bottom-inner {
        -webkit-overflow-scrolling: touch;
    }

    .site-cat-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .site-toolbar-actions .site-action-btn:nth-child(2),
    .site-toolbar-actions .site-action-btn:nth-child(3) {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .site-strip-info .site-strip-item:first-child {
        display: none;
    }

    .site-header-main {
        padding-block: 10px;
    }

    .site-logo-img {
        height: 44px;
        max-width: 200px;
    }

    .site-action-btn-cart span:not(.site-action-count) {
        display: none;
    }

    .site-header-navband .site-action-btn,
    .site-header-navband .site-action-btn-cart {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .site-header-navband .site-action-count {
        top: -4px;
        right: -4px;
    }
}

@media (max-width: 575.98px) {
    .site-logo-img {
        height: 42px;
        max-width: 200px;
    }

    .site-strip-actions .site-strip-divider,
    .site-strip-social {
        display: none;
    }
}

/* Home hero — welcome + 3x3 catalog grid */

.home-hero {
    position: relative;
    padding: 36px 0 56px 0;
}

.home-hero-welcome {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px auto;
}

.home-hero-title {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px 0;
    color: var(--ns-text-main);
}

.home-hero-text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ns-text-muted);
    margin: 0;
}

.home-hero-catalog-header {
    text-align: center;
    margin: 0 0 22px 0;
}

.home-hero-catalog-title {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    color: var(--ns-text-main);
    margin: 0 0 6px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.home-hero-catalog-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ns-blue), var(--ns-purple));
}

.home-hero-catalog-subtitle {
    font-size: 14px;
    color: var(--ns-text-muted);
    margin: 8px 0 0 0;
}

/* Catalog 3x3 grid */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(217, 200, 172, 0.9);
    box-shadow: 0 8px 22px rgba(70, 45, 20, 0.08);
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(70, 45, 20, 0.18);
    border-color: rgba(139, 90, 43, 0.4);
    color: inherit;
}

.catalog-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.catalog-card-image-tex {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-card-image-tex {
    transform: scale(1.05);
}

.catalog-card-banner {
    position: relative;
    margin: -18px 16px 0 16px;
    padding: 10px 14px;
    background: linear-gradient(180deg, var(--ns-blue) 0%, #7a4f25 100%);
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(70, 45, 20, 0.28);
    z-index: 1;
}

.catalog-card-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.catalog-card-body {
    padding: 14px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.catalog-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ns-text-main);
    margin: 0;
    flex: 1;
}

.catalog-card-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ns-blue);
    transition: transform 0.18s ease, color 0.18s ease;
}

.catalog-card:hover .catalog-card-more {
    color: #6e4520;
    transform: translateX(2px);
}

/* Stone-like CSS textures (9 unique patterns) */

.catalog-card:nth-child(1) .catalog-card-image-tex {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.85) 0, transparent 45%),
        radial-gradient(ellipse at 75% 60%, rgba(180, 180, 185, 0.55) 0, transparent 50%),
        linear-gradient(135deg, #ececec 0%, #c8c9cd 60%, #a9aab0 100%);
}
.catalog-card:nth-child(1) .catalog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 38%, rgba(80, 90, 100, 0.35) 40%, transparent 44%),
        linear-gradient(115deg, transparent 60%, rgba(60, 70, 80, 0.25) 62%, transparent 66%);
    pointer-events: none;
}

.catalog-card:nth-child(2) .catalog-card-image-tex {
    background:
        radial-gradient(circle at 30% 30%, rgba(180, 200, 200, 0.65) 0, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(210, 230, 220, 0.5) 0, transparent 35%),
        repeating-linear-gradient(45deg, rgba(0, 70, 70, 0.08) 0 2px, transparent 2px 6px),
        linear-gradient(135deg, #2f6b66 0%, #4d8d80 60%, #1d4a48 100%);
}

.catalog-card:nth-child(3) .catalog-card-image-tex {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 220, 180, 0.85) 0, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(200, 130, 70, 0.6) 0, transparent 50%),
        linear-gradient(135deg, #c47a3c 0%, #a55b21 60%, #6b3711 100%);
}
.catalog-card:nth-child(3) .catalog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 16px, rgba(255, 230, 200, 0.18) 16px 18px, transparent 18px 36px);
    pointer-events: none;
}

.catalog-card:nth-child(4) .catalog-card-image-tex {
    background:
        repeating-linear-gradient(0deg, rgba(120, 90, 60, 0.18) 0 3px, transparent 3px 8px),
        repeating-linear-gradient(0deg, rgba(255, 240, 220, 0.14) 0 5px, transparent 5px 12px),
        linear-gradient(180deg, #d6c2a3 0%, #b29572 60%, #8b6c4a 100%);
}

.catalog-card:nth-child(5) .catalog-card-image-tex {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.7) 0, transparent 40%),
        radial-gradient(ellipse at 80% 60%, rgba(150, 110, 80, 0.5) 0, transparent 45%),
        linear-gradient(135deg, #e6d8c5 0%, #b89e7d 60%, #7e6446 100%);
}
.catalog-card:nth-child(5) .catalog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 30%, rgba(60, 40, 20, 0.3) 32%, transparent 36%),
        linear-gradient(70deg, transparent 55%, rgba(80, 55, 30, 0.2) 57%, transparent 61%);
    pointer-events: none;
}

.catalog-card:nth-child(6) .catalog-card-image-tex {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(255, 245, 230, 0.7) 0, transparent 30%),
        repeating-radial-gradient(circle at 30% 30%, rgba(180, 150, 110, 0.18) 0 2px, transparent 2px 7px),
        linear-gradient(135deg, #f1e6d2 0%, #d6bd97 50%, #ad8d62 100%);
}

.catalog-card:nth-child(7) .catalog-card-image-tex {
    background:
        radial-gradient(ellipse at 25% 25%, rgba(220, 230, 240, 0.45) 0, transparent 45%),
        radial-gradient(ellipse at 75% 75%, rgba(20, 30, 50, 0.6) 0, transparent 45%),
        linear-gradient(135deg, #2a3140 0%, #1a2030 60%, #0d111a 100%);
}
.catalog-card:nth-child(7) .catalog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(85deg, transparent 20%, rgba(180, 200, 220, 0.25) 22%, transparent 26%),
        linear-gradient(85deg, transparent 55%, rgba(180, 200, 220, 0.18) 57%, transparent 61%);
    pointer-events: none;
}

.catalog-card:nth-child(8) .catalog-card-image-tex {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 230, 230, 0.8) 0, transparent 35%),
        radial-gradient(circle at 70% 70%, rgba(200, 130, 130, 0.55) 0, transparent 40%),
        repeating-radial-gradient(circle at 60% 40%, rgba(120, 60, 60, 0.18) 0 2px, transparent 2px 6px),
        linear-gradient(135deg, #e7c4bb 0%, #c98a82 60%, #8a4f4a 100%);
}

.catalog-card:nth-child(9) .catalog-card-image-tex {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.7) 0, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(150, 180, 130, 0.45) 0, transparent 45%),
        linear-gradient(135deg, #d8e2cd 0%, #9fb58a 60%, #5b7649 100%);
}
.catalog-card:nth-child(9) .catalog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, transparent 35%, rgba(255, 255, 255, 0.35) 37%, transparent 41%),
        linear-gradient(140deg, transparent 65%, rgba(40, 70, 30, 0.25) 67%, transparent 71%);
    pointer-events: none;
}

/* Sections */

.home-section {
    padding: 64px 0;
}

.home-section-header {
    margin-bottom: 24px;
}

.home-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.home-section-subtitle {
    font-size: 14px;
    color: var(--ns-text-muted);
}

/* Products grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 24px;
}

.product-card {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: transparent;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card-glass {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(245, 235, 218, 0.96));
    box-shadow: var(--ns-shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.95);
}

.product-card-inner {
    position: relative;
    padding: 10px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-image {
    border-radius: 16px;
    overflow: hidden;
}

.product-card-img-placeholder {
    width: 100%;
    padding-top: 68%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 228, 210, 0.95);
    color: rgba(160, 135, 100, 0.9);
    font-size: 26px;
}

.product-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-card-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--ns-text-main);
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.product-card-category {
    color: var(--ns-text-muted);
}

.product-card-price {
    font-weight: 600;
    color: var(--ns-blue);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(60, 40, 20, 0.35);
}

.user-product-cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-product-actions {
    text-align: center;
}

.user-product-meta {
    font-size: 12px;
}

.page-static-body {
    max-width: 52rem;
}

.page-static-body img {
    max-width: 100%;
    height: auto;
}

/* Preloader */

html.ns-preloader-skip .ns-site-preloader {
    display: none;
}

body.ns-preloader-active {
    overflow: hidden;
}

.ns-site-preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #faf8f5 0%, #f0e8dc 48%, #e8ddd0 100%);
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.ns-site-preloader.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ns-site-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.ns-site-preloader-logo {
    width: min(200px, 58vw);
    height: auto;
    animation: nsPreloaderLogoIn 0.55s ease both;
}

.ns-site-preloader-squares {
    animation: nsPreloaderSquaresIn 0.55s ease 0.12s both;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .ns-site-preloader-logo,
    .ns-site-preloader-squares {
        animation: none;
    }

    .ns-site-preloader {
        transition-duration: 0.15s;
    }
}

.section-preloader {
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-squares {
    display: flex;
    gap: 10px;
}

.preloader-square {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #dccdb5;
    animation: preloaderPulse 1.1s infinite ease-in-out;
}

.preloader-square:nth-child(2) {
    animation-delay: 0.12s;
}

.preloader-square:nth-child(3) {
    animation-delay: 0.24s;
}

.preloader-square:nth-child(4) {
    animation-delay: 0.36s;
}

/* Animations */

@keyframes preloaderPulse {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    40% {
        transform: scale(0.6);
        opacity: 1;
    }
}

/* Responsive */

@media (max-width: 991.98px) {
    .home-hero {
        padding: 28px 0 40px 0;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .site-header-top {
        padding-block: 8px;
    }

    .site-header-top-inner {
        gap: 8px;
    }

    .home-hero {
        padding: 22px 0 32px 0;
    }

    .home-hero-welcome {
        margin-bottom: 22px;
    }

    .catalog-card-image {
        height: 150px;
    }

    .catalog-card-banner {
        margin: -16px 12px 0 12px;
        padding: 8px 12px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.home-slider {
    border-radius: 24px;
    overflow: hidden;
}

.home-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.home-slider-track::-webkit-scrollbar {
    height: 4px;
}

.home-slider-track::-webkit-scrollbar-thumb {
    background: rgba(139, 90, 43, 0.25);
    border-radius: 999px;
}

.home-slide {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: var(--ns-shadow-card);
}

.home-slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.home-slide-glass {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 14px 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(139, 90, 43, 0.16);
}

.home-slide-title {
    font-weight: 700;
    font-size: 16px;
    color: #2b1d10;
}

.home-slide-text {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(70, 45, 25, 0.85);
}

.products-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-card {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--ns-shadow-card);
}

.article-card-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.92);
}

.article-card-inner {
    position: relative;
    padding: 16px;
}

.article-card-title {
    font-weight: 700;
    font-size: 16px;
    color: #2b1d10;
}

.article-card-text {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(70, 45, 25, 0.85);
}

.article-card-more {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ns-blue);
}

.about-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ns-shadow-card);
}

.about-card-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.92);
}

.about-card-inner {
    position: relative;
    padding: 18px;
}

.about-title {
    font-weight: 800;
    font-size: 20px;
    color: #2b1d10;
}

.about-text {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(70, 45, 25, 0.85);
}

.about-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .products-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .products-grid-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .articles-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .home-slide {
        height: 280px;
    }
}

.page-auth .site-main {
    min-height: calc(100vh - var(--site-header-h, 0px));
}

.auth-page {
    padding: 32px 0 56px;
}

.auth-hero {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 28px;
}

.auth-hero-title {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--ns-text-main);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.auth-hero-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ns-blue), var(--ns-purple));
}

.auth-hero-text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ns-text-muted);
    margin: 14px 0 0;
}

.auth-layout {
    max-width: 460px;
    margin: 0 auto;
}

.auth-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.9);
    box-shadow: 0 14px 32px rgba(70, 45, 20, 0.12);
    padding: 28px 26px 26px;
}

.auth-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.auth-alert--success {
    background: rgba(76, 140, 74, 0.1);
    border-color: rgba(76, 140, 74, 0.28);
    color: #2d5a2c;
}

.auth-alert--error {
    background: rgba(180, 60, 50, 0.08);
    border-color: rgba(180, 60, 50, 0.22);
    color: #6b2a22;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field--inline {
    flex-direction: row;
    align-items: center;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ns-text-main);
}

.auth-label-hint {
    font-weight: 500;
    color: var(--ns-text-muted);
    letter-spacing: 0;
}

.auth-input {
    width: 100%;
    border: 1px solid rgba(217, 200, 172, 0.95);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--ns-text-main);
    background: #fdfaf6;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-input::placeholder {
    color: rgba(125, 100, 70, 0.55);
}

.auth-input:focus {
    outline: none;
    border-color: rgba(139, 90, 43, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.12);
}

.auth-input.is-invalid {
    border-color: rgba(180, 60, 50, 0.55);
    background: #fffaf9;
}

.auth-field-error {
    margin: 0;
    font-size: 12px;
    color: #a33c32;
}

.auth-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding-left: 2px;
}

.auth-check-input {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.auth-check-box {
    width: 20px;
    height: 20px;
    margin-left: 1px;
    border-radius: 6px;
    border: 1px solid rgba(139, 90, 43, 0.35);
    background: #fdfaf6;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-check-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
}

.auth-check-input:focus-visible + .auth-check-box {
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.15);
}

.auth-check-input:checked + .auth-check-box {
    background: linear-gradient(180deg, var(--ns-blue) 0%, #7a4f25 100%);
    border-color: rgba(122, 79, 37, 0.9);
}

.auth-check-input:checked + .auth-check-box::after {
    opacity: 1;
}

.auth-check-label {
    font-size: 14px;
    color: var(--ns-text-main);
}

.auth-submit {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(180deg, var(--ns-blue) 0%, #7a4f25 100%);
    box-shadow: 0 10px 22px rgba(70, 45, 20, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(70, 45, 20, 0.34);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-switch {
    text-align: center;
    margin: 22px 0 0;
    font-size: 14px;
    color: var(--ns-text-muted);
}

.auth-switch-link {
    color: var(--ns-blue);
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.18s ease;
}

.auth-switch-link:hover {
    color: #6e4520;
}

/* Footer (разметка site-footer вне коммита) */

.site-footer {
    margin-top: 48px;
    padding: 44px 0 28px;
    color: rgba(255, 248, 240, 0.92);
    background: linear-gradient(165deg, #2c2218 0%, #1f1812 42%, #16100c 100%);
    border-top: 1px solid rgba(193, 154, 107, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 32px;
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.site-footer-title {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(193, 154, 107, 0.88);
}

.site-footer-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 248, 240, 0.88);
    transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer-link i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 15px;
    color: rgba(193, 154, 107, 0.72);
}

.site-footer-link:hover {
    color: #fffef8;
    transform: translateX(3px);
}

.site-footer-link:hover i {
    color: rgba(232, 210, 170, 0.95);
}

.site-footer-bottom {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.site-footer-copy {
    font-weight: 500;
    color: rgba(255, 248, 240, 0.82);
}

.site-footer-muted {
    color: rgba(255, 248, 240, 0.48);
    font-size: 13px;
    max-width: 320px;
    text-align: right;
}

@media (max-width: 991.98px) {
    .site-footer {
        margin-top: 36px;
        padding: 36px 0 24px;
    }

    .site-footer-grid {
        gap: 24px 28px;
    }
}

@media (max-width: 767.98px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-muted {
        text-align: left;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Модалка заявки (вне .site-main) */

.ns-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0.26s ease;
}

.ns-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ns-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 18, 8, 0.55);
    backdrop-filter: blur(8px);
}

.ns-modal-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.ns-modal.open .ns-modal-wrap {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ns-modal-card {
    position: relative;
    border-radius: var(--ns-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(217, 200, 172, 0.45);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(70, 45, 20, 0.16);
}

.ns-modal-card-inner {
    position: relative;
    padding: 28px 28px 24px;
}

.ns-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.ns-modal-header .ns-modal-title {
    margin: 0;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ns-text-main);
    letter-spacing: -0.02em;
}

.ns-modal-card-glass {
    display: none;
}

.ns-modal--callback .ns-modal-card {
    border-color: rgba(193, 154, 107, 0.35);
    background: #fdf9f2;
    box-shadow:
        0 28px 64px rgba(50, 30, 12, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.ns-modal--callback .ns-modal-hero {
    position: relative;
    padding: 28px 28px 24px;
    color: #fff;
    overflow: hidden;
}

.ns-modal--callback .ns-modal-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.14), transparent 48%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.18), transparent 52%),
        linear-gradient(135deg, #9a6534 0%, #8b5a2b 42%, #6e4520 100%);
}

.ns-modal--callback .ns-modal-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ns-modal--callback .ns-modal-hero-content {
    position: relative;
    z-index: 1;
    padding-right: 44px;
}

.ns-modal--callback .ns-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 22px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ns-modal--callback .ns-modal-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.ns-modal--callback .ns-modal-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4.5vw, 30px);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.03em;
}

.ns-modal--callback .ns-modal-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 32em;
}

.ns-modal-close {
    flex-shrink: 0;
    border: 1px solid rgba(139, 90, 43, 0.2);
    background: rgba(255, 255, 255, 0.75);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-text-muted);
    cursor: pointer;
    transition:
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.ns-modal-close:hover {
    color: var(--ns-text-main);
    background: #fff;
    border-color: rgba(139, 90, 43, 0.4);
    transform: rotate(90deg);
}

.ns-modal--callback .ns-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.92);
}

.ns-modal--callback .ns-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
}

.ns-modal--callback .ns-modal-body {
    padding: 24px 28px 26px;
    background:
        linear-gradient(180deg, rgba(250, 245, 236, 0.6) 0%, #fdf9f2 100%);
    border-top: 1px solid rgba(217, 200, 172, 0.45);
}

.ns-modal-form {
    margin: 0;
}

.ns-form-grid {
    display: grid;
    gap: 14px;
}

.ns-form-group-full {
    min-width: 0;
}

.ns-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ns-text-main);
    margin-bottom: 7px;
}

.ns-input,
.ns-textarea {
    width: 100%;
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--ns-input-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.4;
    color: var(--ns-text-main);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ns-input::placeholder,
.ns-textarea::placeholder {
    color: rgba(138, 118, 96, 0.6);
}

.ns-input:hover,
.ns-textarea:hover {
    border-color: var(--ns-input-border-hover);
    background: #fff;
}

.ns-input:focus,
.ns-textarea:focus {
    outline: none;
    border-color: var(--ns-input-border-focus);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.14);
}

.ns-textarea {
    resize: vertical;
    min-height: 100px;
}

.ns-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.ns-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--ns-radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ns-modal-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #9a6534 0%, #8b5a2b 48%, #7a4f25 100%);
    border: 1px solid #7a4f25;
    box-shadow: 0 10px 22px rgba(110, 70, 30, 0.22);
}

.ns-modal-btn--primary:hover {
    background: linear-gradient(180deg, #8b5a2b 0%, #7a4f25 48%, #6e4520 100%);
    border-color: #6e4520;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(110, 70, 30, 0.28);
}

.ns-modal-btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(110, 70, 30, 0.2);
}

.ns-modal-btn--primary .ns-modal-btn-icon {
    font-size: 1.35rem;
    margin-right: -6px;
    line-height: 1;
}

.ns-modal-btn--primary {
    position: relative;
}

.ns-modal-btn-spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ns-modal-spin 0.7s linear infinite;
}

.ns-modal-form.is-submitting .ns-modal-btn-spinner {
    display: block;
}

.ns-modal-form.is-submitting .ns-modal-btn-label,
.ns-modal-form.is-submitting .ns-modal-btn-icon {
    opacity: 0;
}

.ns-modal-form.is-submitting .ns-modal-btn--primary {
    pointer-events: none;
}

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

.ns-modal-form-error {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(176, 48, 48, 0.08);
    border: 1px solid rgba(176, 48, 48, 0.18);
    color: #8f2f2f;
    font-size: 14px;
    line-height: 1.45;
}

.ns-modal-success-view {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ns-modal-success-view.is-visible {
    opacity: 1;
    transform: scale(1);
}

.ns-modal-success-body {
    position: relative;
    padding: 48px 32px 36px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 90, 43, 0.08), transparent 58%),
        linear-gradient(180deg, #fdf9f2 0%, #f8f1e6 100%);
}

.ns-modal-success-body .ns-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 1px solid rgba(139, 90, 43, 0.2);
    background: rgba(255, 255, 255, 0.75);
    color: var(--ns-text-muted);
}

.ns-modal-success-icon-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
}

.ns-modal-success-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(139, 90, 43, 0.18);
    animation: ns-modal-success-pulse 1.6s ease-out infinite;
}

.ns-modal-success-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(180deg, #9a6534 0%, #7a4f25 100%);
    color: #fff;
    font-size: 42px;
    box-shadow: 0 16px 36px rgba(110, 70, 30, 0.28);
    transform: scale(0.5);
    opacity: 0;
    animation: ns-modal-success-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.ns-modal-success-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ns-text-main);
    opacity: 0;
    transform: translateY(10px);
    animation: ns-modal-success-rise 0.45s ease 0.18s forwards;
}

.ns-modal-success-text {
    margin: 0 auto 24px;
    max-width: 28em;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ns-text-muted);
    opacity: 0;
    transform: translateY(10px);
    animation: ns-modal-success-rise 0.45s ease 0.28s forwards;
}

.ns-modal-success-btn {
    min-width: 180px;
    opacity: 0;
    transform: translateY(10px);
    animation: ns-modal-success-rise 0.45s ease 0.38s forwards;
}

@keyframes ns-modal-success-pop {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ns-modal-success-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ns-modal-success-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.8;
    }
    70%, 100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.ns-modal-btn--ghost {
    color: var(--ns-text-muted);
    background: transparent;
    border: 1px solid rgba(139, 90, 43, 0.22);
}

.ns-modal-btn--ghost:hover {
    color: var(--ns-text-main);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(139, 90, 43, 0.38);
}

.ns-modal--callback .ns-modal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(217, 200, 172, 0.65);
    font-size: 12px;
    line-height: 1.45;
    color: var(--ns-text-muted);
    text-align: center;
}

.ns-modal--callback .ns-modal-note i {
    font-size: 14px;
    color: var(--ns-purple);
}

@media (max-width: 575.98px) {
    .ns-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .ns-modal-wrap {
        max-height: calc(100vh - 24px);
    }

    .ns-modal--callback .ns-modal-hero {
        padding: 22px 20px 20px;
    }

    .ns-modal--callback .ns-modal-hero-content {
        padding-right: 36px;
    }

    .ns-modal--callback .ns-modal-body {
        padding: 20px 18px 22px;
    }

    .ns-modal-card-inner {
        padding: 22px 18px 18px;
    }

    .ns-modal-actions {
        flex-direction: column-reverse;
        width: 100%;
    }

    .ns-modal-btn {
        width: 100%;
    }
}

.home-hero-selling {
    position: relative;
    padding: 64px 0 56px;
    overflow: visible;
    z-index: 1;
}

.home-hero-selling-bg {
    position: absolute;
    inset: 0 0 -112px 0;
    background:
        radial-gradient(ellipse 90% 70% at 85% 12%, rgba(193, 154, 107, 0.14), transparent 58%),
        radial-gradient(ellipse 70% 55% at 8% 72%, rgba(139, 90, 43, 0.07), transparent 52%);
    pointer-events: none;
    z-index: -1;
}

.home-hero-selling-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
}

.home-hero-selling-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ns-blue);
}

.home-hero-selling-title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--ns-text-main);
}

.home-hero-selling-lead {
    margin: 0 0 24px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ns-text-muted);
}

.home-hero-selling-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.home-hero-selling-btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
}

.home-hero-selling-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
}

.home-hero-selling-stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-hero-selling-stat-val {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ns-text-main);
}

.home-hero-selling-stat-label {
    font-size: 13px;
    color: var(--ns-text-muted);
}

.home-hero-selling-visual {
    position: relative;
    min-height: 360px;
}

.home-hero-selling-visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(70, 45, 20, 0.14);
}

.home-hero-selling-visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 42%,
        rgba(43, 29, 16, 0.18) 100%
    );
    pointer-events: none;
}

.home-hero-selling-visual-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.home-hero-selling-visual:hover .home-hero-selling-visual-img {
    transform: scale(1.05);
}

.home-hero-selling-visual-card--main {
    inset: 0 10% 6% 0;
}

.home-hero-selling-visual-card--accent {
    width: 44%;
    height: 40%;
    right: 0;
    bottom: 0;
    border: 5px solid #fff;
    box-shadow: 0 20px 40px rgba(70, 45, 20, 0.2);
}

.home-categories-strip {
    position: relative;
    z-index: 0;
    padding: 40px 0 64px;
}

.home-categories-strip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.home-categories-strip-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.home-categories-strip-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ns-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.home-category-tile {
    position: relative;
    display: block;
    flex: 0 1 calc((100% - 42px) / 4);
    max-width: calc((100% - 42px) / 4);
    min-width: 200px;
    min-height: 112px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    color: var(--ns-text-main);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-category-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 90, 43, 0.35);
    box-shadow: 0 14px 32px rgba(70, 45, 20, 0.08);
    color: var(--ns-text-main);
}

.home-category-tile-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(139, 90, 43, 0.14), transparent 52%),
        radial-gradient(circle at 88% 100%, rgba(90, 82, 72, 0.1), transparent 55%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(253, 250, 243, 0.98));
    transition: opacity 0.18s ease, transform 0.28s ease;
}

.home-category-tile-bg--photo {
    background-image:
        linear-gradient(180deg, rgba(22, 16, 10, 0.12) 0%, rgba(22, 16, 10, 0.62) 100%),
        var(--category-cover);
    background-size: cover;
    background-position: center;
}

.home-category-tile:not(:has(.home-category-tile-bg--photo)):nth-child(4n + 2) .home-category-tile-bg {
    background:
        radial-gradient(circle at 88% 0%, rgba(110, 85, 55, 0.13), transparent 50%),
        radial-gradient(circle at 10% 100%, rgba(139, 90, 43, 0.09), transparent 55%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 242, 232, 0.98));
}

.home-category-tile:not(:has(.home-category-tile-bg--photo)):nth-child(4n + 3) .home-category-tile-bg {
    background:
        radial-gradient(circle at 50% 0%, rgba(193, 154, 107, 0.16), transparent 58%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 247, 0.98));
}

.home-category-tile:not(:has(.home-category-tile-bg--photo)):nth-child(4n) .home-category-tile-bg {
    background:
        radial-gradient(circle at 100% 50%, rgba(90, 56, 32, 0.1), transparent 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 232, 0.98));
}

.home-category-tile:hover .home-category-tile-bg {
    opacity: 0.88;
}

.home-category-tile:hover .home-category-tile-bg--photo {
    transform: scale(1.04);
}

.home-category-tile:has(.home-category-tile-bg--photo) .home-category-tile-count,
.home-category-tile:has(.home-category-tile-bg--photo) .home-category-tile-name {
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.home-category-tile:has(.home-category-tile-bg--photo) .home-category-tile-arrow {
    color: rgba(255, 255, 255, 0.95);
}

.home-category-tile-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    width: 100%;
    min-height: 112px;
    padding: 18px 20px;
}

.home-category-tile-count {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-category-tile-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 100%;
}

.home-category-tile-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    flex-shrink: 0;
    font-size: 22px;
    color: var(--ns-blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.home-category-tile:hover .home-category-tile-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.page-home .home-benefits {
    background: transparent;
}

.home-benefits {
    padding: 8px 0 72px;
}

.home-products {
    padding: 16px 0 72px;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-benefit {
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.88);
}

.home-benefit-ico {
    font-size: 22px;
    color: var(--ns-blue);
    margin-bottom: 10px;
    display: block;
}

.home-benefit-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.home-benefit-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ns-text-muted);
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.home-section-head-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.home-section-head-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ns-text-main);
}

.home-section-head-lead {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ns-text-muted);
}

.home-trust {
    position: relative;
    z-index: 1;
    padding: 0 0 8px;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(70, 45, 20, 0.05);
}

.home-trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.1);
    color: var(--ns-blue);
    font-size: 18px;
}

.home-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.home-trust-copy strong {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ns-text-main);
}

.home-trust-copy span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ns-text-muted);
}

.home-use-cases {
    padding: 48px 0 24px;
}

.home-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-use-case-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.9);
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-use-case-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 90, 43, 0.35);
    box-shadow: 0 14px 32px rgba(70, 45, 20, 0.08);
    color: inherit;
}

.home-use-case-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.1);
    color: var(--ns-blue);
    font-size: 20px;
}

.home-use-case-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ns-text-main);
}

.home-use-case-text {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ns-text-muted);
}

.home-use-case-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ns-blue);
}

.home-process {
    padding: 56px 0;
}

.home-process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-process-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.9);
}

.home-process-num {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.home-process-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.home-process-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ns-text-muted);
}

.home-process-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    margin-top: 28px;
}

.home-process-btn {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 500;
}

.home-process-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ns-blue);
}

.home-reviews {
    padding: 16px 0 56px;
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-review-card {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-review-stars {
    display: flex;
    gap: 2px;
    color: #c9a227;
    font-size: 14px;
}

.home-review-text {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ns-text-main);
}

.home-review-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

.home-review-foot strong {
    font-weight: 600;
    color: var(--ns-text-main);
}

.home-review-foot span {
    color: var(--ns-text-muted);
}

.home-articles {
    padding: 8px 0 56px;
}

.home-final-cta {
    padding: 8px 0 72px;
}

.home-final-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #8b5a2b 0%, #6e4520 55%, #5a3820 100%);
    box-shadow: 0 20px 48px rgba(70, 45, 20, 0.22);
}

.home-final-cta-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
}

.home-final-cta-lead {
    margin: 0;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.home-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-final-cta-btn {
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 500;
}

.home-final-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.home-final-cta-phone:hover {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 991.98px) {
    .home-hero-selling-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-selling-visual {
        min-height: 280px;
        order: -1;
        width: min(100%, 420px);
        max-width: 420px;
        margin: 0 auto 8px;
    }

    .home-hero-selling-visual-card--main {
        inset: 0 8% 14% 8%;
    }

    .home-hero-selling-visual-card--accent {
        width: 42%;
        height: 38%;
        right: 8%;
        bottom: 0;
        left: auto;
    }

    .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-categories-grid {
        gap: 12px;
    }

    .home-category-tile {
        flex: 0 1 calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
        min-width: 0;
    }

    .home-category-tile-inner {
        min-height: 96px;
        padding: 14px 12px;
    }

    .home-category-tile-count {
        font-size: 26px;
    }

    .home-category-tile-arrow {
        display: none;
    }

    .home-use-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-reviews-grid {
        grid-template-columns: 1fr;
    }

    .home-final-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
}

@media (max-width: 575.98px) {
    .home-hero-selling {
        padding: 32px 0 40px;
    }

    .home-hero-selling-visual {
        min-height: 220px;
        width: min(100%, 340px);
        max-width: 340px;
    }

    .home-hero-selling-visual-card--main {
        inset: 0 6% 16% 6%;
    }

    .home-hero-selling-visual-card--accent {
        width: 44%;
        height: 36%;
        right: 6%;
    }

    .home-trust-grid,
    .home-use-cases-grid,
    .home-process-steps {
        grid-template-columns: 1fr;
    }

    .home-category-tile {
        flex: 0 1 calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
    }

    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-final-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .home-final-cta-btn,
    .home-final-cta-phone {
        justify-content: center;
        text-align: center;
    }
}

.page-head {
    padding: 28px 0 18px;
}

.page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ns-text-main);
}

.page-subtitle {
    margin-top: 6px;
    color: var(--ns-text-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.about-full-page {
    padding-bottom: 48px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 18px;
    margin-bottom: 36px;
}

.about-hero-card {
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(139, 90, 43, 0.08);
    font-size: 13px;
    color: var(--ns-blue);
    margin-bottom: 14px;
}

.about-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ns-blue);
}

.about-hero-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.about-hero-text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ns-text-muted);
    margin-bottom: 20px;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-hero-btn {
    border-radius: 999px;
    font-weight: 500;
}

.about-aside-card {
    height: 100%;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.88);
}

.about-aside-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.about-aside-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.about-aside-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--ns-text-main);
}

.about-aside-item i {
    color: var(--ns-blue);
    margin-top: 2px;
}

.about-aside-note {
    font-size: 13px;
    color: var(--ns-text-muted);
    line-height: 1.45;
    padding-top: 14px;
    border-top: 1px solid rgba(217, 200, 172, 0.45);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.about-stat {
    padding: 12px;
    border-radius: 12px;
    background: rgba(139, 90, 43, 0.06);
    border: 1px solid rgba(217, 200, 172, 0.4);
}

.about-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--ns-blue);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.about-stat-label {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--ns-text-muted);
}

.about-copy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-copy-card {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.about-copy-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.about-copy-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ns-text-muted);
}

.about-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-service-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.about-service-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.1);
    color: var(--ns-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.about-service-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-service-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ns-text-muted);
}

.about-section {
    margin-bottom: 36px;
}

.about-section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.about-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-step {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.about-step-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.1);
    color: var(--ns-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.about-step-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-step-text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--ns-text-muted);
}

.about-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-trust-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.about-trust-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.about-trust-ico {
    color: var(--ns-blue);
    font-size: 20px;
}

.about-trust-title {
    font-size: 15px;
    font-weight: 600;
}

.about-trust-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--ns-text-muted);
}

.about-cta {
    margin-top: 8px;
}

.about-cta-card {
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.95), #6e4520);
    color: #fff;
}

.about-cta-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.about-cta-text {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
    max-width: 560px;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-cta-btn {
    border-radius: 999px;
    font-weight: 500;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 16px;
    margin-bottom: 20px;
}

.contacts-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
}

.contacts-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contacts-links {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.contacts-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--ns-text-main);
}

.contacts-link i {
    color: var(--ns-blue);
}

.contacts-address {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.contacts-address-ico {
    color: var(--ns-blue);
    font-size: 18px;
}

.contacts-address-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.contacts-address-text {
    font-size: 14px;
    color: var(--ns-text-muted);
    line-height: 1.45;
}

.contacts-map-link {
    display: inline-flex;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ns-blue);
}

.contacts-map-link:hover {
    color: #6e4520;
}

.contacts-hint {
    font-size: 14px;
    color: var(--ns-text-muted);
    line-height: 1.45;
    margin-top: 8px;
}

.contacts-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-btn {
    border-radius: 999px;
    font-weight: 500;
}

.contacts-info {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.contacts-info-item {
    display: flex;
    gap: 12px;
}

.contacts-info-ico {
    color: var(--ns-blue);
    font-size: 18px;
}

.contacts-info-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.contacts-info-text {
    font-size: 14px;
    color: var(--ns-text-muted);
    line-height: 1.45;
}

.contacts-mini-cta {
    padding-top: 16px;
    border-top: 1px solid rgba(217, 200, 172, 0.45);
}

.contacts-mini-cta-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contacts-mini-cta-text {
    font-size: 13px;
    color: var(--ns-text-muted);
    margin-bottom: 12px;
}

.contacts-map-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    margin-bottom: 48px;
}

.contacts-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.contacts-map-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contacts-map-tab {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(217, 200, 172, 0.65);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ns-text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.contacts-map-tab.is-active {
    background: var(--ns-blue);
    border-color: var(--ns-blue);
    color: #fff;
}

.contacts-map-caption {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--ns-text-muted);
}

.contacts-map-panel[hidden] {
    display: none !important;
}

.contacts-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(217, 200, 172, 0.45);
}

.reviews-page {
    padding-bottom: 56px;
}

.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}

.reviews-score {
    text-align: center;
    min-width: 100px;
}

.reviews-score-val {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ns-text-main);
}

.reviews-score-stars {
    color: #c9a227;
    font-size: 14px;
    margin: 6px 0 4px;
}

.reviews-score-count {
    font-size: 13px;
    color: var(--ns-text-muted);
}

.reviews-summary-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ns-text-muted);
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.review-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-card-name {
    font-size: 15px;
    font-weight: 600;
}

.review-card-date {
    font-size: 12px;
    color: var(--ns-text-muted);
}

.review-card-stars {
    color: #c9a227;
    font-size: 13px;
    margin-bottom: 8px;
}

.review-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ns-text-main);
    margin: 0;
}

.review-card-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(139, 90, 43, 0.08);
    font-size: 12px;
    color: var(--ns-blue);
}

.user-list-page {
    padding-bottom: 56px;
}

.ns-empty {
    padding: 12px 0 40px;
}

.ns-empty-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 36px 28px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
}

.ns-empty-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.1);
    color: var(--ns-blue);
    font-size: 24px;
}

.ns-empty-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ns-empty-text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ns-text-muted);
    margin-bottom: 18px;
}

.ns-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.ns-empty-btn {
    border-radius: 999px;
    font-weight: 500;
}

.ns-empty-hint {
    font-size: 13px;
    color: var(--ns-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.articles-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 24px;
}

@media (max-width: 1199.98px) {
    .articles-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-copy-grid,
    .about-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .about-hero,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .about-trust {
        grid-template-columns: 1fr;
    }

    .articles-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.page-static-inner {
    padding-bottom: 48px;
}

.page-static-body {
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
}

.ns-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 0 4px;
}

.ns-pagination-summary {
    margin: 0;
    font-size: 14px;
    color: var(--ns-text-muted);
    text-align: center;
}

.ns-pagination-summary-val {
    font-weight: 600;
    color: var(--ns-text-main);
}

.ns-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ns-pagination-inner {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(217, 200, 172, 0.65);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(70, 45, 20, 0.06);
}

.ns-page-btn,
.ns-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ns-text-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ns-page-btn--text {
    gap: 4px;
    padding: 0 14px;
    color: var(--ns-blue);
}

.ns-page-btn:not(.disabled):hover {
    background: rgba(139, 90, 43, 0.08);
    border-color: rgba(139, 90, 43, 0.15);
    color: var(--ns-blue);
}

.ns-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.ns-page-num:not(.active):hover {
    background: rgba(139, 90, 43, 0.08);
    border-color: rgba(139, 90, 43, 0.12);
    color: var(--ns-blue);
}

.ns-page-num.active {
    background: linear-gradient(180deg, var(--ns-blue) 0%, #7a4f25 100%);
    border-color: var(--ns-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(110, 70, 30, 0.22);
}

.ns-page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}

.ns-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    height: 38px;
    padding: 0 4px;
    color: var(--ns-text-muted);
    font-size: 14px;
    line-height: 1;
}

.articles-pagination,
.catalog-pagination,
.profile-orders-pagination {
    margin-top: 20px;
    padding-bottom: 12px;
}

@media (max-width: 575.98px) {
    .ns-page-btn--text span {
        display: none;
    }

    .ns-page-btn--text {
        min-width: 38px;
        padding: 0 10px;
    }
}

@keyframes ns-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-animate {
    opacity: 1;
    transform: translateY(20px);
}

.home-animate.is-visible {
    animation: ns-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero-selling-copy {
    animation: ns-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero-selling-visual {
    animation: ns-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
