:root {
    --bg: #ffffff;
    --text: #121417;
    --muted: #6b7280;
    --line: #e9edf3;
    --soft: #f6f8fb;
    --shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
    --shadow2: 0 8px 20px rgba(16, 24, 40, 0.1);

    --green: #01ba04;
    --red: #fa4d62;
    --graypill: #98a2b3;

    --radius: 18px;
    --radius2: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Inter";
    src: url("/wp-content/themes/xtool/assets/fonts/inter/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/wp-content/themes/xtool/assets/fonts/inter/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/wp-content/themes/xtool/assets/fonts/inter/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Apple Color Emoji",
        "Segoe UI Emoji" !important;
    color: var(--text);
    background: var(--bg);
    padding-top: 112px;
}

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

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

ol li,
ul li,
p {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
}

.x-breadcrumbs {
    margin: 12px 0;
	margin-top: 35px;
    color: #606060;
    font-size: 12px;
}

.x-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.x-breadcrumbs a:hover {
    color: #0b1220;
}

.x-breadcrumbs .delimiter {
    margin: 0 8px;
    opacity: 0.5;
}

.x-page-title {
    margin: 0 0 24px;
    padding-top: 24px;
    font-size: 42px;
    font-weight: 400;
    color: #0b1220;
    letter-spacing: -5%;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #000;
    letter-spacing: -5%;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 16px;
}

.xtool-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.xtool-header {
    position: relative;
    z-index: 50;
}

.xtool-topbar {
    background: #f2f5f9;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: #3b4452;
}

.xtool-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 38px;
}

.xtool-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.xtool-topbar__right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.xtool-topbar__phone:hover {
    opacity: 0.75;
}

.xtool-ico {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #cfd6e1;
}

.xtool-ico--pin {
    mask: radial-gradient(circle at 50% 35%, transparent 0 4px, #000 4px) top/100% 100% no-repeat;
}

.xtool-ico--phone {
    border-radius: 50%;
}

.xtool-mainbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.xtool-mainbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 74px;
}

.xtool-brand {
    display: flex;
    align-items: center;
    min-width: 160px;
}

.xtool-brand__link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.xtool-brand__text {
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--green);
    font-size: 20px;
    text-transform: uppercase;
}

.custom-logo {
    max-height: 42px;
    width: auto;
    display: block;
}

.xtool-nav {
    flex: 1;
}

.xtool-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtool-nav__list > li {
    position: relative;
}

.xtool-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 12px;
    font-size: 14px;
    color: #202531;
    transition: 0.15s ease;
}

.xtool-nav__link:hover {
    background: var(--soft);
}

.xtool-nav__list > li.menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #9aa4b2;
    border-bottom: 2px solid #9aa4b2;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-top: -2px;
}

.xtool-nav__list li ul {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.15s ease;
    z-index: 30;
}

.xtool-nav__list li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.xtool-nav__list li ul li a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.xtool-nav__list li ul li a:hover {
    background: var(--soft);
}

.xtool-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: flex-end;
}

.xtool-iconbtn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease;
    position: relative;
}

.xtool-iconbtn:hover {
    box-shadow: var(--shadow2);
    transform: translateY(-1px);
}

.xtool-iconbtn svg {
    color: #111827;
}

.xtool-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.xtool-account {
    position: relative;
}

.xtool-popover {
    position: absolute;
    top: 52px;
    right: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.15s ease;
}

.xtool-account.is-open .xtool-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.xtool-popover__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xtool-popover__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f7f9fc;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    font-size: 14px;
    color: #2b313b;
}

.xtool-popover__item:hover {
    background: #f1f5fb;
}

.xtool-popover__ico {
    width: 18px;
    height: 18px;
    background: #94a3b8;
    border-radius: 6px;
}

.xtool-popover__ico--user {
    background: #9aa4b2;
}

.xtool-popover__ico--orders {
    background: #7b8798;
}

.xtool-popover__ico--logout {
    background: #64748b;
}

.xtool-search {
    display: none;
    padding: 0 0 16px 0;
}

.xtool-search.is-open {
    display: block;
}

.xtool-search__form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.xtool-search__input {
    width: min(520px, 100%);
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.xtool-search__btn {
    height: 44px;
    border-radius: 14px;
    border: 0;
    padding: 0 16px;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

.xtool-burger {
    display: none;
}

.xtool-page {
    min-height: 60vh;
}

.xtool-hero {
    padding: 18px 0 28px;
}

.xtool-hero__slider {
    position: relative;
}

.xtool-hero__slide {
    min-height: 420px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background:
        radial-gradient(900px 420px at 70% 40%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, rgba(24, 168, 75, 0.2), rgba(14, 19, 33, 0.95)), var(--xtool-hero-bg);
    background-size: cover;
    background-position: center;
    display: none;
}

.xtool-hero__slide.is-active {
    display: block;
}

.xtool-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    min-height: 420px;
    gap: 24px;
}

.xtool-hero__content {
    padding: 54px 0 54px 32px;
    color: #fff;
}

.xtool-hero__title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.xtool-hero__subtitle {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.88;
    margin-bottom: 22px;
}

.xtool-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.xtool-btn--primary {
    background: #fff;
    color: #111827;
}

.xtool-btn__arrow {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.xtool-hero__media {
    height: 100%;
}

.xtool-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.xtool-dot {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
}

.xtool-dot.is-active {
    background: #fff;
}

.xtool-section {
    padding: 26px 0 42px;
}

.xtool-h2 {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 26px;
}

.xtool-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.xtool-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
    position: relative;
}

.xtool-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.xtool-pill {
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 10px;
    color: #fff;
    line-height: 1;
}

.xtool-pill--red {
    background: var(--red);
}

.xtool-pill--gray {
    background: var(--graypill);
}

.xtool-pill--green {
    background: var(--green);
}

.xtool-card__img {
    height: 220px;
    background: #f3f6fb;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.xtool-card__body {
    padding: 14px 16px 18px;
}

.xtool-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.xtool-card__price {
    font-size: 14px;
    color: #111827;
}

.xtool-card del {
    opacity: 0.55;
    margin-right: 8px;
}

.xtool-card ins {
    text-decoration: none;
}

.xtool-empty {
    text-align: center;
    color: var(--muted);
    padding: 22px 0;
    grid-column: 1/-1;
}

.xtool-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
    background: #fff;
}

