/* ============================================
   MODELS CATALOG — ПРЕМИАЛЬНЫЙ КАТАЛОГ МОДЕЛЕЙ
   Платина • Бриллианты • Холодный люкс
   ============================================ */

/* ----- БАЗОВЫЕ СТИЛИ СТРАНИЦЫ ----- */
.models-main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.models-page {
    position: relative;
    z-index: 8;
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
}

/* ----- ФИКСИРОВАННЫЙ ФОН ----- */
.panther-fixed-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.panther-fixed-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

/* ----- HERO СЕКЦИЯ ----- */
.models-hero {
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem 2.5rem;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(236, 242, 248, 0.12);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(200, 215, 230, 0.04) 15%,
        rgba(35, 40, 48, 0.15) 40%,
        rgba(8, 10, 14, 0.75) 70%,
        rgba(200, 215, 230, 0.04) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(220, 230, 240, 0.05);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.models-hero::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 35px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 25%,
        transparent 75%,
        rgba(255, 255, 255, 0.03) 100%
    );
    pointer-events: none;
}

.models-hero__glow {
    position: absolute;
    inset: 0 auto auto 50%;
    transform: translateX(-50%);
    width: min(1000px, 100%);
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(200, 215, 235, 0.04) 30%, 
        rgba(255, 255, 255, 0.01) 60%, 
        transparent 80%
    );
    filter: blur(60px);
    animation: heroGlowFloat 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlowFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.05); opacity: 1; }
}

.models-hero__content {
    position: relative;
    z-index: 2;
}

/* Секция кикер */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(235, 239, 245, 0.12);
    background: rgba(13, 16, 22, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(235, 242, 250, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-kicker__diamond {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-radius: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(210, 220, 235, 0.6)
    );
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.25),
        0 0 20px rgba(220, 230, 245, 0.1);
    animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% { opacity: 0.7; transform: rotate(45deg) scale(1); }
    50% { opacity: 1; transform: rotate(45deg) scale(1.15); }
}

