/* ========== ПОДКЛЮЧЕНИЕ ШРИФТОВ ========== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@700;900&display=swap');

@font-face {
    font-family: 'Norbert Breit';
    src: url('./shrift/NorbertBreit-Fett.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-color: #181819;
    --text-primary: #FFFFFF;
    --marquee-bg: rgba(182, 175, 181, 0.48);
    --logo-height: clamp(22px, 5.5vw, 31px);
    --marquee-height: calc(var(--logo-height) * 0.85);
    --text-height: calc(var(--marquee-height) * 0.65);
    --banner-height: calc(var(--marquee-height) * 13.9 * 2);
    /* x2 */
}

html {
    font-size: 16px;
    overscroll-behavior: none;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    overscroll-behavior: none;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.app-loading #app {
    visibility: hidden;
}

#app {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    scrollbar-width: none;
}

#app::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ========== СТРАНИЦЫ ========== */

.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}

.page.active {
    display: block;
    min-height: 100vh;
    padding-top: calc(clamp(16px, 4vw, 24px) + var(--logo-height) + clamp(12px, 3vw, 16px));
}

#home.page.active {
    padding-top: calc(clamp(16px, 4vw, 24px) + var(--logo-height) + clamp(12px, 3vw, 16px) + var(--marquee-height));
}

/* ========== ХЕДЕР ========== */

.header {
    padding: clamp(16px, 4vw, 24px) clamp(16px, 4vw, 24px) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    z-index: 100;
    gap: clamp(12px, 3vw, 16px);
    width: 100%;
    margin: 0;
}

.header-top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.assortment-collection-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(233, 207, 231, 0.70);
    margin-left: 10px;
    white-space: nowrap;
}

.cart-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: clamp(16px, 4vw, 24px);
    transition: transform 0.2s ease;
}

.cart-button:active {
    transform: scale(0.95);
}

.cart-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:active {
    transform: scale(0.95);
}

.logo {
    height: var(--logo-height);
    width: auto;
    display: block;
}

/* ========== БЕГУЩАЯ СТРОКА ========== */

.marquee-container {
    width: 100vw;
    height: var(--marquee-height);
    background: var(--marquee-bg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    margin-left: calc(-1 * clamp(16px, 4vw, 24px));
    margin-right: calc(-1 * clamp(16px, 4vw, 24px));
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    will-change: transform;
    align-items: center;
}

.marquee-text {
    font-family: 'Norbert Breit', 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: var(--text-height);
    line-height: var(--marquee-height);
    letter-spacing: 0%;
    color: var(--text-primary);
    padding: 0 15px;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== КАРУСЕЛЬ БАННЕРОВ ========== */

.banner-carousel {
    width: 100vw;
    height: var(--banner-height);
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
    margin-left: calc(-1 * env(safe-area-inset-left));
    margin-right: calc(-1 * env(safe-area-inset-right));
}

.carousel-track-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: none;
}

.carousel-track.smooth {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Плавное пролистывание */
}

.carousel-slide {
    min-width: 100vw;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Контейнер для текста, полосы и логотипа */
.banner-overlay-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
    z-index: 2;
}

/* Текст на баннере */
.banner-text {
    color: #FFFFFF;
    font-family: 'Norbert Breit', sans-serif;
    font-size: clamp(27px, 2.7vh, 54px);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-style: normal;
    transform: none;
    line-height: 1.2;
    margin-bottom: 5px;
}

/* Полоса под текстом */
.banner-line {
    width: 0;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 11.5px;
    align-self: center;
}

/* Логотип под полоской */
.banner-logo {
    width: auto;
    height: 15px;
    filter: brightness(0) saturate(100%) invert(92%) sepia(8%) saturate(1234%) hue-rotate(270deg) brightness(97%) contrast(92%);
}

/* Кликабельная область баннера */
.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

/* Кнопки навигации */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.carousel-btn:hover {
    opacity: 0.8;
}

.carousel-btn:active {
    opacity: 0.6;
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-btn img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Подсказка скролла */
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(233, 207, 231, 0.6);
    border-radius: 999px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 24, 25, 0.4);
    backdrop-filter: blur(4px);
    pointer-events: none;
    animation: hintFloat 2.2s ease-in-out infinite;
    transition: opacity 3s ease-out;
}

.scroll-hint::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2.5px solid rgba(233, 207, 231, 0.9);
    border-bottom: 2.5px solid rgba(233, 207, 231, 0.9);
    transform: rotate(45deg);
    margin-top: -2px;
}

.scroll-hint.hidden {
    opacity: 0;
}

@keyframes hintFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ========== РАЗДЕЛИТЕЛЬНАЯ ЛИНИЯ ========== */

.separator-line {
    width: 100%;
    height: 1px;
    background-color: rgba(233, 207, 231, 0.5);
    margin: 0;
}

/* ========== КАРУСЕЛЬ ТОВАРОВ (ПРОМО-БАННЕРЫ) ========== */

.products-carousel {
    width: 100%;
    overflow: visible;
    padding: 2px 0 4px 0;
    background-color: var(--bg-color);
}

.products-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 12px 0 8px;
    padding-right: 8px; /* Отступ после последнего баннера */
    overscroll-behavior-x: contain;
    align-items: flex-end;
}

.products-scroll::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.product-card:active {
    transform: scale(0.95);
}

