

/* Start:/local/templates/ranto/assets/ranto.css?179068283169475*/
:root {
    --ranto-accent: #315ef5;
    --ranto-accent-hover: #2448d8;
    --ranto-accent-soft: #e9eeff;
    --ranto-accent-2: #b7f34a;
    --ranto-surface: #fff;
    --ranto-surface-soft: #f5f7fa;
    --ranto-surface-raised: #fafbfc;
    --ranto-ink: #121826;
    --ranto-muted: #5f6b7a;
    --ranto-muted-2: #667085;
    --ranto-border: #dce1e8;
    --ranto-success: #147a50;
    --ranto-warning: #9a6200;
    --ranto-danger: #c93c3c;
    --ranto-signal: #f04b2f;
    --ranto-focus: #315ef5;
    --ranto-shell: 1320px;
    --ranto-shadow-card: 0 1px 2px rgb(18 24 38 / 6%);
    --ranto-shadow-overlay: 0 20px 50px rgb(18 24 38 / 16%);
    --ranto-radius-xs: 10px;
    --ranto-radius-sm: 12px;
    --ranto-radius-md: 16px;
    --ranto-radius-lg: 24px;
    --ranto-header-offset: 154px;
}

/* Nova-inspired neutral blue visual baseline (kept as soft overrides only). */
:root {
    --ranto-accent: #0057ef;
    --ranto-accent-hover: #004bd6;
    --ranto-accent-soft: #e6f2ff;
    --ranto-surface: #ffffff;
    --ranto-surface-soft: #f5f8fc;
    --ranto-surface-raised: #f7fbff;
    --ranto-ink: #071322;
    --ranto-muted: #53657a;
    --ranto-muted-2: #718199;
    --ranto-border: #dbe5ef;
    --ranto-success: #0b9f66;
    --ranto-warning: #cf7a00;
    --ranto-danger: #d92d4a;
    --ranto-focus: #0057ef;
    --ranto-shell: 1320px;
    --ranto-radius-lg: 26px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body.ranto-page,
.ranto-preview {
    margin: 0;
    color: var(--ranto-ink);
    background: var(--ranto-surface);
    font-family: Inter, Onest, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.ranto-lock {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--ranto-focus);
    outline-offset: 2px;
}

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

.ranto-skip {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: var(--ranto-radius-xs);
    color: #fff;
    background: var(--ranto-ink);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.ranto-skip:focus {
    transform: translateY(0);
}

.ranto-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ranto-sprite symbol > * {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ranto-shell {
    width: min(calc(100% - 64px), var(--ranto-shell));
    margin-inline: auto;
}

.ranto-header {
    position: relative;
    z-index: 600;
    border-bottom: 1px solid var(--ranto-border);
    background: var(--ranto-surface);
}

.ranto-topbar {
    min-height: 36px;
    color: var(--ranto-muted);
    background: var(--ranto-surface-soft);
    font-size: 13px;
}

.ranto-topbar__inner,
.ranto-topbar__links,
.ranto-topbar__contacts {
    display: flex;
    align-items: center;
}

.ranto-topbar__inner {
    min-height: 36px;
    gap: 28px;
}

.ranto-topbar__promise {
    margin-right: auto;
}

.ranto-topbar__links {
    gap: 18px;
}

.ranto-topbar__contacts {
    gap: 20px;
}

.ranto-topbar a:hover {
    color: var(--ranto-ink);
}

.ranto-header__main-slot {
    min-height: 76px;
    background: var(--ranto-surface);
}

.ranto-header__main {
    display: grid;
    min-height: 76px;
    grid-template-columns: auto auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 16px;
    transition: min-height 180ms ease, opacity 180ms ease;
}

.ranto-header.is-main-fixed .ranto-header__main {
    position: fixed;
    z-index: 610;
    top: 0;
    right: 0;
    left: 0;
    min-height: 64px;
    border-bottom: 1px solid var(--ranto-border);
    background: color-mix(in srgb, var(--ranto-surface) 97%, transparent);
    box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--ranto-surface) 97%, transparent);
    clip-path: inset(0 -100vmax);
    backdrop-filter: blur(16px);
}

.ranto-header.is-main-fixed .ranto-mega {
    position: fixed;
    top: 64px;
}

.ranto-header__burger {
    display: none !important;
}

.ranto-logo {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 10px;
    border-radius: var(--ranto-radius-xs);
    font-weight: 760;
    letter-spacing: -.03em;
}

.ranto-logo__mark {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 13px 13px 6px 13px;
    color: #fff;
    background: var(--ranto-accent);
    box-shadow: inset -8px -8px 18px rgb(0 0 0 / 10%);
    place-items: center;
    font-size: 20px;
    transform: rotate(-5deg);
}

.ranto-logo__mark::after {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--ranto-surface);
    border-radius: 50%;
    background: var(--ranto-signal);
    content: "";
}

.ranto-logo__word {
    font-size: 24px;
}

.ranto-logo__image {
    display: block;
    width: auto;
    max-width: min(360px, var(--ranto-logo-width, 15vw));
    height: 44px;
    object-fit: contain;
}

.ranto-logo__image--mobile {
    display: none;
}

.ranto-catalog-trigger,
.ranto-primary-button,
.ranto-secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: var(--ranto-radius-sm);
    cursor: pointer;
    font-weight: 680;
    transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.ranto-catalog-trigger,
.ranto-primary-button {
    padding: 0 20px;
    color: #fff;
    background: var(--ranto-accent);
}

.ranto-catalog-trigger:hover,
.ranto-primary-button:hover {
    background: var(--ranto-accent-hover);
}

.ranto-catalog-trigger:active,
.ranto-primary-button:active,
.ranto-secondary-button:active {
    transform: translateY(1px);
}

.ranto-catalog-trigger svg,
.ranto-actions svg,
.ranto-header__mobile-cart svg,
.ranto-icon-button svg,
.ranto-search svg,
.ranto-drawer__search svg,
.ranto-mobile-bar svg,
.ranto-menu svg,
.ranto-mega svg,
.ranto-mobile-menu svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ranto-search {
    display: grid;
    height: 48px;
    grid-template-columns: 1fr 48px;
    overflow: hidden;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-sm);
    background: var(--ranto-surface-raised);
    transition: border 120ms ease, box-shadow 120ms ease;
}

.ranto-search:focus-within {
    border-color: var(--ranto-accent);
    box-shadow: 0 0 0 4px var(--ranto-accent-soft);
}

.ranto-drawer__search:focus-within {
    border-color: var(--ranto-accent);
    box-shadow: 0 0 0 4px var(--ranto-accent-soft);
}

.ranto-search input,
.ranto-drawer__search input {
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
}

.ranto-search input::placeholder,
.ranto-drawer__search input::placeholder {
    color: var(--ranto-muted-2);
}

.ranto-search button,
.ranto-drawer__search button {
    display: grid;
    border: 0;
    cursor: pointer;
    background: transparent;
    place-items: center;
}

.ranto-search button:hover,
.ranto-drawer__search button:hover {
    color: var(--ranto-accent);
}

.ranto-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ranto-header__mobile-cart {
    display: none;
}

.ranto-actions a {
    position: relative;
    display: flex;
    min-width: 64px;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: var(--ranto-radius-xs);
    color: var(--ranto-muted);
    font-size: 12px;
    transition: color 120ms ease, background 120ms ease;
}

.ranto-actions a:hover {
    color: var(--ranto-ink);
    background: var(--ranto-surface-soft);
}

.ranto-actions b {
    position: absolute;
    top: 3px;
    right: 7px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid var(--ranto-surface);
    border-radius: 99px;
    color: #fff;
    background: var(--ranto-signal);
    place-items: center;
    font-size: 10px;
}

.ranto-mobile-bar a {
    position: relative;
}

.ranto-mobile-bar [data-ranto-favorite-count] {
    position: absolute;
    top: 2px;
    left: calc(50% + 5px);
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid var(--ranto-surface);
    border-radius: 99px;
    color: #fff;
    background: var(--ranto-signal);
    place-items: center;
    font-size: 9px;
    line-height: 1;
}

.ranto-header__nav {
    border-top: 1px solid var(--ranto-border);
}

.ranto-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ranto-menu--desktop {
    display: flex;
    min-height: 41px;
    align-items: center;
    gap: 28px;
}

.ranto-menu__item {
    position: relative;
}

