/* ============================================
   FLORELITE — Luxury Flower House
   Hero Section Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

a, button, [role="button"], input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 3rem;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
    background: transparent;
}

.header--scrolled {
    padding: 0.8rem 3rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(199, 168, 115, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

/* Навигация */

.header__nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header__nav--right {
    gap: 1.8rem;
}

.header__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c7a873;
    transition: width 0.3s ease;
}

.header__link:hover {
    color: #c7a873;
}

.header__link:hover::after {
    width: 100%;
}

/* Логотип по центру */

.header__logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: #c7a873;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header__logo:hover {
    opacity: 0.8;
}

/* Телефон */

.header__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.header__phone:hover {
    color: #c7a873;
}

/* Иконки */

.header__icon {
    width: 18px;
    height: 18px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header__icon-btn {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    position: relative;
}

.header__icon-btn:hover {
    color: #c7a873;
}

/* Корзина */

.header__cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #c7a873;
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

/* Бургер */

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: #c7a873;
    transition: all 0.3s ease;
}

.header__burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Мобильная навигация */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav__link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav__link:hover {
    color: #c7a873;
}

.mobile-nav__phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #c7a873;
    text-decoration: none;
}

/* ---------- Header Responsive ---------- */

@media (max-width: 1024px) {
    .header {
        padding: 0.8rem 1.2rem;
        transition: background 0.3s ease;
    }

    .header--scrolled {
        padding: 0.8rem 1.2rem;
    }

    .header__nav--left {
        display: none;
    }

    .header__nav--right .header__link,
    .header__nav--right .header__phone {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__inner {
        justify-content: space-between;
    }

    /* Логотип — слева */
    .header__logo {
        position: static;
        transform: none;
        order: -1;
    }

    /* Иконки + бургер — справа, иконки ближе к бургеру */
    .header__nav--right {
        order: 1;
        gap: 1.2rem;
        margin-left: auto;
        margin-right: 1.2rem;
    }

    /* Роскошная анимация бургера */
    .header__burger {
        order: 2;
        width: 28px;
        height: 20px;
        position: relative;
        gap: 0;
        padding: 0;
    }

    .header__burger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1.5px;
        background: linear-gradient(90deg, #a3824a, #f0ddb8, #c7a873);
        border-radius: 2px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);
        transform-origin: center;
    }

    .header__burger span:nth-child(1) {
        top: 0;
        width: 100%;
    }

    .header__burger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
        width: 60%;
        right: 0;
        left: auto;
    }

    .header__burger span:nth-child(3) {
        bottom: 0;
        width: 80%;
    }

    /* Открытое состояние — элегантный X */
    .header__burger.is-open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 100%;
    }

    .header__burger.is-open span:nth-child(2) {
        opacity: 0;
        width: 0;
        transform: translateY(-50%) translateX(10px);
    }

    .header__burger.is-open span:nth-child(3) {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1.2rem;
    }

    .header--scrolled {
        padding: 0.6rem 1.2rem;
    }

    .header__icon {
        width: 16px;
        height: 16px;
    }

    .header__nav--right {
        gap: 1rem;
        margin-right: 1rem;
    }
}

/* ---------- Hero Section ---------- */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 70%, rgba(0,0,0,0.85) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.5) 100%);
}

/* Плавный переход hero → каталог */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, #0a0a0a 100%);
    pointer-events: none;
}

/* ---------- Content ---------- */

.hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 10vh 2rem 5vh;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero__content.is-visible {
    opacity: 1;
}

/* ---------- Top Block: Title + Tagline ---------- */

.hero__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* ---------- Title ---------- */

.hero__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.8rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.35em;
    color: transparent;
    background: linear-gradient(
        135deg,
        #c7a873 0%,
        #f0ddb8 25%,
        #c7a873 50%,
        #a3824a 75%,
        #c7a873 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 6s ease-in-out infinite;
    line-height: 1.1;
    filter: drop-shadow(0 0 30px rgba(199, 168, 115, 0.25));
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ---------- Divider ---------- */

.hero__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.hero__divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c7a873, transparent);
}

