/* ==========================================================================
   Rotang — тема eco-rotang.ru (ТМ TARCO). Префикс .rt-*
   Шрифты: Nunito (заголовки) + Open Sans (текст). Цвета — токены ниже.
   Порядок: токены → база → шапка → полоса форм → главная → магазин WooCommerce →
   страницы → модалка → подвал → «О компании».
   ========================================================================== */

:root {
    --rt-ink:        #111114;
    --rt-mute:       #7a7f87;
    --rt-faint:      #a2a8b2;
    --rt-navy:       #002050;
    --rt-blue:       #2f6bc0;
    --rt-sky:        #5aa2e6;
    --rt-line:       #e7ebf1;
    --rt-line-2:     #eef1f6;
    --rt-paper:      #ffffff;
    --rt-ground:     #eef1f6;
    --rt-ground-2:   #f6f8fb;

    --rt-disp: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    --rt-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

    --rt-max: 940px;
    --rt-wide: 1200px;
    --rt-radius: 14px;
    --rt-hdr-h: 68px;
}

/* ==========================================================================
   БАЗА
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rt-hdr-h) + 12px); }
body {
    margin: 0;
    background: var(--rt-ground-2);
    color: var(--rt-ink);
    font-family: var(--rt-body);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--rt-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rt-blue); }
h1, h2, h3, h4, h5, h6 { font-family: var(--rt-disp); font-weight: 800; line-height: 1.15; color: var(--rt-ink); margin: 0 0 .6em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rt-blue); outline-offset: 2px; }

.rt-wrap { max-width: var(--rt-wide); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.rt-main { min-height: 50vh; }
.rt-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rt-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--rt-navy); color: #fff; padding: 10px 14px; border-radius: 10px; transition: top .15s ease; }
.rt-skip:focus { top: 12px; color: #fff; }

.rt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--rt-disp); font-weight: 800; font-size: 15px; line-height: 1;
    padding: 13px 18px; border-radius: 11px; border: 0; cursor: pointer;
    text-decoration: none; color: #fff;
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
    box-shadow: 0 10px 22px -12px rgba(0,32,80,.5);
    transition: transform .16s ease, box-shadow .16s ease;
}
.rt-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(0,32,80,.6); }
.rt-btn--ghost { background: #fff; color: var(--rt-navy); border: 1.5px solid var(--rt-line); box-shadow: none; }
.rt-btn--ghost:hover { color: var(--rt-blue); border-color: var(--rt-blue); box-shadow: none; }

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.rt-hdr {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--rt-line);
    backdrop-filter: saturate(1.2) blur(6px); -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.admin-bar .rt-hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .rt-hdr { top: 0; } }
.rt-hdr__in {
    max-width: var(--rt-wide); margin: 0 auto;
    min-height: var(--rt-hdr-h);
    padding: 0 clamp(16px, 3vw, 32px);
    display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.rt-hdr__logo { display: flex; align-items: center; flex: 0 0 auto; }
.rt-hdr__logo img { display: block; height: 44px; width: auto; }

.rt-hdr__nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.rt-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.2vw, 30px); }
.rt-menu a {
    font-family: var(--rt-disp); font-weight: 700; font-size: 14px; letter-spacing: .01em;
    color: var(--rt-ink); text-decoration: none; padding: 8px 0; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.rt-menu a:hover { color: var(--rt-blue); border-bottom-color: currentColor; }
.rt-hdr__navphone { display: none; }

.rt-hdr__tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.rt-hdr__ic {
    width: 40px; height: 40px; border-radius: 11px; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    color: var(--rt-navy); text-decoration: none; transition: background .15s ease, color .15s ease;
}
.rt-hdr__ic:hover { background: var(--rt-ground); color: var(--rt-blue); }
.rt-hdr__ic svg { width: 20px; height: 20px; }
.rt-hdr__phone {
    display: inline-flex; align-items: center; gap: 7px; padding: 0 8px;
    font-family: var(--rt-disp); font-weight: 800; font-size: 15px; letter-spacing: .01em;
    color: var(--rt-navy); text-decoration: none; white-space: nowrap;
}
.rt-hdr__phone svg { width: 15px; height: 15px; color: var(--rt-blue); }
.rt-hdr__phone:hover { color: var(--rt-blue); }

.rt-route-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-right: 4px;
    font-family: var(--rt-disp); font-weight: 800; font-size: 14px; line-height: 1;
    color: var(--rt-navy); text-decoration: none; white-space: nowrap;
    background: linear-gradient(160deg, #eef4fd, #e0ebfa);
    border: 1px solid #cfe0f6; border-radius: 11px; padding: 10px 14px;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rt-route-btn svg { width: 17px; height: 17px; color: var(--rt-blue); transition: color .18s ease; }
.rt-route-btn:hover {
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy)); color: #fff;
    border-color: transparent; box-shadow: 0 8px 18px -8px rgba(0,32,80,.55); transform: translateY(-1px);
}
.rt-route-btn:hover svg { color: #fff; }

.rt-cart__count {
    position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--rt-blue); color: #fff;
    font-family: var(--rt-disp); font-weight: 800; font-size: 11px; line-height: 18px; text-align: center;
}
.rt-cart__count.is-empty { display: none; }

.rt-hdr__burger { display: none; }
.rt-burger-close { display: none; }
.rt-hdr.is-nav-open .rt-burger-open { display: none; }
.rt-hdr.is-nav-open .rt-burger-close { display: inline-flex; }

.rt-search { border-top: 1px solid var(--rt-line-2); background: #fff; }
.rt-search__form { max-width: 720px; margin: 0 auto; padding: 12px clamp(16px, 3vw, 32px); display: flex; gap: 8px; }
.rt-search__form input[type="search"] {
    flex: 1 1 auto; min-width: 0; padding: 11px 14px; font-size: 15px;
    border: 1px solid var(--rt-line); border-radius: 11px; background: var(--rt-ground-2);
}
.rt-search__form input[type="search"]:focus { outline: none; border-color: var(--rt-blue); background: #fff; }
.rt-search__form button {
    font-family: var(--rt-disp); font-weight: 800; padding: 0 18px; border: 0; border-radius: 11px; cursor: pointer;
    color: #fff; background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
}

@media (max-width: 1100px) {
    .rt-hdr__phone span { display: none; }
    .rt-hdr__phone { width: 40px; height: 40px; justify-content: center; padding: 0; }
    .rt-hdr__phone svg { width: 18px; height: 18px; }
}
@media (max-width: 900px) {
    :root { --rt-hdr-h: 60px; }
    .rt-hdr__logo img { height: 38px; }
    .rt-hdr__burger { display: inline-flex; }
    .rt-hdr__nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--rt-line);
        box-shadow: 0 18px 30px -18px rgba(16,32,64,.35);
        flex-direction: column; align-items: stretch; padding: 8px clamp(16px, 3vw, 32px) 16px;
    }
    .rt-hdr.is-nav-open .rt-hdr__nav { display: flex; }
    .rt-menu { flex-direction: column; gap: 0; }
    .rt-menu a { display: block; padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--rt-line-2); }
    .rt-menu a:hover { border-bottom-color: var(--rt-line-2); }
    .rt-hdr__navphone {
        display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
        font-family: var(--rt-disp); font-weight: 800; font-size: 18px; color: var(--rt-navy); text-decoration: none;
    }
    .rt-hdr__navphone svg { width: 18px; height: 18px; color: var(--rt-blue); }
    .rt-hdr__in { gap: 8px; }
    .rt-hdr__tools { margin-left: auto; gap: 2px; }
}
@media (max-width: 600px) {
    .rt-route-btn__t, .rt-hdr__vk { display: none; }
    .rt-route-btn { padding: 0; width: 40px; height: 40px; justify-content: center; margin-right: 0; }
    .rt-hdr__logo img { height: 34px; }
}

/* ==========================================================================
   ПОЛОСА ФОРМ ПРОФИЛЯ (под шапкой на всех страницах, кроме главной)
   ========================================================================== */