.ranto-menu__item > a {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ranto-menu--desktop > .ranto-menu__item > a {
    min-height: 41px;
    color: var(--ranto-muted);
    font-size: 14px;
    font-weight: 580;
}

.ranto-menu--desktop > .ranto-menu__item > a:hover,
.ranto-menu--desktop > .ranto-menu__item.is-active > a {
    color: var(--ranto-accent);
}

.ranto-menu__item > a > svg {
    width: 15px;
    height: 15px;
}

.ranto-menu__children {
    position: absolute;
    z-index: 20;
    top: calc(100% - 2px);
    left: -16px;
    display: none;
    min-width: 240px;
    padding: 10px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-md);
    background: var(--ranto-surface);
    box-shadow: none;
    list-style: none;
}

.ranto-menu__item:hover > .ranto-menu__children,
.ranto-menu__item:focus-within > .ranto-menu__children {
    display: block;
}

.ranto-menu__children .ranto-menu__item > a {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 9px;
    justify-content: space-between;
}

.ranto-menu__children .ranto-menu__item > a:hover {
    background: var(--ranto-surface-soft);
}

.ranto-menu__children .ranto-menu__children {
    top: -10px;
    left: calc(100% - 2px);
}

.ranto-mega {
    position: absolute;
    z-index: 590;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px 0 32px;
    opacity: 0;
    background: transparent;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 280ms cubic-bezier(.22, 1, .36, 1), transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.ranto-mega.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ranto-mega__surface {
    max-height: calc(100vh - var(--ranto-header-offset));
    padding: 24px;
    overflow: auto;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-lg);
    background: var(--ranto-surface);
    box-shadow: none;
}

.ranto-mega__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ranto-border);
}

.ranto-mega__head strong {
    font-size: 24px;
}

.ranto-mega__head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ranto-accent);
    font-weight: 650;
}

.ranto-mega .ranto-menu--desktop {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 24px 32px;
}

.ranto-mega .ranto-menu--desktop > .ranto-menu__item > a {
    min-height: 48px;
    color: var(--ranto-ink);
    font-size: 16px;
    font-weight: 700;
}

.ranto-mega .ranto-menu__item > a img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    object-fit: contain;
}

.ranto-mega .ranto-menu--desktop > .ranto-menu__item > .ranto-menu__children {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 46px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.ranto-mega .ranto-menu__children .ranto-menu__item > a {
    min-height: 34px;
    padding: 4px 0;
    color: var(--ranto-muted);
    justify-content: flex-start;
    font-size: 14px;
}

.ranto-mega .ranto-menu__children .ranto-menu__item > a:hover {
    color: var(--ranto-accent);
    background: transparent;
}

.ranto-mega .ranto-menu__children .ranto-menu__children {
    position: static;
    display: block;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
}

.ranto-icon-button {
    display: inline-grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: var(--ranto-radius-xs);
    cursor: pointer;
    background: transparent;
    place-items: center;
}

.ranto-icon-button:hover {
    background: var(--ranto-surface-soft);
}

.ranto-drawer,
.ranto-mobile-bar {
    display: none;
}

.ranto-main {
    min-height: 55vh;
}

.ranto-breadcrumbs {
    display: flex;
    padding: 0;
    margin: 0 0 20px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ranto-muted-2);
    list-style: none;
    font-size: 13px;
}

.ranto-breadcrumbs li:not(:last-child)::after {
    margin-left: 8px;
    content: "/";
}

.ranto-hero {
    display: grid;
    min-height: 480px;
    padding: 54px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 38%, rgb(183 243 74 / 85%) 0 12%, transparent 13%),
        radial-gradient(circle at 88% 78%, rgb(255 255 255 / 17%) 0 17%, transparent 18%),
        linear-gradient(125deg, #142147 0%, #2546c6 54%, #315ef5 100%);
    grid-template-columns: minmax(0, 650px) 1fr;
    align-items: center;
}

.ranto-hero__eyebrow {
    display: inline-flex;
    width: max-content;
    padding: 8px 12px;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
    font-size: 13px;
    font-weight: 650;
}

.ranto-hero h1 {
    max-width: 760px;
    margin: 20px 0 18px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.ranto-hero p {
    max-width: 600px;
    margin: 0 0 28px;
    color: rgb(255 255 255 / 76%);
    font-size: 18px;
}

.ranto-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ranto-hero .ranto-primary-button {
    color: #fff;
    background: var(--ranto-accent);
    border-color: var(--ranto-accent);
}

.ranto-secondary-button {
    padding: 0 20px;
    border: 1px solid var(--ranto-border);
    background: var(--ranto-surface);
}

.ranto-hero .ranto-secondary-button {
    border-color: rgb(255 255 255 / 30%);
    color: #fff;
    background: rgb(255 255 255 / 8%);
}

.ranto-hero--slider {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
}

.ranto-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #213a9a;
    isolation: isolate;
}

.ranto-hero--full {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

.ranto-hero--full .ranto-hero-slider {
    border-radius: 0;
}

.ranto-theme--novastore .ranto-hero--full,
.ranto-theme--novastore .ranto-hero--full .ranto-hero-slider {
    border-radius: 0;
}

.ranto-hero-slide {
    position: relative;
    display: grid;
    height: 480px;
    padding: 54px 54px 86px;
    overflow: hidden;
    color: var(--ranto-hero-slide-text, #fff);
    background:
        radial-gradient(circle at 70% 28%, rgb(255 255 255 / 15%) 0 12%, transparent 13%),
        linear-gradient(125deg, #142147 0%, var(--ranto-hero-slide-bg, #213a9a) 100%);
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    align-items: center;
    gap: 42px;
    animation: ranto-hero-enter 320ms ease both;
}

.ranto-hero-slide--contained_image,
.ranto-hero-slide--full_image {
    display: block;
    padding: 0;
}

.ranto-hero-slide--contained_image .ranto-hero-slide__copy,
.ranto-hero-slide--full_image .ranto-hero-slide__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.ranto-hero-slide--contained_image .ranto-hero-slide__visual,
.ranto-hero-slide--full_image .ranto-hero-slide__visual {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ranto-hero-slide--contained_image .ranto-hero-slide__visual::after,
.ranto-hero-slide--full_image .ranto-hero-slide__visual::after {
    display: none;
}

.ranto-hero-slide[hidden] {
    display: none;
}

.ranto-hero-slide__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.ranto-hero-slide__edit {
    position: absolute;
    z-index: 6;
    top: 12px;
    right: 12px;
    padding: 7px 11px;
    border-radius: 8px;
    color: #fff;
    background: rgb(8 20 52 / 75%);
    font-size: 12px;
}

.ranto-hero-slide__copy p {
    color: currentColor;
    opacity: .78;
}

.ranto-hero-slide__copy .ranto-secondary-button {
    border-color: currentColor;
    color: currentColor;
}

.ranto-hero-slide__visual {
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 26px 26px 8px 26px;
    background: rgb(255 255 255 / 10%);
    box-shadow: 0 28px 80px rgb(3 12 44 / 28%);
}

.ranto-hero-slide__visual::after {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ranto-signal);
    box-shadow: 0 0 0 8px rgb(255 255 255 / 12%);
    content: "";
}

.ranto-hero-slide__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranto-hero-slide__visual > span {
    position: absolute;
    right: 24px;
    bottom: -22px;
    color: rgb(255 255 255 / 16%);
    font-size: clamp(150px, 18vw, 250px);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.1em;
}

.ranto-hero-slider__controls {
    position: absolute;
    z-index: 5;
    right: 54px;
    bottom: 28px;
    left: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.ranto-hero-slider__arrows,
.ranto-hero-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.ranto-hero-slider__arrows button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    background: rgb(8 20 52 / 32%);
    backdrop-filter: blur(10px);
    place-items: center;
}

.ranto-hero-slider__arrows button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-1px);
}

.ranto-hero-slider__dots button {
    width: 20px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgb(255 255 255 / 38%);
    transition: width 180ms ease, background-color 180ms ease;
}

.ranto-hero-slider__dots button.is-active {
    width: 42px;
    background: var(--ranto-accent-2);
}

@keyframes ranto-hero-enter {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.ranto-section--soft {
    background: var(--ranto-surface-soft);
}

/* Страницы с хлебными крошками начинаются сразу под шапкой:
   полные 64px сверху отрывают крошки от неё. */
.ranto-section--compact {
    padding-top: 24px;
}

.ranto-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.ranto-section__head h1,
.ranto-section__head h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.ranto-section__head p {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--ranto-muted);
}

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

.ranto-category-card {
    display: flex;
    min-height: 104px;
    padding: 16px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-md);
    background: var(--ranto-surface);
    box-shadow: var(--ranto-shadow-card);
    font-weight: 650;
    transition: border 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.ranto-category-card:hover {
    border-color: var(--ranto-accent);
    box-shadow: 0 8px 22px rgb(18 24 38 / 8%);
    transform: translateY(-2px);
}

.ranto-category-card__icon,
.ranto-mobile-menu__fallback,
.ranto-demo-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    color: var(--ranto-accent-hover);
    background: var(--ranto-accent-soft);
    place-items: center;
    font-weight: 760;
}