.hero__divider-diamond {
    width: 6px;
    height: 6px;
    background: #c7a873;
    transform: rotate(45deg);
}

/* ---------- Tagline ---------- */

.hero__tagline {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.25em;
    text-transform: lowercase;
    color: rgba(199, 168, 115, 0.9);
}

/* ---------- Flower (крупный, 40% экрана, 3D-параллакс) ---------- */

.hero__flower-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__flower {
    height: 60vh;
    max-height: 600px;
    width: auto;
    position: relative;
    z-index: 2;
}

/* ---------- Bottom Block: CTA ---------- */

.hero__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__cta {
    position: relative;
    display: inline-block;
    padding: 1.1rem 3.5rem;
    text-decoration: none;
    color: #c7a873;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    border: 1px solid rgba(199, 168, 115, 0.4);
    background: rgba(199, 168, 115, 0.05);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s ease;
}

.hero__cta:hover {
    border-color: rgba(199, 168, 115, 0.8);
    background: rgba(199, 168, 115, 0.1);
    color: #f0ddb8;
    box-shadow:
        0 0 30px rgba(199, 168, 115, 0.15),
        inset 0 0 30px rgba(199, 168, 115, 0.05);
    transform: translateY(-2px);
}

.hero__cta-text {
    position: relative;
    z-index: 1;
}

.hero__cta-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(199, 168, 115, 0.08),
        transparent
    );
    animation: ctaShimmer 4s ease-in-out infinite;
}

@keyframes ctaShimmer {
    0%, 100% { left: -100%; }
    50%      { left: 100%; }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .hero {
        min-height: -webkit-fill-available;
        min-height: 100dvh;
    }

    .hero__bg-img {
        object-position: 15% center;
        transition: none;
        transform: scale(1.08);
    }

    .hero__content {
        padding: calc(70px + 30px) 1.5rem 0;
        justify-content: flex-start;
        gap: 30px;
    }

    .hero__top {
        gap: 0.8rem;
    }

    .hero__flower-wrap {
        flex-shrink: 0;
        align-items: flex-start;
        margin: 0;
        transform: none !important;
        will-change: auto;
    }

    .hero__flower {
        height: 380px;
        width: auto;
        max-height: none;
        transform: none !important;
    }

    /* Кнопка поверх нижней части цветка */
    .hero__bottom {
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 3.5rem);
        letter-spacing: 0.25em;
    }

    .hero__tagline {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .hero__divider {
        gap: 0.7rem;
    }

    .hero__divider-line {
        width: 35px;
    }

    .hero__cta {
        padding: 0.9rem 2.2rem;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        background: rgba(10, 10, 10, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (max-width: 430px) {
    .hero__bg-img {
        object-position: 15% center;
    }

    .hero__content {
        padding: calc(60px + 40px) 1rem 0;
        gap: 40px;
    }

    .hero__flower {
        height: 320px;
    }

    .hero__bottom {
        bottom: 50px;
    }

    .hero__top {
        gap: 0.7rem;
    }

    .hero__title {
        font-size: clamp(1.6rem, 6.5vw, 2.5rem);
        letter-spacing: 0.2em;
    }

    .hero__tagline {
        font-size: 0.9rem;
        letter-spacing: 0.12em;
    }

    .hero__divider {
        gap: 0.5rem;
    }

    .hero__divider-line {
        width: 28px;
    }

    .hero__divider-diamond {
        width: 5px;
        height: 5px;
    }

    .hero__cta {
        padding: 0.85rem 1.8rem;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
    }

    .header__logo {
        font-size: 1rem;
        letter-spacing: 0.25em;
    }
}

/* ============================================
   Catalog Section
   ============================================ */

.catalog {
    position: relative;
    background: #0a0a0a;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

/* Заголовок секции */
.catalog__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.catalog__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c7a873;
    margin-bottom: 1.2rem;
}

.catalog__subtitle-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0.5;
}

.catalog__subtitle-line {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c7a873, transparent);
}

.catalog__subtitle-diamond {
    width: 5px;
    height: 5px;
    background: #c7a873;
    transform: rotate(45deg);
}

/* ---------- Карусель категорий ---------- */

.catalog__categories {
    position: relative;
    padding: 2rem 0 3rem;
    margin-bottom: 2rem;
    -webkit-user-select: none;
    user-select: none;
    perspective: 1000px;
}

.catalog__track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 180px;
}

