/* Fonts are served by the shop itself (no Google Fonts: works where Google is blocked and sends no
   visitor data abroad). Subset to Latin + Cyrillic + ₽. Licence: static/fonts/OFL-*.txt */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/roboto-condensed-700-900.woff') format('woff');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-variable.woff') format('woff');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --rr-black: #1E1E1C;
    --rr-deep: #151514;
    --rr-input: #1A1A19;
    --rr-card: #252523;
    --rr-card-hover: #2D2D2A;
    --rr-orange: #FF5C00;
    --rr-orange-dark: #C74600;
    --rr-orange-soft: rgba(255, 92, 0, 0.12);
    --rr-grey: #D9DADA;
    --rr-grey-mid: #8F8E8C;
    --rr-border: rgba(217, 218, 218, 0.08);
    --rr-border-strong: rgba(217, 218, 218, 0.16);
    --rr-danger: #E5534B;
    --rr-success: #3FB950;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font-head: 'Roboto Condensed', 'Arial Narrow', sans-serif;  /* condensed, has Cyrillic */
}

/* ---------- Reset & typography ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* «hidden» always wins over display rules (e.g. .cdek-pick is display:flex) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--rr-black);
    color: var(--rr-grey);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #FFF;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--rr-orange);
    padding-left: 12px;
}
h1.plain { border: none; padding-left: 0; }
@media (max-width: 520px) {
    h1 { overflow-wrap: anywhere; }
}

h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin-bottom: 1.25rem; letter-spacing: 0.05em; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

hr { border: none; border-top: 1px solid var(--rr-border); margin: 3rem 0; }

.muted { color: var(--rr-grey-mid); }
.lead { color: var(--rr-grey); font-size: 1.05rem; line-height: 1.7; }

.icon { flex-shrink: 0; vertical-align: middle; }
.brand-icon {
    display: inline-block;
    width: var(--icon-size, 18px);
    height: var(--icon-size, 18px);
    flex-shrink: 0;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
    mask-mode: alpha;
}

.eyebrow {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    color: var(--rr-orange);
    margin-bottom: 0.75rem;
}

/* ---------- Layout ---------- */
.container {
    padding: 2.5rem 1.25rem 3rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.section { margin-bottom: 4rem; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-more {
    color: var(--rr-orange);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.link-more:hover { gap: 10px; }

/* ---------- Header ---------- */
.site-header {
    height: 76px;
    border-bottom: 1px solid var(--rr-border);
    background: rgba(30, 30, 28, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-block { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 2px; }
.logo-wrapper { display: flex; align-items: center; }
.logo { filter: brightness(0) invert(1); height: 36px; width: auto; object-fit: contain; }
.logo-tagline { color: var(--rr-grey-mid); font-size: 0.68rem; line-height: 1.25; max-width: 22em; }
.header-contacts { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.header-contacts a {
    width: 32px; height: 32px; border-radius: 999px;
    border: 1px solid var(--rr-border); color: var(--rr-grey-mid);
    display: inline-flex; align-items: center; justify-content: center;
}
.header-contacts a:hover { color: #FFF; border-color: var(--rr-orange); }
.site-header { height: auto; min-height: 76px; padding: 8px 0; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #A8A7A5; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--rr-orange); }

.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.nav-links a.cart-link {
    color: #FFF;
    border: 1px solid var(--rr-border-strong);
    padding: 8px 14px;
    border-radius: 999px;
}
.nav-links a.cart-link:hover { border-color: var(--rr-orange); color: #FFF; }

.cart-badge {
    background: var(--rr-orange);
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-cart .cart-badge { position: absolute; top: -8px; right: -10px; }

.mobile-actions, .mobile-dropdown { display: none; }

@media (max-width: 768px) {
    .desktop-nav { display: none !important; }
    .site-header { min-height: 64px; }
    .logo { height: 32px; }
    .logo-tagline { display: none; }
    .header-contacts { display: none; }
    .mobile-dropdown .header-contacts { display: flex; flex-wrap: wrap; margin: 8px 0 0; }

    .mobile-actions { display: flex; align-items: center; gap: 22px; }
    .mobile-cart { color: #FFF; }

    .menu-toggle {
        background: none; border: none; cursor: pointer;
        display: flex; flex-direction: column; justify-content: space-between;
        width: 24px; height: 16px; padding: 0;
    }
    .menu-toggle span { display: block; width: 100%; height: 2px; background-color: #FFF; transition: var(--transition); }
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-dropdown {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--rr-black);
        border-bottom: 1px solid var(--rr-border);
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
    .mobile-dropdown.active { display: flex; }
    .mobile-dropdown a {
        font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
        text-transform: uppercase; color: #FFF; letter-spacing: 0.03em; padding: 4px 0;
    }
    .mobile-dropdown a:hover { color: var(--rr-orange); }
}

/* ---------- Toasts ---------- */
.toast-stack {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2A2A27;
    border: 1px solid var(--rr-border-strong);
    border-left: 4px solid var(--rr-grey-mid);
    color: #FFF;
    padding: 12px 14px;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    font-size: 0.92rem;
    animation: toast-in 0.25s ease-out;
    transition: opacity 0.4s, transform 0.4s;
}
.toast span { flex: 1; }
.toast-success { border-left-color: var(--rr-success); }
.toast-success .icon:first-child { color: var(--rr-success); }
.toast-error, .toast-warning { border-left-color: var(--rr-orange); }
.toast-error .icon:first-child, .toast-warning .icon:first-child { color: var(--rr-orange); }
.toast-link { color: var(--rr-orange); font-weight: 600; white-space: nowrap; }
.toast-close { background: none; border: none; color: var(--rr-grey-mid); cursor: pointer; display: flex; }
.toast-close:hover { color: #FFF; }
.toast-hide { opacity: 0; transform: translateY(-8px); pointer-events: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 768px) {
    .toast-stack { top: 76px; right: 16px; left: 16px; max-width: none; }
}

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    background: var(--rr-orange);
    color: #FFF;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn:hover { background: var(--rr-orange-dark); transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.08rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-icon { padding: 0 14px; }
.btn-secondary { background: transparent; border-color: var(--rr-border-strong); color: var(--rr-grey); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--rr-grey-mid); }

.btn-icon-ghost {
    background: none;
    border: 1px solid transparent;
    color: var(--rr-grey-mid);
    width: 36px; height: 36px;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.btn-icon-ghost:hover { color: var(--rr-danger); border-color: rgba(229, 83, 75, 0.4); }

/* ---------- Hero ---------- */
.hero-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    background: linear-gradient(135deg, #252523 0%, #151514 100%);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius-lg);
    margin-bottom: 4rem;
    overflow: hidden;
    min-height: 460px;
}
.hero-content { padding: 56px 44px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-content h1 {
    font-size: clamp(2rem, 4.1vw, 3.3rem);
    line-height: 1.02;
    font-weight: 900;
    border: none;
    padding-left: 0;
    margin-bottom: 1.1rem;
}
.hero-content h1 span { color: var(--rr-orange); display: block; }
.hero-content p { color: #A8A7A5; font-size: 1.08rem; margin-bottom: 2rem; line-height: 1.6; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--rr-grey-mid); font-size: 0.88rem; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--rr-orange); }
.hero-media {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 260px;
}
.hero-media::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #1d1d1b 0%, rgba(29, 29, 27, 0) 35%);
}

@media (max-width: 900px) {
    .hero-banner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .hero-media { order: -1; min-height: 220px; }
    .hero-media::before { background: linear-gradient(0deg, #1f1f1d 0%, rgba(31, 31, 29, 0) 50%); }
    .hero-content { padding: 28px 22px 32px; }
    .hero-content h1 { font-size: clamp(1.6rem, 7.4vw, 2.4rem); overflow-wrap: anywhere; hyphens: auto; }
    .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Brand / model picker ---------- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.brand-card {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    padding: 22px;
    transition: var(--transition);
}
.brand-card:hover { border-color: rgba(255, 92, 0, 0.35); }
.brand-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.brand-name:hover { color: var(--rr-orange); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    color: var(--rr-grey);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
}
.chip:hover { border-color: var(--rr-orange); color: #FFF; }
.chip-count {
    font-size: 0.72rem;
    color: var(--rr-grey-mid);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 1px 7px;
}

/* ---------- Feature cards ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.feature-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    filter: saturate(0.85) brightness(0.85);
}
.feature-text { padding: 18px 20px 22px; }
.feature-text h4 { font-size: 1.2rem; margin-bottom: 6px; }
.feature-text p { color: var(--rr-grey-mid); font-size: 0.9rem; line-height: 1.5; }

/* ---------- Product grid & cards ---------- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.card {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.card:hover {
    background: var(--rr-card-hover);
    border-color: rgba(255, 92, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.card-full-link { position: absolute; inset: 0; z-index: 1; }

.card-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: var(--rr-input);
}
.card-img { width: 100%; height: 100%; object-fit: cover; }

.img-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--rr-grey-mid);
    font-size: 0.8rem;
}

.stock-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(21, 21, 20, 0.85);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.stock-pill.static { position: static; }
.stock-pill.in { color: var(--rr-success); }
.stock-pill.out { color: #E3A008; }

.card-body { padding: 16px 18px 0; }
.card-fits {
    font-size: 0.78rem;
    color: var(--rr-grey-mid);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-title { font-size: 1.2rem; margin: 0 0 6px 0; }
.card-price {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--rr-orange);
    margin-bottom: 14px;
}

.inline-cart-form {
    margin-top: auto;
    padding: 0 18px 18px;
    position: relative;
    z-index: 2;
}

.form-group-row { display: flex; gap: 10px; }

.input-qty {
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    color: #FFF;
    font-weight: 600;
    text-align: center;
    width: 56px;
    border-radius: 6px;
    padding: 8px;
    font-size: 1rem;
    -moz-appearance: textfield;
}
.input-qty-lg { width: 72px; }
.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.input-qty:focus, .form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--rr-orange);
    box-shadow: 0 0 0 3px var(--rr-orange-soft);
}

/* ---------- "In action" ---------- */
.action-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}
.action-tile {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--rr-border);
}
.action-tile:first-child { aspect-ratio: auto; }
.muted-note { color: var(--rr-grey-mid); font-size: 0.9rem; margin-top: 14px; }

@media (max-width: 700px) {
    .action-grid { grid-template-columns: 1fr 1fr; }
    .action-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---------- Catalog ---------- */
.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.search-form { display: flex; gap: 8px; }
.search-form .form-input { padding: 10px 12px; }
.filter-group { display: flex; flex-direction: column; gap: 2px; }
.filter-title {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--rr-grey-mid);
    margin-bottom: 8px;
}
.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--rr-grey);
    font-size: 0.93rem;
    border-left: 2px solid transparent;
}
.filter-link:hover { background: rgba(255, 255, 255, 0.04); color: #FFF; }
.filter-link.active { background: var(--rr-orange-soft); color: #FFF; border-left-color: var(--rr-orange); font-weight: 600; }
.filter-sub { padding-left: 14px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--rr-grey-mid);
    font-size: 0.92rem;
    margin-bottom: 18px;
}
.link-reset { display: inline-flex; align-items: center; gap: 5px; color: var(--rr-orange); font-weight: 600; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 20px;
    background: var(--rr-card);
    border: 1px dashed var(--rr-border-strong);
    border-radius: var(--radius-lg);
    color: var(--rr-grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.empty-state .icon { color: var(--rr-grey-mid); }
.empty-state p { font-size: 1.05rem; }
.empty-state p.muted { font-size: 0.92rem; max-width: 30em; }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

@media (max-width: 860px) {
    .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .filters { position: static; }
    .filter-group { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .filter-title { width: 100%; margin-bottom: 0; }
    .filter-link { border: 1px solid var(--rr-border-strong); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; gap: 6px; }
    .filter-link.active { border-color: var(--rr-orange); }
    .filter-sub { flex-direction: row; flex-wrap: wrap; gap: 8px; padding-left: 0; width: 100%; }
}

/* ---------- Product page ---------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--rr-grey-mid);
    margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--rr-orange); }
.breadcrumbs .current { color: var(--rr-grey); }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    padding: 36px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.product-gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.main-image-wrapper {
    aspect-ratio: 4 / 3;
    background: var(--rr-input);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.main-product-image { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; }
.gallery-thumb-btn {
    flex: 0 0 76px;
    height: 76px;
    padding: 3px;
    background: var(--rr-input);
    border: 2px solid var(--rr-border);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb-btn:hover, .gallery-thumb-btn.active { border-color: var(--rr-orange); }
.gallery-thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

.detail-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.detail-title { margin-bottom: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--rr-grey-mid); font-size: 0.85rem; }
.detail-meta .stock-pill { font-size: 0.8rem; background: rgba(255, 255, 255, 0.05); }
.detail-price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--rr-orange); line-height: 1; }

.fits-box {
    background: var(--rr-input);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    padding: 16px;
}
.fits-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 600; color: #FFF; font-size: 0.95rem;
    margin-bottom: 10px;
}
.fits-title .icon { color: var(--rr-success); }
.fits-box p { font-size: 0.9rem; }

.buy-box { display: flex; flex-direction: column; gap: 24px; }
.buy-box .btn { flex: 1; }
.buy-box .input-qty { height: auto; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: var(--rr-grey-mid); }
.service-list li { display: flex; gap: 10px; align-items: flex-start; }
.service-list .icon { color: var(--rr-orange); margin-top: 1px; }
.service-list a { color: var(--rr-grey); text-decoration: underline; text-underline-offset: 3px; }

.detail-section { margin-bottom: 40px; }
.prose { color: var(--rr-grey); line-height: 1.7; max-width: 60em; }
.prose p + p { margin-top: 0.8em; }

@media (max-width: 860px) {
    .detail-layout { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 24px; }
    .detail-price { font-size: 2.2rem; }
}

/* ---------- Cart & checkout ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.cart-list { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
}
.cart-thumb {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 6px;
    background: var(--rr-input);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--rr-grey-mid);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { color: #FFF; font-weight: 600; display: block; }
a.cart-item-name:hover { color: var(--rr-orange); }
.cart-item-meta { color: var(--rr-grey-mid); font-size: 0.88rem; margin-top: 2px; }
.cart-item-sum { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #FFF; white-space: nowrap; }

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 4px;
    border-top: 1px solid var(--rr-border-strong);
    margin-bottom: 24px;
}
.cart-subline { display: flex; justify-content: space-between; gap: 16px; padding: 4px 4px; color: var(--rr-grey-mid); font-size: 0.95rem; }
.cart-subline span:last-child { white-space: nowrap; color: var(--rr-grey); }
.cart-subline + .cart-total { margin-top: 8px; }
.cart-discount span:last-child { color: var(--rr-success); font-weight: 600; }

/* "Есть промокод?" — collapsed until needed, open when a code is applied or just failed */
.promo-box { margin: -12px 4px 24px; }
.promo-box summary { display: inline-block; cursor: pointer; color: var(--rr-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; list-style: none; padding: 4px 0; }
.promo-box summary::-webkit-details-marker { display: none; }
.promo-box summary:hover { color: #FFF; }
.promo-box summary:focus-visible { outline: 2px solid var(--rr-orange); outline-offset: 2px; border-radius: 4px; }
.promo-box[open] summary { margin-bottom: 10px; }
.promo-form { display: flex; gap: 8px; max-width: 420px; }
.promo-form .form-input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.promo-form .form-input::placeholder { text-transform: none; letter-spacing: 0; }
.promo-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.promo-chip { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em; padding: 4px 10px; border: 1px dashed var(--rr-orange); border-radius: var(--radius); color: #FFF; }
.promo-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--rr-success); font-size: 0.92rem; }
.promo-wait { color: var(--rr-grey-mid); font-size: 0.92rem; }
.promo-applied .link-btn { margin-left: 0; }
.cart-total span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--rr-grey-mid); font-size: 1.1rem; }
.cart-total strong { font-family: var(--font-head); font-size: 2rem; color: var(--rr-orange); }

.next-steps {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--rr-border-strong);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.next-steps h3 { font-size: 1.1rem; }
.next-steps ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 8px; color: var(--rr-grey-mid); font-size: 0.9rem; }
.next-steps strong { color: var(--rr-grey); font-weight: 600; }

.checkout-section {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    padding: 26px;
    border-radius: var(--radius-lg);
}
.cart-layout .checkout-section { position: sticky; top: 96px; }
.checkout-section h2 { font-size: 1.5rem; }

.form-field { margin-bottom: 16px; min-width: 0; }
.form-field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--rr-grey); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req { color: var(--rr-orange); }

.form-input, .form-textarea {
    width: 100%;
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    color: #FFF;
    padding: 11px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-textarea { resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: #6E6D6B; }
.has-error { border-color: var(--rr-danger); }
.field-error { color: var(--rr-danger); font-size: 0.82rem; margin-top: 5px; }
.form-hint { color: var(--rr-grey-mid); font-size: 0.78rem; margin-top: 12px; line-height: 1.5; }
.form-hint a { color: var(--rr-grey); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr); }
    .cart-layout .checkout-section { position: static; }
}
@media (max-width: 520px) {
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    /* phone: [photo | name, colour | ×] on top, [quantity | sum] below */
    .cart-item {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas: "thumb info remove" "qty qty sum";
        gap: 10px 12px;
        align-items: start;
    }
    .cart-thumb { grid-area: thumb; width: 56px; height: 56px; }
    .cart-item-info { grid-area: info; }
    .cart-remove { grid-area: remove; }
    .cart-item .qty-stepper { grid-area: qty; justify-self: start; }
    .cart-item-sum { grid-area: sum; align-self: center; }
    .cart-item-sum { font-size: 1.1rem; }
    .checkout-section { padding: 20px; }
}

/* ---------- Order page ---------- */
.confirm-hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(63, 185, 80, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(63, 185, 80, 0.25);
    border-radius: var(--radius-lg);
    padding: 36px 22px;
    margin-bottom: 32px;
}
.confirm-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(63, 185, 80, 0.15);
    color: var(--rr-success);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.confirm-hero h1 { margin-bottom: 0.75rem; }
.confirm-hero p { max-width: 36em; margin: 0 auto 0.5rem; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 32px; }
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(227, 160, 8, 0.12);
    color: #E3A008;
    margin-bottom: 16px;
}
.status-processing, .status-shipped { background: var(--rr-orange-soft); color: var(--rr-orange); }
.status-delivered { background: rgba(63, 185, 80, 0.12); color: var(--rr-success); }
.status-cancelled { background: rgba(229, 83, 75, 0.12); color: var(--rr-danger); }
.order-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.92rem; }
.order-meta dt { color: var(--rr-grey-mid); }
.order-meta dd { color: #FFF; display: flex; align-items: center; gap: 6px; }
.order-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rr-border); }
.order-note p { color: var(--rr-grey); font-size: 0.92rem; }

@media (max-width: 860px) { .order-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.about-hero { text-align: center; padding: 48px 0 56px; max-width: 760px; margin: 0 auto; }
.about-hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.02; margin-bottom: 1.2rem; }
.about-hero p { color: #A8A7A5; font-size: 1.1rem; line-height: 1.6; max-width: 34em; margin: 0 auto; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.split-media {
    min-height: 300px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rr-border);
    background-size: cover;
    background-position: center;
}

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
}
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: #FFF; line-height: 1; }
.stat-label { color: var(--rr-grey-mid); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; margin-top: 10px; }

.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.process-card {
    background: var(--rr-card);
    border: 1px solid var(--rr-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px 1fr;
}
.process-img { background-size: cover; background-position: center; min-height: 180px; filter: saturate(0.85) brightness(0.85); }
.process-body { padding: 20px 22px; }
.process-num { font-family: var(--font-head); color: var(--rr-orange); font-weight: 700; letter-spacing: 0.1em; }
.process-body h3 { font-size: 1.25rem; margin: 4px 0 8px; }
.process-body p { color: var(--rr-grey-mid); font-size: 0.9rem; line-height: 1.55; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; scroll-margin-top: 96px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; color: #FFF; font-size: 1.02rem; }
.contact-list .icon, .contact-list .brand-icon { color: var(--rr-orange); }
.contact-messengers { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-left: 0.45em; vertical-align: middle; }
.contact-messengers a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.contact-list a:hover { color: var(--rr-orange); }
.contact-media {
    height: 200px;
    border-radius: var(--radius);
    border: 1px solid var(--rr-border);
    background-size: cover;
    background-position: center;
}
.contact-form h3 { font-size: 1.4rem; }
.about-manifesto { max-width: 46em; display: flex; flex-direction: column; gap: 14px; }
.about-manifesto p { color: var(--rr-grey); line-height: 1.6; }
.about-sign { font-family: var(--font-head); color: #FFF; letter-spacing: 0.04em; text-transform: uppercase; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: var(--rr-card); border: 1px solid var(--rr-border); border-radius: var(--radius); padding: 22px 18px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { color: var(--rr-grey-mid); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 900px) {
    .split, .contact-wrap { grid-template-columns: 1fr; gap: 24px; }
    .process-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .stats-grid, .pillar-grid { grid-template-columns: 1fr; }
    .process-card { grid-template-columns: 1fr; }
    .process-img { min-height: 160px; }
    .about-hero { padding: 20px 0 36px; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--rr-deep);
    border-top: 1px solid var(--rr-border);
    padding: 44px 0 28px;
    flex-shrink: 0;
    width: 100%;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px; align-items: start; }
.footer-logo-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFF;
}
.footer-logo-text span { color: var(--rr-orange); }
.footer-tagline { color: var(--rr-grey-mid); font-size: 0.88rem; margin-top: 8px; max-width: 24em; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contacts a, .footer-contacts span { color: var(--rr-grey-mid); font-size: 0.9rem; font-weight: 500; }
.footer-nav a:hover, .footer-contacts a:hover { color: #FFF; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a, .footer-contacts span { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(217, 218, 218, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #6E6D6B;
}
.footer-muted { color: rgba(255, 255, 255, 0.18); }

@media (max-width: 700px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
.nowrap { white-space: nowrap; }

/* ---------- Colour choice ---------- */
.color-dot {
    --swatch: #888;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--swatch);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    display: inline-block;
}
.color-dot.sm { width: 14px; height: 14px; border-width: 1px; vertical-align: -2px; }
.color-dot-ral:not(.picked) {
    background: conic-gradient(#c1121c, #f9a800, #57a639, #1e5aa8, #6c4675, #c1121c);
}

.color-picker { border: none; display: flex; flex-direction: column; gap: 10px; }
.color-picker legend { font-size: 0.9rem; color: var(--rr-grey-mid); margin-bottom: 10px; }
.color-picker legend strong { color: #FFF; font-weight: 600; }
.color-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.color-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 0;
}
.color-option:hover { border-color: var(--rr-grey-mid); }
.color-option input { position: absolute; opacity: 0; pointer-events: none; }
.color-option:has(input:checked) { border-color: var(--rr-orange); background: var(--rr-orange-soft); }
.color-option:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--rr-orange-soft); }
.color-text { display: flex; flex-direction: column; font-size: 0.88rem; color: #FFF; line-height: 1.25; min-width: 0; }
.color-text small { color: var(--rr-grey-mid); font-size: 0.75rem; overflow-wrap: anywhere; }

.ral-panel {
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    border-radius: var(--radius);
    padding: 12px;
}
.ral-panel .form-input { margin-bottom: 10px; background: var(--rr-black); }
.ral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}
.ral-swatch {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 5px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    color: var(--rr-grey);
    font: inherit;
}
.ral-swatch:hover { border-color: var(--rr-border-strong); }
.ral-swatch[aria-selected="true"] { border-color: var(--rr-orange); background: var(--rr-orange-soft); }
.ral-chip { height: 34px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ral-code { font-weight: 700; font-size: 0.8rem; color: #FFF; }
.ral-name { font-size: 0.7rem; color: var(--rr-grey-mid); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card-colors { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--rr-grey-mid); margin: -6px 0 12px; }
.card-colors span:last-child { margin-left: 4px; }
.btn-outline-accent { background: transparent; border-color: var(--rr-orange); color: var(--rr-orange); }
.btn-outline-accent:hover { background: var(--rr-orange); color: #FFF; }

@media (max-width: 520px) {
    .color-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cart: colour + quantity ---------- */
.cart-item-color { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 0.85rem; color: var(--rr-grey); margin-top: 3px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--rr-border-strong); border-radius: 6px; overflow: hidden; }
.qty-stepper .input-qty { border: none; border-radius: 0; width: 44px; padding: 6px 2px; background: transparent; }
.qty-btn {
    width: 32px;
    height: 34px;
    background: var(--rr-input);
    border: none;
    color: #FFF;
    font-size: 1.1rem;
    cursor: pointer;
}
.qty-btn:hover { background: var(--rr-orange); }

/* ---------- Checkout: delivery service ---------- */
.delivery-choice { border: none; }
.delivery-choice legend { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--rr-grey); }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.radio-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    background: var(--rr-input);
    border: 1px solid var(--rr-border-strong);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.92rem;
    color: #FFF;
    transition: var(--transition);
}
.radio-card:hover { border-color: var(--rr-grey-mid); }
.radio-card:has(input:checked) { border-color: var(--rr-orange); background: var(--rr-orange-soft); }
.radio-card input { accent-color: var(--rr-orange); }
.delivery-choice .form-hint { margin-top: 8px; }

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

/* ---------- Error pages ---------- */
.error-page { text-align: center; padding: 48px 16px 64px; max-width: 560px; margin: 0 auto; }
.error-code { font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 22vw, 9rem); line-height: 1; color: var(--rr-orange); letter-spacing: 0.02em; }
.error-page h1 { border: none; padding: 0; margin: 12px 0 10px; }
.error-page p { color: var(--rr-grey-mid); margin-bottom: 24px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Cart: change colour ---------- */
.link-btn { background: none; border: none; padding: 0; margin-left: 4px; color: var(--rr-orange); font: inherit; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: #FFF; }
.recolor-dialog {
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    background: var(--rr-card);
    color: var(--rr-grey);
    border: 1px solid var(--rr-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.recolor-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
.recolor-dialog form { display: flex; flex-direction: column; gap: 18px; padding: 20px 22px 22px; }
.recolor-head { display: flex; align-items: flex-start; gap: 12px; }
.recolor-head h3 { margin: 0; flex: 1; font-size: 1.25rem; }
.recolor-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.recolor-dialog .ral-grid { max-height: min(280px, 40vh); }
@media (max-width: 520px) {
    .recolor-dialog form { padding: 16px; }
    .recolor-actions .btn { flex: 1; }
}


/* ---------- Customer pages (InfoPage), consent checkbox, seller line ---------- */
.info-page { max-width: 760px; margin: 0 auto 48px; }
.info-prose h2 { font-size: 1.35rem; margin: 1.6em 0 0.5em; }
.info-prose h2:first-child { margin-top: 0.4em; }
.info-prose ul { padding-left: 1.2rem; margin: 0.6em 0; display: flex; flex-direction: column; gap: 6px; }
.info-prose p { margin: 0.6em 0; }
.info-prose strong { color: #FFF; }
.info-prose a, .info-help a, .next-steps-links a, .service-list a { color: var(--rr-orange); text-decoration: underline; text-underline-offset: 2px; }
.requisites { margin-top: 32px; padding: 20px 22px; background: var(--rr-card); border: 1px solid var(--rr-border); border-radius: var(--radius-lg); }
.requisites h2 { font-size: 1.2rem; margin-bottom: 12px; }
.requisites dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 0.95rem; }
.requisites dt { color: var(--rr-grey-mid); }
.requisites dd { margin: 0; color: #FFF; font-variant-numeric: tabular-nums; word-break: break-all; }
.requisites .form-hint { margin-top: 12px; }
.info-help { margin-top: 28px; color: var(--rr-grey-mid); }
@media (max-width: 560px) { .requisites dl { grid-template-columns: 1fr; gap: 0; } .requisites dd { margin-bottom: 8px; } }

.next-steps-links { margin-top: 12px; font-size: 0.9rem; }
.consent-field { margin-top: 4px; }
.consent, .form-field label.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 0.88rem; font-weight: 400; color: var(--rr-grey-mid); cursor: pointer; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--rr-orange); cursor: pointer; }
.consent a { color: var(--rr-orange); text-decoration: underline; text-underline-offset: 2px; }
.form-field label.consent.has-error { color: var(--rr-danger); }
.footer-seller { max-width: 60ch; text-align: right; }
@media (max-width: 760px) { .footer-seller { text-align: left; } }


/* ---------- Checkout: address suggestions (static/js/address_suggest.js) ---------- */
.form-field.suggest { position: relative; }
.suggest-list {
    position: absolute; z-index: 30; left: 0; right: 0; top: 100%;   /* JS moves it right under the input */
    list-style: none; margin: 0; padding: 4px 0; max-height: 280px; overflow-y: auto;
    background: var(--rr-card-hover); border: 1px solid var(--rr-border-strong); border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.suggest-list li { padding: 9px 12px; cursor: pointer; font-size: 0.9rem; color: var(--rr-grey); line-height: 1.35; }
.suggest-list li small { display: block; color: var(--rr-grey-mid); font-size: 0.78rem; margin-top: 2px; }
.suggest-list li:hover, .suggest-list li[aria-selected="true"] { background: var(--rr-orange-soft); color: #FFF; }
.form-field.suggest .form-hint { margin-top: 6px; }

/* СДЭК map button (static/js/cdek_pickup.js) */
.cdek-pick { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cdek-pick .btn { gap: 8px; }
.cdek-chosen { font-size: 0.88rem; color: var(--rr-success); line-height: 1.45; }