/* Полоса навигации по формам: выводится в header.php на всех страницах, кроме главной */
.rt-catnav {
    background: var(--rt-paper);
    border-bottom: 1px solid var(--rt-line);
    box-shadow: 0 1px 0 rgba(17, 18, 34, .04);
}
.rt-catnav__inner {
    max-width: var(--rt-wide);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.rt-catnav__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    text-decoration: none !important;
    color: var(--rt-ink) !important;
    font-family: var(--rt-disp);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.rt-catnav__link.is-current {
    border-color: var(--rt-blue);
    background: linear-gradient(160deg, #eef4fd, #e0ebfa);
    color: var(--rt-navy) !important;
}
.rt-catnav__link:hover {
    border-color: var(--rt-blue);
    background: rgba(47, 107, 192, 0.06);
    color: var(--rt-blue) !important;
}
.rt-catnav__link--disabled { opacity: 0.45; pointer-events: none; cursor: default; }
.rt-catnav__code { font-weight: 800; font-size: 14px; color: var(--rt-blue); }
.rt-catnav__code--icon { display: inline-flex; align-items: center; color: var(--rt-blue); }
.rt-catnav__code--icon svg { width: 15px; height: 15px; }
.rt-catnav__title { font-weight: 600; max-width: 16em; overflow: hidden; text-overflow: ellipsis; }
.rt-catnav__sep { flex: 0 0 auto; align-self: stretch; width: 1px; margin: 4px 2px; background: var(--rt-line); }
@media (max-width: 480px) {
    .rt-catnav__title { display: none; }
    .rt-catnav__link { padding: 8px 12px; }
}


/* ==========================================================================
   ГЛАВНАЯ — лист с формами профиля
   ========================================================================== */
.rt-home {
    background:
        radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, var(--rt-ground-2) 45%, var(--rt-ground) 100%);
    padding: clamp(24px, 4vw, 56px) clamp(12px, 4vw, 40px) clamp(36px, 5vw, 72px);
    font-family: var(--rt-body);
    color: var(--rt-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}
.rt-home__wrap { max-width: var(--rt-max); margin: 0 auto; }

.rt-sheet {
    background: var(--rt-paper);
    border: 1px solid var(--rt-line);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16,32,64,.04), 0 18px 48px -28px rgba(16,32,64,.28);
    padding: clamp(24px, 4vw, 46px) clamp(18px, 4vw, 52px) clamp(26px, 4vw, 44px);
    overflow: hidden;
}

.rt-eyebrow {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rt-blue);
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rt-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--rt-navy), var(--rt-sky));
    border-radius: 2px;
}

.rt-lead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.rt-lead__title {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: clamp(23px, 3.2vw, 33px);
    letter-spacing: .005em;
    line-height: 1.1;
    margin: 0;
    color: var(--rt-ink);
    text-wrap: balance;
    max-width: 17ch;
    text-transform: none;
}
.rt-lead__title span { color: var(--rt-blue); }
.rt-lead__meta {
    font-family: var(--rt-disp);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .03em;
    color: var(--rt-mute);
    text-align: right;
    white-space: nowrap;
}
.rt-lead__meta b { color: var(--rt-navy); font-variant-numeric: tabular-nums; }

