:root {
    --color-bg: #ffffff;
    --color-bg-subtle: #f8fafc;
    --color-card: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #0f172a;
    --color-muted: #64748b;
    --color-blue: #2563eb;
    --color-cyan: #06b6d4;
    --color-violet: #7c3aed;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1140px;
    --surface-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(6, 182, 212, 0.07)), #ffffff;
    --surface-soft-border: rgba(37, 99, 235, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Inter, Manrope, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus {
    color: #1d4ed8;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 32px, var(--container));
    max-width: var(--container);
}

#sitecontent {
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #f8fafc 100%);
}

/* Навигация */
#site-nav,
.saas-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.90);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
}

.brand:hover {
    color: var(--color-text);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.02em;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.brand-mark.notranslate,
.brand .notranslate {
    font-family: Inter, Manrope, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.brand strong,
.footer-brand strong {
    display: block;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.15;
}

.brand small {
    display: block;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu li {
    display: inline-flex;
    margin: 0 !important;
}

.primary-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--color-muted) !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-transform: none !important;
}

.primary-menu a:hover {
    background: var(--color-bg-subtle);
    color: var(--color-blue) !important;
}

.btn-topmenu,
#toggleModsButton {
    min-height: 42px;
    padding: 10px 18px !important;
    border: 1px solid rgba(37, 99, 235, 0.20) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--color-blue) !important;
    box-shadow: var(--shadow-sm) !important;
    font-weight: 850 !important;
}

.btn-topmenu--primary,
.primary-menu a.btn-topmenu--primary {
    border-color: transparent !important;
    background: var(--color-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22) !important;
}

.btn-topmenu--primary:hover,
.primary-menu a.btn-topmenu--primary:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28) !important;
}

/* Google Translate в шапке */
.nav-translate-item {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 120;
}

.site-translate-wrap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--color-blue);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-translate-wrap:hover {
    background: #1d4ed8;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.site-translate-wrap:hover .site-translate-trigger,
.site-translate-wrap:focus-within .site-translate-trigger {
    color: #ffffff;
}

.site-translate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    color: #ffffff;
    pointer-events: none;
}

.site-translate-icon svg {
    display: block;
    width: 12px;
    height: 12px;
}

.site-translate-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 20px;
}

.site-translate-trigger {
    display: block;
    width: 100%;
    color: #ffffff;
    font-family: Inter, Manrope, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.site-lang-picker {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    background: transparent;
    color: transparent;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.site-lang-picker:focus {
    outline: none;
}

.site-translate-engine {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-translate .goog-te-gadget {
    margin: 0 !important;
    font-family: Inter, Manrope, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12px !important;
    color: #ffffff !important;
}

.site-translate .goog-te-gadget .goog-te-combo {
    height: 20px !important;
    min-height: 0 !important;
    min-width: 34px !important;
    margin: 0 !important;
    padding: 0 14px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    line-height: 20px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.site-translate .goog-te-gadget .goog-te-combo:hover,
.site-translate .goog-te-gadget .goog-te-combo:focus {
    color: #ffffff !important;
    outline: none;
}

.site-translate .goog-te-gadget > span {
    display: none !important;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

iframe.goog-te-menu-frame {
    z-index: 100000 !important;
}

body {
    top: 0 !important;
    position: static !important;
}

body > .skiptranslate:first-child {
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body > .skiptranslate:first-child iframe {
    display: none !important;
}

/* Hero */
#site-header,
.hero-section {
    position: relative;
    padding: 94px 0 78px;
    background:
        radial-gradient(circle at 14% 12%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 86% 20%, rgba(124, 58, 237, 0.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    color: var(--color-text) !important;
    border-bottom: 1px solid var(--color-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
    gap: 58px;
    align-items: center;
}

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

.hero-badge,
.section-kicker,
.summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.01em;
}

.hero-badge::before,
.section-kicker::before,
.summary-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.hero-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--color-text) !important;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-transform: none !important;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 0 30px;
    color: var(--color-muted);
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.65;
}

.hero-actions,
.btn-holder,
.contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hero-features li {
    padding: 9px 13px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-benefit-panel {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
}

.hero-version-card,
.hero-benefit-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.hero-version-card {
    position: relative;
    padding: 20px 22px;
    border-radius: 26px;
}

.hero-version-card > span,
.hero-version-card small {
    display: block;
    color: var(--color-muted);
    font-weight: 800;
}

.hero-version-card > span {
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-version-card strong {
    display: block;
    color: var(--color-text);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero-version-card small {
    margin-top: 8px;
    font-size: 14px;
}

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

.hero-benefit-card {
    min-height: 185px;
    padding: 18px;
    border-radius: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: hero-card-rise 0.55s ease backwards;
}

.hero-benefit-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 900;
}

.hero-benefit-card h3 {
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.hero-benefit-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hero-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-status-row .hero-badge {
    margin-bottom: 0;
}

.status-balloons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.status-balloon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.16);
}

.status-balloon i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
    animation: status-dot-pulse 1.8s ease-in-out infinite;
}

.status-balloon--online {
    border: 1px solid rgba(16, 185, 129, 0.38);
    background: linear-gradient(180deg, rgba(209, 250, 229, 0.95), rgba(167, 243, 208, 0.72));
    color: #047857;
    animation: balloon-float 4.2s ease-in-out infinite;
}

.status-balloons--hero-float {
    position: absolute;
    top: 8px;
    right: 4px;
    z-index: 4;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    pointer-events: none;
}

.status-balloons--hero-card-works {
    position: absolute;
    left: 18px;
    bottom: 10px;
    margin: 0;
    pointer-events: none;
}

.hero-benefit-card--with-status {
    position: relative;
    padding-bottom: 38px;
}

.status-balloons--inline {
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 10px;
}

.status-balloons--product {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.status-balloons--product .status-balloon--works {
    margin-top: 4px;
}

.hero-benefit-grid .hero-benefit-card:nth-child(1) { animation-delay: 0.04s; }
.hero-benefit-grid .hero-benefit-card:nth-child(2) { animation-delay: 0.10s; }
.hero-benefit-grid .hero-benefit-card:nth-child(3) { animation-delay: 0.16s; }
.hero-benefit-grid .hero-benefit-card:nth-child(4) { animation-delay: 0.22s; }
.hero-benefit-grid .hero-benefit-card:nth-child(5) { animation-delay: 0.28s; }
.hero-benefit-grid .hero-benefit-card:nth-child(6) { animation-delay: 0.34s; }

.hero-benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.product-card .status-balloon--online,
.product-card .status-balloon--works {
    animation-delay: calc(var(--card-index, 0) * 0.12s);
}

.product-grid .product-card:nth-child(1) { --card-index: 0; }
.product-grid .product-card:nth-child(2) { --card-index: 1; }
.product-grid .product-card:nth-child(3) { --card-index: 2; }
.product-grid .product-card:nth-child(4) { --card-index: 3; }
.product-grid .product-card:nth-child(5) { --card-index: 4; }
.product-grid .product-card:nth-child(6) { --card-index: 5; }

@keyframes status-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.82; }
}

@keyframes balloon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes hero-card-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-balloon,
    .product-balloon-dot,
    .product-balloon-spark {
        animation: none !important;
    }

    .status-balloon,
    .status-balloon i,
    .orb-blue,
    .orb-violet,
    .hero-benefit-card {
        animation: none !important;
    }
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
}

.orb-blue {
    inset: 38px auto auto 10px;
    width: 190px;
    height: 190px;
    background: rgba(37, 99, 235, 0.10);
    animation: orb-drift 9s ease-in-out infinite;
}

.orb-violet {
    right: 0;
    bottom: 28px;
    width: 220px;
    height: 220px;
    background: rgba(124, 58, 237, 0.10);
    animation: orb-drift 11s ease-in-out infinite reverse;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8px, -10px) scale(1.04); }
}

.dashboard-card {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 20px 0 0 auto;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.dashboard-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.dashboard-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-border);
}

.dashboard-top span:nth-child(1) {
    background: #f87171;
}

.dashboard-top span:nth-child(2) {
    background: #fbbf24;
}

.dashboard-top span:nth-child(3) {
    background: #34d399;
}

.dashboard-top strong {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 13px;
}

.dashboard-metric {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
}

.dashboard-metric span {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.dashboard-metric b {
    color: var(--color-text);
    font-size: 28px;
    line-height: 1;
}

.dashboard-chart {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 140px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: #ffffff;
}

.dashboard-chart i {
    flex: 1;
    min-width: 28px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--color-blue), var(--color-cyan));
    opacity: 0.82;
}