.catalog__category {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 170px;
    height: 150px;
    padding: 1.5rem;
    border: 1px solid rgba(199, 168, 115, 0.1);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.9);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
}

.catalog__category-icon {
    width: 52px;
    height: 52px;
    color: #c7a873;
}

.catalog__category-icon svg {
    width: 100%;
    height: 100%;
}

.catalog__category-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.5s ease;
    white-space: nowrap;
}

/* ---------- Подкатегории по поводам ---------- */

.catalog__occasions {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.catalog__occasions.is-visible {
    display: flex;
}

.catalog__occasion {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(199, 168, 115, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalog__occasion:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(199, 168, 115, 0.3);
    background: rgba(199, 168, 115, 0.06);
}

.catalog__occasion.is-active {
    color: #c7a873;
    border-color: rgba(199, 168, 115, 0.5);
    background: rgba(199, 168, 115, 0.1);
}

/* ---------- Товары ---------- */

.catalog__products {
    max-width: 1200px;
    margin: 0 auto;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: catalogFadeIn 0.5s ease;
}

@keyframes catalogFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Карточка товара */
.catalog__card {
    border: 1px solid rgba(199, 168, 115, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease;
    cursor: pointer;
}

.catalog__card:hover {
    border-color: rgba(199, 168, 115, 0.35);
    background: rgba(199, 168, 115, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.catalog__card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(199, 168, 115, 0.08), rgba(199, 168, 115, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.catalog__card-image svg {
    width: 48px;
    height: 48px;
    color: rgba(199, 168, 115, 0.25);
}

.catalog__card-body {
    padding: 1.4rem;
}

.catalog__card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
}

.catalog__card-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #c7a873;
    margin-bottom: 0.8rem;
}

.catalog__card-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.catalog__card-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.catalog__card-rating svg {
    width: 14px;
    height: 14px;
    fill: #c7a873;
    stroke: none;
}

.catalog__card-orders {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* ---------- Catalog Responsive ---------- */

@media (max-width: 1024px) {
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .catalog {
        padding: 4rem 1.2rem 3rem;
    }

    .catalog__header {
        margin-bottom: 2rem;
    }

    .catalog__categories {
        margin-bottom: 1.5rem;
        padding: 1.5rem 0 2rem;
    }

    .catalog__track {
        height: 140px;
    }

    .catalog__category {
        width: 120px;
        height: 115px;
        padding: 1rem;
        gap: 0.7rem;
    }

    .catalog__category-icon {
        width: 36px;
        height: 36px;
    }

    .catalog__category-name {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .catalog__card-body {
        padding: 1rem;
    }

    .catalog__card-name {
        font-size: 1rem;
    }

    .catalog__card-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 430px) {
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .catalog__card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* Маленькие экраны по высоте (ландшафт) */
@media (max-height: 700px) and (orientation: landscape) {
    .hero__content {
        padding: 60px 1rem 0;
    }

    .hero__flower {
        height: 280px;
    }

    .hero__top {
        gap: 0.5rem;
    }
}

/* ============================================
   Modal Overlay & Base
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 1.5rem;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: relative;
    background: #111;
    border: 1px solid rgba(199, 168, 115, 0.2);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s ease;
}

.modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 168, 115, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    line-height: 1;
}

.modal__close:hover {
    color: #c7a873;
    border-color: rgba(199, 168, 115, 0.4);
    background: rgba(199, 168, 115, 0.08);
}

.modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #c7a873;
    margin-bottom: 0.5rem;
}

.modal__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* ---------- Product Modal ---------- */

.modal--product {
    max-width: 800px;
}

.modal__product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal__product-image {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(199, 168, 115, 0.08), rgba(199, 168, 115, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.modal__product-image svg {
    width: 64px;
    height: 64px;
    color: rgba(199, 168, 115, 0.25);
}

.modal__product-info {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.modal__product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.8rem;
}

.modal__product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #c7a873;
    margin-bottom: 1rem;
}

.modal__product-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.modal__product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.modal__product-rating svg {
    width: 16px;
    height: 16px;
    fill: #c7a873;
    stroke: none;
}

.modal__product-orders {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.modal__product-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: auto;
    padding-bottom: 1.5rem;
}

.modal__product-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* ---------- Order Modal ---------- */

.modal--order {
    padding: 2.5rem 2rem;
    max-width: 500px;
}

.modal__order-product {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.8rem 1rem;
    background: rgba(199, 168, 115, 0.06);
    border: 1px solid rgba(199, 168, 115, 0.12);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal__cart-summary {
    margin-bottom: 1.5rem;
    max-height: 150px;
    overflow-y: auto;
}

.modal__cart-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.modal__cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c7a873;
}

/* ---------- Success Modal ---------- */

.modal--success {
    padding: 3rem 2rem;
    max-width: 420px;
    text-align: center;
}

.modal__success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.modal__success-icon svg {
    width: 100%;
    height: 100%;
}

.modal__success-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #c7a873;
    margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: rgba(199, 168, 115, 0.15);
    border: 1px solid rgba(199, 168, 115, 0.5);
    color: #c7a873;
}

.btn--primary:hover {
    background: rgba(199, 168, 115, 0.25);
    border-color: #c7a873;
    color: #f0ddb8;
}

.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
    border-color: rgba(199, 168, 115, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---------- Form Inputs ---------- */

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.form-input {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(199, 168, 115, 0.15);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-input:focus {
    border-color: rgba(199, 168, 115, 0.5);
    background: rgba(199, 168, 115, 0.04);
}

.form-textarea {
    min-height: 70px;
    resize: vertical;
}

/* Address suggestions */
.form-suggest-wrap {
    position: relative;
}

.form-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: #1a1a1a;
    border: 1px solid rgba(199, 168, 115, 0.2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.form-suggest.is-open {
    display: block;
}

.form-suggest__item {
    padding: 0.7rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.form-suggest__item:hover {
    background: rgba(199, 168, 115, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.form-suggest__item:last-child {
    border-bottom: none;
}

.modal__form-actions {
    display: flex;
    gap: 0.8rem;
}

.modal__form-actions .btn {
    flex: 1;
}

/* ---------- Cart Sidebar ---------- */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    z-index: 195;
    background: #111;
    border-left: 1px solid rgba(199, 168, 115, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-sidebar.is-open {
    transform: translateX(0);
}

.cart-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(199, 168, 115, 0.1);
}

.cart-sidebar__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #c7a873;
}

.cart-sidebar__close {
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid rgba(199, 168, 115, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-sidebar__close:hover {
    color: #c7a873;
    border-color: rgba(199, 168, 115, 0.4);
}

.cart-sidebar__items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-sidebar__empty {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.cart-sidebar__empty.is-visible {
    display: flex;
}

.cart-sidebar__footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(199, 168, 115, 0.1);
    display: none;
}

.cart-sidebar__footer.is-visible {
    display: block;
}

.cart-sidebar__total {
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #c7a873;
    margin-bottom: 1.2rem;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #c7a873;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item__qty-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(199, 168, 115, 0.15);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.cart-item__qty-btn:hover {
    border-color: rgba(199, 168, 115, 0.4);
    color: #c7a873;
}

.cart-item__qty-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    min-width: 20px;
    text-align: center;
}

.cart-item__remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: color 0.2s ease;
    line-height: 1;
}

.cart-item__remove:hover {
    color: #e74c3c;
}

/* ---------- Toast ---------- */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    z-index: 300;
    background: #1a1a1a;
    border: 1px solid rgba(199, 168, 115, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
}

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

.toast__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #c7a873;
    letter-spacing: 0.05em;
}

/* ---------- Modal & Cart Responsive ---------- */

@media (max-width: 768px) {
    .modal__product-layout {
        grid-template-columns: 1fr;
    }

    .modal__product-image {
        aspect-ratio: 16 / 9;
        border-radius: 16px 16px 0 0;
    }

    .modal__product-info {
        padding: 1.5rem;
    }

    .modal__product-name {
        font-size: 1.4rem;
    }

    .modal__product-actions {
        flex-direction: column;
    }

    .modal--order {
        padding: 2rem 1.5rem;
    }

    .modal__form-actions {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   Auth Modal
   ============================================ */
.modal--auth {
    max-width: 460px;
    padding: 2rem;
}

.form-input--code {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 1rem;
    padding: 0.8rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.auth-resend {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.75rem 0 0;
    transition: color 0.2s;
}

.auth-resend:hover {
    color: #c7a873;
}

.auth-profile__field {
    margin-bottom: 1.5rem;
}

.auth-profile__label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #c7a873;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}

.auth-profile__value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 300;
}

.auth-profile__name-row {
    display: flex;
    gap: 8px;
}

.auth-profile__name-row .form-input {
    flex: 1;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.auth-profile__orders {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(199, 168, 115, 0.12);
}

.auth-profile__orders-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.auth-profile__orders-list {
    max-height: 300px;
    overflow-y: auto;
}

.auth-profile__order {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-profile__order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.auth-profile__order-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #c7a873;
    font-weight: 500;
}

.auth-profile__order-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-profile__order-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.auth-profile__empty {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.auth-logout {
    margin-top: 2rem;
}

.header__icon-btn--active .header__icon {
    color: #c7a873;
}

.auth-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #e74c3c;
    min-height: 1rem;
    margin-top: 0.5rem;
}

.auth-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #c7a873;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.75rem 0 0;
    text-align: center;
    transition: opacity 0.2s;
}

.auth-link:hover {
    opacity: 0.7;
}

.auth-back {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.75rem 0 0;
    text-align: center;
    transition: color 0.2s;
}

.auth-back:hover {
    color: rgba(255, 255, 255, 0.7);
}

.auth-profile__username-hint {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.3rem;
    min-height: 1rem;
}

.auth-profile__username-hint--ok {
    color: #2ecc71;
}

.auth-profile__username-hint--error {
    color: #e74c3c;
}

/* ============================================
   Personal Cabinet
   ============================================ */

/* Cabinet Header */
.cabinet-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.cabinet-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c7a873, #e8d5b0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet-avatar__letter {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
}

.cabinet-header__info {
    display: flex;
    flex-direction: column;
}

.cabinet-header__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.cabinet-header__since {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* FLOR Balance Card */
.flor-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2a1f0e, #3d2b14, #2a1f0e);
    border: 1px solid rgba(199, 168, 115, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.flor-card__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 168, 115, 0.08), transparent);
    animation: florShimmer 3s ease-in-out infinite;
}

@keyframes florShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.flor-card__content {
    position: relative;
    z-index: 1;
}

.flor-card__label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(199, 168, 115, 0.7);
    margin-bottom: 0.3rem;
}

.flor-card__balance {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c7a873;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.flor-card__subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.flor-card__history-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 1;
    background: none;
    border: 1px solid rgba(199, 168, 115, 0.3);
    color: #c7a873;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.flor-card__history-btn:hover {
    background: rgba(199, 168, 115, 0.1);
}

/* Quick Stats */
.cabinet-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.cabinet-stat {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cabinet-stat__value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #c7a873;
    line-height: 1.2;
}

.cabinet-stat__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Cabinet Tabs */
.cabinet-tabs {
    display: flex;
    border-bottom: 1px solid rgba(199, 168, 115, 0.15);
    margin-bottom: 1.2rem;
    gap: 0;
}

.cabinet-tab {
    flex: 1;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cabinet-tab--active {
    color: #c7a873;
    border-bottom-color: #c7a873;
}

.cabinet-tab:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Scrollable content */
.cabinet-orders,
.cabinet-reviews,
.flor-history {
    max-height: 360px;
    overflow-y: auto;
}

.cabinet-empty {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    text-align: center;
    padding: 2rem 0;
}

/* Order Cards */
.order-card {
    padding: 1rem;
    margin-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.order-card__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #c7a873;
    font-weight: 500;
}

.order-card__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.order-card__items {
    margin-bottom: 0.4rem;
}

.order-card__item {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
}

.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-card__total {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.order-card__badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.badge--new { background: rgba(199, 168, 115, 0.15); color: #c7a873; }
.badge--confirmed { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.badge--paid { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.badge--delivered { background: rgba(46, 204, 113, 0.15); color: #27ae60; }
.badge--delivery { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.badge--cancelled { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.order-card__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn--xs {
    padding: 4px 10px;
    font-size: 0.68rem;
    border-radius: 6px;
}

.order-card__reviewed {
    font-size: 0.85rem;
    color: #c7a873;
}

/* Star Rating */
.star-rating {
    text-align: center;
    margin: 1rem 0;
}

.star {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: color 0.15s;
    display: inline-block;
    margin: 0 2px;
}

.star--active,
.star:hover {
    color: #c7a873;
}

.form-input--textarea {
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
}

.review-bonus-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(199, 168, 115, 0.6);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Review Cards (my reviews tab) */
.review-card {
    padding: 1rem;
    margin-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.review-card__stars {
    color: #c7a873;
    font-size: 0.9rem;
}

.review-card__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.review-card__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.review-card__order {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(199, 168, 115, 0.5);
    margin-top: 0.3rem;
    display: block;
}

/* FLOR Transaction History */
.flor-tx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flor-tx__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flor-tx__type {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 400;
}

.flor-tx__order {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(199, 168, 115, 0.5);
}

.flor-tx__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
}

.flor-tx__amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.flor-tx--plus .flor-tx__amount { color: #2ecc71; }
.flor-tx--minus .flor-tx__amount { color: #e74c3c; }

/* Recommendations */
.cabinet-recs {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(199, 168, 115, 0.1);
}

.cabinet-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.cabinet-recs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rec-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s;
}

.rec-card:hover {
    border-color: rgba(199, 168, 115, 0.3);
}

.rec-card__img {
    height: 90px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.rec-card__name {
    display: block;
    padding: 8px 8px 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rec-card__price {
    display: block;
    padding: 0 8px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #c7a873;
    font-weight: 500;
}

/* Birthday hint */
.auth-profile__birthday-hint {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    color: rgba(199, 168, 115, 0.5);
    margin-top: 0.3rem;
}

/* Cabinet mobile */
@media (max-width: 768px) {
    .modal--auth {
        max-width: 100%;
        padding: 1.2rem;
        border-radius: 12px;
        margin: 0 8px;
    }

    .cabinet-header {
        gap: 12px;
        margin-bottom: 1rem;
    }

    .cabinet-header__name {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .flor-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .flor-card__balance {
        font-size: 1.8rem;
    }

    .cabinet-stats {
        gap: 8px;
        margin-bottom: 1rem;
    }

    .cabinet-tabs {
        gap: 0;
        margin-bottom: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cabinet-tab {
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
    }

    .auth-profile__name-row {
        flex-direction: column;
        gap: 8px;
    }

    .auth-profile__name-row .form-input {
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
    }

    .auth-profile__name-row .btn--sm {
        width: 100%;
        text-align: center;
    }

    .auth-profile__field {
        margin-bottom: 1rem;
    }

    .auth-profile__value {
        word-break: break-word;
    }

    .order-card {
        padding: 1rem;
    }

    .order-card__actions {
        flex-direction: column;
        gap: 6px;
    }

    .order-card__actions .btn--sm {
        width: 100%;
        text-align: center;
    }

    .btn--full {
        font-size: 16px;
    }
}

/* Form label small */
.form-label-small {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

/* ============================================
   Confirm Close Dialog
   ============================================ */
.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.confirm-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.confirm-dialog {
    background: #1a1a1a;
    border: 1px solid rgba(199, 168, 115, 0.3);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
}

.confirm-dialog__text {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.confirm-dialog__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-dialog__actions .btn {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.2s;
}

.confirm-dialog__actions .btn--primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #aaa;
}

.confirm-dialog__actions .btn--primary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.confirm-dialog__actions .btn--outline {
    background: linear-gradient(135deg, #c7a873, #a8884a);
    border: none;
    color: #1a1a1a;
    font-weight: 600;
}

.confirm-dialog__actions .btn--outline:hover {
    background: linear-gradient(135deg, #d4b88a, #c7a873);
}

/* ============================================
   Section shared styles
   ============================================ */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3.5rem;
}

.section-divider__line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c7a873, transparent);
}

.section-divider__diamond {
    width: 8px;
    height: 8px;
    background: #c7a873;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ============================================
   Advantages
   ============================================ */
.advantages {
    padding: 100px 3rem 80px;
    background: #050505;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 168, 115, 0.12);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.advantages__card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 168, 115, 0.3);
    box-shadow: 0 12px 40px rgba(199, 168, 115, 0.08);
}

.advantages__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: #c7a873;
}

.advantages__icon svg {
    width: 100%;
    height: 100%;
}

.advantages__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.advantages__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    font-weight: 300;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 3rem;
    background: #0a0a0a;
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about__lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #c7a873;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about__body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1rem;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(199, 168, 115, 0.15);
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #c7a873;
    font-weight: 600;
}

.about__stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-top: 0.25rem;
}

.about__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 168, 115, 0.12);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #c7a873;
}

.about__image-placeholder svg {
    width: 80px;
    height: 80px;
}

.about__image-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    padding: 100px 3rem;
    background: #050505;
}

.map-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.map-section__map {
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(199, 168, 115, 0.12);
}

.map-section__map iframe {
    display: block;
}

.map-section__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.map-section__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #c7a873;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.map-section__value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
}

.map-section__value--note {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-top: 0.2rem;
}

.map-section__metro-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.map-section__phone-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.map-section__phone-link:hover {
    color: #c7a873;
}

.map-section__call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 1rem;
}

/* ============================================
   Reviews
   ============================================ */
.reviews {
    padding: 100px 3rem 80px;
    background: #0a0a0a;
}

.reviews__slider {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews__dots {
    display: none;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.reviews__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(199, 168, 115, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s;
}

.reviews__card:hover {
    border-color: rgba(199, 168, 115, 0.25);
}

.reviews__stars {
    color: #c7a873;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.reviews__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.reviews__author {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    color: #c7a873;
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #050505;
    border-top: 1px solid rgba(199, 168, 115, 0.15);
    padding: 60px 3rem 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.footer__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #c7a873;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.footer__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    line-height: 1.6;
}

.footer__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #c7a873;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}

.footer__link {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 0.7rem;
    transition: color 0.2s;
}

.footer__link:hover {
    color: #c7a873;
}

.footer__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer__social-links {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(199, 168, 115, 0.2);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.footer__social-link:hover {
    color: #c7a873;
    border-color: #c7a873;
    background: rgba(199, 168, 115, 0.08);
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-link {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__bottom-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Responsive: New Sections
   ============================================ */
@media (max-width: 1024px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-divider {
        margin-bottom: 2.5rem;
    }

    .advantages {
        padding: 60px 1.5rem 50px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantages__card {
        padding: 2rem 1.5rem;
    }

    .about {
        padding: 60px 1.5rem;
    }

    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__lead {
        font-size: 1.3rem;
    }

    .about__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .about__stat-number {
        font-size: 1.4rem;
    }

    .about__image-placeholder {
        aspect-ratio: 16 / 9;
    }

    .map-section {
        padding: 60px 1.5rem;
    }

    .map-section__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .map-section__map {
        min-height: 300px;
    }

    .reviews {
        padding: 60px 0 50px;
        overflow: hidden;
    }

    .reviews__slider {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .reviews__grid {
        display: flex;
        transition: transform 0.4s ease;
        width: 100%;
    }

    .reviews__card {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
        padding: 1.5rem;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .reviews__dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 1.2rem 0 0.5rem;
    }

    .reviews__dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(199, 168, 115, 0.25);
        border: none;
        cursor: pointer;
        transition: background 0.3s, transform 0.3s;
        padding: 0;
    }

    .reviews__dot--active {
        background: #c7a873;
        transform: scale(1.3);
    }

    .footer {
        padding: 40px 1.5rem 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 1.2rem 0;
    }
}