.rt-forms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rt-line-2); }
.rt-form { border-bottom: 1px solid var(--rt-line-2); }
.rt-form__link {
    display: grid;
    grid-template-columns: 56px 60px 1fr auto 26px;
    align-items: center;
    gap: clamp(10px, 2vw, 20px);
    padding: 15px 6px 15px 4px;
    text-decoration: none !important;
    color: var(--rt-ink) !important;
    border-radius: 12px;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.rt-form__link:hover,
.rt-form__link:focus-visible {
    background: var(--rt-ground-2);
    outline: none;
    box-shadow: inset 0 0 0 1px var(--rt-line);
    color: var(--rt-ink) !important;
}
.rt-form__link:focus-visible { box-shadow: inset 0 0 0 2px var(--rt-blue); }

.rt-form__badge {
    width: 52px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--rt-disp); font-weight: 800; font-size: 17px; letter-spacing: .01em;
    color: var(--rt-navy);
    background: linear-gradient(160deg, #eaf1fb, #dbe7f8);
    border: 1px solid #d3e0f4;
    box-shadow: inset 0 1px 0 #fff;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rt-form__badge--sm { font-size: 13px; letter-spacing: 0; }
.rt-form__link:hover .rt-form__badge,
.rt-form__link:focus-visible .rt-form__badge {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
    box-shadow: 0 6px 16px -8px rgba(0,32,80,.55);
}

.rt-form__section {
    width: 56px; height: 34px;
    color: var(--rt-navy); opacity: .85;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s ease, opacity .2s ease;
}
.rt-form__link:hover .rt-form__section { color: var(--rt-blue); opacity: 1; }
.rt-form__section svg { width: 52px; height: 32px; overflow: visible; }

.rt-form__info { min-width: 0; }
.rt-form__title {
    display: block;
    font-family: var(--rt-disp);
    font-weight: 700;
    font-size: 16px;
    color: var(--rt-ink);
    line-height: 1.2;
}
.rt-form__desc { display: block; font-size: 12.5px; color: var(--rt-mute); margin-top: 3px; letter-spacing: .01em; }

.rt-form__count {
    font-family: var(--rt-disp);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .02em;
    color: var(--rt-mute);
    white-space: nowrap;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.rt-form__count b { color: var(--rt-navy); font-weight: 800; }

.rt-form__arrow {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    color: var(--rt-faint);
    transition: color .18s ease, transform .18s ease;
}
.rt-form__arrow svg { width: 15px; height: 15px; }
.rt-form__link:hover .rt-form__arrow,
.rt-form__link:focus-visible .rt-form__arrow { color: var(--rt-blue); transform: translateX(3px); }

.rt-form--soon .rt-form__link { cursor: not-allowed; opacity: .55; pointer-events: none; }

/* === Доп-категории каталога (Каркасы, Комплектующие) === */
.rt-subhead { margin-top: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.rt-subhead__ey {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--rt-disp); font-weight: 800; font-size: 11px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--rt-blue);
    margin: 0 0 8px;
}
.rt-subhead__ey::before {
    content: ""; width: 22px; height: 2px;
    background: linear-gradient(90deg, var(--rt-navy), var(--rt-sky)); border-radius: 2px;
}
.rt-subhead__title {
    font-family: var(--rt-disp); font-weight: 800;
    font-size: clamp(19px, 2.6vw, 24px); color: var(--rt-ink);
    margin: 0; line-height: 1.15; text-transform: none;
}
.rt-form__badge--icon svg { width: 24px; height: 24px; color: currentColor; display: block; }

@media (max-width: 640px) {
    .rt-form__link {
        grid-template-columns: 46px 1fr 22px;
        grid-template-areas: "badge info arrow" "section info arrow";
        gap: 12px;
        padding: 13px 4px;
        row-gap: 2px;
    }
    .rt-form__badge { grid-area: badge; width: 44px; height: 38px; font-size: 15px; }
    .rt-form__section { grid-area: section; width: 44px; height: 26px; justify-content: flex-start; }
    .rt-form__section svg { width: 44px; height: 26px; }
    .rt-form__info { grid-area: info; }
    .rt-form__count { display: none; }
    .rt-form__arrow { grid-area: arrow; }
    .rt-lead__meta { text-align: left; }
}


/* ==========================================================================
   МАГАЗИН (WooCommerce): каталог, товар, корзина, оформление, кабинет.
   Шаблоны стандартные, здесь только оформление.
   ========================================================================== */
.rt-shop { padding: clamp(18px, 3vw, 30px) 0 clamp(40px, 5vw, 64px); }
.rt-bc { font-size: 13px; color: var(--rt-faint); margin: 0 0 14px; }
.rt-bc a { color: var(--rt-mute); text-decoration: none; }
.rt-bc a:hover { color: var(--rt-blue); }
.rt-bc__sep { margin: 0 8px; color: var(--rt-line); }

.woocommerce-products-header { margin-bottom: 6px; }
.woocommerce-products-header__title.page-title,
.rt-shop .page-title {
    font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 10px;
}
.term-description { color: var(--rt-mute); max-width: 70ch; }

.rt-wait {
    margin: 0 0 18px; padding: 12px 16px; border-radius: 12px;
    background: #fff7e6; border: 1px solid #f5dfae; color: #6b4b0b; font-size: 14px; line-height: 1.5;
}
.rt-wait b { color: #4a3200; }

.rt-shop .woocommerce-notices-wrapper:empty { display: none; }
.rt-loopbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 0 0 16px; }
.rt-loopbar::before, .rt-loopbar::after { display: none; }
.woocommerce .rt-loopbar .woocommerce-result-count { float: none; margin: 0; color: var(--rt-mute); font-size: 13px; }
.woocommerce .rt-loopbar .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row select,
.woocommerce select {
    appearance: none; -webkit-appearance: none;
    padding: 9px 34px 9px 12px; border: 1px solid var(--rt-line); border-radius: 10px; background: #fff
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='%237a7f87' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
    font-size: 14px; color: var(--rt-ink);
}

/* --- Сетка товаров --- */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px);
    margin: 0; padding: 0; list-style: none; clear: both;
}
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important; width: auto !important; margin: 0 !important; padding: 12px 12px 16px !important;
    display: flex; flex-direction: column;
    background: var(--rt-paper); border: 1px solid var(--rt-line); border-radius: var(--rt-radius);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover {
    border-color: #d3e0f4; box-shadow: 0 16px 34px -20px rgba(16,32,64,.45); transform: translateY(-3px);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: block; flex: 1 1 auto; }
.woocommerce ul.products li.product a img {
    width: 100%; height: auto; margin: 0 0 12px; border-radius: 10px;
    aspect-ratio: 3 / 4; object-fit: contain; background: var(--rt-ground-2);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--rt-disp); font-weight: 800; font-size: 16px; color: var(--rt-ink);
    padding: 0; margin: 0 0 4px; line-height: 1.25;
}
.woocommerce ul.products li.product .price {
    display: block; margin: 0 0 12px; color: var(--rt-navy);
    font-family: var(--rt-disp); font-weight: 800; font-size: 16px;
}
.woocommerce ul.products li.product .price .unit, .woocommerce ul.products li.product .price small { font-weight: 600; color: var(--rt-mute); font-size: 12px; }
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; text-align: center; }
.woocommerce ul.products li.product .button.rt-buy-now {
    margin-top: 8px; background: #fff !important; color: var(--rt-navy) !important;
    border: 1.5px solid #cfe0f6 !important; box-shadow: none; padding: 10px 14px !important;
}
.woocommerce ul.products li.product .button.rt-buy-now:hover { color: var(--rt-blue) !important; border-color: var(--rt-blue) !important; }
.woocommerce ul.products li.product a.added_to_cart { order: 3; }
.woocommerce ul.products li.product a.added_to_cart {
    display: block; text-align: center; margin-top: 8px; font-family: var(--rt-disp); font-weight: 700; font-size: 13px;
}
.woocommerce ul.products li.product .onsale { display: none; }
.woocommerce-loop-category__title { font-family: var(--rt-disp); }