.ranto-catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.ranto-filter {
    position: sticky;
    top: 84px;
    padding: 22px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-lg);
    background: var(--ranto-surface);
}

.ranto-filter-drawer__backdrop,
.ranto-filter-drawer__head {
    display: none;
}

.ranto-filter__result {
    padding: 12px 0 0;
    color: var(--ranto-muted);
    font-size: 13px;
}

.ranto-filter__result a {
    margin-left: 6px;
    color: var(--ranto-accent);
    font-weight: 700;
}

.ranto-filter__head,
.ranto-toolbar,
.ranto-filter__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ranto-filter__head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ranto-border);
}

.ranto-filter__head h2 {
    margin: 0;
    font-size: 20px;
}

.ranto-filter__head button,
.ranto-filter__actions button:not(.ranto-primary-button),
.ranto-link-button {
    padding: 0;
    border: 0;
    color: var(--ranto-accent);
    cursor: pointer;
    background: transparent;
    font-weight: 620;
}

.ranto-filter details {
    border-bottom: 1px solid var(--ranto-border);
}

.ranto-filter summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
}

.ranto-filter summary::-webkit-details-marker {
    display: none;
}

.ranto-filter summary::after {
    color: var(--ranto-muted-2);
    content: "+";
    font-size: 20px;
}

.ranto-filter details[open] summary::after {
    content: "−";
}

.ranto-filter__body {
    display: grid;
    padding: 0 0 18px;
    gap: 10px;
}

.ranto-filter label {
    display: grid;
    min-height: 32px;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 8px;
    color: var(--ranto-muted);
}

.ranto-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ranto-accent);
}

.ranto-filter label small {
    color: var(--ranto-muted-2);
}

.ranto-filter__range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ranto-filter__range input,
.ranto-filter__search {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-xs);
    outline: 0;
}

.ranto-filter__range input:focus-visible,
.ranto-filter__search:focus-visible {
    border-color: var(--ranto-accent);
    outline: 3px solid var(--ranto-focus);
    outline-offset: 2px;
}

.ranto-filter__actions {
    padding-top: 18px;
}

.ranto-toolbar {
    min-height: 48px;
    margin-bottom: 18px;
}

.ranto-toolbar__chips,
.ranto-toolbar__controls,
.ranto-selected-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ranto-chip {
    display: inline-flex;
    min-height: 36px;
    padding: 0 13px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ranto-border);
    border-radius: 999px;
    color: var(--ranto-muted);
    background: var(--ranto-surface);
    font-size: 13px;
    font-weight: 600;
}

.ranto-chip.is-selected {
    border-color: var(--ranto-accent);
    color: var(--ranto-accent-hover);
    background: var(--ranto-accent-soft);
}

.ranto-toolbar select {
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-xs);
    background: var(--ranto-surface);
}

.ranto-mobile-filter-trigger {
    display: none;
}

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

.ranto-product-grid--list {
    grid-template-columns: 1fr;
}

.ranto-product-grid--list .ranto-product-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 18px;
}

.ranto-product-grid--list .ranto-product-card__media {
    height: 100%;
    min-height: 210px;
    aspect-ratio: auto;
}

.ranto-product-grid--list .ranto-product-card__body {
    padding: 10px 8px 8px 0;
}

.ranto-product-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 10px;
}

.ranto-product-grid--compact .ranto-product-card {
    padding: 9px;
    border-radius: 14px;
}

.ranto-product-grid--compact .ranto-product-card__body {
    padding-top: 10px;
}

.ranto-product-grid--compact .ranto-product-card__title {
    min-height: 42px;
    margin-bottom: 8px;
    font-size: 14px;
}

.ranto-product-grid--compact .ranto-product-card__price strong {
    font-size: 17px;
}

.ranto-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 12px;
    flex-direction: column;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-md);
    background: var(--ranto-surface);
    box-shadow: var(--ranto-shadow-card);
    transition: border 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.ranto-product-card:hover {
    border-color: #c8ced8;
    box-shadow: 0 12px 30px rgb(18 24 38 / 10%);
    transform: translateY(-2px);
}

.ranto-product-card__media {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--product-color, #e9eeff), #fff);
    place-items: center;
}

.ranto-product-card__media::before {
    width: 55%;
    border: 10px solid rgb(255 255 255 / 70%);
    border-radius: 36% 44% 38% 42%;
    box-shadow: 0 22px 30px rgb(49 94 245 / 14%);
    content: "";
    aspect-ratio: .82;
    transform: rotate(8deg);
}

.ranto-product-card__media--has-image::before {
    display: none;
}

.ranto-product-card__media--has-image .ranto-product-card__image {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.035);
    transform-origin: center;
    transition: opacity 220ms ease, transform 280ms ease;
}

.ranto-product-card__media--has-image .ranto-product-card__image.is-active {
    z-index: 1;
    opacity: 1;
}