/* Все баннеры - фиксированная высота 80px */
.product-image {
    width: auto;
    max-height: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Первый баннер на 10% выше */
.product-card:first-child {
    margin-right: -5px;
    height: 89px;
}

.product-card:first-child .product-image {
    max-height: 100%;
}

/* Все баннеры кроме первого - на 6px ниже */
.product-card:not(:first-child) {
    margin-top: 6px;
}

/* ========== КАТЕГОРИИ ТОВАРОВ ========== */

.categories-section {
    width: 100%;
    background-color: var(--bg-color);
    padding: 6px 0 16px 0;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 10px;
    position: relative;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex-shrink: 0;
    background-color: transparent;
    color: var(--text-primary);
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.category-btn:active {
    transform: scale(0.98);
}

.category-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1.5px solid #E9CFE7;
    border-radius: 20px;
    pointer-events: none;
}

.categories-scroll.indicator-enabled .category-btn.active::before {
    display: none;
}

.category-indicator {
    position: absolute;
    top: 0;
    left: 0;
    border: 1.5px solid #E9CFE7;
    border-radius: 20px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 0;
    transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
    will-change: transform, width, height;
}

/* Контейнер для карточек товаров */
.products-container {
    width: 100%;
    padding: 0 12px 14px 12px;
    background-color: var(--bg-color);
    min-height: 0;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: flex-start;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-left: 12px;
    --home-card-size: 165px;
    --home-card-radius: 16px;
    --home-heart-size: 24px;
    --home-heart-offset: 7px;
    --pull-offset: 0px;
}

.products-container.no-smooth {
    scroll-behavior: auto;
}

.products-container::-webkit-scrollbar {
    display: none;
}

.products-container.pulling .products-pull-shelf {
    opacity: 1;
    transform: translateX(calc(var(--pull-offset) * -0.25));
}

.products-pull-shelf {
    flex: 0 0 auto;
    width: 80px;
    height: var(--home-card-size, 165px);
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    opacity: 0.92;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.products-pull-shelf .pull-shelf-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #E9CFE7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: arrow-hint 1.8s ease-in-out infinite;
}

.products-pull-shelf .pull-shelf-arrow-svg {
    display: block;
    flex-shrink: 0;
    transform: translateX(1px);
}

@keyframes arrow-hint {
    0%   { transform: translateX(0);   }
    40%  { transform: translateX(5px); }
    60%  { transform: translateX(5px); }
    100% { transform: translateX(0);   }
}

/* Карточки товаров в подборках */
.catalog-card {
    flex: 0 0 auto;
    width: var(--home-card-size, 91.125px);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.catalog-card.card-enter {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.catalog-card.card-enter.card-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.catalog-card-media {
    width: var(--home-card-size, 91.125px);
    height: var(--home-card-size, 91.125px);
    background: #FFFFFF;
    border-radius: var(--home-card-radius, 11.34px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--home-card-radius, 11.34px);
    display: block;
}

.catalog-heart {
    position: absolute;
    top: var(--home-heart-offset, 4.86px);
    left: var(--home-heart-offset, 7.29px);
    width: var(--home-heart-size, 18px);
    height: var(--home-heart-size, 18px);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.catalog-heart img {
    width: 100%;
    height: 100%;
    display: block;
}

.catalog-card-meta {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: var(--home-card-size, 91.125px);
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-block,
.skeleton-line {
    position: relative;
    overflow: hidden;
    background: #2b2b2b;
    border-radius: 6px;
}

.catalog-card-media .skeleton-block {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: var(--home-card-radius, 11.34px);
}

.skeleton-line {
    height: 8px;
    width: 80%;
}

.skeleton-line.small {
    height: 7px;
    width: 60%;
}

.skeleton-block::after,
.skeleton-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(200%);
    }
}

.catalog-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.2;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-card-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 12.5px;
    line-height: 1.2;
    color: #D6D6D6;
    white-space: nowrap;
}

/* ========== ПОПУЛЯРНЫЕ БРЕНДЫ ========== */

.brands-section {
    margin-top: 10px;
    padding: 0 10px;
}

.section-title {
    font-size: 14.4px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

.brands-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.brands-scroll::-webkit-scrollbar {
    display: none;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    width: 72px;
    height: 72px;
    background: #FFFFFF;
    border-radius: 50%;
    border: 1px solid #E9CFE7;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.brand-card:active {
    transform: scale(0.95);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #FFFFFF;
    border-radius: 50%;
}

.brand-name {
    display: none;
}

/* ========== НЕДАВНО ПРОСМОТРЕННЫЕ ========== */

.recently-viewed-section {
    margin-top: 24px;
    padding: 0 12px;
}

.recently-viewed-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    align-items: flex-start;
    overscroll-behavior-x: contain;
    --rv-card-size: 165px;
    --rv-card-radius: 16px;
    --rv-heart-size: 24px;
    --rv-heart-offset: 7px;
}

.recently-viewed-scroll::-webkit-scrollbar {
    display: none;
}

.recently-viewed-scroll .catalog-card {
    flex: 0 0 auto;
    width: var(--rv-card-size);
}

.recently-viewed-scroll .catalog-card-media {
    width: var(--rv-card-size);
    height: var(--rv-card-size);
    border-radius: var(--rv-card-radius);
}

.recently-viewed-scroll .catalog-card-image {
    border-radius: var(--rv-card-radius);
}

.recently-viewed-scroll .catalog-heart {
    top: var(--rv-heart-offset);
    left: var(--rv-heart-offset);
    width: var(--rv-heart-size);
    height: var(--rv-heart-size);
}

.recently-viewed-scroll .catalog-card-meta {
    max-width: var(--rv-card-size);
}

/* ========== КАРТОЧКА ТОВАРА ========== */

body.product-mode .bottom-nav,
body.checkout-mode .bottom-nav {
    display: none;
}

.product-page {
    background: var(--bg-color);
    padding-bottom: calc(140px + env(safe-area-inset-bottom));
    color: #E9CFE7;
    font-family: 'Montserrat', sans-serif;
    --product-x: 15px;
    --photo-x: 5px;
    --size-bar-height: 36px;
}

.product-page .marquee-container {
    display: none;
}

.page:not(#home):not(.cart-page):not(.favorites-page):not(#checkout):not(.co-subpage) .header,
.page:not(#home) .catalog-header {
    border-bottom: 1px solid rgba(233, 207, 231, 0.1);
    padding-bottom: 15px;
}

.product-page.active {
    padding-top: calc(clamp(16px, 4vw, 24px) + var(--logo-height) + clamp(12px, 3vw, 16px));
}

.product-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-button {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-button img {
    width: 24px;
    height: auto;
}

.product-content {
    padding: 8px var(--product-x) 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
    padding-left: 0;
    margin-left: 0;
}

.breadcrumb-back img {
    width: 22px;
    height: 22px;
}

.breadcrumb-back {
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    -webkit-appearance: none;
    appearance: none;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.product-title-text {
    padding-left: 0;
    min-width: 0;
    flex: 1;
}

.product-name {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.product-name.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.product-brand {
    margin-top: 4px;
    font-size: 16px;
    color: #FFFFFF;
}

.product-badge {
    display: none;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #E9CFE7;
    color: #E9CFE7;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.product-media {
    margin-top: 12px;
    background: #FFFFFF;
    border-radius: 3px;
    padding: 0;
    position: relative;
    margin-left: calc(var(--photo-x) - var(--product-x));
    margin-right: calc(var(--photo-x) - var(--product-x));
}

.product-image-wrap {
    width: 100%;
    border-radius: 3px;
    background: #FFFFFF;
    overflow: hidden;
    padding: 0;
}

.product-gallery {
    width: 100%;
    height: 300px;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.product-gallery::-webkit-scrollbar {
    display: none;
}

.product-gallery img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.product-page .product-pagination {
    position: absolute;
    left: var(--product-x);
    bottom: 15px;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin: 0;
}

.product-page .product-pagination span {
    width: 14px;
    height: 2px;
    background: #A5A4A4;
    border-radius: 2px;
}

.product-pagination span.active {
    background: #6C6868;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.product-colors {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #555;
    flex-shrink: 0;
}

.color-swatch.active {
    outline: 2px solid #E9CFE7;
    outline-offset: 2px;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-actions img {
    width: 26px;
    height: 26px;
}

.product-price {
    margin-top: 8px;
    font-size: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Norbert Breit', 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    color: #FFFFFF;
}

.product-price .price-value {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
}

.product-price .price-currency {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: inherit;
    font-size: 0.85em;
}

.product-price .price-currency-icon {
    width: 0.7em;
    height: 0.7em;
    display: inline-block;
    align-self: baseline;
}

.product-size-header {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: inherit;
}

.product-size-header span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FFFFFF;
}

.product-size-help {
    background: transparent;
    border: none;
    color: #DCBDD9;
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.product-sizes {
    margin-top: 8px;
}

.size-slider {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(107, 107, 107, 0.25);
    position: relative;
    overflow: hidden;
}

/* Рамка выбора - подстраивается под активный чип */
.size-slider-frame {
    position: absolute;
    border: 1px solid #E9CFE7;
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
    transition: left 0.2s ease, width 0.2s ease;
}

.size-slider-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    position: relative;
    scroll-behavior: smooth;
    /* Плавное повышение прозрачности по краям только для размеров */
    -webkit-mask-image: linear-gradient(to right, transparent, black 18px, black calc(100% - 18px), transparent);
    mask-image: linear-gradient(to right, transparent, black 18px, black calc(100% - 18px), transparent);
}

.size-slider-track::-webkit-scrollbar {
    display: none;
}


.size-label {
    padding: 2px 4px;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.size-chip {
    min-width: 36px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.size-chip.is-unavailable {
    color: rgba(255, 255, 255, 0.35);
}

.size-chip.active {
    color: #FFFFFF;
}

.size-slider-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.75;
    flex: 0 0 auto;
    margin-left: 2px;
    filter: brightness(0) invert(1);
    z-index: 3;
}

.product-size-table {
    margin-top: 6px;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 10px;
    cursor: pointer;
}

.product-shipping {
    margin-top: 24px;
    display: flex;
    gap: 6px;
    width: 85vw;
    margin-left: auto;
    margin-right: auto;
}

.shipping-btn {
    flex: 1;
    background: transparent;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    padding: 8px 6px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15.4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    height: calc(var(--size-bar-height) * 1.6);
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.shipping-btn small {
    font-size: 12px;
    color: inherit;
    font-weight: 700;
    line-height: 1.1;
}

.product-shipping .shipping-btn:first-child {
    font-weight: 700;
}

.shipping-btn.active {
    background: #E9CFE7;
    color: #000000;
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--bg-color), 0 0 0 3px #FFFFFF;
    font-weight: 700;
}

.shipping-btn.active small {
    color: #000000;
}


.shipping-btn span {
    line-height: 1.1;
    font-weight: 700;
}

.product-guarantee {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    font-size: 10px;
    color: inherit;
    align-items: flex-start;
}

.guarantee-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.guarantee-copy {
    flex: 1;
}

.guarantee-title {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 11px;
}

.guarantee-text {
    margin-top: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 680;
    color: #FFFFFF;
    font-size: 9px;
    line-height: 1.2;
}

.guarantee-link {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-specs {
    margin-top: 16px;
    margin-left: calc(var(--product-x) * -1);
    margin-right: calc(var(--product-x) * -1);
    padding: 14px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #E9CFE7;
}

.specs-card-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.specs-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.specs-row {
    display: flex;
    align-items: baseline;
    padding: 10px 14px;
    gap: 12px;
    background: rgba(255,255,255,0.03);
}

.specs-row-even {
    background: rgba(255,255,255,0.07);
}

.specs-row-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    flex: 0 0 42%;
    min-width: 0;
}

.specs-row-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

/* keep old thumb rule intact for any leftover references */

/* ========== ТАБЛИЦА РАЗМЕРОВ (ПОПАП) ========== */
.size-table-overlay {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
}

.size-table-popup {
    width: min(520px, 100%);
    max-height: 78vh;
    background: #1B1B1C;
    border: 1px solid rgba(233, 207, 231, 0.45);
    border-radius: 14px 14px 12px 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.size-table-popup--visible {
    transform: translateY(0);
    opacity: 1;
}

.size-table-handle {
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    margin: 10px auto 8px;
}

.size-table-cols,
.size-table-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
}

.size-table-cols {
    padding: 0 14px 8px;
    color: rgba(255, 255, 255, 0.58);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.size-table-col-hdr {
    text-align: center;
}

.size-table-body {
    max-height: 62vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px 10px;
}

.size-table-row {
    margin-bottom: 4px;
    border-radius: 10px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
}

.size-table-row:not(.size-table-row--unavail) {
    cursor: pointer;
}

.size-table-row--active {
    background: #E9CFE7;
    color: #000000;
}

.size-table-row--unavail {
    opacity: 0.35;
}

.size-table-col {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* ========== ХАРАКТЕРИСТИКИ ТОВАРА (ГОРИЗОНТАЛЬНЫЙ ТРЕК) ========== */
.specs-track {
    display: flex;
    gap: 16px;
    padding: 0 var(--product-x);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.specs-track::-webkit-scrollbar {
    display: none;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
}

.spec-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.spec-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #FFFFFF;
    white-space: nowrap;
}

.specs-scrollbar {
    height: 3px;
    border-radius: 999px;
    background: rgba(217, 217, 217, 0.15);
    position: relative;
    overflow: hidden;
    width: calc(100% - (var(--product-x) * 2));
    margin: 0 var(--product-x);
}

.specs-scrollbar-thumb {
    height: 100%;
    width: 40px;
    border-radius: inherit;
    background: #D9D9D9;
    transform: translateX(0);
    transition: transform 0.1s ease;
}

.product-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #1C1C1D;
    display: flex;
    gap: 10px;
    z-index: 1100;
}

.product-btn {
    flex: 1;
    border: none;
    border-radius: 6px;
    padding: 26px 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.buy-now {
    background: #E9CFE7;
    color: #000000;
}

.add-cart {
    background: #4A4A4A;
    color: #FFFFFF;
}

.add-cart-wrap {
    flex: 1;
    display: flex;
    min-width: 0;
}
.add-cart-wrap .add-cart {
    flex: 1;
}

.cart-qty-control {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #E9CFE7;
    border-radius: 6px;
    padding: 0 4px;
}
.cart-qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.1s;
    flex-shrink: 0;
}
.cart-qty-btn:active {
    background: rgba(0, 0, 0, 0.1);
}
.cart-qty-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    min-width: 28px;
    text-align: center;
}

@media (max-width: 420px) {
    .product-specs {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 374px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 375px) and (max-width: 480px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 18px;
    }
}

/* ========== КНОПКА "НАВЕРХ" ========== */

.scroll-top-btn {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(233, 207, 231, 0.55) 0%,
        rgba(255, 255, 255, 0.35) 40%,
        rgba(233, 207, 231, 0.45) 100%
    );
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:active {
    transform: scale(0.88) translateY(0);
    transition: transform 0.1s ease;
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    stroke: rgba(0, 0, 0, 0.7);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========== НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ ========== */

.bottom-nav {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(90% - 32px);
    max-width: 540px;
    border-radius: 26px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 8px;
    height: fit-content;
    z-index: 1000;
    margin-bottom: env(safe-area-inset-bottom);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;

    /* Liquid glass — светлее, больше розового */
    background: rgba(233, 207, 231, 0.48);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 32px rgba(233, 207, 231, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(233, 207, 231, 0.4);
    overflow: hidden;
}

/* Nav скрывается, когда виден футер */
.bottom-nav.footer-visible {
    transform: translateX(-50%) translateY(calc(100% + 20px));
    opacity: 0;
    pointer-events: none;
}

/* Specular top-highlight */
.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.0) 100%
    );
    pointer-events: none;
}

.nav-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    border-radius: 18px;
    background: rgba(233, 207, 231, 0.68);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(180, 130, 176, 0.22),
        0 2px 12px rgba(233, 207, 231, 0.45);
    pointer-events: none;
    z-index: 0;
    /* transition добавляется через JS после первого позиционирования */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2a0f27;
    flex: 1;
    padding: 7px 4px;
    border-radius: 18px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    gap: 2px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.nav-item:active {
    transform: scale(0.93);
    opacity: 0.75;
}

.nav-item.active {
    opacity: 1;
}

.nav-item:not(.active) {
    opacity: 0.5;
}

.nav-icon {
    width: 30px;
    height: 30px;
    display: block;
    filter: brightness(0) saturate(100%) invert(8%) sepia(20%) saturate(800%) hue-rotate(270deg) brightness(60%);
    transition: transform 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(8%) sepia(30%) saturate(1000%) hue-rotate(270deg) brightness(50%);
}

.nav-label {
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    flex-shrink: 1;
    letter-spacing: 0px;
}


/* Отступ снизу для контента, чтобы не перекрывался панелью */
.page:not(.product-page) {
    padding-bottom: 0;
}

/* ========== СТРАНИЦА КАТАЛОГА ========== */

.catalog-page {
    background: #181819;
    min-height: 100vh;
}

/* Поиск */
.catalog-page .catalog-search {
    padding: 6px 16px 12px;
}

/* Каталог использует те же классы что и ассортимент */
.catalog-page .catalog-search .assortment-search-bar {
    --search-rgb: 182, 175, 181;
    --search-opacity: 0.51;
    --search-appearance: 0.48;
    background: rgba(var(--search-rgb), calc(var(--search-opacity) * var(--search-appearance)));
    border-radius: 6px;
    height: 34px;
}

.catalog-page .catalog-search {
    position: relative;
}

.catalog-page .catalog-search .search-history-dropdown {
    top: calc(34px + 6px);
    left: 16px;
    right: 16px;
}

/* Переключатель пола */
.catalog-page .gender-toggle {
    position: relative;
    display: flex;
    padding: 4px;
    margin: 0 16px 20px;
    background: transparent;
    border: 1px solid #E9CFE7;
    border-radius: 14px;
}

.catalog-page .gender-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: rgba(233, 207, 231, 0.66);
    border: 1px solid #E9CFE7;
    border-radius: 10px;
    transition: transform 0.3s ease;
    z-index: 0;
}

.catalog-page .gender-toggle[data-active="women"] .gender-slider {
    transform: translateX(100%);
}

.catalog-page .gender-btn {
    flex: 1;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
    position: relative;
}

.catalog-page .gender-btn.active {
    color: #000000;
}

/* Контент каталога */
.catalog-page .catalog-content {
    padding: 0;
}

/* Секции каталога */
.catalog-page .catalog-section {
    margin-bottom: 32px;
    padding: 0;
}

.catalog-page .catalog-section:last-of-type {
    margin-bottom: 14px;
}

.catalog-page .catalog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 16px;
}

.catalog-page .catalog-section:last-of-type .catalog-section-header {
    margin-bottom: 8px;
}

.catalog-page .catalog-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.catalog-page .catalog-see-all {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 10px;
    background: rgba(233, 207, 231, 0.66);
    border: 1px solid #E9CFE7;
    border-radius: 14px;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    height: 21px;
}

.catalog-page .catalog-see-all span {
    font-size: 12px;
    line-height: 1;
}

/* Сетка категорий */
.catalog-page .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 13px;
    padding: 0 16px;
}

.catalog-page .catalog-card {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    background: #FFFFFF;
    text-decoration: none;
    display: block;
    width: auto;
    flex: none;
    scroll-snap-align: none;
    flex-direction: initial;
}

.catalog-page .catalog-card-large {
    grid-column: span 2;
    aspect-ratio: 3.58 / 1;
}

.catalog-page .catalog-card-small {
    grid-column: span 1;
    aspect-ratio: 1.6 / 1;
}

/* Большие карточки: фото справа, от 50% до правого края */
.catalog-page .catalog-card-image {
    position: absolute;
    top: auto;
    left: 50%;
    right: 3%;
    bottom: 0;
    height: 90%;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
    border-radius: 0;
    transition: transform 0.3s ease;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, black 4%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, black 4%);
}

/* Маленькие карточки по умолчанию (Ботинки): фото справа ~75% ширины */
.catalog-page .catalog-card-small .catalog-card-image {
    left: 35%;
    right: 5%;
    width: auto;
    height: 95%;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, black 4%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, black 4%);
}

/* Обувь для спорта: фото на всю ширину под текстом */
.catalog-page .catalog-card[data-subcategory="sports"] .catalog-card-image {
    right: 0;
    bottom: 0;
    width: 95%;
    height: 75%;
    left: 50%;
    transform: translateX(-50%);
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, black 4%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, black 4%);
}

/* Ботинки мужские: фото справа */
.catalog-page[data-gender="men"] .catalog-card[data-subcategory="boots"] .catalog-card-image {
    left: 30%;
    right: 0;
    width: auto;
    height: 95%;
    object-position: right bottom;
}

/* Ботинки женские: фото по центру, чуть крупнее */
.catalog-page[data-gender="women"] .catalog-card[data-subcategory="boots"] .catalog-card-image {
    left: 25%;
    right: -5%;
    width: auto;
    height: 100%;
    object-position: center bottom;
}

.catalog-page .catalog-card:active .catalog-card-image {
    transform: scale(1.03);
}

.catalog-page .catalog-card[data-subcategory="sports"]:active .catalog-card-image {
    left: 50%;
    transform: translateX(-50%) scale(1.03);
}

.catalog-page .catalog-card-content {
    position: relative;
    padding: 12px 14px;
    z-index: 1;
}

.catalog-page .catalog-card-title {
    color: rgba(36, 33, 33, 0.55);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    max-width: 50%;
}

.catalog-page .catalog-card-large .catalog-card-title {
    font-size: 20px;
    max-width: 45%;
}

/* Заглушка "Упс" - как карточка с фоновым изображением */
.catalog-page .catalog-empty {
    position: relative;
    aspect-ratio: 2 / 1;
    margin: 0 16px;
    width: calc(100% - 32px);
    border-radius: 11px;
    overflow: hidden;
    background-image: url('other_photo/cloth.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========== ФУТЕР САЙТА ========== */

/* Футер корзины виден */
#cart .site-footer {
    display: block;
    margin-top: 24px;
}

/* Убираем лишний отступ снизу — его роль теперь играет футер */
#cart .cart-content {
    padding-bottom: 0;
}

.site-footer {
    background: #0b0b0b;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    margin-top: 30px;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 150px 0 150px #0b0b0b;
}

.catalog-page .site-footer {
    margin-top: 12px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 14px;
    width: auto;
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-social-link:active {
    opacity: 0.5;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.footer-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.footer-menu-item:active {
    opacity: 0.7;
}

.footer-chevron {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    transform: rotate(-90deg);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 16px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
}

.footer-legal-link:active {
    opacity: 0.7;
}

/* Анимации для плавности */@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== СТРАНИЦА АССОРТИМЕНТА (Figma-точный) ========== */
/* Scale: 6.246 (2686px Figma → 430px iPhone 15 Pro Max) */

.assortment-page {
    --assortment-content-gutter: 12px;
    background: #181819;
    padding-bottom: 0;
}

.assortment-page .header {
    padding-left: var(--assortment-content-gutter);
    padding-right: var(--assortment-content-gutter);
}

.assortment-page .cart-button {
    right: var(--assortment-content-gutter);
}


/* ===== Шапка ассортимента ===== */
.assortment-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 16px 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    z-index: 100;
}

.assortment-header .logo {
    height: 32px;
}

.assortment-header .cart-button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.assortment-header .menu-button {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
}

.assortment-header .menu-button:active {
    opacity: 0.6;
}

/* ===== Поиск ===== */
.assortment-search {
    padding: 0 var(--assortment-content-gutter, 16px) 20px;
    margin-top: 5px;
    position: relative;
}

.assortment-search-bar {
    --search-rgb: 182, 175, 181;
    --search-opacity: 0.51;
    --search-appearance: 0.48;
    display: flex;
    align-items: center;
    background: rgba(var(--search-rgb), calc(var(--search-opacity) * var(--search-appearance)));
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    height: 34px;
}

.assortment-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
}

.assortment-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.assortment-search-icon {
    width: 22px;
    height: 22px;
    opacity: 1;
}

/* ===== Фильтры ===== */
.assortment-filters {
    padding: 0 0 22px;
    overflow: visible;
}

.filters-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 var(--assortment-content-gutter, 16px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filters-scroll::-webkit-scrollbar {
    display: none;
}


.filter-chip {
    flex-shrink: 0;
    height: 32px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1.5px solid #E9CFE7;
    border-radius: 10.5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.filter-chip.active {
    background: rgba(233, 207, 231, 0.66);
    border-color: #E9CFE7;
    color: #000000;
}

.filter-chip:active {
    transform: scale(0.95);
}

/* Кнопка сортировки — слева от фильтров */
.sort-pill {
    flex-shrink: 0;
    width: 37px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sort-pill:active {
    transform: scale(0.95);
}

.sort-pill-icon {
    width: auto;
    height: 32px;
    display: block;
}

.sort-pill-icon-active {
    display: none;
}

.sort-pill.is-active .sort-pill-icon-default {
    display: none;
}

.sort-pill.is-active .sort-pill-icon-active {
    display: block;
}

/* ===== Dropdown сортировки ===== */
.sort-dropdown {
    position: fixed;
    left: var(--assortment-content-gutter, 12px);
    right: var(--assortment-content-gutter, 12px);
    top: 0;
    margin: 0;
    background: #181819;
    border: 1.4px solid #E9CFE7;
    border-radius: 0;
    padding: 14px 0 10px;
    z-index: 1250;
    animation: dropdown-appear 0.2s ease;
}

@keyframes dropdown-appear {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.sort-dropdown-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 10px;
    text-align: center;
}

.sort-dropdown-divider {
    height: 1px;
    width: 100%;
    background: #E9CFE7;
    margin-bottom: 10px;
}

.sort-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 10px);
    margin: 0 auto 5px;
    padding: 10px 0;
    background: none;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    cursor: pointer;
}

.sort-option.active {
    background: rgba(233, 207, 231, 0.66);
    border-color: #E9CFE7;
    border-radius: 3px;
    color: #000000;
}

.sort-option:last-child {
    margin-bottom: 0;
}

.sort-option:active {
    opacity: 0.7;
}

.sort-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24, 24, 25, 0.18);
    z-index: 1200;
    touch-action: none;
}