@media (max-width: 1000px) {
    .woocommerce ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding: 8px 8px 12px !important; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
    .woocommerce ul.products li.product .price { font-size: 14px; }
    .woocommerce ul.products li.product .button { font-size: 13px !important; padding: 10px 8px !important; }
}

/* --- Пагинация --- */
.woocommerce nav.woocommerce-pagination { margin-top: 26px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: 40px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rt-line); background: #fff;
    font-family: var(--rt-disp); font-weight: 800; color: var(--rt-navy);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy)); color: #fff; border-color: transparent;
}

/* --- Кнопки WooCommerce: фирменный градиент --- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button, .woocommerce .checkout-button, .woocommerce #place_order {
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy)) !important;
    color: #fff !important; border: 0 !important; border-radius: 11px !important;
    font-family: var(--rt-disp) !important; font-weight: 800 !important; font-size: 15px;
    letter-spacing: .01em; line-height: 1.2; padding: 12px 18px !important;
    box-shadow: 0 10px 22px -12px rgba(0,32,80,.5);
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover, .woocommerce .checkout-button:hover, .woocommerce #place_order:hover {
    color: #fff !important; transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(0,32,80,.6);
}
.woocommerce a.button.loading, .woocommerce button.button.loading { opacity: .7; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5; transform: none; }
.woocommerce a.button.added::after { margin-left: 6px; }

/* --- Поля форм --- */
.woocommerce form .form-row label { font-family: var(--rt-disp); font-weight: 700; font-size: 13px; color: var(--rt-ink); }
.woocommerce form .form-row .required { color: #c0392b; text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity .qty,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form.checkout_coupon .input-text {
    border: 1px solid var(--rt-line); border-radius: 10px; padding: 11px 12px; font-size: 15px; background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce .quantity .qty:focus {
    outline: none; border-color: var(--rt-blue); box-shadow: 0 0 0 3px rgba(47,107,192,.14);
}
.woocommerce .quantity .qty { width: 4.6em; padding: 10px 6px; text-align: center; font-family: var(--rt-disp); font-weight: 700; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #d65b4a; }
.select2-container--default .select2-selection--single {
    height: 44px; border: 1px solid var(--rt-line); border-radius: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding: 0 30px 0 12px; font-size: 15px; color: var(--rt-ink); }
.woocommerce form .form-row .select2-container { display: block; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; right: 6px; }

/* --- Уведомления --- */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
    border: 1px solid var(--rt-line); border-left: 4px solid var(--rt-blue); border-radius: 12px;
    background: #fff; color: var(--rt-ink); padding: 14px 16px 14px 46px; margin: 0 0 18px;
    font-size: 14px; list-style: none;
}
.woocommerce-error { border-left-color: #d65b4a; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rt-blue); top: 14px; left: 16px; }
.woocommerce-error::before { color: #d65b4a; top: 14px; left: 16px; }
.woocommerce-message .button, .woocommerce-info .button { float: right; padding: 8px 14px !important; font-size: 13px !important; }

/* --- Страница товара --- */
.rt-shop--product .product {
    display: flow-root; /* фото и описание — плавающие колонки WooCommerce; без этого подложка схлопывается, если у товара нет вкладок */
    background: var(--rt-paper); border: 1px solid var(--rt-line); border-radius: 18px;
    padding: clamp(16px, 3vw, 34px);
    box-shadow: 0 1px 2px rgba(16,32,64,.04), 0 18px 48px -28px rgba(16,32,64,.22);
}
.woocommerce div.product div.images { margin-bottom: 0; }
.woocommerce div.product div.images img { border-radius: 12px; }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 10px; display: flex; gap: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 8px; border: 1px solid var(--rt-line); opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--rt-blue); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; width: 38px; height: 38px; top: 12px; right: 12px;
}
.woocommerce div.product .product_title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--rt-navy); font-family: var(--rt-disp); font-weight: 800; font-size: 26px; margin: 4px 0 14px;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: #3d424a; margin-bottom: 18px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; }
.woocommerce div.product form.cart .quantity { margin: 0; float: none; }
.woocommerce div.product form.cart .button { float: none; padding: 14px 26px !important; font-size: 16px; }
.woocommerce div.product form.cart .rt-added {
    flex: 1 1 100%; font-family: var(--rt-disp); font-weight: 800; font-size: 14px; color: var(--rt-blue);
}
.woocommerce div.product form.cart .button.loading { opacity: .7; pointer-events: none; }
/* «Купить сейчас»: вторая кнопка, светлая, той же высоты */
.woocommerce div.product form.cart .button.rt-buy-now {
    background: #fff !important; color: var(--rt-navy) !important;
    border: 1.5px solid #cfe0f6 !important; box-shadow: none;
}
.woocommerce div.product form.cart .button.rt-buy-now:hover {
    color: var(--rt-blue) !important; border-color: var(--rt-blue) !important; box-shadow: 0 10px 22px -14px rgba(0,32,80,.4);
}
@media (max-width: 520px) {
    .woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; }
    .woocommerce div.product form.cart .button.rt-buy-now { flex: 1 1 100%; }
}
.woocommerce div.product .product_meta { font-size: 13px; color: var(--rt-mute); border-top: 1px solid var(--rt-line-2); padding-top: 14px; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 3px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 26px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; border-bottom: 1px solid var(--rt-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 18px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--rt-disp); font-weight: 800; font-size: 15px; color: var(--rt-mute); padding: 10px 0;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--rt-navy); border-bottom-color: var(--rt-blue); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 18px; }
.woocommerce .related, .woocommerce .upsells { clear: both; padding-top: 30px; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: clamp(20px, 2.6vw, 24px); }
@media (max-width: 768px) {
    .woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; }
    .woocommerce div.product div.summary { margin-top: 18px; }
}