.ranto-product-card__gallery-dots {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.ranto-product-card__gallery-dots i {
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: rgb(18 24 38 / 28%);
    box-shadow: 0 0 0 1px rgb(255 255 255 / 42%);
    transition: width 180ms ease, background-color 180ms ease;
}

.ranto-product-card__gallery-dots i.is-active {
    width: 28px;
    background: var(--ranto-accent);
}

.ranto-product-card__badges {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ranto-badge {
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--ranto-ink);
    background: var(--ranto-accent-2);
    font-size: 11px;
    font-weight: 750;
}

.ranto-badge--sale {
    color: #fff;
    background: var(--ranto-danger);
}

.ranto-product-card__favorite {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 10px;
    display: grid;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 0;
    color: var(--ranto-ink);
    cursor: pointer;
    background: transparent;
    place-items: center;
}

.ranto-product-card__favorite svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.ranto-product-card__favorite.is-active,
.ranto-product-card__favorite[aria-pressed="true"] {
    color: var(--ranto-danger);
    background: transparent;
}

.ranto-product-card__favorite.is-active svg,
.ranto-product-card__favorite[aria-pressed="true"] svg {
    fill: currentColor;
}

.ranto-favorites-loading {
    padding: 22px 0;
    color: var(--ranto-muted);
}

.ranto-drawer .ranto-logo__image {
    max-width: var(--ranto-logo-mobile-width, 150px);
}

.ranto-product-card__body {
    display: flex;
    padding: 14px 4px 4px;
    flex: 1;
    flex-direction: column;
}

.ranto-product-card__meta {
    display: flex;
    min-height: 22px;
    align-items: center;
    gap: 8px;
    color: var(--ranto-muted-2);
    font-size: 12px;
}

.ranto-product-card__rating {
    color: var(--ranto-warning);
    font-weight: 700;
}

.ranto-product-card__title {
    display: -webkit-box;
    min-height: 48px;
    margin: 7px 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 650;
}

.ranto-product-card__delivery {
    margin-bottom: 10px;
    color: var(--ranto-success);
    font-size: 13px;
    font-weight: 620;
}

.ranto-product-card__price {
    display: flex;
    min-height: 28px;
    margin-top: auto;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
}

.ranto-product-card__price strong {
    font-size: 20px;
    letter-spacing: -.02em;
}

.ranto-product-card__price del {
    color: var(--ranto-muted-2);
    font-size: 13px;
}

.ranto-product-card__buy {
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
}

.ranto-product-card__quick {
    width: 100%;
    margin-top: 7px;
    padding: 7px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ranto-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.ranto-product-card__quick span { margin-left: 4px; }
.ranto-product-card:hover .ranto-product-card__quick,
.ranto-product-card:focus-within .ranto-product-card__quick { opacity: 1; transform: none; }
.ranto-product-card__quick:hover { background: var(--ranto-accent-soft); }
@media (hover: none) { .ranto-product-card__quick { opacity: 1; transform: none; } }

body.ranto-lead-open { overflow: hidden; }
.ranto-lead-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 18px; }
.ranto-lead-modal__backdrop { position: absolute; inset: 0; background: rgb(7 19 34 / 67%); backdrop-filter: blur(5px); }
.ranto-lead-modal__panel { position: relative; width: min(100%, 520px); max-height: min(90vh, 820px); overflow-y: auto; padding: clamp(24px, 5vw, 36px); border: 1px solid var(--ranto-border); border-radius: 26px; background: #fff; box-shadow: 0 28px 80px rgb(7 19 34 / 26%); }
.ranto-lead-modal[data-ranto-lead-modal="quick"] .ranto-lead-modal__panel { padding-top: 27px; padding-bottom: 27px; }
.ranto-lead-modal[data-ranto-lead-modal="quick"] .ranto-lead-form { gap: 10px; }
.ranto-lead-modal[data-ranto-lead-modal="quick"] .ranto-lead-form__field textarea { min-height: 62px; }
.ranto-lead-modal__close { position: absolute; top: 15px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ranto-surface-soft); color: var(--ranto-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.ranto-lead-modal__eyebrow { color: var(--ranto-accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ranto-lead-modal__admin { display: inline-block; margin: -7px 0 14px; color: var(--ranto-accent); font-size: 12px; font-weight: 700; }
.ranto-lead-modal h2 { margin: 5px 0 6px; font-size: clamp(26px, 5vw, 34px); line-height: 1.14; letter-spacing: -.04em; }
.ranto-lead-modal p { margin: 0 0 18px; color: var(--ranto-muted); }
.ranto-lead-modal__product { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--ranto-accent-soft); color: var(--ranto-ink); font-weight: 700; }
.ranto-lead-form { display: grid; gap: 13px; }
.ranto-lead-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ranto-lead-form__field { display: grid; gap: 6px; color: var(--ranto-ink); font-size: 13px; font-weight: 700; }
.ranto-lead-form__field b { color: var(--ranto-signal); }
.ranto-lead-form__field input, .ranto-lead-form__field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--ranto-border); border-radius: 12px; background: var(--ranto-surface-raised); font-size: 16px; font-weight: 450; outline: none; }
.ranto-lead-form__field textarea { min-height: 92px; resize: vertical; }
.ranto-lead-form__field input:focus, .ranto-lead-form__field textarea:focus { border-color: var(--ranto-accent); box-shadow: 0 0 0 3px var(--ranto-accent-soft); }
.ranto-lead-form__consent { display: flex; gap: 9px; align-items: flex-start; color: var(--ranto-muted); font-size: 12px; line-height: 1.45; }
.ranto-lead-form__consent input { margin-top: 2px; accent-color: var(--ranto-accent); }
.ranto-lead-form__consent a { color: var(--ranto-accent); text-decoration: underline; }
.ranto-lead-form__status { padding: 12px 14px; border-radius: 12px; background: #e7f7ef; color: var(--ranto-success); font-size: 14px; font-weight: 650; }
.ranto-lead-form__status.is-error { background: #fff0f1; color: var(--ranto-danger); }
.ranto-lead-form__submit { width: 100%; min-height: 48px; }
.ranto-lead-form__submit[aria-busy="true"] { opacity: .65; cursor: wait; }
.ranto-footer__feedback { width: fit-content; padding: 0; border: 0; background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ranto-detail__quick { border-color: var(--ranto-accent); color: var(--ranto-accent); }
@media (max-width: 560px) { .ranto-lead-modal { padding: 8px; } .ranto-lead-modal__panel { max-height: calc(100dvh - 16px); padding: 26px 20px; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .ranto-product-card__quick { transition: none; } }

[data-ranto-add-to-basket] button[aria-busy="true"] {
    cursor: wait;
    opacity: .78;
}

[data-ranto-add-to-basket] button.is-success {
    color: #fff;
    background: var(--ranto-success);
}

.ranto-toast-region {
    position: fixed;
    z-index: 10020;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: grid;
    width: min(390px, calc(100vw - 40px));
    gap: 10px;
    pointer-events: none;
}

.ranto-toast {
    display: flex;
    padding: 14px 16px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: var(--ranto-radius-sm);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    background: var(--ranto-ink);
    box-shadow: 0 18px 46px rgb(18 24 38 / 24%);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.ranto-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ranto-toast.is-error {
    background: #9f1d2c;
}

.ranto-toast a {
    flex: 0 0 auto;
    color: var(--ranto-accent-2);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.ranto-trust-card {
    padding: 24px;
    border-radius: var(--ranto-radius-md);
    background: var(--ranto-surface-soft);
}

.ranto-trust-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 18px;
}

.ranto-trust-card span {
    color: var(--ranto-muted);
    font-size: 14px;
}

.ranto-footer {
    padding: 60px 0 20px;
    color: #fff;
    background: var(--ranto-ink);
}

.ranto-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 48px;
}

.ranto-footer .ranto-logo__mark {
    color: var(--ranto-ink);
    background: var(--ranto-accent-2);
}

.ranto-footer__brand p {
    max-width: 340px;
    color: rgb(255 255 255 / 62%);
}

.ranto-footer__brand > a:not(.ranto-logo) {
    display: block;
    width: max-content;
    margin-top: 7px;
}

.ranto-footer section h2 {
    margin: 0 0 16px;
    color: rgb(255 255 255 / 52%);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ranto-footer .ranto-mobile-menu__trail,
.ranto-footer .ranto-mobile-menu__fallback,
.ranto-footer .ranto-mobile-menu__item > button,
.ranto-footer .ranto-mobile-menu__level .ranto-mobile-menu__level {
    display: none !important;
}

.ranto-footer .ranto-mobile-menu {
    padding: 0;
    overflow: visible;
}

.ranto-footer .ranto-mobile-menu__item {
    display: block;
    min-height: 0;
    border: 0;
}

.ranto-footer .ranto-mobile-menu__level,
.ranto-footer__links {
    display: grid;
    padding: 0;
    margin: 0;
    gap: 10px;
    list-style: none;
}

.ranto-footer .ranto-mobile-menu__item > a,
.ranto-footer__links a,
.ranto-footer__links button {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    color: rgb(255 255 255 / 72%);
    cursor: pointer;
    background: transparent;
    font-size: 14px;
}

.ranto-footer .ranto-mobile-menu__item > a:hover,
.ranto-footer__links a:hover,
.ranto-footer__links button:hover {
    color: #fff;
}

.ranto-footer a:focus-visible,
.ranto-footer button:focus-visible {
    outline-color: var(--ranto-accent-2);
}

.ranto-footer__bottom {
    display: flex;
    padding-top: 22px;
    margin-top: 48px;
    border-top: 1px solid rgb(255 255 255 / 12%);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: rgb(255 255 255 / 46%);
    font-size: 12px;
}

.ranto-footer__developer {
    color: rgb(255 255 255 / 74%);
    white-space: nowrap;
}

.ranto-footer__developer strong {
    color: #fff;
    font-weight: 760;
}

.ranto-footer__developer:hover {
    color: var(--ranto-accent-2);
}

@media (max-width: 1279px) {
    .ranto-shell {
        width: min(calc(100% - 48px), var(--ranto-shell));
    }

    .ranto-header__main {
        grid-template-columns: auto auto minmax(230px, 1fr) auto;
    }

    .ranto-actions a {
        min-width: 52px;
    }

    .ranto-actions a > span {
        display: none;
    }

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

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

@media (max-width: 1023px) {
    :root {
        --ranto-header-offset: 64px;
    }

    .ranto-shell {
        width: min(calc(100% - 32px), var(--ranto-shell));
    }

    .ranto-topbar,
    .ranto-header__nav,
    .ranto-catalog-trigger,
    .ranto-actions,
    .ranto-header__main > .ranto-search,
    .ranto-mega {
        display: none !important;
    }

    .ranto-header__main {
        display: grid;
        min-height: 64px;
        grid-template-columns: 48px 1fr 48px;
        gap: 8px;
    }

    .ranto-header__main-slot {
        min-height: 64px;
    }

    .ranto-header__burger {
        display: inline-grid !important;
    }

    .ranto-header__main > .ranto-logo {
        justify-self: center;
    }

    .ranto-header__mobile-cart {
        position: relative;
        display: inline-grid;
        width: 48px;
        height: 48px;
        border-radius: var(--ranto-radius-xs);
        align-items: center;
        justify-self: end;
        color: var(--ranto-muted);
        place-items: center;
    }

    .ranto-header__mobile-cart:hover {
        color: var(--ranto-accent);
        background: var(--ranto-surface-soft);
    }

    .ranto-header__mobile-cart b {
        position: absolute;
        top: 2px;
        right: 1px;
        display: grid;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border: 2px solid var(--ranto-surface);
        border-radius: 99px;
        color: #fff;
        background: var(--ranto-signal);
        place-items: center;
        font-size: 10px;
    }

    .ranto-logo__word {
        font-size: 21px;
    }

    .ranto-logo__mark {
        width: 34px;
        height: 34px;
        border-radius: 11px 11px 5px 11px;
        font-size: 18px;
    }

    .ranto-logo__image--desktop {
        display: none;
    }

    .ranto-logo__image--mobile {
        display: block;
        max-width: min(240px, var(--ranto-logo-mobile-width, 38vw));
        height: 38px;
    }

    .ranto-drawer {
        position: fixed;
        z-index: 900;
        inset: 0;
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .ranto-drawer.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .ranto-drawer__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        border: 0;
        background: rgb(18 24 38 / 48%);
    }

    .ranto-drawer__panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(100%, 520px);
        overflow: hidden auto;
        background: var(--ranto-surface);
        box-shadow: var(--ranto-shadow-overlay);
        transform: translateX(-100%);
        transition: transform 220ms ease;
    }

    .ranto-drawer.is-open .ranto-drawer__panel {
        transform: translateX(0);
    }

    .ranto-drawer__head {
        position: sticky;
        z-index: 3;
        top: 0;
        display: flex;
        min-height: 68px;
        padding: 0 16px;
        border-bottom: 1px solid var(--ranto-border);
        align-items: center;
        justify-content: space-between;
        background: color-mix(in srgb, var(--ranto-surface) 96%, transparent);
        backdrop-filter: blur(16px);
    }

    .ranto-drawer__search {
        display: grid;
        height: 48px;
        margin: 16px;
        grid-template-columns: 1fr 48px;
        overflow: hidden;
        border: 1px solid var(--ranto-border);
        border-radius: var(--ranto-radius-sm);
        background: var(--ranto-surface-soft);
    }

    .ranto-mobile-menu {
        position: relative;
        padding: 0 16px 16px;
        overflow: hidden;
    }

    .ranto-mobile-menu__trail {
        display: flex;
        min-height: 48px;
        align-items: center;
        gap: 12px;
    }

    .ranto-mobile-menu__trail button {
        display: inline-flex;
        min-height: 40px;
        padding: 0 8px 0 0;
        border: 0;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        background: transparent;
    }

    .ranto-mobile-menu__trail button svg {
        width: 18px;
        transform: rotate(180deg);
    }

    .ranto-mobile-menu__trail strong {
        font-size: 18px;
    }

    .ranto-mobile-menu__level {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .ranto-mobile-menu__level .ranto-mobile-menu__level {
        position: absolute;
        z-index: 2;
        top: 48px;
        left: 100%;
        display: none;
        width: 100%;
        min-height: calc(100vh - 196px);
        padding: 0 16px 24px;
        background: var(--ranto-surface);
        transform: translateX(12%);
        transition: transform 180ms ease;
    }

    .ranto-mobile-menu__level.is-current {
        left: 0;
        display: block;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .ranto-mobile-menu__level.is-ancestor {
        left: 0;
        display: block;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(0);
    }

    .ranto-mobile-menu.has-active-level .ranto-mobile-menu__level:not(.is-current) {
        visibility: hidden;
        pointer-events: none;
    }

    .ranto-mobile-menu__item {
        position: static;
        display: grid;
        min-height: 60px;
        border-bottom: 1px solid var(--ranto-border);
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: center;
    }

    .ranto-mobile-menu__item > a {
        display: flex;
        min-width: 0;
        min-height: 59px;
        align-items: center;
        gap: 12px;
        font-weight: 620;
    }

    .ranto-mobile-menu__item > a > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ranto-mobile-menu__fallback {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
        font-size: 14px;
    }

    .ranto-mobile-menu__item > a > img {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border-radius: 11px;
        object-fit: contain;
    }

    .ranto-mobile-menu__item > button {
        display: grid;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 10px;
        cursor: pointer;
        background: transparent;
        place-items: center;
    }

    .ranto-mobile-menu__item > button:hover {
        color: var(--ranto-accent);
        background: var(--ranto-accent-soft);
    }

    .ranto-drawer__secondary {
        padding: 16px 16px 96px;
        border-top: 8px solid var(--ranto-surface-soft);
    }

    .ranto-mobile-bar {
        position: fixed;
        z-index: 650;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: calc(66px + env(safe-area-inset-bottom));
        padding: 6px 8px env(safe-area-inset-bottom);
        border-top: 1px solid var(--ranto-border);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        background: color-mix(in srgb, var(--ranto-surface) 96%, transparent);
        box-shadow: 0 -8px 24px rgb(18 24 38 / 7%);
        backdrop-filter: blur(18px);
    }

    .ranto-lock .ranto-mobile-bar {
        display: none;
    }

    .ranto-mobile-bar a {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        border-radius: 9px;
        color: var(--ranto-muted);
        font-size: 10px;
    }

    .ranto-mobile-bar a.is-active {
        color: var(--ranto-accent);
    }

    .ranto-mobile-bar svg {
        width: 21px;
        height: 21px;
    }

    .ranto-action-mobile-cart {
        display: none !important;
    }

    .ranto-main {
        padding-bottom: 66px;
    }

    .ranto-hero {
        min-height: 430px;
        padding: 40px;
        grid-template-columns: 1fr;
    }

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

    .ranto-catalog-layout {
        grid-template-columns: 1fr;
    }

    body.ranto-filter-lock {
        overflow: hidden;
    }

    .ranto-filter-drawer {
        position: fixed;
        z-index: 920;
        inset: 0;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 0s linear 180ms;
    }

    .ranto-filter-drawer.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .ranto-filter-drawer__backdrop {
        position: absolute;
        display: block;
        inset: 0;
        width: 100%;
        border: 0;
        background: rgb(18 24 38 / 48%);
    }

    .ranto-filter-drawer__panel {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(100%, 440px);
        overflow: hidden auto;
        background: var(--ranto-surface);
        box-shadow: var(--ranto-shadow-overlay);
        transform: translateX(100%);
        transition: transform 180ms ease;
    }

    .ranto-filter-drawer.is-open .ranto-filter-drawer__panel {
        transform: translateX(0);
    }

    .ranto-filter-drawer__head {
        position: sticky;
        z-index: 2;
        top: 0;
        display: flex;
        min-height: 64px;
        padding: 0 16px;
        border-bottom: 1px solid var(--ranto-border);
        align-items: center;
        justify-content: space-between;
        background: var(--ranto-surface);
    }

    .ranto-filter-drawer__head strong {
        font-size: 20px;
    }

    .ranto-filter-drawer__head .ranto-icon-button {
        font-size: 28px;
    }

    .ranto-filter-drawer .ranto-filter {
        position: static;
        display: block;
        padding: 16px;
        border: 0;
        border-radius: 0;
    }

    .ranto-mobile-filter-trigger {
        display: inline-flex;
    }

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

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

    .ranto-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .ranto-footer__grid section:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 767px) {
    .ranto-shell {
        width: min(calc(100% - 32px), var(--ranto-shell));
    }

    .ranto-hero {
        min-height: 450px;
        padding: 28px 22px;
        margin-top: 16px;
        border-radius: var(--ranto-radius-lg);
        align-items: end;
    }

    .ranto-hero h1 {
        margin: 16px 0 14px;
        font-size: clamp(34px, 11vw, 48px);
    }

    .ranto-hero p {
        font-size: 16px;
    }

    .ranto-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ranto-section {
        padding: 44px 0;
    }

    .ranto-section--compact {
        padding-top: 16px;
    }

    .ranto-section__head {
        display: block;
        margin-bottom: 22px;
    }

    .ranto-section__head h1,
    .ranto-section__head h2 {
        font-size: 29px;
    }

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

    .ranto-category-card {
        min-height: 92px;
        padding: 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        font-size: 13px;
    }

    .ranto-category-card__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
    }

    .ranto-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranto-toolbar__chips {
        width: calc(100vw - 16px);
        padding-right: 16px;
        flex-wrap: nowrap;
        overflow: auto;
        scrollbar-width: none;
    }

    .ranto-toolbar__chips::-webkit-scrollbar {
        display: none;
    }

    .ranto-toolbar__controls {
        width: 100%;
    }

    .ranto-toolbar select,
    .ranto-mobile-filter-trigger {
        flex: 1;
    }

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

    .ranto-product-card {
        padding: 8px;
        border-radius: 13px;
    }

    .ranto-product-card:hover {
        box-shadow: var(--ranto-shadow-card);
        transform: none;
    }

    .ranto-product-card__body {
        padding: 10px 2px 2px;
    }

    .ranto-product-card__meta {
        display: block;
        font-size: 10px;
    }

    .ranto-product-card__meta span + span::before {
        content: " · ";
    }

    .ranto-product-card__title {
        min-height: 40px;
        margin: 5px 0 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .ranto-product-card__delivery {
        font-size: 11px;
    }

    .ranto-product-card__price strong {
        font-size: 17px;
    }

    .ranto-product-card__buy {
        min-height: 42px;
        padding: 0 10px;
        font-size: 13px;
    }

    .ranto-product-card__favorite {
        width: 36px;
        height: 36px;
    }

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

    .ranto-footer {
        padding-top: 44px;
    }

    .ranto-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 20px;
    }

    .ranto-footer__brand {
        grid-column: 1 / -1;
    }

    .ranto-footer__grid section:last-child {
        grid-column: 1 / -1;
    }

    .ranto-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ranto-product-grid--list .ranto-product-card {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 10px;
    }

    .ranto-product-grid--list .ranto-product-card__media {
        min-height: 154px;
    }

    .ranto-product-grid--list .ranto-product-card__body {
        padding: 2px 2px 2px 0;
    }

    .ranto-product-grid--list .ranto-product-card__meta {
        display: none;
    }

    .ranto-product-grid--list .ranto-product-card__buy {
        min-height: 38px;
        margin-top: 8px;
    }
}

@media (max-width: 359px) {
    .ranto-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.ranto-product-card__compare {
    position: absolute;
    z-index: 4;
    top: 54px;
    right: 10px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 0;
    color: var(--ranto-ink);
    background: transparent;
    cursor: pointer;
    place-items: center;
}
.ranto-product-card__compare svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ranto-product-card__compare.is-active,
.ranto-product-card__compare[aria-pressed="true"] { color: var(--ranto-accent); background: transparent; }
.ranto-product-card__favorite:hover:not(.is-active),
.ranto-product-card__compare:hover:not(.is-active) { color: var(--ranto-accent); }
.ranto-product-card__favorite:focus-visible,
.ranto-product-card__compare:focus-visible { outline: 2px solid var(--ranto-accent); outline-offset: 1px; }
.ranto-compare__toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ranto-compare__toolbar a { padding: 10px 16px; border: 1px solid var(--ranto-border); border-radius: 10px; }
.ranto-compare__toolbar a.is-active { color: #fff; border-color: var(--ranto-accent); background: var(--ranto-accent); }
.ranto-compare__scroll { overflow-x: auto; border: 1px solid var(--ranto-border); border-radius: 18px; }
.ranto-compare table { width: 100%; min-width: 650px; border-collapse: collapse; table-layout: fixed; }
.ranto-compare th, .ranto-compare td { min-width: 190px; padding: 18px; border-bottom: 1px solid var(--ranto-border); text-align: left; vertical-align: top; }
.ranto-compare th:first-child { min-width: 150px; background: var(--ranto-surface-soft); }
.ranto-compare thead th { position: relative; }
.ranto-compare thead img { display: block; width: 100%; height: 160px; margin-bottom: 12px; object-fit: contain; }
.ranto-compare thead a { display: block; }
.ranto-compare__remove { float: right; display: grid; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; color: var(--ranto-ink); background: var(--ranto-surface-soft); cursor: pointer; place-items: center; }
.ranto-compare__remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ranto-compare__remove:hover { color: var(--ranto-accent); }
.ranto-compare tbody tr:last-child th, .ranto-compare tbody tr:last-child td { border-bottom: 0; }

.ranto-admin-edit { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-inline-start: 4px; border-radius: 7px; opacity: 0; transition: opacity 150ms ease; }
.ranto-topbar__contacts:hover .ranto-admin-edit, .ranto-footer__brand:hover .ranto-admin-edit, .ranto-admin-edit:focus-visible { opacity: 1; }

/* Подсказки поиска в шапке */
.ranto-search {
    position: relative;
    /* у формы скруглённая рамка с overflow: hidden — она обрезала выпадающий
       список подсказок, поэтому здесь обрезку снимаем */
    overflow: visible;
}

.ranto-search__suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px;
    border-radius: 14px;
    background: var(--ranto-surface, #fff);
    border: 1px solid rgba(18, 24, 38, .1);
    box-shadow: 0 18px 40px rgba(18, 24, 38, .16);
}

.ranto-search__suggest[hidden] {
    display: none;
}

.ranto-search__suggest-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
}

.ranto-search__suggest-item:hover,
.ranto-search__suggest-item:focus-visible {
    background: rgba(49, 94, 245, .08);
}

.ranto-search__suggest-item img,
.ranto-search__suggest-stub {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(18, 24, 38, .06);
}

.ranto-search__suggest-name {
    font-size: 14px;
    line-height: 1.3;
}

.ranto-search__suggest-price {
    font-weight: 600;
    white-space: nowrap;
}

/* ---------------------------------------------------------------
   Оформление заказа: штатный bitrix:sale.order.ajax приводим
   к оформлению «Ранто» — без цветных рамок-«светофора»
   и бутстраповской типографики.
   --------------------------------------------------------------- */
.bx-soa .bx-soa-section {
    margin: 0 0 16px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius);
    background: var(--ranto-surface);
    box-shadow: none;
}

.bx-soa .bx-soa-section.bx-selected,
.bx-soa .bx-soa-section.bx-step-completed,
.bx-soa .bx-soa-section.bx-active {
    border-color: var(--ranto-border);
}

.bx-soa .bx-soa-section-title-container {
    padding: 18px 20px;
    border: 0;
    border-bottom: 1px solid var(--ranto-border);
    background: transparent;
}

.bx-soa .bx-soa-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ranto-text);
    font-size: 18px;
    font-weight: 680;
}

.bx-soa .bx-soa-section-title .bx-soa-section-title-count {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(49, 94, 245, .1);
    color: var(--ranto-accent);
    font-size: 13px;
    font-weight: 700;
}

.bx-soa .bx-soa-section-content {
    padding: 20px;
}

.bx-soa .bx-soa-editstep,
.bx-soa .bx-soa-editstep:hover {
    color: var(--ranto-accent);
    text-decoration: none;
    font-weight: 620;
}

.bx-soa .form-control,
.bx-soa input[type="text"],
.bx-soa input[type="email"],
.bx-soa input[type="tel"],
.bx-soa select,
.bx-soa textarea {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius-sm);
    box-shadow: none;
    color: var(--ranto-text);
    font-size: 15px;
}

.bx-soa .form-control:focus {
    border-color: var(--ranto-accent);
    box-shadow: 0 0 0 3px rgba(49, 94, 245, .14);
}

.bx-soa .btn,
.bx-soa .btn-default,
.bx-soa .btn-primary,
.bx-soa .bx-soa-pp-company .bx-soa-pp-company-graf-container {
    border-radius: var(--ranto-radius-sm);
}

.bx-soa .btn-primary,
.bx-soa .btn-default.bx-soa-more-btn,
.bx-soa #bx-soa-orderSave .btn {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    background: var(--ranto-accent);
    color: #fff;
    font-weight: 680;
    transition: background 120ms ease;
}

.bx-soa .btn-primary:hover,
.bx-soa #bx-soa-orderSave .btn:hover {
    background: var(--ranto-accent-hover);
}

.bx-soa .bx-soa-cart-total {
    border: 1px solid var(--ranto-border);
    border-radius: var(--ranto-radius);
    background: var(--ranto-surface);
    box-shadow: none;
}

.bx-soa .bx-soa-cart-total-line-total {
    color: var(--ranto-text);
    font-weight: 700;
}

.bx-soa .alert-danger {
    border: 1px solid rgba(185, 28, 28, .25);
    border-radius: var(--ranto-radius-sm);
    background: rgba(185, 28, 28, .06);
    color: #b91c1c;
}

.bx-soa .bx-soa-pp-company.bx-selected .bx-soa-pp-company-graf-container {
    border-color: var(--ranto-accent);
    box-shadow: 0 0 0 2px rgba(49, 94, 245, .18);
}

/* Финальный слой имеет повышенную специфичность: CSS штатного компонента
   подключается позднее базовых стилей шаблона и иначе возвращает Bootstrap. */
.ranto-checkout-page .ranto-section--compact {
    padding-top: 22px;
}

.ranto-checkout-page .bx-soa {
    margin-top: 12px;
    color: var(--ranto-ink);
}

.ranto-checkout-page .bx-soa .bx-soa-section,
.ranto-checkout-page .bx-soa .bx-soa-cart-total,
.ranto-checkout-page .bx-soa .bx-soa-pp-company,
.ranto-checkout-page .bx-soa .bx-soa-pp-item-container,
.ranto-checkout-page .bx-soa .bx-soa-coupon-input {
    border-color: var(--ranto-border) !important;
    border-radius: var(--ranto-radius-md) !important;
    box-shadow: none !important;
}

.ranto-checkout-page .bx-soa .bx-soa-section {
    margin-bottom: 20px !important;
    overflow: hidden;
    background: var(--ranto-surface) !important;
}

.ranto-checkout-page .bx-soa .bx-soa-section-title-container {
    padding: 18px 20px !important;
    border-bottom: 1px solid var(--ranto-border) !important;
    background: var(--ranto-surface-raised) !important;
}

.ranto-checkout-page .bx-soa .bx-soa-section-content {
    padding: 20px !important;
}

.ranto-checkout-page .bx-soa .form-group {
    margin-bottom: 18px;
}

.ranto-checkout-page .bx-soa .form-control,
.ranto-checkout-page .bx-soa input[type="text"],
.ranto-checkout-page .bx-soa input[type="email"],
.ranto-checkout-page .bx-soa input[type="tel"],
.ranto-checkout-page .bx-soa select,
.ranto-checkout-page .bx-soa textarea {
    min-height: 46px;
    padding: 10px 14px !important;
    border: 1px solid var(--ranto-border) !important;
    border-radius: var(--ranto-radius-sm) !important;
    background: var(--ranto-surface) !important;
    box-shadow: none !important;
}

.ranto-checkout-page .bx-soa .form-control:focus,
.ranto-checkout-page .bx-soa input:focus,
.ranto-checkout-page .bx-soa select:focus,
.ranto-checkout-page .bx-soa textarea:focus {
    border-color: var(--ranto-accent) !important;
    box-shadow: 0 0 0 3px var(--ranto-accent-soft) !important;
}

.ranto-checkout-page .bx-soa .btn,
.ranto-checkout-page .bx-soa button.btn,
.ranto-checkout-page .bx-soa a.btn {
    min-height: 46px;
    padding: 11px 20px !important;
    border: 1px solid var(--ranto-accent) !important;
    border-radius: var(--ranto-radius-sm) !important;
    background: var(--ranto-accent) !important;
    box-shadow: none !important;
    color: #fff !important;
    font-weight: 680;
}

.ranto-checkout-page .bx-soa .btn:hover,
.ranto-checkout-page .bx-soa .btn:focus-visible {
    border-color: var(--ranto-accent-hover) !important;
    background: var(--ranto-accent-hover) !important;
}

.ranto-checkout-page .bx-soa .bx-soa-pp-company-graf-container,
.ranto-checkout-page .bx-soa .bx-soa-pp-company-smalltitle,
.ranto-checkout-page .bx-soa .bx-soa-item-imgcontainer {
    border-radius: var(--ranto-radius-sm) !important;
}

@media (max-width: 767px) {
    .ranto-checkout-page .bx-soa .bx-soa-section-title-container,
    .ranto-checkout-page .bx-soa .bx-soa-section-content {
        padding: 16px !important;
    }

    .ranto-checkout-page .bx-soa .btn,
    .ranto-checkout-page .bx-soa button.btn,
    .ranto-checkout-page .bx-soa a.btn {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .ranto-hero--slider {
        padding: 0;
    }

    .ranto-hero-slide {
        grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .ranto-hero-slider {
        border-radius: 22px;
    }

    .ranto-hero-slide {
        height: 560px;
        padding: 30px 24px 82px;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 24px;
    }

    .ranto-hero-slide:not(.ranto-hero-slide--contained_image):not(.ranto-hero-slide--full_image) {
        height: auto;
        min-height: 560px;
        padding-bottom: 104px;
    }

    .ranto-hero-slide__visual {
        min-height: 210px;
        border-radius: 20px 20px 7px 20px;
        order: -1;
    }

    .ranto-hero-slide--contained_image,
    .ranto-hero-slide--full_image {
        height: 560px;
        padding: 0;
    }

    .ranto-hero-slider__controls {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .ranto-hero-slider__arrows button {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ranto-hero-slide {
        animation: none;
    }

    .ranto-hero-slider__dots button {
        transition: none;
    }
}

body.ranto-admin-offer-open { overflow: hidden; }
.ranto-admin-offer[hidden] { display: none; }
.ranto-admin-offer { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; padding: 20px; }
.ranto-admin-offer__backdrop { position: absolute; inset: 0; background: rgb(8 16 38 / 70%); backdrop-filter: blur(5px); }
.ranto-admin-offer__panel { position: relative; width: min(100%, 560px); max-height: min(90dvh, 760px); overflow-y: auto; padding: clamp(28px, 5vw, 42px); border: 1px solid #dce5f2; border-radius: 26px; background: #fff; box-shadow: 0 30px 90px rgb(8 16 38 / 32%); color: #121826; outline: none; }
.ranto-admin-offer__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2fa; color: #121826; font-size: 27px; line-height: 1; cursor: pointer; }
.ranto-admin-offer__eyebrow { display: inline-block; padding-right: 40px; color: #315ef5; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ranto-admin-offer h2 { margin: 14px 0 14px; font-size: clamp(29px, 5vw, 40px); line-height: 1.1; letter-spacing: -.045em; }
.ranto-admin-offer p { margin: 0 0 18px; color: #52627d; line-height: 1.6; }
.ranto-admin-offer__note { padding: 14px 16px; border-radius: 14px; background: #f1f5ff; color: #23365d !important; font-size: 14px; }
.ranto-admin-offer__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.ranto-admin-offer__contacts a { color: #315ef5; font-size: 14px; font-weight: 700; text-decoration: none; }
.ranto-admin-offer__contacts a:hover { text-decoration: underline; }
.ranto-admin-offer__contacts .ranto-admin-offer__primary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 18px; border-radius: 12px; background: #315ef5; color: #fff; }
.ranto-admin-offer__contacts .ranto-admin-offer__primary:hover { background: #2046ca; text-decoration: none; }
.ranto-admin-offer__actions { display: flex; gap: 18px; margin-top: 27px; padding-top: 18px; border-top: 1px solid #e4eaf2; }
.ranto-admin-offer__actions button { padding: 0; border: 0; background: transparent; color: #52627d; font: inherit; font-size: 13px; cursor: pointer; }
.ranto-admin-offer__actions button:hover { color: #121826; text-decoration: underline; }
.ranto-admin-offer :is(a, button):focus-visible { outline: 3px solid #b7f34a; outline-offset: 3px; }
@media (max-width: 560px) {
    .ranto-admin-offer { padding: 10px; }
    .ranto-admin-offer__panel { max-height: calc(100dvh - 20px); padding: 28px 22px; border-radius: 20px; }
    .ranto-admin-offer__contacts { align-items: stretch; flex-direction: column; }
    .ranto-admin-offer__actions { justify-content: space-between; }
}

/* End */


/* Start:/local/templates/ranto/styles.css?179274202514875*/
.ranto-lead {
    font-size: 1.125rem;
    line-height: 1.65;
}

.ranto-note {
    padding: 1rem 1.25rem;
    border-left: 4px solid #5b5ce2;
    background: #f4f4ff;
}
/* Тёмно-синяя шапка */
.ranto-header__main-slot {
    background-color: #213A9A !important;
}

/* Текст и иконки в шапке — белые */
.ranto-header__main-slot a,
.ranto-header__main-slot span,
.ranto-header__main-slot i,
.ranto-header__main-slot div {
    color: #ffffff !important;
}
/* Убираем пустые колонки в мега-меню каталога */
.ranto-menu--desktop {
    grid-template-columns: repeat(auto-fit, minmax(200px, max-content)) !important;
    justify-content: start !important;
}
/* Ограничиваем размер фото в карточке товара */
.ranto-product__image img,
.ranto-product-media img,
.ranto-product__gallery img,
.product-item-detail-picture img,
[data-entity="image"] img {
    max-width: 100% !important;
    max-height: 500px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
/* Ограничиваем ширину фото в карточке товара */
.ranto-detail__media {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.ranto-detail__image {
    max-width: 100% !important;
    max-height: 500px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
/* Светло-серая шапка */
.ranto-header__main-slot {
    background-color: #f0f0f0 !important;
}

/* Бирюзовые буквы в меню шапки */
.ranto-menu--desktop a,
.ranto-header__nav a {
    color: #20b2aa !important;
}

/* Бирюзовые иконки (корзина, кабинет, поиск) */
.ranto-header__main-slot svg,
.ranto-header__main-slot i,
.ranto-header__main-slot .ranto-icon-button {
    color: #20b2aa !important;
    fill: #20b2aa !important;
}

/* Бирюзовый текст в шапке (телефон, время работы, если есть) */
.ranto-header__main-slot span,
.ranto-header__main-slot a {
    color: #20b2aa !important;
}

/* Поле поиска — оставляем белым, чтобы текст был виден */
.ranto-header__main-slot input {
    background-color: #ffffff !important;
    color: #121826 !important;
}
/* Белая шапка */
.ranto-header__main-slot {
    background-color: #ffffff !important;
}

/* Чёрные буквы в меню шапки */
.ranto-menu--desktop a,
.ranto-header__nav a {
    color: #000000 !important;
}

/* Чёрные иконки (корзина, кабинет, поиск) */
.ranto-header__main-slot svg,
.ranto-header__main-slot i,
.ranto-header__main-slot .ranto-icon-button {
    color: #000000 !important;
    fill: #000000 !important;
}

/* Чёрный текст в шапке (телефон, время работы) */
.ranto-header__main-slot span,
.ranto-header__main-slot a {
    color: #000000 !important;
}

/* Поле поиска — оставляем с рамкой, чтобы было видно на белом */
.ranto-header__main-slot input {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
}
/* Белый текст и иконка на кнопке "Каталог" */
.ranto-header__catalog-button,
.ranto-header__catalog-button a,
.ranto-header__catalog-button span,
.ranto-catalog-button,
.ranto-catalog-button a,
.ranto-catalog-button span {
    color: #ffffff !important;
}

.ranto-header__catalog-button svg,
.ranto-catalog-button svg,
.ranto-header__catalog-button i,
.ranto-catalog-button i {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
/* Белый текст и иконка на кнопке "Каталог" */
button.ranto-catalog-trigger,
.ranto-catalog-trigger {
    color: #ffffff !important;
}

button.ranto-catalog-trigger span,
.ranto-catalog-trigger span {
    color: #ffffff !important;
}

/* Иконка внутри кнопки */
button.ranto-catalog-trigger svg,
.ranto-catalog-trigger svg,
button.ranto-catalog-trigger .ranto-icon-button,
.ranto-catalog-trigger .ranto-icon-button {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
body, .ranto-page, button, input, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}
.product-item,
.ranto-card,
[data-entity="item"] {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    background: #fff !important;
}

.product-item:hover,
.ranto-card:hover,
[data-entity="item"]:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
    transform: translateY(-3px);
}
/* Не обрезать картинки в карточках товаров */
.product-item-image-slide,
.product-item-image-original,
.product-item-image-alternative,
[data-entity="image-wrapper"] span,
[data-entity="image-wrapper"] .product-item-image-slide {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #ffffff !important;
}

/* Если картинка вставлена через <img> */
.product-item img,
[data-entity="image-wrapper"] img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 320px !important;
}
/* Убираем увеличение картинок в карточках товаров */
.ranto-product-card__image,
.ranto-product-card__image.is-active,
.ranto-product-card__image:hover {
    transform: none !important;
}
/* Скрыть блок новостей на главной */
.ranto-news-section,
.ranto-home-news,
.ranto-news-block,
section:has(.ranto-news-card),
section:has(.ranto-news-page__head) {
    display: none !important;
}
/* Реквизиты на странице контактов */
.ranto-contacts-requisites {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 32px;
}

.ranto-contacts-requisites h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.ranto-contacts-requisites p {
    margin: 6px 0;
    line-height: 1.6;
}

.ranto-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ranto-panel {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px 24px;
}

.ranto-panel h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.ranto-panel p {
    margin: 4px 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .ranto-contact-grid {
        grid-template-columns: 1fr;
    }
    .ranto-contacts-requisites {
        padding: 16px 20px;
    }
}
/* Слайдер на всю ширину, без скруглений */
.ranto-hero,
.ranto-hero--slider,
.ranto-home-hero {
    border-radius: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Убираем скругления у внутренних элементов слайдера */
.ranto-hero *,
.ranto-hero--slider * {
    border-radius: 0 !important;
}

/* Если слайдер внутри .ranto-shell — растягиваем его на всю ширину */
.ranto-shell > .ranto-hero,
.ranto-shell > .ranto-hero--slider,
section.ranto-hero {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}
.ranto-hero,
.ranto-hero--slider {
    background: linear-gradient(to right, #1f2d4f 0%, #d9b896 50%, #d9b896 100%) !important;
}
.ranto-hero,
.ranto-hero--slider {
    background: linear-gradient(to right, #1f2d4f 0%, #2a3d6b 40%, #6b7fa8 70%, #d9b896 100%) !important;
}
/* Картинки в карточках — вписывать целиком, не обрезать */
.ranto-product-card__media--has-image .ranto-product-card__image {
    object-fit: contain !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* Фон контейнера — светлый, чтобы пустые поля не бросались в глаза */
.ranto-product-card__media,
.ranto-product-card__media--has-image {
    background: #f7f7f7 !important;
}
/* Стили для юридических документов */
.ranto-document {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.7;
    color: #333;
}

.ranto-document h1 {
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 600;
}

.ranto-document h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.ranto-document p {
    margin-bottom: 12px;
}

.ranto-document a {
    color: #1f496a;
    text-decoration: underline;
}

.ranto-document a:hover {
    color: #2d5f87;
}
/* ============================================================
   СТРАНИЦА ЗАЯВКИ (/request/)
   ============================================================ */
.ranto-request-page {
    max-width: 1200px;
    margin: 0 auto;
}

.ranto-request-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

/* Список товаров */
.ranto-request-products {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 24px;
}

.ranto-request-products__title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
}

.ranto-request-list {
    display: grid;
    gap: 16px;
}

.ranto-request-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    background: #fafafa;
    transition: border-color 0.2s;
}

.ranto-request-item:hover {
    border-color: #315EF5;
}

.ranto-request-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

.ranto-request-item__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ranto-request-item__title {
    font-weight: 600;
    font-size: 15px;
    color: #121826;
    text-decoration: none;
    line-height: 1.3;
}

.ranto-request-item__title:hover {
    color: #315EF5;
}

.ranto-request-item__price {
    font-size: 14px;
    color: #666;
}

.ranto-request-item__remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    background: #fff;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    display: grid;
    place-items: center;
}

.ranto-request-item__remove:hover {
    border-color: #e53935;
    color: #e53935;
    background: #fff5f5;
}

.ranto-request-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.ranto-request-empty p {
    margin: 0 0 20px;
    font-size: 15px;
}

/* Форма */
.ranto-request-form-wrap {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.ranto-request-form__title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
}

.ranto-request-form {
    display: grid;
    gap: 16px;
}

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

.ranto-request-field label {
    font-size: 13px;
    font-weight: 600;
    color: #121826;
}

.ranto-request-field label b {
    color: #e53935;
}

.ranto-request-field input,
.ranto-request-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ranto-request-field input:focus,
.ranto-request-field textarea:focus {
    border-color: #315EF5;
}

.ranto-request-field textarea {
    resize: vertical;
    min-height: 80px;
}

.ranto-request-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.ranto-request-consent input {
    margin-top: 2px;
    flex-shrink: 0;
}

.ranto-request-consent a {
    color: #315EF5;
}

.ranto-request-status {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    background: #e8f5e9;
    color: #2e7d32;
}

.ranto-request-status.is-error {
    background: #ffebee;
    color: #c62828;
}

.ranto-request-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* Мобильная версия */
@media (max-width: 900px) {
    .ranto-request-layout {
        grid-template-columns: 1fr;
    }
    .ranto-request-form-wrap {
        position: static;
    }
}

@media (max-width: 600px) {
    .ranto-request-item {
        grid-template-columns: 80px 1fr auto;
        gap: 12px;
    }
    .ranto-request-item img {
        width: 80px;
        height: 80px;
    }
    .ranto-request-item__title {
        font-size: 14px;
    }
}
/* Выравнивание полей в оформлении заказа */
.ranto-checkout-page .form-group,
.ranto-checkout-page .ranto-form-field {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

.ranto-checkout-page .form-group label,
.ranto-checkout-page .ranto-label {
    margin-bottom: 5px !important;
    font-weight: bold !important;
}

.ranto-checkout-page .form-group input,
.ranto-checkout-page .ranto-form-field input,
.ranto-checkout-page textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}

/* Исправляем поле комментария */
.ranto-checkout-page textarea {
    min-height: 80px !important;
    resize: vertical !important;
}
/* Кнопка выхода в личном кабинете */
.ranto-account-nav__logout {
    margin-left: auto; /* сдвигает кнопку вправо */
    color: #d9534f !important; /* красный цвет */
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #d9534f;
    border-radius: 4px;
    transition: all 0.3s;
}

.ranto-account-nav__logout:hover {
    background-color: #d9534f;
    color: #fff !important;
}

/* End */


/* Start:/local/templates/ranto/template_styles.css?1790682831244*/
img {
    max-width: 100%;
    height: auto;
}

.ranto-content table {
    width: 100%;
    border-collapse: collapse;
}

.ranto-content th,
.ranto-content td {
    padding: .75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

/* End */
/* /local/templates/ranto/assets/ranto.css?179068283169475 */
/* /local/templates/ranto/styles.css?179274202514875 */
/* /local/templates/ranto/template_styles.css?1790682831244 */