.xtool-footer__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.xtool-footer__brand {
    font-weight: 800;
    color: var(--green);
}

.xtool-footer__meta {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.xtool-footer__right {
    display: flex;
    gap: 18px;
    color: #2b313b;
    font-size: 14px;
}

.xtool-footer__right a:hover {
    opacity: 0.7;
}

.x-credit-modal {
    display: none;
}

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

    .xtool-hero__grid {
        grid-template-columns: 1fr;
    }

    .xtool-hero__content {
        padding: 42px 0 42px 18px;
    }

    .xtool-nav {
        display: none;
    }

    .xtool-burger {
        display: inline-flex;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #fff;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-direction: column;
        cursor: pointer;
    }

    .xtool-burger span {
        display: block;
        width: 18px;
        height: 2px;
        background: #111827;
        border-radius: 2px;
    }
}

@media (max-width: 520px) {
    .xtool-products {
        grid-template-columns: 1fr;
    }

    .xtool-topbar__row {
        height: auto;
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .xtool-topbar__right {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .xtool-h2 {
        font-size: 28px;
    }

    .xtool-hero__title {
        font-size: 34px;
    }
}

/* ===== HERO FULL WIDTH SLIDER ===== */
.xtool-hero--full {
    padding: 0;
}

.xtool-hero--full .xtool-hero__viewport {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 0;
}

.xtool-hero--full .xtool-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
}

.xtool-hero--full .xtool-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.xtool-hero--full .xtool-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.xtool-hero--full .xtool-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 70% 40%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, rgba(24, 168, 75, 0.18), rgba(14, 19, 33, 0.92));
}

.xtool-hero--full .xtool-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 24px;
    min-height: 520px;
}

.xtool-hero--full .xtool-hero__content {
    padding: 76px 0 76px 32px;
    color: #fff;
}

.xtool-hero--full .xtool-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 3;
}

.xtool-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease;
}

.xtool-hero__nav:hover {
    background: rgba(0, 0, 0, 0.48);
    transform: translateY(-50%) scale(1.03);
}

.xtool-hero__nav:active {
    transform: translateY(-50%) scale(0.98);
}

.xtool-hero__nav--prev {
    left: 22px;
}

.xtool-hero__nav--next {
    right: 22px;
}

@media (max-width: 520px) {
    .xtool-hero__nav {
        width: 40px;
        height: 40px;
    }

    .xtool-hero__nav--prev {
        left: 12px;
    }

    .xtool-hero__nav--next {
        right: 12px;
    }
}

@media (max-width: 1024px) {
    .xtool-hero--full .xtool-hero__grid {
        grid-template-columns: 1fr;
    }

    .xtool-hero--full .xtool-hero__content {
        padding: 54px 0 54px 18px;
    }

    .xtool-hero--full .xtool-hero__viewport {
        min-height: 460px;
    }
}

@media (max-width: 520px) {
    .xtool-hero--full .xtool-hero__viewport {
        min-height: 420px;
    }
}

.xtool-downloads {
    width: 100%;
    padding: 66px 20px 38px;
    font-family: Arial, Helvetica, sans-serif;
}

.xtool-container {
    max-width: 1140px;
    margin: 0 auto;
}

.xtool-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

.xtool-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

.xtool-title {
    text-align: center;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 52px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    min-height: 104px;
    border-radius: 8px;
    padding: 22px 42px;
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    color: #171717;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.download-card:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

.download-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.download-card span {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
}

.download-card small {
    margin-top: 3px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
}

.card-blue {
    background-color: #c6ecfb;
    --hover-bg: #aee0f3;
}

.card-purple {
    background-color: #f2d7f6;
    --hover-bg: #e7c2ee;
}

.card-green {
    background-color: #c8f7b8;
    --hover-bg: #b3eba0;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #c8d2d8;
    margin: 46px 0 50px;
}

.old-version-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    margin-left: 112px;
    margin-bottom: 80px;
}

.old-grid {
    margin-bottom: 46px;
}

.bottom-divider {
    margin: 0;
}

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

    .old-version-title {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .xtool-downloads {
        padding: 40px 16px 30px;
    }

    .xtool-title {
        font-size: 34px;
        margin-bottom: 36px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .download-card {
        min-height: 88px;
        padding: 20px 28px;
    }

    .old-version-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .divider {
        margin: 38px 0;
    }
}

/* sitemap.css */
.sitemap-list {
    list-style: none;
}
.sitemap-list li {
    padding: 4px;
}
.sitemap-list li a {
    color: #2563eb;
    text-decoration: none;
}
.sitemap-list li a:hover {
    text-decoration: underline;
}

/* COOKIE */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9000;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    display: none;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(228, 237, 250, 0.8); /* как твои плашки */
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(55, 140, 219, 0.18); */

    color: var(--dark);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner__text {
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.95;
}

.cookie-banner__link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}

.cookie-banner__btn:hover {
    background: rgba(55, 140, 219, 0.08);
}

@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}
.related.products {
    margin-bottom: 50px !important;
}
.x-contacts__req{
	margin-bottom: 40px;
}