/* --- Отзывы (вкладка на товаре) --- */
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #review_form #respond textarea { border: 1px solid var(--rt-line); border-radius: 10px; }

/* ==========================================================================
   СТРАНИЦЫ: корзина, оформление, кабинет, текстовые
   ========================================================================== */
.rt-page { padding: clamp(18px, 3vw, 30px) 0 clamp(40px, 5vw, 64px); }
.rt-page .rt-wrap { max-width: 1120px; }
.rt-sheet {
    background: var(--rt-paper); border: 1px solid var(--rt-line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16,32,64,.04), 0 18px 48px -28px rgba(16,32,64,.28);
    padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 48px);
}
.rt-entry__title { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 18px; }
.rt-entry__content { font-size: 15.5px; line-height: 1.7; }
.rt-entry__content > :last-child { margin-bottom: 0; }
.rt-list { padding-left: 18px; }
.rt-404 p { color: #3d424a; max-width: 60ch; }
.rt-404__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Таблицы корзины и заказа */
.woocommerce table.shop_table {
    border: 1px solid var(--rt-line); border-radius: 14px; border-collapse: separate; overflow: hidden; margin-bottom: 24px;
}
.woocommerce table.shop_table th {
    font-family: var(--rt-disp); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--rt-mute); background: var(--rt-ground-2); padding: 12px 14px;
}
.woocommerce table.shop_table td { border-top: 1px solid var(--rt-line-2); padding: 14px; vertical-align: middle; }
.woocommerce table.shop_table td.product-name a { font-family: var(--rt-disp); font-weight: 800; color: var(--rt-ink); text-decoration: none; }
.woocommerce table.shop_table td.product-name a:hover { color: var(--rt-blue); }
.woocommerce table.cart img { width: 64px; border-radius: 8px; }
.woocommerce a.remove { color: var(--rt-faint) !important; font-weight: 400; border-radius: 8px; }
.woocommerce a.remove:hover { background: #fdecea; color: #c0392b !important; }
.woocommerce-cart table.cart td.actions { background: var(--rt-ground-2); }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px; margin: 0; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 460px; float: right; }
.woocommerce .cart_totals h2 { font-size: 20px; }
.woocommerce .cart_totals table.shop_table th { text-transform: none; letter-spacing: 0; font-size: 14px; background: none; color: var(--rt-ink); }
.woocommerce .cart_totals .order-total .amount { font-family: var(--rt-disp); font-weight: 800; font-size: 20px; color: var(--rt-navy); }
.woocommerce .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; font-size: 17px !important; padding: 16px 20px !important; }
.woocommerce .cart-empty.woocommerce-info { font-size: 16px; }
.woocommerce .return-to-shop .button { margin-top: 6px; }

/* Оформление заказа */
.woocommerce-checkout h3 { font-size: 20px; margin-top: 8px; }
.woocommerce form.checkout .col2-set { margin-bottom: 18px; }
.woocommerce-checkout #order_review_heading { margin-top: 18px; }
.woocommerce-checkout-review-order { background: var(--rt-ground-2); border-radius: 14px; padding: 16px; }
.woocommerce-checkout-review-order table.shop_table { background: #fff; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--rt-line); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: var(--rt-ground-2); border-radius: 10px; color: var(--rt-ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--rt-ground-2); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--rt-line-2); }
.woocommerce #payment #place_order { width: 100%; font-size: 17px !important; padding: 16px 20px !important; float: none; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--rt-mute); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px solid var(--rt-line); border-radius: 14px; padding: 18px;
}
@media (max-width: 768px) {
    .woocommerce .cart-collaterals .cart_totals { float: none; max-width: none; }
    .woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
    .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
    .woocommerce-cart table.cart td.actions .coupon .button { width: 100%; }
    .woocommerce table.shop_table_responsive tr td::before { font-family: var(--rt-disp); font-weight: 800; color: var(--rt-mute); }
}

/* Личный кабинет */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; border: 1px solid var(--rt-line); border-radius: 14px; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 16px; text-decoration: none; color: var(--rt-ink); border-top: 1px solid var(--rt-line-2); }
.woocommerce-account .woocommerce-MyAccount-navigation li:first-child a { border-top: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--rt-ground-2); color: var(--rt-navy); font-weight: 700; }

