/* Только самое необходимое - цвета и шрифты */
:root {
    --soft-pink: #eecbc9;
    --soft-pink-darker: #eccdc9;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: #4a4a4a;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.bg-soft-pink {
    background-color: var(--soft-pink) !important;
}

.bg-soft-pink-darker {
    background-color: var(--soft-pink-darker) !important;
}

/* Только для hero-overlay (нельзя сделать на чистом Bootstrap) */
.hero-overlay {
    background: rgba(238, 203, 201, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Для карточек товаров */
.product-image {
    aspect-ratio: 3/4;
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-custom {
    background-color: #e5bebe;
}

.logo-font {
    font-family: 'Playfair Display', serif;
}

.form-control:focus {
    border-color: var(--soft-pink);
    box-shadow: 0 0 0 0.2rem rgba(238, 203, 201, 0.25);
}

.form-check-input:checked {
    background-color: var(--soft-pink);
    border-color: var(--soft-pink);
}

.btn:hover {
    opacity: 0.9;
    transition: all 0.2s ease;
}

footer {
    flex-shrink: 0;
}

.logo-link {
    color: #4a4a4a;
    text-decoration: none;
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -0.125rem 0.625rem rgba(0,0,0,0.08); /* -2px, 10px */
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 0.0625rem solid #f0f0f0; /* 1px */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backdrop-filter: blur(0.625rem); /* 10px */
    background-color: rgba(255, 255, 255, 0.95);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 0.6875rem; /* 11px */
    transition: color 0.2s ease, transform 0.1s ease;
    flex: 1;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    border-radius: 0.5rem; /* 8px */
}

.mobile-nav-item.active {
    color: var(--soft-pink);
}

.mobile-nav-item i {
    font-size: 1.7rem; /* 32px */
    margin-bottom: 0.25rem; /* 4px */
    transition: transform 0.2s ease;
}

/* Эффект нажатия */
.mobile-nav-item:active {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0.96);
}

.mobile-nav-item:active i {
    transform: scale(0.9);
}

/* Обёртка для иконки корзины */
.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
}

/* Счётчик товаров */
.cart-badge {
    position: absolute;
    top: -0.375rem; /* -6px */
    right: -0.625rem; /* -10px */
    background-color: var(--soft-pink);
    color: white;
    border-radius: 50%;
    min-width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    font-size: 0.6875rem; /* 11px */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.2); /* 2px, 4px */
    border: 0.09375rem solid white; /* 1.5px */
    padding: 0 0.1875rem; /* 3px */
    line-height: 1;
}

/* ПК-версия (шире 768px) — скрываем мобильное меню, показываем хеадер */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    .pc-header {
        display: block !important; /* или flex, как у тебя */
    }
}

/* Мобильная версия (уже 767px) — скрываем хеадер, показываем меню */
@media (max-width: 767px) {
    .pc-header {
        display: none !important;
    }
    footer {
        display: none !important;
    }
    .mobile-bottom-nav {
        display: flex !important; /* или block, как у тебя */
    }
    .auth-wrapper {
        margin-top: 4rem;
    }
    .profile-content{
        margin-bottom: 4rem;
    }
    .products-grid{
        margin-bottom: 4rem;
    }
}