/* ===== Грид товаров ===== */
.assortment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 6px;
    padding: 0 var(--assortment-content-gutter, 16px) 20px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    will-change: transform, opacity;
}

.assortment-grid.is-sort-flip-out {
    opacity: 0.35;
    transform: translateX(-12px);
}

.assortment-grid.is-sort-flip-in {
    animation: assortment-sort-flip-in 0.32s cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

@keyframes assortment-sort-flip-in {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Карточка товара ===== */
.assortment-card {
    cursor: pointer;
    transition: transform 0.15s ease;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.assortment-card:active {
    transform: scale(0.97);
}

.assortment-card.wide {
    grid-column: span 2;
}

/* Область изображения */
.assortment-card-image-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 105%;
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 8px;
}

.assortment-card.wide .assortment-card-image-wrap {
    padding-bottom: 65%;
}

.assortment-card.wide .assortment-card-image {
    --card-image-scale: 1;
    transform-origin: center center;
    object-fit: cover;
    object-position: center 88%;
}

.assortment-card-gallery {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    touch-action: pan-y;
}

.assortment-card-gallery::-webkit-scrollbar {
    display: none;
}

.assortment-card-image {
    --card-image-scale: 1.05;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: scale(var(--card-image-scale));
    transform-origin: center center;
    display: block;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.assortment-card-image-mini {
    --card-image-scale: 1;
    object-position: center center;
    transform-origin: center center;
}

.assortment-card-pagination {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 2.5px;
    z-index: 6;
}

.assortment-card-pagination span {
    width: 9.8px;
    height: 2px;
    background: #A5A4A4;
    border-radius: 2px;
}

.assortment-card-pagination span.active {
    background: #6C6868;
}

/* Сердечко — левый верхний угол */
.assortment-card-heart {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.assortment-card-heart img {
    width: 100%;
    height: 100%;
}

.assortment-card-heart:active {
    transform: scale(0.85);
}

/* Избранное: сердечко такого же размера как на главной */
.favorites-page .assortment-card-heart {
    width: var(--home-heart-size, 18px);
    height: var(--home-heart-size, 18px);
    top: 5px;
    left: 5px;
}

/* Текст под изображением */
.assortment-card-meta {
    padding: 6px 18px 14px 8px;
    background: transparent;
}

.assortment-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.35;
    margin-bottom: 1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.assortment-card-color {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    z-index: 6;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

/* Ценник — розовая заливка */
.assortment-card-price {
    display: inline-block;
    width: auto;
    padding: 0;
    background: #E9CFE7;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #181819;
    line-height: 1;
    white-space: nowrap;
}

.assortment-card-price.price-request {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.4);
}


/* ===== Загрузка ===== */
.assortment-loading {
    padding: 30px 16px;
    text-align: center;
}

.loading-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #E9CFE7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

.assortment-end {
    padding: 30px 16px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.assortment-empty {
    grid-column: span 2;
    padding: 40px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

/* Skeleton */
.assortment-card.skeleton {
    background: #FFFFFF;
}

.assortment-card.skeleton .assortment-card-image-wrap {
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.assortment-card.skeleton .assortment-card-meta {
    padding: 6px 12px 14px;
}

.assortment-card.skeleton .assortment-card-meta::before {
    content: '';
    display: block;
    height: 14px;
    width: 80%;
    background: #e8e8e8;
    border-radius: 3px;
    margin-bottom: 6px;
}

.assortment-card.skeleton .assortment-card-meta::after {
    content: '';
    display: block;
    height: 14px;
    width: 50%;
    background: #f0e0ee;
    border-radius: 3px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== ФИЛЬТРЫ ========== */

/* Scrollable list (size / color) */
.filter-list {
    max-height: 252px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #E9CFE7 #2a2a2b;
}
.filter-list::-webkit-scrollbar { width: 4px; }
.filter-list::-webkit-scrollbar-track { background: #2a2a2b; }
.filter-list::-webkit-scrollbar-thumb { background: #E9CFE7; border-radius: 2px; }

/* Color option row */
.filter-color-option {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filter-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
}

/* Price panel body */
.filter-price-body {
    padding: 14px 16px 18px;
}

.filter-price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-price-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2b;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 8px 12px;
}

.filter-price-label {
    font-size: 13px;
    color: #888;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.filter-price-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    width: 0;
}
.filter-price-input::-webkit-inner-spin-button,
.filter-price-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Dual range slider */
.filter-price-slider-wrap {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.filter-price-track {
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    background: #444;
    border-radius: 2px;
    pointer-events: none;
}

.filter-price-fill {
    position: absolute;
    height: 4px;
    background: #E9CFE7;
    border-radius: 2px;
    pointer-events: none;
}

.filter-range {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    pointer-events: none;
}
.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E9CFE7;
    pointer-events: all;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(233,207,231,0.2);
}
.filter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E9CFE7;
    border: none;
    pointer-events: all;
    cursor: pointer;
}

/* ========== ИЗБРАННОЕ ========== */

.favorites-page .header {
    background: #181819;
}

.favorites-content {
    padding: 0 0 100px;
}

.favorites-title {
    font-size: 24px;
    font-weight: 800;
    color: #E9CFE7;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    padding: 16px 16px 0;
}

.favorites-grid {
    margin-bottom: 24px;
}

.favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 16px 32px;
    text-align: center;
}

.favorites-empty-icon {
    width: 48px;
    height: 48px;
    opacity: 0.25;
    filter: invert(1);
}

.favorites-empty-text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.favorites-empty-sub {
    font-size: 13px;
    color: #666;
}

.favorites-catalog-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 0;
    background: #E9CFE7;
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.15s;
}

.favorites-catalog-btn:active { opacity: 0.8; }

.favorites-loading {
    display: flex;
    justify-content: center;
    padding: 48px 0;
    grid-column: 1 / -1;
}

/* ========== КОРЗИНА ========== */

.cart-content {
    padding: 0 0 100px;
}

.cart-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 16px 12px;
}

.cart-title {
    font-size: 18px;
    font-family: 'Norbert Breit', sans-serif;
    font-weight: 900;
    color: #E9CFE7;
    margin: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.cart-clear-btn {
    background: rgba(217, 217, 217, 0.25);
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #fff;
    font-size: 10px;
    font-family: inherit;
    cursor: pointer;
    padding: 2px 7px;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.cart-clear-btn:active { opacity: 0.7; }

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid #E9CFE7;
}

.cart-item + .cart-item {
    border-top: 0.5px solid rgba(233, 207, 231, 0.35);
}

/* Cart item card */
.cart-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 110px;
    padding: 14px 0;
}

.cart-item-image-wrap {
    flex-shrink: 0;
    width: 130px;
    height: 120px;
    align-self: flex-start;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 0 12px;
    position: relative;
}

.cart-item-name {
    font-size: 13.2px;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: default;
    padding-right: 32px;
}

.cart-item-name.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 4px;
    background: none;
    border: none;
    color: #E9CFE7;
    font-size: 40px;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.15s;
}

.cart-item-remove:active { opacity: 0.6; }

.cart-item-size-row {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
}

.cart-item-price {
    font-size: 17px;
    font-family: 'Norbert Breit', sans-serif;
    font-weight: 900;
    color: #E9CFE7;
    margin-left: auto;
    white-space: nowrap;
}

.cart-item-size-label {
    font-size: 13px;
    color: #888;
}

.cart-item-size-pill {
    background: rgba(217, 217, 217, 0.25);
    border: 1px solid #ffffff;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cart-size-chevron {
    font-size: 10px;
    color: #888;
}

/* Delivery toggle button */
.cart-delivery-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 217, 217, 0.25);
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 1px 8px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    width: 100%;
    margin-top: auto;
    transition: background 0.15s, border-color 0.15s;
}

.cart-delivery-toggle:active {
    background: rgba(217, 217, 217, 0.4);
    border-color: #ffffff;
}

.cart-delivery-icon {
    flex-shrink: 0;
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    object-position: center;
}

.cart-delivery-icon--plane {
    width: 26px;
    height: 26px;
}

.cart-delivery-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.cart-delivery-days {
    font-size: 10.8px;
    font-weight: 700;
    color: #fff;
    display: block;
    white-space: nowrap;
}

.cart-delivery-label {
    font-size: 9px;
    color: #aaa;
    display: block;
    white-space: nowrap;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 16px 40px;
    gap: 16px;
}

.cart-empty-icon img {
    width: 56px;
    height: 56px;
    opacity: 0.3;
    filter: invert(1);
}

.cart-empty-text {
    font-size: 16px;
    color: #888;
    text-align: center;
}

.cart-empty-cta {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
}

.cart-promo {
    margin: 12px 16px 0;
    background: #181819;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.cart-promo-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.49);
    font-size: 16.1px;
    font-family: 'Montserrat', inherit;
    font-weight: 500;
    padding: 7px 16px;
    cursor: pointer;
}

.cart-promo-chevron {
    width: 18px;
    height: 18px;
    filter: invert(1);
    opacity: 0.49;
    transition: transform 0.2s;
}

.cart-promo-form {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
}

.cart-promo-input {
    flex: 1;
    background: #2e2e2f;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    padding: 10px 12px;
    outline: none;
}

.cart-promo-input::placeholder { color: #666; }

.cart-promo-apply {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.cart-checkout-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 12px 16px 0;
    background: rgba(233, 207, 231, 0.74);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 7px 16px;
    font-size: 16.1px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.15s;
}

.cart-checkout-btn:active { opacity: 0.85; }

.cart-summary {
    margin: 12px 0 0;
    padding: 12px 16px 0 16px;
}

.cart-summary-label {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 6px;
}

.cart-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.cart-summary-total-row span:last-child {
    color: #E9CFE7;
    font-family: 'Norbert Breit', sans-serif;
    font-size: 24px;
}

.cart-faq {
    margin: 16px 16px 0;
    background: rgba(217, 217, 217, 0.2);
    border-radius: 14px;
    overflow: hidden;
}

.cart-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: none;
    border: none;
    color: #E9CFE7;
    font-size: 14px;
    font-family: 'Montserrat', inherit;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
}

.cart-faq-icon {
    height: 33px;
    width: auto;
    flex-shrink: 0;
}

.cart-section {
    margin-top: 24px;
}

.cart-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 16px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: #E9CFE7;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    font-family: inherit;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

.cart-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    pointer-events: none;
}

.cart-toast.cart-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes sizes-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.sizes-shake { animation: sizes-shake 0.5s ease; }

/* ===== Search: кнопка Отмена + история ===== */

/* Строка поиска всегда во всю ширину */
.assortment-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 12px;
    /* width уже 100% по умолчанию как блочный элемент */
}