.dashboard-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.dashboard-list b {
    margin-left: auto;
    color: var(--color-blue);
    font-size: 12px;
    text-transform: uppercase;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-blue);
}

.dot.cyan {
    background: var(--color-cyan);
}

.dot.violet {
    background: var(--color-violet);
}

/* Секции и карточки */
.section {
    padding: 88px 0;
    background: #ffffff;
}

.section.light,
section.light,
footer#footer.light {
    background: #ffffff !important;
    color: var(--color-text) !important;
}

.section.subtle,
section.dark,
#services,
#reviews {
    background: var(--color-bg-subtle) !important;
    color: var(--color-text) !important;
}

.gradient-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.compact {
    margin-bottom: 24px;
}

.section-heading h2,
h1.hw {
    margin: 0 0 16px;
    color: var(--color-text) !important;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-transform: none !important;
}

.section-heading p,
h3.pt.desc {
    margin: 0;
    color: var(--color-muted) !important;
    font-size: 18px;
    line-height: 1.7;
}

h3.pt {
    color: var(--color-blue) !important;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-strip {
    padding: 22px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

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

.trust-grid div {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--surface-soft-border);
    background: var(--surface-soft);
    box-shadow: var(--shadow-sm);
}

.feature-card,
.product-card,
.solution-card,
.workflow-step,
.checkout-card,
.checkout-summary,
.paypal-card,
.intl-checkout-card,
.testimonial-grid blockquote,
.contact-card,
.report-panel {
    border: 1px solid var(--color-border);
    background: var(--color-card);
    box-shadow: var(--shadow-sm);
}

.trust-grid b {
    display: block;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.2;
}

.trust-grid span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 14px;
}

.feature-grid,
.product-grid,
.solution-grid,
.workflow-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card,
.solution-card,
.workflow-step,
.testimonial-grid blockquote {
    padding: 26px;
    border-radius: var(--radius-md);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.product-card:hover,
.solution-card:hover,
.workflow-step:hover,
.testimonial-grid blockquote:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-md);
}

#advantages .feature-card {
    border: 1px solid var(--surface-soft-border);
    background: var(--surface-soft);
}

.feature-icon,
.solution-card span,
.workflow-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--color-blue);
    font-weight: 900;
}

.feature-icon.cyan {
    color: #0891b2;
}

.feature-icon.violet {
    color: var(--color-violet);
}

.feature-card h3,
.product-card h3,
.solution-card h3,
.workflow-step h3 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.feature-card p,
.product-card p,
.solution-card p,
.workflow-step p,
.testimonial-grid p,
.checkout-summary p,
.security-note p,
.payment-help p {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-visual {
    position: relative;
    min-height: 180px;
    padding: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 209, 102, 0.30), transparent 24%),
        radial-gradient(circle at 14% 86%, rgba(6, 182, 212, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.12));
}

.product-visual.product-violet {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(37, 99, 235, 0.08));
}

.product-visual.product-cyan,
.product-visual.product-software {
    background:
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.24), transparent 25%),
        radial-gradient(circle at 16% 84%, rgba(6, 182, 212, 0.28), transparent 28%),
        linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(37, 99, 235, 0.10));
}

.product-visual.product-subscriptions {
    background:
        radial-gradient(circle at 80% 18%, rgba(16, 185, 129, 0.26), transparent 24%),
        radial-gradient(circle at 18% 84%, rgba(37, 99, 235, 0.30), transparent 28%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.12));
}

.product-visual.product-support {
    background:
        radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.26), transparent 24%),
        radial-gradient(circle at 16% 84%, rgba(124, 58, 237, 0.26), transparent 28%),
        linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(37, 99, 235, 0.10));
}

.product-visual span {
    position: relative;
    z-index: 3;
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 850;
}

.product-visual div {
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 2;
    width: 152px;
    height: 104px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.08) 0 22%, transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.66));
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.product-visual::before,
.product-visual::after,
.product-visual div::before,
.product-visual div::after {
    content: "";
    position: absolute;
    display: block;
}

.product-visual::before {
    right: 86px;
    bottom: 118px;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(6, 182, 212, 0.82));
    box-shadow: 0 22px 40px rgba(37, 99, 235, 0.22);
    transform: rotate(-10deg);
}

.product-visual::after {
    right: 18px;
    bottom: 84px;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd166, #f59e0b);
    box-shadow: 0 18px 36px rgba(245, 158, 11, 0.22);
}

.product-visual div::before {
    left: 26px;
    top: 24px;
    width: 82px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
    box-shadow:
        0 22px 0 rgba(37, 99, 235, 0.18),
        42px 44px 0 rgba(6, 182, 212, 0.22);
}

.product-visual div::after {
    right: 18px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.36)),
        linear-gradient(135deg, var(--color-violet), var(--color-blue));
}

.product-visual.product-assistant-shaytan div {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.90), rgba(255,255,255,0.62)),
        conic-gradient(from 160deg at 72% 64%, rgba(124, 58, 237, 0.34), rgba(6, 182, 212, 0.30), rgba(37, 99, 235, 0.30), rgba(124, 58, 237, 0.34));
}

.product-visual.product-assistant-shaytan div::before {
    left: 28px;
    top: 24px;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 20%, transparent 22%),
        conic-gradient(var(--color-violet), var(--color-blue), var(--color-cyan), var(--color-violet));
    box-shadow: none;
}