/* ==========================================================================
   МОДАЛКА «Как проехать»
   ========================================================================== */
.rt-map-overlay {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(12px, 3vw, 32px);
    background: rgba(8,18,38,.55);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .2s ease;
    font-family: var(--rt-body);
}
.rt-map-overlay[hidden] { display: none; }
.rt-map-overlay.is-open { opacity: 1; }
.rt-map-card {
    background: var(--rt-paper);
    border-radius: 20px;
    width: min(760px, 100%);
    max-height: 92vh;
    overflow: auto;
    box-shadow: 0 30px 80px -30px rgba(8,18,38,.7);
    position: relative;
    transform: translateY(12px) scale(.98);
    transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
.rt-map-overlay.is-open .rt-map-card { transform: none; }
.rt-map-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--rt-line); background: #fff; color: var(--rt-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.rt-map-close:hover { background: #fff0f0; color: #d11; border-color: #f3caca; }
.rt-map-close:focus-visible { outline: 2px solid var(--rt-blue); outline-offset: 2px; }
.rt-map-head { padding: 26px clamp(22px,4vw,34px) 6px; }
.rt-map-head h2 {
    font-family: var(--rt-disp); font-weight: 800;
    font-size: clamp(22px, 3.4vw, 28px); color: var(--rt-ink);
    margin: 0 0 8px; letter-spacing: .005em; text-transform: none; line-height: 1.15;
}
.rt-map-head p { margin: 0; color: var(--rt-mute); font-size: 15px; line-height: 1.5; }
.rt-map-body { display: grid; grid-template-columns: 1fr; gap: 0; }
.rt-map-visual {
    position: relative;
    margin: 18px clamp(22px,4vw,34px) 0;
    height: 230px; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--rt-line);
}
.rt-map-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-map-info { padding: 20px clamp(22px,4vw,34px) 26px; display: flex; flex-direction: column; gap: 12px; }
.rt-map-addr {
    font-family: var(--rt-disp); font-weight: 800;
    font-size: clamp(20px, 3.2vw, 25px); color: var(--rt-ink); line-height: 1.2;
}
.rt-map-addr small {
    display: block; font-family: var(--rt-body); font-weight: 400;
    font-size: 15px; color: var(--rt-mute); margin-top: 5px; letter-spacing: 0;
}
.rt-map-phone {
    display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important;
    align-self: flex-start;
    font-family: var(--rt-disp); font-weight: 800; font-size: 22px;
    color: var(--rt-navy) !important; transition: color .16s ease;
}
.rt-map-phone svg { width: 22px; height: 22px; color: var(--rt-blue); }
.rt-map-phone:hover { color: var(--rt-blue) !important; }
.rt-map-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.rt-map-cta {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    text-decoration: none !important;
    font-family: var(--rt-disp); font-weight: 800; font-size: 17px;
    padding: 16px 20px; border-radius: 13px;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.rt-map-cta svg { width: 20px; height: 20px; flex: 0 0 auto; }
.rt-map-cta--primary {
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
    color: #fff !important;
    box-shadow: 0 12px 26px -12px rgba(0,32,80,.6);
}
.rt-map-cta--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(0,32,80,.7); }
.rt-map-cta--ghost { background: #fff; color: var(--rt-navy) !important; border: 1.5px solid var(--rt-line); }
.rt-map-cta--ghost:hover { border-color: var(--rt-blue); color: var(--rt-blue) !important; transform: translateY(-1px); }
.rt-map-cta:focus-visible { outline: 2px solid var(--rt-blue); outline-offset: 3px; }
@media (min-width: 600px) {
    .rt-map-body { grid-template-columns: 1.15fr 1fr; align-items: start; }
    .rt-map-visual { margin: 18px 0 0 clamp(22px,4vw,34px); height: auto; min-height: 280px; }
    .rt-map-info { padding-top: 24px; }
}


/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.rt-footer {
    background: var(--rt-paper);
    border-top: 1px solid var(--rt-line);
    font-family: var(--rt-body);
    color: var(--rt-ink);
    -webkit-font-smoothing: antialiased;
}
.rt-footer__wrap { max-width: 1180px; margin: 0 auto; padding: clamp(28px,4vw,44px) clamp(16px,4vw,32px) 0; }
.rt-footer__cols { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.rt-footer__contacts { max-width: 360px; }
.rt-footer__label {
    font-family: var(--rt-disp); font-weight: 800; font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--rt-faint); margin: 0 0 10px;
}
.rt-footer__contacts address { font-style: normal; color: var(--rt-mute); font-size: 14px; line-height: 1.6; }
.rt-footer__contacts address b { color: var(--rt-ink); font-weight: 600; }
.rt-footer__phone {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 12px;
    font-family: var(--rt-disp); font-weight: 800; font-size: 18px;
    color: var(--rt-navy) !important; text-decoration: none !important; transition: color .16s ease;
}
.rt-footer__phone svg { width: 16px; height: 16px; color: var(--rt-blue); }
.rt-footer__phone:hover { color: var(--rt-blue) !important; }
.rt-footer__socials { display: flex; flex-direction: column; gap: 12px; }
.rt-social {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; min-width: 240px;
    font-family: var(--rt-disp); font-weight: 700; font-size: 14px; color: var(--rt-ink) !important;
    padding: 10px 16px; border: 1px solid var(--rt-line); border-radius: 11px; background: var(--rt-paper);
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rt-social:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(16,32,64,.4); }
.rt-social__ic { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; }
.rt-social__ic svg { width: 16px; height: 16px; }
.rt-social small { display: block; font-family: var(--rt-body); font-weight: 400; font-size: 11px; color: var(--rt-faint); letter-spacing: .02em; }
.rt-social--vk .rt-social__ic { background: #0077ff; }
.rt-social--vk:hover { border-color: #0077ff; color: #0077ff !important; }
.rt-social--wb .rt-social__ic { background: linear-gradient(135deg, #cb11ab, #7b1fa2); }
.rt-social--wb:hover { border-color: #a01a9c; color: #a01a9c !important; }
.rt-footer__legal {
    margin-top: clamp(24px,3vw,34px); border-top: 1px solid var(--rt-line-2);
    padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
    font-size: 12px; color: var(--rt-faint); letter-spacing: .02em;
}
@media (max-width: 640px) {
    .rt-footer__cols { flex-direction: column; }
    .rt-social { min-width: 0; width: 100%; }
    .rt-footer__legal { flex-direction: column; gap: 6px; }
}
.rt-footer__mail { display: block; margin-top: 4px; font-size: 14px; color: var(--rt-mute); text-decoration: none; }
.rt-footer__mail:hover { color: var(--rt-blue); }
.rt-footer__legal a { color: var(--rt-faint); }

/* ==========================================================================
   МОДАЛКА «Контакты и как проехать» — две локации (производство + шоурум),
   у каждой свой адрес, телефоны, часы и Яндекс-карта.
   ========================================================================== */
.rt-map-card--wide { width: min(940px, 100%); }
.rt-locs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
    padding: 8px clamp(22px,4vw,34px) clamp(22px,4vw,30px);
}
.rt-loc {
    display: flex; flex-direction: column; gap: 12px; min-width: 0;
    border: 1px solid var(--rt-line); border-radius: 16px; padding: 18px;
    background: var(--rt-paper);
}
.rt-loc__tag {
    align-self: flex-start; font-family: var(--rt-disp); font-weight: 800;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
    padding: 5px 12px; border-radius: 8px;
}
.rt-loc__tag--alt { background: linear-gradient(160deg, #6a49c8, #2f1f78); }
.rt-loc__phones { display: flex; flex-direction: column; gap: 2px; }
.rt-loc__phones a {
    font-family: var(--rt-disp); font-weight: 800; font-size: 19px;
    color: var(--rt-navy) !important; text-decoration: none !important; line-height: 1.35;
    transition: color .15s ease;
}
.rt-loc__phones a:hover { color: var(--rt-blue) !important; }
.rt-loc__row { display: flex; flex-direction: column; gap: 3px; }
.rt-loc__lbl {
    font-family: var(--rt-disp); font-weight: 800; font-size: 10.5px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--rt-faint);
}
.rt-loc__val { font-size: 14px; color: var(--rt-ink); line-height: 1.45; }
.rt-loc__mail {
    font-family: var(--rt-disp); font-weight: 700; font-size: 14px;
    color: var(--rt-navy) !important; text-decoration: none !important;
}
.rt-loc__mail:hover { color: var(--rt-blue) !important; }
.rt-map-frame {
    width: 100%; height: 200px; border: 0; border-radius: 12px;
    background: var(--rt-ground-2); display: block; margin-top: 2px;
}
/* Прижимаем карту (и кнопку под ней) к низу карточки — карты обеих локаций на одном уровне */
.rt-loc .rt-map-frame { margin-top: auto; }
.rt-loc .rt-map-cta { padding: 12px 16px; font-size: 15px; margin-top: 10px; white-space: nowrap; }
/* На узких экранах (телефоны/планшеты) — локации друг под другом, а не бок о бок */
@media (max-width: 880px) {
    .rt-locs { grid-template-columns: 1fr; }
    .rt-loc .rt-map-frame { margin-top: 4px; }   /* в один столбец прижимать к низу не нужно */
    .rt-loc .rt-map-cta { white-space: normal; }
}

/* ==========================================================================
   ФИКС: радио-кнопки способа доставки WooCommerce не налезают на подписи
   ========================================================================== */
.woocommerce ul#shipping_method,
.woocommerce .woocommerce-shipping-methods {
    list-style: none; margin: 0; padding: 0;
}
.woocommerce ul#shipping_method li,
.woocommerce .woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0 !important;
    margin: 0 0 8px !important;
    list-style: none !important;
}
.woocommerce ul#shipping_method li input[type="radio"],
.woocommerce .woocommerce-shipping-methods li input[type="radio"] {
    position: static !important;
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
    width: 16px; height: 16px;
    accent-color: var(--rt-blue);
}
.woocommerce ul#shipping_method li label,
.woocommerce .woocommerce-shipping-methods li label {
    display: block !important;
    float: none !important;
    text-indent: 0 !important;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

/* ==========================================================================
   О КОМПАНИИ (page-about.php, страница 559)
   Тот же лист .rt-sheet, что на главной; фон и отступ под шапку даёт .rt-home.
   ========================================================================== */

.rt-about__intro { max-width: 640px; }
.rt-about__title { max-width: 24ch; margin-bottom: 14px; }
.rt-about__lede {
    font-size: 15.5px;
    line-height: 1.65;
    color: #3d424a;
    margin: 0;
}

.rt-about__hero {
    margin: clamp(22px, 3vw, 30px) calc(-1 * clamp(18px, 4vw, 52px)) 0;
    background: linear-gradient(180deg, #fff 0%, var(--rt-ground-2) 100%);
    border-top: 1px solid var(--rt-line-2);
    border-bottom: 1px solid var(--rt-line-2);
    padding: clamp(14px, 2.5vw, 26px) clamp(12px, 3vw, 32px) 0;
    line-height: 0;
}
.rt-about__hero img { display: block; width: 100%; height: auto; }

.rt-about__facts {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--rt-line-2);
}
.rt-about__facts li {
    padding: 18px 12px 18px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rt-about__facts li + li { padding-left: 18px; border-left: 1px solid var(--rt-line-2); }
.rt-about__facts b {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.1;
    color: var(--rt-navy);
    font-variant-numeric: tabular-nums;
}
.rt-about__facts span { font-size: 12.5px; color: var(--rt-mute); line-height: 1.35; }

.rt-about__block h3 {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.25;
    color: var(--rt-ink);
    margin: 0 0 6px;
    text-transform: none;
    letter-spacing: 0;
}
.rt-about__block p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a4f57; }

.rt-about__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rt-about__steps li {
    border: 1px solid var(--rt-line);
    border-radius: 14px;
    padding: 18px 18px 20px;
    background: var(--rt-paper);
}
.rt-about__step-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 9px;
    margin-bottom: 12px;
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
}

.rt-about__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rt-line-2);
}
.rt-about__perks li {
    padding: 18px 18px 18px 0;
    border-bottom: 1px solid var(--rt-line-2);
}
.rt-about__perks li:not(:nth-child(3n+1)) { padding-left: 18px; border-left: 1px solid var(--rt-line-2); }
.rt-about__perk-ic {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 10px;
    color: var(--rt-blue);
    background: linear-gradient(160deg, #eef4fd, #e0ebfa);
    border: 1px solid #cfe0f6;
}
.rt-about__perk-ic svg { width: 19px; height: 19px; }

.rt-about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 3vw, 32px);
    align-items: stretch;
}
.rt-about__text { margin-bottom: 14px !important; }
.rt-about__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rt-about__chips li {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 14px;
    color: var(--rt-navy);
    background: var(--rt-ground-2);
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    padding: 8px 14px;
}

.rt-about__cta {
    margin-top: clamp(26px, 4vw, 38px);
    border-radius: 16px;
    padding: 22px 22px 24px;
    color: #fff;
    background: linear-gradient(160deg, var(--rt-blue), var(--rt-navy));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rt-about__cta-t {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 17px !important;
    color: #fff !important;
    margin-bottom: 6px !important;
}
.rt-about__phone {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: clamp(22px, 2.6vw, 26px);
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: .01em;
}
.rt-about__cta-sub { color: rgba(255,255,255,.8) !important; font-size: 13px !important; margin-top: 2px !important; }
.rt-about__cta-sub a { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
.rt-about__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rt-about__btn {
    font-family: var(--rt-disp);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    padding: 12px 16px;
    border-radius: 11px;
    text-decoration: none !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.45);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rt-about__btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.rt-about__btn--main { background: #fff; color: var(--rt-navy) !important; border-color: #fff; }
.rt-about__btn--main:hover { background: #eef4fd; }

@media (max-width: 760px) {
    .rt-about__facts { grid-template-columns: repeat(2, 1fr); }
    .rt-about__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
    .rt-about__facts li:nth-child(n+3) { border-top: 1px solid var(--rt-line-2); }
    .rt-about__steps { grid-template-columns: 1fr; }
    .rt-about__perks { grid-template-columns: 1fr 1fr; }
    .rt-about__perks li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
    .rt-about__perks li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rt-line-2); }
    .rt-about__split { grid-template-columns: 1fr; }
    .rt-about__cta { margin-top: 0; }
}
@media (max-width: 440px) {
    .rt-about__perks { grid-template-columns: 1fr; }
    .rt-about__perks li:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- SEO: заголовки, цвет, фильтр (inc/seo.php) ---------- */
.woocommerce div.product .rt-ptitle { line-height: 1.15; }
.rt-ptitle__sku { display: block; }
.rt-ptitle__sub { display: block; margin-top: 6px; font-family: var(--rt-body); font-size: 15px; font-weight: 500; color: var(--rt-mute); line-height: 1.4; }
.woocommerce ul.products li.product .rt-card-sub { margin: -2px 0 6px; font-size: 13px; line-height: 1.35; color: var(--rt-mute); }
.rt-colorfilter { display: flex; align-items: center; gap: 8px; margin: 0; }
.rt-colorfilter label { font-size: 13px; color: var(--rt-mute); }
.rt-colorfilter select { font: inherit; font-size: 14px; padding: 7px 30px 7px 10px; border: 1px solid var(--rt-line); border-radius: 10px; background-color: var(--rt-paper); color: var(--rt-ink); }
.rt-colorfilter__reset { font-size: 13px; color: var(--rt-blue); }
.rt-same-shade { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rt-line); }
.rt-same-shade__t { margin: 0 0 8px; font-size: 13px; color: var(--rt-mute); }
.rt-same-shade ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rt-same-shade a { display: inline-block; padding: 6px 10px; border: 1px solid var(--rt-line); border-radius: 999px; font-size: 13px; color: var(--rt-ink); text-decoration: none; background: var(--rt-paper); }
.rt-same-shade a:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
.rt-same-shade a span { color: var(--rt-mute); }
.rt-term-text { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--rt-line); font-size: 14px; line-height: 1.6; }
.rt-term-text p { margin: 0 0 10px; }

/* Корзина пересчитывается сама (theme.js), кнопка «Обновить корзину» не нужна. */
.rt-autocart .woocommerce-cart-form [name="update_cart"] { display: none !important; }
/* Пересчёт без затемнения всей страницы: прозрачная подложка WooCommerce, спиннер только в строке товара. */
.woocommerce-cart .processing .blockUI.blockOverlay { background: transparent !important; opacity: 1 !important; cursor: progress; }
.woocommerce-cart .processing .blockUI.blockOverlay::before { display: none !important; }
.woocommerce-cart .cart_totals.processing .amount { opacity: .45; transition: opacity .2s; }
.woocommerce-cart tr.rt-updating .product-subtotal { opacity: .45; }
.woocommerce-cart tr.rt-updating .product-quantity { position: relative; }
.woocommerce-cart tr.rt-updating .product-quantity::after {
    content: ""; position: absolute; top: 50%; right: 4px; width: 14px; height: 14px; margin-top: -7px;
    border: 2px solid var(--rt-line); border-top-color: var(--rt-blue); border-radius: 50%;
    animation: rt-spin .7s linear infinite;
}
@keyframes rt-spin { to { transform: rotate(360deg); } }