/* Иконка поиска слева */
.assortment-search-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 0.55;
    order: 0;
}

.assortment-search-input {
    flex: 1;
    order: 1;
    min-width: 0;
}

/* Кнопка × (очистить текст) */
.search-clear-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 2;
    border-radius: 50%;
    transition: opacity 0.15s;
}

.search-clear-btn:active {
    opacity: 0.6;
}

/* Кнопка «Отмена» — внутри строки, справа */
.search-cancel-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 2px 0 6px;
    white-space: nowrap;
    flex-shrink: 0;
    order: 3;
    /* скрыта по умолчанию */
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-width 0.22s ease, opacity 0.22s ease, padding 0.22s ease, color 0.15s;
}

.search-cancel-btn:active {
    color: rgba(255, 255, 255, 0.9);
}

/* Когда поиск активен — кнопка появляется внутри бара */
.assortment-search.search-focused .assortment-search-bar .search-cancel-btn {
    max-width: 80px;
    opacity: 1;
    pointer-events: auto;
    padding: 0 4px 0 8px;
}

/* Опции внутри фильтр-панелей — touch-action для iOS */
.filter-panel .sort-option,
.filter-panel .filter-color-item,
.filter-list .sort-option {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* История поиска — floating dropdown снизу строки */
.search-history-dropdown {
    position: absolute;
    top: calc(34px + 6px); /* высота search-bar + отступ */
    left: 0;
    right: 0;
    z-index: 500;
    margin-top: 0;
    background: rgba(24, 23, 25, 0.98);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(233, 207, 231, 0.13);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-history-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-history-item:last-child {
    border-bottom: none;
}

.search-history-item:active {
    background: rgba(255,255,255,0.07);
}

.search-history-icon {
    flex-shrink: 0;
    opacity: 0.35;
}

.search-history-text {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-history-delete {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-history-delete:active {
    opacity: 0.7;
}

.search-history-header {
    padding: 10px 14px 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.35);
    font-family: 'Montserrat', sans-serif;
}

/* ===== Карусели в корзине ===== */
.cart-carousel.products-container {
    padding-left: 16px;
    padding-right: 16px;
    background-color: transparent;
}

.cart-section-title {
    padding-left: 16px;
}

/* ===== Pink titles for cart carousels ===== */
#cartRecentlyViewedSection .cart-section-title,
#cartFavoritesSection .cart-section-title,
#cartRecommendationsSection .cart-section-title {
    color: #E9CFE7;
}

/* ===== Left padding for cart carousel scrolls ===== */
.cart-section .recently-viewed-scroll {
    padding-left: 16px;
    scroll-padding-left: 16px;
}

/* ========================================
   ПРОФИЛЬ
   ======================================== */
.profile-page { display: none; flex-direction: column; min-height: 100%; padding-bottom: 0; }
.profile-page.active { display: flex; }

.profile-hero { display: flex; flex-direction: column; align-items: center; padding: 20px 16px 16px; gap: 8px; }

.profile-avatar-wrap { position: relative; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: #2a2a2c; flex-shrink: 0; }
.profile-avatar { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #8b8b8b; text-align: center; padding: 8px; background: #2a2a2c; }

.profile-info { text-align: center; }
.profile-name  { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.2; }
.profile-phone { font-size: 13px; color: #8b8b8b; margin-top: 2px; }

.profile-loyalty-badge { margin-top: 4px; padding: 5px 18px; border: 1.5px solid rgba(233,207,231,0.5); border-radius: 20px; background: transparent; color: #E9CFE7; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }

.profile-loyalty-bar-wrap { display: flex; align-items: center; gap: 8px; padding: 0 16px 16px; }
.profile-loyalty-label { font-size: 11px; color: #8b8b8b; white-space: nowrap; min-width: 56px; }
.profile-loyalty-label--right { text-align: right; }
.profile-loyalty-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(233,207,231,0.25); overflow: hidden; }
.profile-loyalty-fill { height: 100%; border-radius: 3px; background: #E9CFE7; transition: width 0.6s ease; }

.profile-quick-row { display: flex; gap: 10px; padding: 0 16px 20px; }
.profile-quick-card { flex: 1; background: #212123; border: none; border-radius: 14px; padding: 10px; cursor: pointer; text-align: left; font-family: inherit; }
.profile-quick-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; border-radius: 8px; overflow: hidden; aspect-ratio: 1; margin-bottom: 8px; }
.profile-quick-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-quick-placeholder { width: 100%; height: 100%; background: #2e2e30; }
.profile-quick-label { font-size: 12px; color: #8b8b8b; display: block; }

.profile-menu { display: flex; flex-direction: column; padding: 0 16px; }
.profile-menu-item { display: flex; align-items: center; gap: 14px; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 15px 0; cursor: pointer; font-family: inherit; font-size: 15px; color: #fff; width: 100%; text-align: left; }
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; opacity: 0.85; }
.profile-menu-item span { flex: 1; }
.profile-menu-chevron { width: 18px; height: 18px; opacity: 0.4; transform: rotate(180deg); }

/* Подстраницы */
.profile-subpage { display: none; flex-direction: column; min-height: 100%; }
.profile-subpage.active { display: flex; }

/* Checkout sub-pages (используют тот же хедер что и #checkout) */
.co-subpage { background: #181819; display: none; flex-direction: column; min-height: 100%; padding-bottom: 0; }
.co-subpage.active {
    display: flex;
    padding-top: calc(clamp(16px, 4vw, 24px) + var(--logo-height) + clamp(12px, 3vw, 16px) + var(--marquee-height));
}
.co-subpage-nav { padding: 0 16px; flex-shrink: 0; }

.subpage-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; }
.subpage-back { background: none; border: none; cursor: pointer; padding: 4px; display: flex; align-items: center; }
.subpage-back img { width: 22px; height: 22px; opacity: 0.8; }
.subpage-title { font-size: 17px; font-weight: 700; color: #fff; margin: 0; }
.subpage-content { flex: 1; overflow-y: auto; padding: 20px 16px 100px; }

.profile-form { display: flex; flex-direction: column; gap: 16px; }
.profile-form-group { display: flex; flex-direction: column; gap: 6px; }
.profile-form-label { font-size: 12px; color: #8b8b8b; font-weight: 500; }
.profile-form-input { background: #212123; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 13px 14px; font-size: 15px; color: #fff; font-family: inherit; outline: none; -webkit-appearance: none; width: 100%; box-sizing: border-box; }
.profile-form-input:focus { border-color: rgba(233,207,231,0.5); }
.profile-form-input--readonly { color: #8b8b8b; }
.profile-form-row { display: flex; gap: 10px; }
.profile-form-row .profile-form-group { flex: 1; }
.profile-form-hint { font-size: 12px; color: #666; margin-top: -6px; }
.profile-form-checkbox-row { display: flex; align-items: center; }
.profile-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #ccc; cursor: pointer; }
.profile-checkbox-label input[type=checkbox] { width: 18px; height: 18px; accent-color: #E9CFE7; }

.profile-save-btn { background: #E9CFE7; color: #111; border: none; border-radius: 12px; padding: 15px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; width: 100%; margin-top: 4px; }
.profile-cancel-btn { background: transparent; color: #8b8b8b; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 13px; font-size: 14px; font-family: inherit; cursor: pointer; width: 100%; }
.profile-add-address-btn { background: #212123; color: #E9CFE7; border: 1px dashed rgba(233,207,231,0.3); border-radius: 12px; padding: 14px; font-size: 14px; font-family: inherit; cursor: pointer; width: 100%; margin-bottom: 20px; }
.profile-address-form { display: flex; flex-direction: column; gap: 14px; }

.address-card { background: #212123; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.address-card-title { font-size: 14px; font-weight: 600; color: #fff; }
.address-card-sub   { font-size: 12px; color: #8b8b8b; }
.address-card-default { font-size: 11px; color: #E9CFE7; margin-top: 2px; }
.address-card-actions { display: flex; gap: 10px; margin-top: 8px; }
.address-card-btn { background: none; border: none; font-size: 13px; color: #8b8b8b; cursor: pointer; font-family: inherit; padding: 0; }
.address-card-btn--danger { color: #e57373; }

.notif-main-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 16px; }
.notif-row-title { font-size: 15px; font-weight: 600; color: #fff; }
.notif-row-sub   { font-size: 12px; color: #8b8b8b; margin-top: 2px; }
.notif-divider   { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin-bottom: 16px; }
.notif-category-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.notif-category-row:last-child { border-bottom: none; }
.notif-cat-name { font-size: 14px; color: #fff; }
.notif-cat-desc { font-size: 12px; color: #8b8b8b; margin-top: 2px; }

.profile-toggle { position: relative; display: inline-block; width: 48px; height: 28px; flex-shrink: 0; }
.profile-toggle input { opacity: 0; width: 0; height: 0; }
.profile-toggle-slider { position: absolute; inset: 0; background: #3a3a3c; border-radius: 14px; transition: background 0.2s; cursor: pointer; }
.profile-toggle-slider::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.profile-toggle input:checked + .profile-toggle-slider { background: #E9CFE7; }
.profile-toggle input:checked + .profile-toggle-slider::before { transform: translateX(20px); background: #111; }

.order-card { background: #212123; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.order-card-number  { font-size: 13px; color: #8b8b8b; margin-bottom: 4px; }
.order-card-status  { font-size: 14px; font-weight: 600; color: #E9CFE7; margin-bottom: 6px; }
.order-card-total   { font-size: 15px; font-weight: 700; color: #fff; }
.order-card-date    { font-size: 12px; color: #666; margin-top: 4px; }

.profile-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; gap: 16px; }
.profile-empty-text { font-size: 15px; color: #8b8b8b; text-align: center; }
.profile-empty-cta { background: #E9CFE7; color: #111; border: none; border-radius: 12px; padding: 13px 28px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; }

.profile-static-text { display: flex; flex-direction: column; gap: 16px; }
.profile-static-text p { font-size: 14px; color: #ccc; line-height: 1.6; }

.profile-toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(33,33,35,0.95); border: 1px solid rgba(233,207,231,0.3); color: #fff; font-size: 14px; padding: 12px 20px; border-radius: 20px; white-space: nowrap; opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; z-index: 1000; max-width: calc(100vw - 40px); text-align: center; }
.profile-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Admin Panel ===== */
.admin-gear-btn {
    position: fixed; bottom: 84px; right: 16px;
    width: 44px; height: 44px;
    background: rgba(40,40,44,0.95);
    border: 1px solid rgba(233,207,231,0.35);
    border-radius: 50%;
    color: #E9CFE7;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 900;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    transition: background 0.15s, transform 0.15s;
}
.admin-gear-btn:active { transform: scale(0.92); background: rgba(60,60,66,0.95); }

.admin-panel {
    position: fixed; inset: 0; z-index: 1100;
    pointer-events: none; opacity: 0;
    transition: opacity 0.2s;
}
.admin-panel.open { pointer-events: auto; opacity: 1; }
.admin-panel-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.admin-panel-sheet {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #1c1c1f; border-radius: 20px 20px 0 0;
    max-height: 92vh; display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(.32,.72,0,1);
}
.admin-panel.open .admin-panel-sheet { transform: translateY(0); }
.admin-panel-handle {
    width: 36px; height: 4px;
    background: rgba(255,255,255,0.18); border-radius: 2px;
    margin: 10px auto 0; flex-shrink: 0;
}
.admin-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px 0; flex-shrink: 0;
}
.admin-panel-title { font-size: 17px; font-weight: 600; color: #fff; }
.admin-panel-close {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%;
    color: #aaa; font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.admin-tabs {
    display: flex; padding: 12px 16px 0; gap: 6px;
    flex-shrink: 0; overflow-x: auto; scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
    flex-shrink: 0; padding: 8px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid transparent; border-radius: 20px;
    color: #aaa; font-size: 14px; cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.admin-tab.active {
    background: rgba(233,207,231,0.15);
    border-color: rgba(233,207,231,0.4); color: #E9CFE7;
}

.admin-tab-content { flex: 1; overflow: hidden; position: relative; }
.admin-tab-pane {
    display: none; flex-direction: column; gap: 0;
    height: 100%; overflow-y: auto;
    padding: 16px 20px 32px; box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
.admin-tab-pane.active { display: flex; }

.admin-hint { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0 0 12px; line-height: 1.4; }
.admin-field-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 6px; display: block; }
.admin-input {
    width: 100%; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    color: #fff; font-size: 15px; padding: 12px 14px;
    box-sizing: border-box; margin-bottom: 16px;
    outline: none; -webkit-appearance: none;
}
.admin-input:focus { border-color: rgba(233,207,231,0.5); }

.admin-toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-toggle-label { font-size: 15px; color: #ddd; }
.admin-toggle-wrap {
    position: relative; display: inline-block;
    width: 48px; height: 28px; flex-shrink: 0;
}
.admin-toggle-wrap input { opacity: 0; width: 0; height: 0; position: absolute; }
.admin-toggle-slider {
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.15); border-radius: 14px;
    transition: background 0.2s; cursor: pointer;
}
.admin-toggle-slider::before {
    content: ''; position: absolute;
    width: 22px; height: 22px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.admin-toggle-wrap input:checked + .admin-toggle-slider { background: #E9CFE7; }
.admin-toggle-wrap input:checked + .admin-toggle-slider::before { transform: translateX(20px); }

.admin-save-btn {
    margin-top: 20px; width: 100%; padding: 15px;
    background: #E9CFE7; color: #111;
    border: none; border-radius: 14px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    flex-shrink: 0; transition: opacity 0.15s;
}
.admin-save-btn:active { opacity: 0.75; }

.admin-prices-list { display: flex; flex-direction: column; gap: 0; }
.admin-price-row {
    display: grid; grid-template-columns: 1fr 110px 80px;
    align-items: center; gap: 8px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-size-label { font-size: 15px; color: #ddd; }
.admin-price-input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
    color: #fff; font-size: 15px; padding: 8px 10px;
    text-align: right; width: 100%; box-sizing: border-box;
    outline: none; -webkit-appearance: none;
}
.admin-price-input:focus { border-color: rgba(233,207,231,0.5); }
.admin-price-rub { font-size: 11px; color: rgba(255,255,255,0.35); text-align: right; }

.admin-photos-list { display: flex; flex-direction: column; gap: 0; }
.admin-photo-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.2s;
}
.admin-photo-row.hidden-photo { opacity: 0.4; }
.admin-photo-thumb {
    width: 52px; height: 52px; object-fit: cover;
    border-radius: 8px; background: rgba(255,255,255,0.05); flex-shrink: 0;
}
.admin-photo-info { flex: 1; min-width: 0; }
.admin-photo-name { font-size: 13px; color: #aaa; }
.admin-photo-idx { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.admin-photo-actions { display: flex; gap: 4px; flex-shrink: 0; }
.admin-photo-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
    color: #ccc; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.1s;
}
.admin-photo-btn:active { background: rgba(255,255,255,0.15); }
.admin-photo-btn.eye-on { color: #E9CFE7; border-color: rgba(233,207,231,0.3); }

.admin-props-list { display: flex; flex-direction: column; gap: 12px; }
.admin-prop-row { display: flex; align-items: flex-start; gap: 8px; }
.admin-prop-inputs { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.admin-prop-key, .admin-prop-val {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
    color: #fff; font-size: 13px; padding: 8px 12px;
    width: 100%; box-sizing: border-box;
    outline: none; -webkit-appearance: none;
}
.admin-prop-key { color: rgba(233,207,231,0.8); }
.admin-prop-key:focus, .admin-prop-val:focus { border-color: rgba(233,207,231,0.5); }
.admin-prop-del {
    width: 36px; height: 36px; margin-top: 6px;
    background: rgba(255,60,60,0.1);
    border: 1px solid rgba(255,60,60,0.2); border-radius: 8px;
    color: #ff6060; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-add-prop-btn {
    padding: 12px; background: rgba(255,255,255,0.06);
    border: 1px dashed rgba(255,255,255,0.2); border-radius: 12px;
    color: #aaa; font-size: 14px; cursor: pointer; margin-top: 4px;
    transition: background 0.15s;
}
.admin-add-prop-btn:active { background: rgba(255,255,255,0.1); }

/* ========== ОФОРМЛЕНИЕ ЗАКАЗА ========== */

.checkout-page {
    background: #181819;
    min-height: 100%;
    display: none;
    flex-direction: column;
    padding-bottom: 0;
}
.checkout-page.active {
    display: flex;
    padding-top: calc(clamp(16px, 4vw, 24px) + var(--logo-height) + clamp(12px, 3vw, 16px) + var(--marquee-height));
}

.checkout-content {
    flex: 1;
    padding: 0 16px;
    overflow-y: auto;
    padding-bottom: 24px;
}

/* Хлебные крошки */
.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.checkout-crumb-back {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    cursor: pointer;
}
.checkout-crumb-back:active { opacity: 0.7; }
.checkout-crumb-sep { color: rgba(255, 255, 255, 0.4); }
.checkout-crumb-current {
    color: #fff;
    font-weight: 500;
}

/* Заголовок */
.checkout-title {
    font-family: 'Norbert Breit', 'Impact', sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 6vw, 28px);
    color: #E9CFE7;
    margin: 10px 0 20px;
    letter-spacing: 0.02em;
}

/* Timeline */
.checkout-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.checkout-section {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

.checkout-timeline-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 12px;
    padding-top: 4px;
}

.checkout-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E9CFE7;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* Линия: от центра текущей точки до центра следующей */
.checkout-section:not(.checkout-section--last) .checkout-timeline-col::after {
    content: '';
    position: absolute;
    top: 10px;       /* padding-top(4) + dot-half(6) = центр точки */
    bottom: -10px;   /* центр следующей точки с таким же padding-top */
    left: 5px;       /* (12px - 2px) / 2 = 5px — пиксельно точно по центру */
    width: 2px;
    background: rgba(233, 207, 231, 0.35);
    z-index: 1;
}

.checkout-line { display: none; }

.checkout-section-body {
    flex: 1;
    padding-bottom: 20px;
    min-width: 0;
}

.checkout-section--last .checkout-section-body {
    padding-bottom: 0;
}

/* Заголовок секции */
.checkout-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
    margin-bottom: 8px;
    text-align: left;
}

.checkout-section-title {
    font-family: 'Norbert Breit', 'Impact', sans-serif;
    font-weight: 900;
    font-size: 16.5px;
    color: #fff;
}

.checkout-chevron {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transform: rotate(180deg);
    flex-shrink: 0;
}

/* Подтекст в секциях */
.checkout-section-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0;
}

/* Пустое состояние — данные не указаны */
.checkout-section-sub.empty {
    color: rgba(255, 255, 255, 0.22);
    font-style: italic;
}

/* ── Анимация незаполненной секции при клике "Оплатить" ──────── */

/* 1. Shake хедера — iOS «неверный пароль», затухающая амплитуда */
@keyframes checkout-header-shake {
    0%, 100% { transform: translateX(0); }
    15%      { transform: translateX(-8px); }
    30%      { transform: translateX(6px); }
    45%      { transform: translateX(-5px); }
    60%      { transform: translateX(3px); }
    75%      { transform: translateX(-2px); }
    88%      { transform: translateX(1px); }
}

/* 2. Шеврон — iOS spring pop: «вот сюда нажми» */
@keyframes checkout-chevron-tap {
    0%   { transform: rotate(180deg) scale(1); }
    60%  { transform: rotate(180deg) scale(1.5); }
    100% { transform: rotate(180deg) scale(1); }
}

.checkout-section-body.has-error .checkout-section-header {
    animation: checkout-header-shake 0.45s ease-out 1;
}

/* Шеврон стартует после shake (0.5s delay), spring easing */
.checkout-section-body.has-error .checkout-chevron {
    opacity: 1;
    animation: checkout-chevron-tap 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1 0.5s both;
}


/* Дата доставки */
.checkout-delivery-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 6px 0 10px;
}

/* Горизонтальный скролл товаров */
.checkout-items-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 8px;
    padding-left: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.checkout-items-scroll::-webkit-scrollbar { display: none; }

.checkout-item-card {
    position: relative;
    width: 90px;
    height: 70px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: visible;
}

.checkout-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    border-radius: 8px;
    display: block;
    background: #2a2a2a;
}

/* Кружок с иконкой доставки — внутри карточки у левого верхнего угла */
.checkout-item-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E9CFE7;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.checkout-item-badge-icon {
    width: 12px;
    height: 12px;
    filter: brightness(0);
}

/* ---- Блок стоимости ---- */
.checkout-cost-block {
    margin-bottom: 20px;
}

.checkout-cost-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #fff;
    margin: 0 0 14px;
}

/* Промокод */
/* Промокод — стиль как в корзине */
.checkout-promo-row {
    background: #181819;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    margin-bottom: 16px;
    overflow: hidden;
    cursor: default;
}

.checkout-promo-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: rgba(255, 255, 255, 0.49);
    font-size: 16.1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 7px 16px;
    cursor: pointer;
    box-sizing: border-box;
    background: none;
    border: none;
    text-align: left;
}

.checkout-promo-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.checkout-promo-input {
    flex: 1;
    background: #2e2e2f;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    padding: 10px 12px;
    outline: none;
}

.checkout-promo-input::placeholder { color: #666; }

.checkout-promo-apply {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.checkout-promo-chevron {
    width: 18px;
    height: 18px;
    filter: invert(1);
    opacity: 0.49;
    transition: transform 0.2s;
    flex-shrink: 0;
}

/* Строки цены */
.checkout-cost-row {
    display: flex;
    align-items: flex-end;
    padding: 6px 0;
    gap: 0;
}

.checkout-cost-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Leader line — розовая полоска от надписи до цены */
.checkout-cost-leader {
    flex: 1;
    border-bottom: 1px solid rgba(233, 207, 231, 0.29);
    margin: 0 8px 3px;
}

.checkout-cost-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: #E9CFE7;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Итого */
.checkout-cost-row--total {
    padding-top: 14px;
    margin-top: 4px;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.checkout-total-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.3px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.checkout-total-value {
    font-family: 'Norbert Breit', 'Impact', sans-serif;
    font-weight: 900;
    font-size: clamp(24px, 6.6vw, 31px);
    color: #fff;
}

/* ---- Кнопка Оплатить ---- */
.checkout-pay-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: rgba(233, 207, 231, 0.74);
    border: none;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: opacity 0.15s;
    margin-top: 8px;
}
.checkout-pay-btn:active { opacity: 0.85; }

/* === CHECKOUT SUCCESS === */
.checkout-success-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 16px;
}
.checkout-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(233, 207, 231, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #E9CFE7;
    background: rgba(233, 207, 231, 0.08);
}
.checkout-success-order {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 16px;
}
.checkout-success-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 280px;
}
.checkout-success-home {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    padding: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* === T-BANK PAYMENT OVERLAY === */

#tbank-payment-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #f3f5f6;
    z-index: 9999;
    flex-direction: column;
}
#tbank-payment-overlay.visible {
    display: flex;
}
.tbank-overlay-top {
    padding: 8px 16px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}
.tbank-waiting-cancel {
    background: none;
    border: none;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
}
.tbank-waiting-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.tbank-waiting-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.tbank-waiting-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 0 32px;
}

/* === CHECKOUT SUB-PAGES === */

.co-title {
    font-family: 'Norbert Breit', 'Impact', sans-serif !important;
    font-weight: 900;
    font-size: 20px;
    color: #E9CFE7;
}

.co-h2 {
    font-family: 'Norbert Breit', 'Impact', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: #E9CFE7;
    margin: 20px 0 12px;
}

.co-city-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    cursor: pointer;
}
.co-city-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.co-city-chevron {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transform: rotate(-90deg);
    filter: invert(1);
}

.co-radio-group { display: flex; flex-direction: column; gap: 0; }

.co-radio-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}
.co-radio-left { display: flex; gap: 12px; align-items: flex-start; flex: 1; }

.co-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
    margin-top: 2px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.co-radio-circle--active {
    border-color: #E9CFE7;
    background: radial-gradient(circle at center, #E9CFE7 40%, transparent 41%);
}

.co-radio-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.co-radio-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}
.co-radio-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #E9CFE7;
    white-space: nowrap;
    flex-shrink: 0;
}

.co-field-group {
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.co-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}
.co-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 10px 0;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.co-input::placeholder { color: rgba(255,255,255,0.35); }
.co-input:focus { border-bottom-color: rgba(233,207,231,0.7); }

.co-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.co-search-wrap { margin-bottom: 16px; }
.co-search-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(182,175,181,0.51);
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
}
.co-search-input::placeholder { color: rgba(255,255,255,0.5); }

.co-map-placeholder {
    flex: 1;
    min-height: 280px;
    background: #d9d9d9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #888;
}
.co-pickup-content { display: flex; flex-direction: column; }

.co-payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.co-pay-chevron {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transform: rotate(180deg);
    filter: invert(1);
}

.co-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,0.07);
    background: #181819;
    flex-shrink: 0;
}
.co-btn-primary {
    display: block;
    width: 100%;
    padding: 16px;
    background: rgba(233,207,231,0.74);
    border: none;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: opacity 0.15s;
}
.co-btn-primary:active { opacity: 0.8; }

/* === DELIVERY SCREENS === */

.delivery-option {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    align-items: flex-start;
}
.delivery-option__radio {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4); flex-shrink: 0;
    margin-top: 2px; box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}
.delivery-option.selected .delivery-option__radio {
    border-color: #e9cfe7; background: #e9cfe7;
    box-shadow: 0 0 0 3px rgba(233,207,231,0.2);
}
.delivery-option__info { flex: 1; }
.delivery-option__title {
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
}
.delivery-option__price { font-weight: 600; font-size: 13px; color: rgba(255,255,255,0.7); }
.delivery-option__desc {
    font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255,255,255,0.5);
    margin-top: 4px; line-height: 1.5;
}

.delivery-input {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff;
    font-family: 'Montserrat', sans-serif; font-size: 14px;
    padding: 12px 0; outline: none; box-sizing: border-box; margin-bottom: 4px;
}
.delivery-input::placeholder { color: rgba(255,255,255,0.4); }
.delivery-input:focus { border-bottom-color: #e9cfe7; }

.input-group { position: relative; margin-bottom: 8px; }
.input-row { display: flex; gap: 16px; }
.input-row .delivery-input { flex: 1; }

.city-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #2a2a2b; border-radius: 8px; z-index: 200;
    max-height: 200px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.city-dropdown__item {
    padding: 12px 16px; cursor: pointer; font-family: 'Montserrat', sans-serif;
    font-size: 14px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.city-dropdown__item:last-child { border-bottom: none; }
.city-dropdown__item:active { background: rgba(233,207,231,0.1); }
.city-dropdown__region { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.view-toggle {
    display: flex; background: rgba(255,255,255,0.08);
    border-radius: 20px; padding: 3px; margin: 8px 0 12px;
}
.view-toggle__btn {
    flex: 1; padding: 8px; border: none; background: transparent;
    color: rgba(255,255,255,0.5); font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 600; border-radius: 17px; cursor: pointer; transition: all 0.2s;
}
.view-toggle__btn.active { background: #e9cfe7; color: #181819; }

.address-item {
    display: flex; align-items: center; gap: 12px; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer;
}
.address-item__radio {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4); flex-shrink: 0; box-sizing: border-box;
}
.address-item.selected .address-item__radio { border-color: #e9cfe7; background: #e9cfe7; }
.address-item__info { flex: 1; }
.address-item__street { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: #fff; }
.address-item__city { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.address-item__menu { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 18px; cursor: pointer; padding: 4px 8px; }

.btn-secondary {
    width: 100%; padding: 14px; background: transparent;
    border: 1px solid rgba(255,255,255,0.5); border-radius: 4px; color: #fff;
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; margin-top: 12px;
}

.pvz-item { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; }
.pvz-item.selected, .pvz-item:active { background: rgba(233,207,231,0.08); }
.pvz-item__name { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: #fff; }
.pvz-item__address { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 3px; }
.pvz-item__info { display: flex; justify-content: space-between; margin-top: 4px; }
.pvz-item__hours { font-family: 'Montserrat', sans-serif; font-size: 11px; color: rgba(255,255,255,0.4); }
.pvz-item__dist { font-family: 'Montserrat', sans-serif; font-size: 11px; color: #e9cfe7; font-weight: 600; }
.pvz-selected__name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.pvz-selected__address { font-family: 'Montserrat', sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

.leaflet-container { background: #2a2a2b !important; }
.cdek-marker {
    width: 28px !important; height: 28px !important;
    background: #e9cfe7; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); border: 2px solid #fff;
}
.cdek-marker.selected-marker { background: #fff; width: 34px !important; height: 34px !important; }

.dl-spinner {
    display: flex; justify-content: center; align-items: center; padding: 40px;
    color: rgba(255,255,255,0.4); font-family: 'Montserrat', sans-serif; font-size: 14px;
}