.product-visual.product-marker-re-load div::before {
    left: 24px;
    top: 22px;
    width: 104px;
    height: 58px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 22% 50%, #10b981 0 8px, transparent 9px),
        radial-gradient(circle at 50% 50%, #f59e0b 0 8px, transparent 9px),
        radial-gradient(circle at 78% 50%, #ef4444 0 8px, transparent 9px),
        linear-gradient(180deg, rgba(37, 99, 235, 0.10), rgba(6, 182, 212, 0.08));
    box-shadow: none;
}

.product-visual.product-hitwin-digital-pack::before,
.product-visual.product-performance-tools::before {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.product-visual.product-contour-look div::before {
    left: 24px;
    top: 22px;
    width: 96px;
    height: 58px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.10)),
        linear-gradient(90deg, #2563eb 0 32%, #06b6d4 32% 64%, #7c3aed 64%);
    box-shadow: none;
}

.product-visual.product-target-direction div::before {
    left: 34px;
    top: 18px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 34px solid #ef4444;
    border-radius: 0;
    background: transparent;
    box-shadow:
        -34px 34px 0 -8px #10b981,
        34px 34px 0 -8px #f59e0b;
}

.product-visual.product-hit-marker div::before {
    left: 38px;
    top: 20px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle, #ef4444 0 35%, rgba(239, 68, 68, 0.18) 36% 100%);
    box-shadow:
        0 0 0 10px rgba(239, 68, 68, 0.12),
        34px 18px 0 -4px #f59e0b,
        -28px 28px 0 -6px #10b981;
}

.product-visual.product-mod-tundra div::before {
    left: 22px;
    top: 24px;
    width: 108px;
    height: 54px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 20% 70%, #10b981 0 10px, transparent 11px),
        radial-gradient(circle at 50% 40%, #22c55e 0 12px, transparent 13px),
        radial-gradient(circle at 78% 68%, #059669 0 9px, transparent 10px),
        linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06));
    box-shadow: none;
}

.product-visual.product-arti-place div::before {
    left: 24px;
    top: 22px;
    width: 104px;
    height: 58px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.10)),
        radial-gradient(circle at 28% 68%, #f59e0b 0 7px, transparent 8px),
        radial-gradient(circle at 72% 32%, #2563eb 0 9px, transparent 10px);
    box-shadow: none;
}

.product-visual.product-strike-point div::before {
    left: 42px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid rgba(37, 99, 235, 0.35);
    background:
        radial-gradient(circle, #ef4444 0 28%, rgba(239, 68, 68, 0.18) 29% 100%);
    box-shadow:
        -28px 24px 0 -10px rgba(37, 99, 235, 0.22),
        28px 24px 0 -10px rgba(6, 182, 212, 0.22),
        0 34px 0 -12px rgba(124, 58, 237, 0.18);
}

.product-body {
    padding: 24px;
}

.product-category {
    display: block;
    margin-bottom: 8px;
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 850;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.product-tags span {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 850;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.product-footer strong {
    display: block;
    color: var(--color-text);
    font-size: 18px;
}

.product-footer small {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 750;
}

.product-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-card-showcase {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.product-card-balloons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.product-balloon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    animation: product-balloon-float 4.6s ease-in-out infinite;
}

.product-card-showcase:nth-child(1) .product-balloon {
    animation-delay: 0s;
}

.product-card-showcase:nth-child(2) .product-balloon {
    animation-delay: 0.35s;
}

.product-balloon--type {
    border: 1px solid rgba(37, 99, 235, 0.28);
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.92), transparent 48%),
        linear-gradient(135deg, rgba(219, 234, 254, 0.98), rgba(186, 230, 253, 0.88));
    color: #1d4ed8;
}

.product-balloon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.55),
        0 0 12px rgba(37, 99, 235, 0.45);
    animation: product-balloon-dot-pulse 1.9s ease-in-out infinite;
}

.product-balloon-spark {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.5),
        0 0 10px currentColor;
    animation: product-balloon-spark-spin 3.2s linear infinite;
}

.product-balloon--popular {
    border: 1px solid rgba(245, 158, 11, 0.34);
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.9), transparent 42%),
        linear-gradient(135deg, rgba(254, 243, 199, 0.98), rgba(253, 230, 138, 0.9));
    color: #b45309;
    box-shadow:
        0 12px 24px rgba(245, 158, 11, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.product-balloon--new {
    border: 1px solid rgba(124, 58, 237, 0.32);
    background:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.92), transparent 46%),
        linear-gradient(135deg, rgba(237, 233, 254, 0.98), rgba(196, 181, 253, 0.9));
    color: #6d28d9;
    box-shadow:
        0 12px 24px rgba(124, 58, 237, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.product-balloon--featured {
    border: 1px solid rgba(16, 185, 129, 0.34);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.9), transparent 44%),
        linear-gradient(135deg, rgba(209, 250, 229, 0.98), rgba(167, 243, 208, 0.88));
    color: #047857;
    box-shadow:
        0 12px 24px rgba(16, 185, 129, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

@keyframes product-balloon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes product-balloon-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.84; }
}

@keyframes product-balloon-spark-spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.product-body-showcase {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.product-body-showcase .product-category {
    margin-bottom: 8px;
}

.product-body-showcase .product-tags {
    margin-top: 18px;
    margin-bottom: 0;
}

.product-body-showcase .product-card-showcase-price {
    margin-top: 22px;
}

.product-body-showcase h3 {
    min-height: 3.75rem;
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.product-body-showcase h3 a {
    color: inherit;
    text-decoration: none;
}

.product-body-showcase h3 a:hover {
    color: var(--color-blue);
}

.product-card-thumb {
    display: block;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-bg-subtle);
}

.product-card-thumb img {
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.2s ease;
}

.product-card-thumb:hover img {
    transform: scale(1.02);
}

.product-card-showcase-price {
    margin-top: 18px;
}

.product-card-showcase-price strong {
    color: var(--color-text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.product-card-showcase-price span {
    margin-left: 8px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.product-card-features {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.product-card-features li {
    position: relative;
    padding-left: 18px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.product-card-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-blue);
}

.product-purchase-flag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.product-purchase-flag--invoice {
    color: #92400e;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.98), rgba(253, 230, 138, 0.88));
    border-color: rgba(245, 158, 11, 0.28);
}

.product-purchase-flag--online {
    color: #047857;
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.98), rgba(167, 243, 208, 0.88));
    border-color: rgba(16, 185, 129, 0.28);
}

.product-card-showcase .product-card-actions {
    justify-content: stretch;
    margin-top: 22px;
}

.product-card-showcase .product-card-actions .btn {
    flex: 1;
    justify-content: center;
}

.product-page-rich .product-rich-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.product-rich-main,
.product-rich-aside {
    display: grid;
    gap: 24px;
}

.product-rich-aside {
    align-self: start;
}

.product-rich-hero-image {
    padding: 18px;
}

.product-rich-image-link {
    display: block;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg-subtle);
}

.product-rich-hero-img {
    display: block;
    width: 100%;
    max-height: 40rem;
    object-fit: contain;
}

.product-rich-image-caption {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-rich-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-rich-list li {
    position: relative;
    padding-left: 18px;
    color: var(--color-muted);
    line-height: 1.65;
}

.product-rich-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-blue);
}

.product-buy-origin {
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.product-buy-origin span {
    color: var(--color-text);
    font-weight: 800;
}

.product-request-form-inner {
    display: grid;
    gap: 14px;
}

.product-request-field {
    display: grid;
    gap: 6px;
}

.product-request-field span {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 800;
}

.product-request-field input,
.product-request-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
}

.product-request-hint {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.6;
}

.product-request-hint--invoice {
    margin: 0 0 14px;
    color: #92400e;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 14px;
    padding: 12px 14px;
}

.product-payment-checkout {
    margin-bottom: 22px;
}

.product-payment-checkout-price {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
}

.product-payment-checkout-price strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-text);
}

.product-payment-checkout-price span {
    color: var(--color-muted);
    font-size: 14px;
}

.product-payment-checkout-error {
    margin-bottom: 16px;
}

.product-payment-checkout-note {
    margin: -6px 0 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.5;
}

.product-payment-required {
    color: #dc2626;
}

.product-payment-gateway-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.product-payment-gateway-fieldset legend {
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 800;
}

.product-request-field--honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.product-request-field-error {
    display: block;
    margin-top: 6px;
    color: #b45309;
    font-size: 12px;
    line-height: 1.4;
}

.product-request-privacy {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-muted);
}

.product-request-privacy input {
    margin-top: 3px;
}