.models-hero__title {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f7fbff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(210, 225, 240, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #e8f0f8 50%, #d0dce8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.models-hero__subtitle {
    max-width: 850px;
    margin: 1rem 0 0;
    color: rgba(235, 242, 250, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Статистика в герое */
.models-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.hero-stat {
    position: relative;
    padding: 1.2rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(236, 242, 248, 0.1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(190, 205, 220, 0.02) 20%,
        rgba(25, 30, 38, 0.3) 60%,
        rgba(10, 12, 16, 0.7) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 15px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s ease;
}

.hero-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.18);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(220, 230, 245, 0.06);
}

.hero-stat__value {
    display: block;
    margin-bottom: 0.4rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    color: #f8fbff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-stat__label {
    color: rgba(223, 229, 236, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ----- БЫСТРАЯ НАВИГАЦИЯ ----- */
.models-quick-nav {
    margin: 0 0 1.8rem 0;
    padding: 1.2rem 1.5rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(236, 242, 248, 0.1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(190, 205, 220, 0.02) 20%,
        rgba(25, 30, 38, 0.3) 60%,
        rgba(10, 12, 16, 0.7) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.models-quick-nav::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 40%,
        transparent 70%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
}

.models-quick-nav__head {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.models-quick-nav__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.models-quick-nav__btn {
    min-width: 220px;
    padding: 0 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.models-quick-nav__btn:hover {
    transform: translateY(-2px);
}

.models-quick-nav__btn--active {
    border-color: rgba(245, 248, 252, 0.35);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(220, 230, 245, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        180deg,
        rgba(60, 70, 85, 0.5) 0%,
        rgba(20, 25, 32, 0.6) 100%
    );
}

/* ----- ТУЛБАР С ФИЛЬТРАМИ ----- */
.models-toolbar {
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    border-radius: 28px;
    border: 1px solid rgba(236, 242, 248, 0.1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(190, 205, 220, 0.02) 20%,
        rgba(25, 30, 38, 0.3) 60%,
        rgba(10, 12, 16, 0.7) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.toolbar-top {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(180px, 0.6fr));
    gap: 1.2rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field__label {
    color: rgba(228, 233, 239, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.field__control {
    height: 52px;
    padding: 0 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(234, 239, 245, 0.12);
    background: linear-gradient(
        180deg,
        rgba(30, 35, 42, 0.5) 0%,
        rgba(10, 12, 16, 0.7) 100%
    );
    color: #f6fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.field__control:focus {
    border-color: rgba(245, 248, 252, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(215, 225, 235, 0.08);
}

.field__control--select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(235,242,250,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.field__control option {
    background: #1a1e24;
    color: #f0f5fc;
}

.toolbar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.quick-filter {
    min-height: 42px;
    padding: 0 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 238, 244, 0.12);
    background: linear-gradient(
        180deg,
        rgba(45, 52, 60, 0.5) 0%,
        rgba(15, 18, 22, 0.7) 100%
    );
    color: #f5f9fc;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.quick-filter:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 25px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(227, 236, 248, 0.06);
}

.quick-filter.active {
    border-color: rgba(245, 248, 252, 0.35);
    background: linear-gradient(
        180deg,
        rgba(70, 82, 98, 0.55) 0%,
        rgba(25, 30, 38, 0.65) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 25px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(220, 230, 245, 0.1);
}

.btn-reset {
    min-height: 42px;
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 238, 244, 0.12);
    background: linear-gradient(
        180deg,
        rgba(45, 52, 60, 0.4) 0%,
        rgba(15, 18, 22, 0.6) 100%
    );
    color: rgba(235, 242, 250, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-reset:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.25);
    color: #ffffff;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(227, 236, 248, 0.06);
}

/* ----- СЕТКА КАРТОЧЕК МОДЕЛЕЙ ----- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(236, 242, 248, 0.1);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(190, 205, 220, 0.02) 20%,
        rgba(25, 30, 38, 0.3) 60%,
        rgba(10, 12, 16, 0.75) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 248, 252, 0.18);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(220, 230, 245, 0.08);
}

.model-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 31px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.model-card__top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.2rem;
}

.model-card__photo {
    position: relative;
    /* min-height: 260px; */       /* ← ЗАКОММЕНТИРОВАНО */
    aspect-ratio: 3/4;             /* ← ДОБАВЬ */
    width: 100%;                   /* ← ДОБАВЬ */
    height: auto;                  /* ← ДОБАВЬ */
    max-height: 750px;             /* ← ДОБАВЬ (меняй значение: 500px, 550px) */
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        rgba(55, 60, 70, 0.9) 0%,
        rgba(12, 14, 18, 0.95) 100%
    );
    border: 1px solid rgba(236, 242, 248, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 25px rgba(0, 0, 0, 0.3);
}

.model-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-card__photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 0.1em;
    color: rgba(246, 250, 255, 0.7);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.model-card__photo-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.6);
    border: 1px solid rgba(240, 244, 249, 0.15);
    color: #f6fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 3;
}

.model-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.model-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.model-card__title-wrap {
    min-width: 0;
}

.model-card__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    color: #f8fbff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.model-card__nickname {
    margin-top: 0.3rem;
    color: rgba(221, 228, 236, 0.65);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.model-card__price {
    flex-shrink: 0;
    text-align: right;
    padding: 0.5rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(236, 242, 248, 0.08);
}

.model-card__price strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    color: #f6fbff;
    line-height: 1.1;
}

.model-card__price span {
    color: rgba(222, 229, 236, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.model-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(232, 238, 245, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(243, 247, 252, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.model-card__about {
    margin: 0 0 0.9rem;
    color: rgba(226, 232, 239, 0.78);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.model-card__manager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    margin-bottom: 0.9rem;
}

.manager-box__label {
    color: rgba(218, 226, 233, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.manager-box__name {
    display: block;
    margin-top: 0.2rem;
    color: #f5f9fd;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.model-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(241, 245, 250, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.model-card__id {
    color: rgba(216, 223, 231, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.card-btn {
    min-width: 160px;
    height: 46px;
    padding: 0 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(235, 239, 245, 0.14);
    background: linear-gradient(
        180deg,
        rgba(45, 52, 60, 0.5) 0%,
        rgba(12, 15, 18, 0.75) 100%
    );
    color: #f8fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.25);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(225, 234, 245, 0.08);
}

/* ----- СОСТОЯНИЯ ЗАГРУЗКИ И ПУСТОТЫ ----- */
.list-state {
    margin-top: 2rem;
    padding: 3rem 1rem;
    text-align: center;
    color: rgba(226, 232, 239, 0.8);
    font-family: 'Montserrat', sans-serif;
    border-radius: 28px;
    border: 1px solid rgba(236, 242, 248, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.state-shimmer {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top-color: rgba(220, 230, 245, 0.6);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(220, 230, 245, 0.1);
}

.empty-icon {
    font-size: 3rem;
    color: rgba(220, 230, 245, 0.5);
    margin-bottom: 1rem;
}

.list-state h3 {
    margin: 0 0 0.5rem;
    color: #f6fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.list-state p {
    margin: 0;
    color: rgba(226, 232, 239, 0.7);
    font-size: 0.95rem;
}

.hidden {
    display: none !important;
}

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

/* ----- МОДАЛЬНОЕ ОКНО ----- */
.model-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.model-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.model-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 7, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.model-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    padding: 1.5rem;
    border-radius: 36px;
    border: 1px solid rgba(236, 242, 248, 0.14);
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(45, 52, 60, 0.2) 40%,
        rgba(8, 10, 14, 0.95) 100%
    );
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.model-modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.model-modal__dialog::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 999px;
}

.model-modal__dialog::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.model-modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(235, 239, 245, 0.14);
    border-radius: 14px;
    background: rgba(11, 14, 18, 0.8);
    color: #f6fbff;
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.model-modal__close:hover {
    transform: rotate(90deg);
    border-color: rgba(245, 248, 252, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.model-modal__body {
    margin-top: 0.5rem;
}

/* Детальный просмотр модели */
.modal-hero {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 1.5rem;
}

.modal-hero__photo {
    position: relative;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(236, 242, 248, 0.1);
    background: linear-gradient(
        160deg,
        rgba(55, 60, 70, 0.9) 0%,
        rgba(12, 14, 18, 0.95) 100%
    );
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-hero__photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 0.1em;
    color: rgba(246, 250, 255, 0.7);
}

.modal-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-hero__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.modal-hero__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: #f8fbff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-hero__nickname {
    margin-top: 0.4rem;
    color: rgba(220, 228, 236, 0.65);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-price-badge {
    min-width: 160px;
    text-align: right;
    padding: 0.9rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(235, 239, 245, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-price-badge strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: #f8fbff;
    line-height: 1.1;
}

.modal-price-badge span {
    color: rgba(220, 228, 236, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.modal-block {
    padding: 1.3rem;
    border-radius: 24px;
    border: 1px solid rgba(232, 238, 245, 0.09);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-block__title {
    margin: 0 0 1rem;
    color: #f6fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.detail-item {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
}

.detail-label {
    color: rgba(218, 226, 233, 0.55);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-value {
    display: block;
    margin-top: 0.3rem;
    color: #f7fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.modal-about {
    color: rgba(227, 233, 240, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.model-media-tile {
    position: relative;
    min-height: 140px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: linear-gradient(
        160deg,
        rgba(55, 60, 70, 0.9) 0%,
        rgba(12, 14, 18, 0.95) 100%
    );
    cursor: pointer;
    transition: all 0.25s ease;
}

.model-media-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.model-media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-media-tile__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 248, 252, 0.7);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
}

.manager-mini-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    cursor: pointer;
    transition: all 0.25s ease;
}

.manager-mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 248, 252, 0.18);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.manager-mini-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(
        160deg,
        rgba(55, 60, 70, 0.9) 0%,
        rgba(12, 14, 18, 0.95) 100%
    );
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 248, 252, 0.8);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    border: 1px solid rgba(236, 242, 248, 0.1);
}

.manager-mini-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manager-mini-card__info {
    flex: 1;
    min-width: 0;
}

.manager-mini-card__name {
    color: #f7fbff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
}

.manager-mini-card__meta {
    margin-top: 0.2rem;
    color: rgba(220, 228, 236, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
}

.modal-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-side__card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(232, 238, 245, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-side__label {
    display: block;
    margin-bottom: 0.8rem;
    color: rgba(218, 226, 233, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.modal-side__value {
    display: block;
    color: #f5f9fd;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}

/* Кнопки в модалке */
.modal-block .card-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Стили для иконок (если будут добавлены) */
.section-caption-diamond-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* ===== ФИЛЬТР ПО ТЕГАМ ===== */
.tags-filter-wrapper {
    flex: 1;
    min-width: 0;
}

.tags-filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: rgba(228, 233, 239, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tags-filter-label__icon {
    font-size: 0.8rem;
    color: rgba(220, 230, 245, 0.8);
}

.tags-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 238, 244, 0.12);
    background: linear-gradient(180deg, rgba(45, 52, 60, 0.5) 0%, rgba(15, 18, 22, 0.7) 100%);
    color: rgba(235, 242, 250, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.filter-tag:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 248, 252, 0.25);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 16px rgba(0, 0, 0, 0.25);
}

.filter-tag.active {
    border-color: rgba(245, 248, 252, 0.35);
    background: linear-gradient(180deg, rgba(70, 82, 98, 0.55) 0%, rgba(25, 30, 38, 0.65) 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 16px rgba(0, 0, 0, 0.25), 0 0 20px rgba(220, 230, 245, 0.1);
}

/* Скрываем старые quick-filters */
.quick-filters {
    display: none !important;
}

/* ===== КНОПКА ФИЛЬТРА ПО ТЕГАМ ===== */
.btn-tags-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 238, 244, 0.14);
    background: linear-gradient(180deg, rgba(45, 52, 60, 0.5) 0%, rgba(15, 18, 22, 0.7) 100%);
    color: #E5E4E2;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-tags-filter:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 228, 226, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 25px rgba(0, 0, 0, 0.25);
}

.btn-tags-filter__icon {
    font-size: 0.9rem;
    color: #E5E4E2;
}

.btn-tags-filter__text {
    color: #E5E4E2;
}

.btn-tags-filter__count {
    margin-left: 0.3rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(229, 228, 226, 0.15);
    font-size: 0.7rem;
    font-weight: 600;
    color: #E5E4E2;
}

/* ===== ПОПАП ФИЛЬТРА ТЕГОВ ===== */
.tags-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.tags-filter-modal.hidden {
    display: none !important;
}

.tags-filter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tags-filter-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(950px, 100%);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 28px;
    border: 1px solid rgba(236, 242, 248, 0.14);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(20, 25, 35, 0.4) 40%, rgba(8, 10, 14, 0.95) 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tags-filter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.8rem 1rem;
    border-bottom: 1px solid rgba(236, 242, 248, 0.08);
}

.tags-filter-modal__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E5E4E2;
}

.tags-filter-modal__title-icon {
    font-size: 1rem;
    color: #E5E4E2;
}

.tags-filter-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(235, 239, 245, 0.14);
    background: rgba(11, 14, 18, 0.6);
    color: #E5E4E2;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.tags-filter-modal__close:hover {
    transform: rotate(90deg);
    border-color: rgba(229, 228, 226, 0.4);
}

.tags-filter-modal__search {
    padding: 1rem 1.8rem;
    border-bottom: 1px solid rgba(236, 242, 248, 0.06);
}

.tags-filter-modal__search .lux-input {
    width: 100%;
    height: 46px;
    padding: 0 1.2rem !important;  /* ← ДОБАВЬ отступы слева и справа */
    background: linear-gradient(180deg, rgba(20, 25, 32, 0.6) 0%, rgba(10, 12, 16, 0.8) 100%);
    border: 1px solid rgba(229, 228, 226, 0.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(255, 255, 255, 0.05);
    color: #E5E4E2;
}

.tags-filter-modal__search .lux-input::placeholder {
    color: rgba(229, 228, 226, 0.5);
}

.tags-filter-modal__search .lux-input:focus {
    border-color: rgba(229, 228, 226, 0.35);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(229, 228, 226, 0.08);
}

.tags-filter-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 228, 226, 0.2) transparent;
}

.tags-filter-modal__body::-webkit-scrollbar {
    width: 6px;
}

.tags-filter-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.tags-filter-modal__body::-webkit-scrollbar-thumb {
    background: rgba(229, 228, 226, 0.15);
    border-radius: 3px;
}

.tags-filter-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.8rem 1.5rem;
    border-top: 1px solid rgba(236, 242, 248, 0.08);
}

.tags-filter-modal__selected {
    color: #E5E4E2;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.tags-filter-modal__actions {
    display: flex;
    gap: 0.8rem;
}

.tags-filter-modal__actions .btn {
    min-height: 44px !important;      /* ← УВЕЛИЧЬ высоту */
    padding: 0 1.8rem !important;     /* ← УВЕЛИЧЬ боковые отступы */
    font-size: 0.85rem !important;    /* ← УВЕЛИЧЬ шрифт */
    color: #E5E4E2 !important;
    border-color: rgba(229, 228, 226, 0.25) !important;
    border-radius: 14px !important;
}

.tags-filter-modal__actions .btn-secondary {
    opacity: 0.85;
}

.tags-filter-modal__actions .btn:hover {
    border-color: rgba(229, 228, 226, 0.45) !important;
    transform: translateY(-1px);
}

/* Категории в попапе */
.filter-category {
    margin-bottom: 1.2rem;
}

.filter-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(236, 242, 248, 0.06);
}

.filter-category__name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E5E4E2;
}

.filter-category__name svg {
    width: 18px;
    height: 18px;
    color: #E5E4E2;
    opacity: 0.8;
}

.filter-category__toggle {
    font-size: 0.8rem;
    color: #E5E4E2;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.filter-category__content {
    padding: 0.8rem 0 0.2rem;
}

.filter-category__content.collapsed {
    display: none;
}

.filter-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.filter-tag-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-tag-checkbox:hover {
    background: rgba(229, 228, 226, 0.06);
}

.filter-tag-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E5E4E2;
    cursor: pointer;
}

.filter-tag-checkbox span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(229, 228, 226, 0.9);
}

/* Скрываем старые quick-filters */
.quick-filters {
    display: none !important;
}

/* Адаптивность для средних экранов */
@media (max-width: 1100px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .model-card__top {
        grid-template-columns: 200px minmax(0, 1fr);
    }
}