.product-invoice-form-alert {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.product-invoice-form-alert.is-hidden {
    display: none;
}

.product-invoice-form-alert.is-success {
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.product-invoice-form-alert.is-error {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
}

.product-invoice-form.is-submitting [data-product-invoice-submit] {
    opacity: 0.75;
    cursor: wait;
}

.product-card.catalog-card--overflow,
.product-card[data-catalog-overflow="1"] {
    display: none !important;
}

.catalog-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 28px;
    text-align: center;
}

.catalog-more-wrap[hidden] {
    display: none !important;
}

.catalog-more-btn {
    min-width: 12rem;
}

.catalog-empty {
    margin-top: 22px;
    padding: 24px;
    border: 1px dashed rgba(37, 99, 235, 0.26);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--color-muted);
    text-align: center;
    font-weight: 750;
}

/* Кнопки */
.btn,
.btn.primary,
.btn.secondary,
button[type="submit"],
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    cursor: pointer;
}

.btn.small {
    min-height: 40px;
    padding: 10px 16px !important;
}

.btn.primary,
button[type="submit"] {
    background: var(--color-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.btn.primary:hover,
button[type="submit"]:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.30);
}

.btn.secondary,
.link-button {
    background: #ffffff !important;
    color: var(--color-text) !important;
    border-color: var(--color-border) !important;
    box-shadow: var(--shadow-sm);
}

.btn.secondary:hover,
.link-button:hover {
    color: var(--color-blue) !important;
    border-color: rgba(37, 99, 235, 0.30) !important;
    transform: translateY(-1px);
}

.link-button {
    min-height: 40px;
    margin-top: 10px;
}

/* Checkout */
.order-section {
    background: #ffffff;
}

.order-section .section-heading {
    margin-bottom: 34px;
}

.checkout-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.checkout-summary,
.checkout-card,
.paypal-card,
.intl-checkout-card {
    border-radius: var(--radius-lg);
}

.checkout-summary {
    position: sticky;
    top: 94px;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)),
        #ffffff;
}

.checkout-summary h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.checkout-summary ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.checkout-summary li {
    display: flex;
    gap: 10px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 750;
}

.checkout-summary li::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    flex: 0 0 auto;
}

.checkout-card,
.paypal-card,
.intl-checkout-card {
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.checkout-card {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
}

.paypal-card {
    max-width: 860px;
    margin: 34px auto 0;
}

.intl-checkout-card {
    width: 100%;
    max-width: 900px;
    margin: 22px auto 0;
    padding: 18px 20px 20px;
    border: 1px solid rgba(13, 148, 136, 0.22);
    background:
        linear-gradient(160deg, rgba(13, 148, 136, 0.10), rgba(6, 182, 212, 0.06) 42%, #ffffff 72%);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.08);
}

.intl-checkout-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.intl-checkout-heading .section-kicker {
    color: #0f766e;
}

.intl-checkout-heading h2 {
    margin: 4px 0 6px;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.intl-checkout-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.intl-checkout-brands {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.intl-checkout-brands img {
    height: 28px;
    width: auto;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 4px 6px;
}

.intl-form {
    gap: 14px;
}

.intl-plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.intl-checkout-card .plan-card {
    min-height: 62px;
    padding: 10px 12px;
    border-color: rgba(13, 148, 136, 0.18);
    background: rgba(255, 255, 255, 0.92);
}

.intl-checkout-card .plan-card:hover,
.intl-checkout-card .server-grid label:hover,
.intl-checkout-card .inline-check:hover {
    border-color: rgba(13, 148, 136, 0.42);
    box-shadow: 0 10px 22px rgba(13, 148, 136, 0.12);
}

.intl-checkout-card .plan-card input,
.intl-checkout-card .server-grid input,
.intl-checkout-card .inline-check input,
.intl-checkout-card .agreement-box input {
    accent-color: #0d9488;
}

.intl-checkout-card .plan-card strong {
    font-size: 14px;
}

.intl-checkout-card .plan-card em {
    font-size: 12px;
}

.intl-checkout-card .plan-card b {
    font-size: 16px;
    color: #0f766e;
}

.intl-checkout-card .field-grid,
.intl-checkout-card .choice-group,
.intl-checkout-card .agreement-box,
.intl-checkout-card .inline-check {
    margin: 0;
}

.intl-checkout-card .agreement-box {
    padding: 12px 14px;
}

.intl-checkout-card .checkout-submit {
    margin-top: 2px;
}

#fmain,
#fmain0,
#fmain-intl {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#unitpayusd,
#unitpayrub {
    display: block;
    scroll-margin-top: 96px;
}

@media (max-width: 900px) {
    .intl-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intl-checkout-heading {
        flex-direction: column;
    }
}

.modern-form {
    display: grid;
    gap: 26px;
}

.form-section {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--surface-soft-border);
    border-radius: 22px;
    background: var(--surface-soft);
}

.form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.form-section-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--color-blue);
    font-weight: 900;
}

.form-section-title h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 19px;
    font-weight: 850;
}

.form-section-title p {
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

.plan-card,
.server-grid label,
.inline-check,
.agreement-box label {
    cursor: pointer;
}

.plan-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.plan-card:hover,
.server-grid label:hover,
.inline-check:hover {
    border-color: rgba(37, 99, 235, 0.30);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.10);
}

.plan-card input,
.server-grid input,
.inline-check input,
.agreement-box input {
    accent-color: var(--color-blue);
}

.plan-card strong,
.plan-card em {
    display: block;
}

.plan-card strong {
    color: var(--color-text);
    font-size: 15px;
    font-style: normal;
}

.plan-card em {
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
}

.plan-card b {
    color: var(--color-text);
    font-size: 18px;
    white-space: nowrap;
}

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

.field-control {
    display: grid;
    gap: 8px;
}

.field-control span,
.choice-label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 850;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="number"],
select,
textarea,
.form-group .form-control {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: var(--color-text) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.62) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10) !important;
}

.modern-form .field-control input[type="text"] {
    color: #334155 !important;
    font-weight: 500 !important;
}

.modern-form .field-control input[type="text"]::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
}

.choice-group {
    display: grid;
    gap: 10px;
}

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

.server-grid label,
.inline-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 750;
}

.agreement-box {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.agreement-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.agreement-box a {
    color: var(--color-blue) !important;
    font-weight: 850;
}

.checkout-submit {
    width: 100%;
}

.form-error {
    display: block;
    margin-top: 10px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.form-error div {
    padding: 12px 14px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626 !important;
    font-size: 14px !important;
}

.field-control--invalid > span:first-child {
    color: #dc2626;
}

.field-control--invalid input[type="text"],
.field-control--invalid input[type="email"] {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
    animation: field-invalid-pulse 0.55s ease;
}

.field-hint-error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.field-hint-error__arrow {
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    animation: field-hint-nudge 0.85s ease-in-out 2;
}

@keyframes field-invalid-pulse {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

@keyframes field-hint-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.payment-help,
.security-note {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
}

.payment-help a {
    font-weight: 850;
}

.payment-instruction {
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #ffffff;
}

/* FAQ, отзывы, контакты */
.testimonial-grid blockquote {
    margin: 0;
}

.testimonial-grid p {
    color: var(--color-text);
    font-size: 16px;
}

.testimonial-grid cite {
    display: block;
    margin-top: 18px;
    color: var(--color-muted);
    font-style: normal;
    font-weight: 850;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.faq-list summary {
    padding: 20px 22px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 850;
    cursor: pointer;
}

.faq-list p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--color-muted);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(37, 99, 235, 0.08)),
        #ffffff;
    box-shadow: var(--shadow-md);
}

.contact-card h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.contact-card p {
    max-width: 620px;
    margin: 0;
    color: var(--color-muted);
}

.contact-actions {
    justify-content: flex-end;
}

/* Отчеты, legacy-контент и таблицы */
.report-shell {
    min-height: 100vh;
    padding: 78px 16px;
    background: var(--color-bg-subtle);
}

.report-shell.product-report {
    padding-top: 34px;
}

.report-panel {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.report-back-link-wrap {
    margin: 0 0 8px;
    padding: 0 15px;
}

.product-report .report-panel {
    width: min(1180px, 100%);
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
}

/* Страница товара */
.product-page {
    display: grid;
    gap: 34px;
}

.product-hero,
.product-detail-section {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.13), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.10), transparent 28%),
        #ffffff;
}

.product-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 850;
}

.report-back-link-wrap {
    margin: 0;
    padding: 0 15px 8px;
}

.product-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--color-text);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.product-hero p {
    max-width: 690px;
    margin: 0;
    color: var(--color-muted);
    font-size: 19px;
    line-height: 1.7;
}

.product-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.product-page-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 850;
}

.product-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.product-buy-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.product-buy-card > span {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-buy-card > strong {
    display: block;
    margin-top: 10px;
    color: var(--color-text);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.product-buy-card > small {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.product-buy-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
}

.product-buy-meta div {
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-bg-subtle);
}

.product-buy-meta b,
.product-buy-meta span {
    display: block;
}

.product-buy-meta b {
    color: var(--color-text);
    font-size: 15px;
}

.product-buy-meta span {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 12px;
}

.product-detail-section {
    padding: 30px;
}

.product-section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.product-section-heading > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-section-heading h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 18px;
}

.product-gallery figure {
    position: relative;
    min-height: 250px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-sm);
}

.product-gallery figure.is-featured {
    grid-row: span 2;
    min-height: 520px;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.product-gallery figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
}

.product-gallery figcaption strong,
.product-gallery figcaption span {
    display: block;
}

.product-gallery figcaption strong {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 900;
}

.product-gallery figcaption span {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.product-rich-text {
    max-width: 860px;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.8;
}

.product-rich-text p {
    margin: 0 0 16px;
}

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

.product-benefits-grid div,
.product-reviews blockquote,
.product-faq details,
.product-requirements li {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg-subtle);
}

.product-benefits-grid div {
    padding: 20px;
}

.product-benefits-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--color-blue);
    font-weight: 900;
}

.product-benefits-grid h3 {
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.product-benefits-grid p,
.product-reviews p,
.product-faq p,
.product-requirements li {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.7;
}

.product-benefits-grid p,
.product-reviews p {
    margin: 0;
}

.product-requirements ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-requirements li {
    position: relative;
    padding: 16px 16px 16px 46px;
}

.product-requirements li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 18px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.product-faq {
    display: grid;
    gap: 10px;
}

.product-faq details {
    overflow: hidden;
}

.product-faq summary {
    padding: 18px 20px;
    color: var(--color-text);
    font-weight: 900;
    cursor: pointer;
}

.product-faq p {
    margin: 0;
    padding: 0 20px 20px;
}

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

.product-reviews blockquote {
    margin: 0;
    padding: 22px;
}

.product-reviews cite {
    display: block;
    margin-top: 16px;
    color: var(--color-text);
    font-style: normal;
    font-weight: 900;
}

#product-order .order-section {
    padding: 0;
    background: transparent;
}

.notice {
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 850;
}

.notice-success {
    border: 1px solid rgba(37, 99, 235, 0.20);
    background: rgba(37, 99, 235, 0.07);
    color: var(--color-blue);
}

.notice-error {
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: rgba(220, 38, 38, 0.07);
    color: #dc2626;
}

font[color="green"],
font[color="grey"],
font[color="#777"],
font[color="#777777"] {
    color: var(--color-muted) !important;
}

font[color="red"],
font[color="#9b0000"] {
    color: #dc2626 !important;
}

table {
    border-color: var(--color-border);
}

.vopros td,
#payform,
.responsive-proof-image {
    border: 1px solid var(--color-border) !important;
    border-radius: 18px;
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

/* Ссылки в блоке подтверждения заказа (перекрывает Forms_robokassa #fmain a) */
#payform #fmain a {
    display: inline;
    color: var(--color-blue) !important;
    font-weight: 600;
    text-align: left;
    text-decoration: underline;
    text-transform: none;
    text-shadow: none;
    -webkit-text-shadow: none;
}

#payform #fmain a:hover,
#payform #fmain a:focus {
    color: #1d4ed8 !important;
}

center > div[align="left"],
div[align="left"] {
    max-width: 760px !important;
}

/* Footer и cookie */
.site-footer {
    padding: 58px 0 0;
    border-top: 1px solid var(--color-border);
    background: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
    padding-bottom: 34px;
}

.footer-brand p {
    max-width: 330px;
    margin: 8px 0 0;
    color: var(--color-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.38fr);
    gap: 18px;
}

.footer-links:has(.footer-links-community) {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.68fr) minmax(0, 1.6fr);
}

.footer-links > div {
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-bg-subtle);
}

.footer-links-documents {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 8px;
    align-content: start;
}

.footer-links-documents h3 {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.footer-links-documents a {
    margin-top: 0;
    line-height: 1.35;
}

.footer-links h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 850;
}

.footer-links a,
.footer-links span {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 14px;
}

.footer-links a {
    color: var(--color-blue);
    font-weight: 750;
}

.footer-bottom {
    display: grid;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.footer-bottom nav a {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 750;
}

#legal-imprint-bar {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--color-muted) !important;
    font-size: 12px;
    text-align: left !important;
}

#legal-imprint-bar a {
    color: var(--color-blue) !important;
}

#cookie-consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 99999;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)),
        rgba(255, 255, 255, 0.98) !important;
    color: var(--color-text) !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(16px);
}

.cookie-legal {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(37, 99, 235, 0.05);
    color: var(--color-muted);
    font-size: 11px;
    text-align: center;
}

.cookie-legal a,
#cookie-consent-banner a {
    color: var(--color-blue) !important;
    text-decoration: none;
}

.cookie-legal a {
    font-weight: 400;
}

#cookie-consent-banner .cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}

#cookie-consent-banner .cookie-consent-inner > div {
    flex: 1 1 auto;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

#cookie-consent-banner .cookie-consent-inner a {
    font-size: 11px;
    font-weight: 400;
}

#cookie-consent-btn {
    flex: 0 0 auto;
    min-height: 0;
    padding: 4px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--color-blue) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 7px 14px rgba(37, 99, 235, 0.22);
}

#cookie-consent-banner.is-accepted .cookie-consent-inner {
    display: none;
}

#cookie-consent-banner.is-accepted {
    right: 0;
    bottom: 0;
    left: 0;
    max-width: none;
    border-radius: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
}

#cookie-consent-banner.is-accepted .cookie-legal {
    border-bottom: 0;
}

body.has-fixed-legal-bar {
    padding-bottom: 52px;
}

.macbook,
.logo img {
    display: none !important;
}

@media (max-width: 1100px) {
    .hero-grid,
    .checkout-layout,
    .product-hero,
    .contact-card,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
    }

    .dashboard-card {
        margin: 0;
    }

    .checkout-summary {
        position: relative;
        top: auto;
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .primary-menu {
        justify-content: flex-start;
    }

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

    .trust-grid,
    .feature-grid,
    .product-grid,
    .product-gallery,
    .product-benefits-grid,
    .product-reviews,
    .product-requirements ul,
    .solution-grid,
    .workflow-grid,
    .testimonial-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-links:has(.footer-links-community) {
        grid-template-columns: 1fr;
    }

    .footer-links-documents {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    #site-header,
    .hero-section,
    .section {
        padding: 58px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-actions,
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-actions .btn,
    .primary-menu,
    .primary-menu li,
    .primary-menu a {
        width: 100%;
    }

    .hero-benefit-grid {
        grid-template-columns: 1fr;
    }

    .hero-benefit-card {
        min-height: auto;
    }

    .trust-grid,
    .feature-grid,
    .product-grid,
    .solution-grid,
    .workflow-grid,
    .testimonial-grid,
    .plan-grid,
    .field-grid,
    .server-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

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

    .dashboard-card,
    .checkout-card,
    .checkout-summary,
    .paypal-card,
    .intl-checkout-card,
    .contact-card,
    .product-hero,
    .product-detail-section,
    .report-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .product-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-card-actions,
    .product-footer .btn {
        width: 100%;
    }

    .product-hero h1 {
        font-size: 40px;
    }

    .product-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-page-rich .product-rich-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery figure.is-featured {
        grid-row: auto;
        min-height: 300px;
    }

    #cookie-consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        border-radius: 18px;
    }

    #cookie-consent-banner .cookie-consent-inner {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }

    #cookie-consent-btn {
        width: auto;
        flex-shrink: 0;
    }
}

/* Каталог: тема light — компактная графическая шапка */
.catalog-card-theme-light .product-visual {
    min-height: 0;
    padding: 16px 16px 12px;
}

/* Каталог: тема pro — структурированные иконки и фон карточек */
.catalog-card-theme-pro .product-card {
    border-color: #d7e0ec;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.catalog-card-theme-pro .product-card:hover {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.catalog-card-theme-pro .product-visual::before,
.catalog-card-theme-pro .product-visual::after {
    content: none !important;
    display: none !important;
}

.catalog-card-theme-pro .product-visual-pro {
    position: relative;
    min-height: 0;
    padding: 16px 16px 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(56, 189, 248, 0.18), transparent 28%),
        linear-gradient(145deg, #0f172a 0%, #172554 52%, #0f172a 100%);
}

.catalog-card-theme-pro .product-visual-pro.product-subscriptions {
    background:
        radial-gradient(circle at 84% 18%, rgba(16, 185, 129, 0.22), transparent 30%),
        linear-gradient(145deg, #0b1220 0%, #123047 54%, #0b1220 100%);
}

.catalog-card-theme-pro .product-visual-pro.product-software {
    background:
        radial-gradient(circle at 86% 14%, rgba(99, 102, 241, 0.24), transparent 28%),
        linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #111827 100%);
}

.catalog-card-theme-pro .product-visual-pro.product-support {
    background:
        radial-gradient(circle at 82% 16%, rgba(245, 158, 11, 0.20), transparent 28%),
        linear-gradient(145deg, #111827 0%, #312e81 52%, #111827 100%);
}

.catalog-card-theme-pro .product-visual-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 92%);
    pointer-events: none;
}

.catalog-card-theme-pro .product-visual-glow {
    position: absolute;
    right: -18%;
    top: -30%;
    width: 58%;
    height: 88%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
    pointer-events: none;
}

.catalog-card-theme-pro .product-visual-icon {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 36px rgba(0, 0, 0, 0.28);
    color: #f8fafc;
}

.catalog-card-theme-pro .product-visual-icon svg {
    width: 34px;
    height: 34px;
}

.catalog-card-theme-pro .product-visual-label {
    position: relative;
    z-index: 3;
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
    color: rgba(248, 250, 252, 0.88);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-card-theme-pro .product-visual-accent {
    position: absolute;
    right: 18px;
    top: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    align-content: space-between;
    justify-items: end;
    width: 112px;
    pointer-events: none;
}

.catalog-card-theme-pro .product-visual-accent span {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
}

.catalog-card-theme-pro .product-visual-accent span:nth-child(1) {
    width: 72px;
    height: 4px;
    opacity: 0.72;
}

.catalog-card-theme-pro .product-visual-accent span:nth-child(2) {
    width: 96px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.10));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.catalog-card-theme-pro .product-visual-accent span:nth-child(3) {
    width: 58px;
    height: 4px;
    opacity: 0.48;
}

.catalog-card-theme-pro .product-visual-pro.product-zj-digital-access .product-visual-glow,
.catalog-card-theme-pro .product-visual-pro.product-hitwin-digital-pack .product-visual-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 68%);
}

.catalog-card-theme-pro .product-visual-pro.product-assistant-shaytan .product-visual-icon {
    color: #ddd6fe;
}

.catalog-card-theme-pro .product-visual-pro.product-marker-re-load .product-visual-icon {
    color: #fde68a;
}

.catalog-card-theme-pro .product-visual-pro.product-contour-look .product-visual-icon {
    color: #bfdbfe;
}

.catalog-card-theme-pro .product-visual-pro.product-target-direction .product-visual-icon {
    color: #fecaca;
}

.catalog-card-theme-pro .product-visual-pro.product-hit-marker .product-visual-icon {
    color: #fca5a5;
}

.catalog-card-theme-pro .product-visual-pro.product-mod-tundra .product-visual-icon {
    color: #bbf7d0;
}

.catalog-card-theme-pro .product-visual-pro.product-arti-place .product-visual-icon {
    color: #fde68a;
}

.catalog-card-theme-pro .product-visual-pro.product-strike-point .product-visual-icon {
    color: #fecdd3;
}

.catalog-card-theme-pro .product-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.catalog-card-theme-pro .product-category {
    color: #475569;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
}

.catalog-card-theme-pro .product-tags span {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 768px) {
    .catalog-card-theme-pro .product-visual-pro {
        min-height: 0;
        padding: 14px 14px 10px;
    }

    .catalog-card-theme-pro .product-visual-accent {
        width: 88px;
    }

    .catalog-card-theme-pro .product-visual-accent span:nth-child(2) {
        width: 78px;
        height: 46px;
    }
}

/* Каталог: тема techo — IDE, Python, фрагменты кода */
.catalog-card-theme-techo .product-card {
    border-color: #1f2937;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
}

.catalog-card-theme-techo .product-card:hover {
    border-color: #306998;
    box-shadow: 0 24px 56px rgba(48, 105, 152, 0.18);
}

.catalog-card-theme-techo .product-visual::before,
.catalog-card-theme-techo .product-visual::after {
    content: none !important;
    display: none !important;
}

.catalog-card-theme-techo .product-visual-techo {
    position: relative;
    min-height: 0;
    padding: 14px 14px 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(55, 118, 171, 0.22), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(255, 212, 59, 0.14), transparent 30%),
        linear-gradient(160deg, #0b1220 0%, #111827 46%, #0f172a 100%);
}

.catalog-card-theme-techo .product-visual-techo.product-subscriptions {
    background:
        radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.18), transparent 32%),
        radial-gradient(circle at 84% 78%, rgba(55, 118, 171, 0.24), transparent 30%),
        linear-gradient(160deg, #071018 0%, #0f2f3d 52%, #0b1220 100%);
}

.catalog-card-theme-techo .product-visual-techo.product-software {
    background:
        radial-gradient(circle at 14% 20%, rgba(55, 118, 171, 0.26), transparent 34%),
        radial-gradient(circle at 86% 80%, rgba(255, 212, 59, 0.16), transparent 28%),
        linear-gradient(160deg, #0a1020 0%, #172554 50%, #0b1220 100%);
}

.catalog-card-theme-techo .product-visual-techo.product-support {
    background:
        radial-gradient(circle at 16% 18%, rgba(245, 158, 11, 0.16), transparent 32%),
        radial-gradient(circle at 84% 82%, rgba(55, 118, 171, 0.20), transparent 30%),
        linear-gradient(160deg, #101018 0%, #312e81 48%, #0b1220 100%);
}

.catalog-card-theme-techo .techo-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 96%);
    pointer-events: none;
}

.catalog-card-theme-techo .techo-glow {
    position: absolute;
    right: -10%;
    top: -24%;
    width: 52%;
    height: 72%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(55, 118, 171, 0.24), transparent 68%);
    pointer-events: none;
}

.catalog-card-theme-techo .techo-scatter {
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 12px;
    right: 50px;
    height: 42px;
    pointer-events: none;
}

.catalog-card-theme-techo .techo-scatter-word {
    position: absolute;
    padding: 2px 6px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 5px;
    background: rgba(15, 23, 42, 0.52);
    font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.catalog-card-theme-techo .techo-scatter-word--1 {
    top: 0;
    left: 0;
    transform: rotate(-4deg);
}

.catalog-card-theme-techo .techo-scatter-word--2 {
    top: 2px;
    left: 44%;
    transform: rotate(3deg);
}

.catalog-card-theme-techo .techo-scatter-word--3 {
    top: 22px;
    left: 4%;
    transform: rotate(-2deg);
}

.catalog-card-theme-techo .techo-scatter-word--4 {
    top: 20px;
    left: 52%;
    transform: rotate(3deg);
}

.catalog-card-theme-techo .techo-scatter-word--5 {
    top: 11px;
    left: 24%;
    transform: rotate(-2deg);
}

.catalog-card-theme-techo .techo-token-kw {
    color: #c792ea;
}

.catalog-card-theme-techo .techo-token-fn {
    color: #82aaff;
}

.catalog-card-theme-techo .techo-token-name {
    color: #ffcb6b;
}

.catalog-card-theme-techo .techo-token-mod {
    color: #89ddff;
}

.catalog-card-theme-techo .techo-token-str {
    color: #c3e88d;
}

.catalog-card-theme-techo .techo-token-var {
    color: #f07178;
}

.catalog-card-theme-techo .techo-token-num {
    color: #f78c6c;
}

.catalog-card-theme-techo .techo-python-mark {
    position: absolute;
    right: 12px;
    top: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.42);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.catalog-card-theme-techo .techo-python-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-card-theme-techo .techo-editor {
    position: relative;
    z-index: 3;
    margin-top: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
}

.catalog-card-theme-techo .techo-editor-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
}

.catalog-card-theme-techo .techo-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.catalog-card-theme-techo .techo-dot-red {
    background: #ff5f57;
}

.catalog-card-theme-techo .techo-dot-yellow {
    background: #febc2e;
}

.catalog-card-theme-techo .techo-dot-green {
    background: #28c840;
}

.catalog-card-theme-techo .techo-filename {
    margin-left: 4px;
    color: #cbd5e1;
    font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
}

.catalog-card-theme-techo .techo-lang {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(55, 118, 171, 0.28), rgba(255, 212, 59, 0.18));
    color: #fde68a;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-card-theme-techo .techo-code {
    margin: 0;
    padding: 7px 10px 8px;
    overflow: hidden;
    max-height: 7em;
    color: #e2e8f0;
    font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
    font-size: 9.8px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}

.catalog-card-theme-techo .techo-code .tk-kw {
    color: #c792ea;
}

.catalog-card-theme-techo .techo-code .tk-fn {
    color: #82aaff;
}

.catalog-card-theme-techo .techo-code .tk-name {
    color: #ffcb6b;
}

.catalog-card-theme-techo .techo-code .tk-type {
    color: #89ddff;
}

.catalog-card-theme-techo .techo-code .tk-mod {
    color: #82aaff;
}

.catalog-card-theme-techo .techo-code .tk-str {
    color: #c3e88d;
}

.catalog-card-theme-techo .techo-code .tk-num {
    color: #f78c6c;
}

.catalog-card-theme-techo .techo-code .tk-var {
    color: #eeffff;
}

.catalog-card-theme-techo .techo-label {
    position: relative;
    z-index: 3;
    display: inline-flex;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 5px 9px;
    border: 1px solid rgba(55, 118, 171, 0.34);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.56);
    color: rgba(226, 232, 240, 0.92);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-card-theme-techo .product-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.catalog-card-theme-techo .product-category {
    color: #306998;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 11px;
}

.catalog-card-theme-techo .product-tags span {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

.catalog-card-theme-techo .product-visual-techo.product-assistant-shaytan .techo-glow {
    background: radial-gradient(circle, rgba(199, 146, 234, 0.22), transparent 68%);
}

.catalog-card-theme-techo .product-visual-techo.product-marker-re-load .techo-glow {
    background: radial-gradient(circle, rgba(255, 203, 107, 0.20), transparent 68%);
}

.catalog-card-theme-techo .product-visual-techo.product-contour-look .techo-glow {
    background: radial-gradient(circle, rgba(130, 170, 255, 0.22), transparent 68%);
}

@media (max-width: 768px) {
    .catalog-card-theme-techo .product-visual-techo {
        min-height: 0;
        padding: 12px 12px 10px;
    }

    .catalog-card-theme-techo .techo-scatter {
        top: 8px;
        left: 10px;
        right: 44px;
        height: 38px;
    }

    .catalog-card-theme-techo .techo-scatter-word {
        font-size: 8.5px;
        padding: 2px 5px;
    }

    .catalog-card-theme-techo .techo-python-mark {
        width: 40px;
        height: 40px;
    }

    .catalog-card-theme-techo .techo-code {
        font-size: 9.4px;
        max-height: 6.6em;
    }
}

/* Платёжные системы и compliance */
.payment-compliance {
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.payment-compliance--compact {
    margin-bottom: 18px;
    padding: 16px 18px;
}

.payment-methods-badges__label,
.payment-methods-badges__title {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.payment-methods-badges__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.payment-methods-badges__row--footer {
    gap: 12px 16px;
}

.payment-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.payment-methods-badges--compact .payment-badge-grid {
    margin-top: 10px;
}

/* Бейджи платёжных систем: 68×36 CSS-пикселей (как в extera-modern.ru) */
.payment-badge {
    display: inline-block;
    box-sizing: border-box;
    width: 68px;
    min-width: 68px;
    max-width: 68px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid rgb(15 23 42 / 12%);
    background: #fff;
    padding: 0;
    line-height: 0;
    vertical-align: middle;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.payment-badge:hover {
    border-color: rgb(37 99 235 / 30%);
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.payment-methods-badges--compact .payment-badge {
    width: 51px;
    min-width: 51px;
    max-width: 51px;
    height: 27px;
    min-height: 27px;
    max-height: 27px;
}

.payment-methods-badges--compact .payment-badge__img {
    width: 51px !important;
    min-width: 51px !important;
    max-width: 51px !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
}

.payment-badge__img {
    display: block;
    box-sizing: border-box;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    object-fit: contain;
    object-position: center;
}

.payment-security-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
}

.payment-security-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-text);
}

.payment-security-note p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.payment-security-note a,
#fmain .payment-security-note a,
.checkout-security-note .payment-security-note a {
    color: #1d4ed8 !important;
    text-shadow: none !important;
    font-weight: 750;
}

.payment-security-note a:hover,
.checkout-security-note .payment-security-note a:hover,
#fmain .payment-security-note a:hover,
.payment-security-note a:focus,
.checkout-security-note .payment-security-note a:focus,
#fmain .payment-security-note a:focus {
    color: #1e3a8a !important;
    text-decoration: underline;
}

.product-origin {
    margin: 10px 0 0;
    color: #475569;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;
}

.product-meta-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #334155;
}

.product-meta-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-legal-line {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.footer-links a[href^="tel:"] {
    display: block;
    color: var(--color-text);
    font-weight: 800;
}

@media (max-width: 768px) {
    .payment-badge-grid,
    .payment-methods-badges__row--footer {
        gap: 8px;
    }
}

/* Шаг 2 оформления: фокус на проверке заказа */
body.checkout-focus #sitecontent {
    min-height: 100vh;
}

body.checkout-focus .saas-nav--checkout {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

body.checkout-focus .checkout-review-section {
    padding-top: 36px;
    padding-bottom: 64px;
}

body.checkout-focus #contacts {
    margin-top: 0;
}

/* Промежуточный шаг оформления заказа */
.checkout-review-section {
    scroll-margin-top: 96px;
}

.checkout-review-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.checkout-review-card {
    padding: 22px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.checkout-review-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 900;
}

.checkout-payment-hint {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.checkout-payment-error {
    margin: 0 0 22px;
    padding: 18px 20px 18px 22px;
    border-radius: 14px;
    border: 2px solid #2563eb;
    border-left: 8px solid #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18);
    color: #0f172a;
}

.checkout-payment-error__title {
    display: block;
    margin: 0 0 8px;
    color: #1d4ed8;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.checkout-payment-error__text {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.checkout-review-section .section-heading.compact,
.checkout-review-section .section-heading {
    margin-bottom: 14px;
    max-width: none;
}

.checkout-review-section .section-heading p {
    margin-bottom: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 720px) {
    .checkout-review-section .section-heading p {
        white-space: nowrap;
    }
}

.checkout-review-section .checkout-review-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.checkout-review-section .checkout-review-card {
    padding: 16px 18px;
}

.checkout-review-section .checkout-review-layout {
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-summary-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.checkout-summary-list div {
    display: grid;
    gap: 4px;
}

.checkout-summary-list dt {
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-summary-list dd {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.checkout-summary-amount {
    color: var(--color-blue);
    font-size: 20px !important;
    font-weight: 900 !important;
}

.checkout-summary-list.checkout-summary-list--inline {
    gap: 6px;
}

.checkout-summary-list.checkout-summary-list--inline > div {
    display: block;
    gap: 0;
}

.checkout-summary-list.checkout-summary-list--inline dt,
.checkout-summary-list.checkout-summary-list--inline dd {
    display: inline;
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
    text-transform: none;
}

.checkout-summary-list.checkout-summary-list--inline dt {
    font-weight: 700;
}

.checkout-summary-list.checkout-summary-list--inline dt::after {
    content: ': ';
}

.checkout-summary-list.checkout-summary-list--inline .checkout-summary-amount {
    display: inline;
    color: var(--color-blue);
    font-size: 14px !important;
    font-weight: 700 !important;
}

.checkout-notice + .checkout-notice {
    margin-top: -6px;
}

.checkout-notice {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #f8fafc;
}

.checkout-notice strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.checkout-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.checkout-notice p a {
    color: var(--color-blue);
    font-weight: 750;
    word-break: break-word;
}

.checkout-notice--warning {
    border-color: #fde68a;
    background: #fffbeb;
}

.checkout-notice--warning strong {
    color: #92400e;
}

.checkout-notice--info {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.checkout-notice--info strong {
    color: #1e40af;
}

.checkout-notice--success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.checkout-payment-card {
    margin-top: 0;
}

.checkout-payment-hint {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.checkout-gateway-list {
    display: grid;
    gap: 10px;
}

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

.checkout-gateway-grid--single {
    grid-template-columns: 1fr;
}

.checkout-gateway-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.checkout-gateway-radio {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--color-blue);
    cursor: pointer;
}

.checkout-gateway-option input {
    position: static;
    opacity: 1;
    pointer-events: auto;
}

.checkout-gateway-option-body {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.checkout-gateway-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 36px;
}

.checkout-gateway-logo img {
    display: block;
    width: 68px;
    height: 36px;
    object-fit: contain;
}

.checkout-gateway-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.checkout-gateway-copy strong {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 900;
}

.checkout-gateway-copy em {
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.45;
}

.checkout-gateway-brands {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.checkout-gateway-brands img {
    display: block;
    width: 40px;
    height: 24px;
    object-fit: contain;
    object-position: center;
}

.checkout-gateway-meta {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.4;
}

.checkout-gateway-meta--warn {
    color: #b45309;
}

.checkout-gateway-badge {
    display: inline-flex;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-blue);
    font-size: 11px;
    font-weight: 850;
    font-style: normal;
}

.checkout-gateway-option:hover,
.checkout-gateway-option input:focus-visible {
    outline: none;
}

.checkout-gateway-option:hover {
    border-color: rgba(37, 99, 235, 0.30);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.checkout-gateway-option.is-selected,
.checkout-gateway-option:has(input:checked) {
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), #ffffff);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.10);
}

.checkout-gateway-option--invoice {
    border-style: dashed;
}

.checkout-gateway-option--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.checkout-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.checkout-review-actions .checkout-submit {
    width: auto;
    min-width: min(100%, 320px);
    gap: 10px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.checkout-review-actions .checkout-submit.is-loading {
    background: #1e40af !important;
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.28);
    cursor: wait;
    pointer-events: none;
}

.checkout-submit-spinner {
    display: none;
    width: 1.05em;
    height: 1.05em;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: checkout-submit-spin 0.7s linear infinite;
}

.checkout-review-actions .checkout-submit.is-loading .checkout-submit-spinner {
    display: inline-block;
}

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

.checkout-confirm-form.is-submitting {
    cursor: wait;
}

@media (max-width: 900px) {
    .checkout-review-layout,
    .checkout-gateway-grid {
        grid-template-columns: 1fr;
    }

    .checkout-review-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-review-actions .btn {
        width: 100%;
    }
}

/* Страницы success / fail платёжных систем */
body.payment-outcome-page {
    background: var(--color-bg);
}

body.payment-outcome-page #sitecontent.payment-outcome-shell,
body.payment-outcome-page .payment-outcome-shell {
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #f8fafc 100%);
}

.payment-outcome-section {
    padding-top: 36px;
    padding-bottom: 64px;
}

.payment-outcome-content {
    display: block;
}

.payment-outcome-banner {
    margin-bottom: 22px;
}

.payment-outcome-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.payment-outcome-status {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.payment-outcome-status--success {
    border: 1px solid #bbf7d0;
    background: #dcfce7;
    color: #15803d;
}

.payment-outcome-status--fail {
    border: 1px solid #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

.payment-outcome-status--pending {
    border: 1px solid #fde68a;
    background: #fef3c7;
    color: #b45309;
}

.payment-outcome-status--neutral {
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-blue);
}

.payment-outcome-layout {
    align-items: start;
}

.payment-outcome-main-col,
.payment-outcome-side-col {
    display: grid;
    gap: 18px;
}

.payment-outcome-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment-outcome-steps li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.payment-outcome-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-blue);
}

.payment-outcome-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px !important;
    word-break: break-all;
}

.payment-outcome-card-actions {
    margin-top: 16px;
}

.payment-outcome-links-card .checkout-review-actions {
    margin-top: 0;
}

.payment-outcome-download-card {
    overflow: hidden;
}

.payment-outcome-download-card > div {
    padding: 0 !important;
}

.payment-outcome-download-card font[color="green"] {
    color: var(--color-text) !important;
    font-size: 15px !important;
    line-height: 1.65;
}

body.payment-legacy-success .report-shell,
body.payment-legacy-fail .report-shell {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 0;
    background: transparent;
}

body.payment-legacy-success .report-panel,
body.payment-legacy-fail .report-panel {
    width: min(1140px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
