/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   НАВИГАЦИЯ
   ============================================ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 55px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav_item {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav_item:hover {
    color: #e94e77;
}

.cart-counter {
    background: #e94e77;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7em;
    margin-left: 5px;
    display: inline-block;
    min-width: 18px;
    text-align: center;
}

@keyframes pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #2c3e50;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: #2c3e50;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* ============================================
   КНОПКА "НАВЕРХ"
   ============================================ */
.butt-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.btn-up {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(233, 78, 119, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.btn-up.btn-up_show {
    opacity: 1;
    visibility: visible;
}

.btn-up:hover {
    background: #d03a60;
    transform: scale(1.1);
}

/* ============================================
   СЛАЙДЕР
   ============================================ */
.block_one {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f8f9fa;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 0;
    top: 0;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1.25);
}

.slide .description {
    position: absolute;
    bottom: 60px;
    left: 60px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    backdrop-filter: blur(5px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
    z-index: 3;
}

.slide.active .description {
    opacity: 1;
    transform: translateY(0);
}

.slide .description h3 {
    margin: 0 0 10px;
    font-size: 2em;
}

.slide .description p {
    margin: 0 0 15px;
    font-size: 1em;
    color: #ccc;
}

.slide .price {
    font-size: 1.4em;
    margin: 10px 0;
}

.slide .price b {
    color: #27ae60;
}

.discount-badge {
    background: #e94e77;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    margin-left: 10px;
}

.slide-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #e94e77;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.slide-btn:hover {
    background: #d03a60;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* ============================================
   КАРТОЧКИ ТОВАРОВ
   ============================================ */
.cards-section {
    padding: 0 20px 60px;
}

.section-title {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin: 40px 0 20px;
    font-weight: 600;
}

.products-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card-main {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.product-card-main:hover {
    transform: translateY(-6px);
}

.product-badge-main {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    color: white;
}

.product-badge-main.discount {
    background: #e94e77;
}

.product-badge-main:not(.discount) {
    background: #27ae60;
}

.product-img-wrapper-main {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f8f9fa;
}

.product-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-main:hover .product-img-main {
    transform: scale(1.05);
}

.product-info-main {
    padding: 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title-main {
    margin: 0 0 8px;
    font-size: 1.15em;
    color: #2c3e50;
    font-weight: 600;
}

.product-desc-main {
    margin: 0 0 10px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.product-price-main {
    margin: 10px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #27ae60;
}

.old-price-main {
    margin-left: 8px;
    font-size: 0.9em;
    color: #999;
    text-decoration: line-through;
}

.buttons-main {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0 16px 16px;
}

.buttons-main form {
    flex: 1;
    margin: 0;
}

.btn-main {
    padding: 12px 0;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-buy-main {
    background: #e94e77;
    color: white;
    width: 100%;
}

.btn-buy-main:hover {
    background: #d03a60;
    transform: scale(1.02);
}

.btn-details-main {
    background: #3498db;
    color: white;
    padding: 12px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-details-main:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.buttons-main .btn-details-main:only-child {
    width: 100%;
}

/* ============================================
   КНОПКА ИЗБРАННОГО
   ============================================ */
.favorite-btn-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.fav-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.fav-toggle-btn i {
    color: #ccc;
}

.fav-toggle-btn.active i,
.fav-toggle-btn:hover i {
    color: #e94e77;
}

/* ============================================
   РЕЙТИНГ НА КАРТОЧКАХ РЕСТОРАНОВ (КРАСНЫЙ ФОН - ВЕЗДЕ)
   ============================================ */

/* Рейтинг на главной странице и странице ресторанов */
.restaurant-rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #e94e77;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.restaurant-rating i {
    color: white;
    font-size: 0.9em;
}

.restaurant-rating .rating-count {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 2px;
}

/* Рейтинг на странице избранного */
.fav-rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #e94e77;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.fav-rating i {
    color: white;
    font-size: 0.9em;
}

/* Рейтинг на карточках в каталоге (если есть) */
.product-rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #e94e77;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.product-rating i {
    color: white;
    font-size: 0.8em;
}

/* Рейтинг в обложке ресторана (сохраняем полупрозрачный для контраста) */
.restaurant-stats .stat.rating-stat {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.restaurant-stats .stat.rating-stat i {
    color: #f39c12;
}

.restaurant-stats .rating-count {
    font-size: 0.8em;
    opacity: 0.8;
}

/* ============================================
   ПРЕИМУЩЕСТВА
   ============================================ */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 20px;
    background: #f0f5ff;
    text-align: center;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    color: #e94e77;
    margin-bottom: 15px;
}

.feature-box h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.feature-box p {
    color: #666;
    font-size: 0.95em;
}

/* ============================================
   ФУТЕР
   ============================================ */
.footer {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 60px 40px 30px;
    background: #1a1a1a;
    color: #ddd;
    margin-top: auto;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #e94e77;
}

.footer-col ul li i {
    width: 20px;
    color: #e94e77;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5em;
    margin-top: 10px;
}

.social-icons a {
    color: #aaa;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #e94e77;
}

.copyright {
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    background: #111;
    color: #666;
    font-size: 0.9em;
}

/* ============================================
   СТРАНИЦА КАТАЛОГА
   ============================================ */
.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.catalog-title {
    text-align: center;
    font-size: 2.4em;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    outline: none;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.restaurant-filter {
    min-width: 200px;
}

.restaurant-filter select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95em;
    background: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.restaurant-filter select:focus {
    border-color: #e94e77;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 18px;
    background: #f4f4f4;
    border-radius: 8px;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    border: none;
}

.filter-tab:hover,
.filter-tab.active {
    background: #e94e77;
    color: white;
}

.sort-select select {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95em;
    background: white;
    cursor: pointer;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #e94e77;
    color: white;
}

/* ============================================
   СТРАНИЦА ТОВАРА
   ============================================ */
.product-page-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-container-info {
    display: flex;
    gap: 50px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-info {
    position: relative;
    flex: 1;
    min-height: 500px;
}

.product-image-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-views-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9em;
}

.product-discount-badge-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e94e77;
    color: white;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 600;
}

.product-info-details {
    flex: 1;
    padding: 40px;
}

.product-title-info {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-price-info {
    margin-bottom: 25px;
}

.old-price-info {
    font-size: 1.2em;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.current-price-info {
    font-size: 1.8em;
    font-weight: 700;
    color: #27ae60;
}

.product-description-info {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}

.btn-add-to-cart-info {
    width: 100%;
    padding: 16px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.btn-add-to-cart-info:hover {
    background: #d03a60;
}

.btn-back-info {
    color: #666;
    text-decoration: none;
    display: inline-block;
}

.btn-back-info:hover {
    color: #e94e77;
}

/* ============================================
   СТРАНИЦА НОВОСТЕЙ
   ============================================ */
.news-page,
.news-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 40px;
    color: #2c3e50;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-content h2 {
    font-size: 1.4em;
    margin-bottom: 12px;
    color: #2c3e50;
}

.news-meta {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.news-meta i {
    margin-right: 5px;
    color: #e94e77;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #e94e77;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-read-more:hover {
    background: #d03a60;
}

.news-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin: 20px 0;
}

.news-content-full {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

/* ============================================
   СТРАНИЦА ГАЛЕРЕИ
   ============================================ */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-title {
    text-align: center;
    font-size: 2.4em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item-caption {
    padding: 15px;
    text-align: center;
}

.gallery-item-caption h3 {
    margin: 0 0 8px;
    font-size: 1.2em;
    color: #2c3e50;
}

.gallery-item-caption p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* Модальное окно галереи */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 12px;
}

.modal-description {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
}

.modal-arrow.prev {
    left: 20px;
}

.modal-arrow.next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.modal-download {
    margin-top: 10px;
    padding: 8px 20px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-download:hover {
    background: #d03a60;
}

/* ============================================
   СТРАНИЦА О НАС
   ============================================ */
.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-hero-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.about-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2em;
    font-weight: 700;
}

.hero-stats .stat-label {
    font-size: 0.9em;
    opacity: 0.8;
}

.mission-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.mission-icon {
    font-size: 3em;
    color: #e94e77;
    margin-bottom: 20px;
}

.mission-section h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 1.1em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.advantages-section {
    margin-bottom: 60px;
}

.advantages-section h2 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 2.5em;
    color: #e94e77;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.advantage-item p {
    color: #666;
    font-size: 0.95em;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    font-size: 3em;
    color: #e94e77;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.team-card p {
    color: #666;
    font-size: 0.9em;
}

.contacts-section {
    margin-bottom: 60px;
}

.contacts-section h2 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5em;
    color: #e94e77;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-card p {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.contact-card a {
    color: #e94e77;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.social-section {
    text-align: center;
    margin-bottom: 40px;
}

.social-section h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, background 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.vk {
    background: #4a76a8;
    color: white;
}

.social-link.tg {
    background: #0088cc;
    color: white;
}

.social-link.insta {
    background: #e4405f;
    color: white;
}

.social-link.yt {
    background: #cd201f;
    color: white;
}

/* ============================================
   СТРАНИЦА КОНТАКТОВ
   ============================================ */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: #e94e77;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5em;
    color: #e94e77;
    width: 40px;
}

.info-item h3 {
    font-size: 1em;
    margin-bottom: 5px;
    color: #2c3e50;
}

.info-item p,
.info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #e94e77;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #e94e77;
    margin-bottom: 20px;
}

/* ============================================
   СТРАНИЦА ОТЗЫВОВ
   ============================================ */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 40px;
}

.reviews-form-section {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reviews-form-section h2 {
    margin-bottom: 20px;
    color: #e94e77;
}

.rating-text {
    margin-bottom: 10px;
    font-weight: 500;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 20px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #f39c12;
}

.reviews-list-section {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reviews-list-section h2 {
    margin-bottom: 20px;
    color: #e94e77;
}

.review-card {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #e94e77;
}

.review-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.review-rating {
    color: #f39c12;
    margin-bottom: 10px;
}

.review-text {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.review-date {
    font-size: 0.85em;
    color: #999;
}

/* ============================================
   СТРАНИЦА ПРОФИЛЯ
   ============================================ */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-header {
    background: linear-gradient(135deg, #e94e77, #f57c98);
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
}

.profile-content {
    padding: 30px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    margin: -60px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: 600;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    color: white;
}

.profile-info {
    margin-bottom: 20px;
}

.profile-info label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.profile-info input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.profile-info input:focus {
    outline: none;
    border-color: #e94e77;
}

.profile-btns {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.profile-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: transform 0.2s, background 0.3s;
}

.profile-btn:hover {
    transform: translateY(-2px);
}

.btn-save {
    background: #e94e77;
    color: white;
}

.btn-save:hover {
    background: #d03a60;
}

.btn-delete {
    background: #c0392b;
    color: white;
}

.btn-delete:hover {
    background: #a93226;
}

.btn-logout {
    background: #7f8c8d;
    color: white;
}

.btn-logout:hover {
    background: #6c7a7a;
}

.btn-orders {
    background: #3498db;
    color: white;
}

.btn-orders:hover {
    background: #2980b9;
}

.orders-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.orders-section h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.order-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.order-item b {
    color: #2c3e50;
}

.no-orders {
    text-align: center;
    padding: 20px;
    color: #999;
}

/* ============================================
   СТРАНИЦА КОРЗИНЫ
   ============================================ */
.cart-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cart-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.cart-item {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    text-align: right;
    font-size: 1.2em;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-clear {
    background: #c0392b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-clear:hover {
    background: #a93226;
}

.btn-order {
    background: #e94e77;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-order:hover {
    background: #d03a60;
}

.empty-cart {
    text-align: center;
    padding: 50px;
    color: #999;
}

/* ============================================
   СТРАНИЦА ОФОРМЛЕНИЯ ЗАКАЗА
   ============================================ */
.order-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.order-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #e94e77;
}

.cart-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.cart-preview h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.cart-preview .cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.cart-preview .cart-total {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: bold;
    color: #e94e77;
    border-top: 2px solid #ddd;
}

.order-form .form-group {
    margin-bottom: 20px;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: none;
    border-color: #e94e77;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #7f8c8d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-back:hover {
    background: #6c7a7a;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #999;
    background: white;
    border-radius: 16px;
}

/* ============================================
   СТРАНИЦА ЗАКАЗОВ
   ============================================ */
.orders-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.orders-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #e94e77;
}

.order-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: left;
}

.order-card p {
    margin: 8px 0;
    color: #2c3e50;
}

.order-card strong {
    color: #2c3e50;
}

.orders-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.no-orders {
    text-align: center;
    padding: 40px;
    color: #999;
    background: white;
    border-radius: 16px;
}

/* ============================================
   СТРАНИЦЫ АУТЕНТИФИКАЦИИ
   ============================================ */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
}

.auth-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #e94e77;
}

.auth-container .form-group {
    margin-bottom: 20px;
}

.auth-container input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.auth-container input:focus {
    outline: none;
    border-color: #e94e77;
}

.auth-container .btn-submit {
    width: 100%;
    padding: 14px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-container .btn-submit:hover {
    background: #d03a60;
}

.auth-container p {
    margin-top: 20px;
    color: #666;
}

.auth-container a {
    color: #e94e77;
    text-decoration: none;
    font-weight: 500;
}

.auth-container a:hover {
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.1em;
}

.toggle-password:hover {
    color: #e94e77;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin: 5px 0;
}

.auth-links a {
    color: #e94e77;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ============================================
   СТРАНИЦА ИЗБРАННОГО
   ============================================ */
.favorites-page {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: #f8f9fa;
}

.favorites-title {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.favorites-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.fav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: white;
    border-radius: 40px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fav-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fav-tab.active {
    background: #e94e77;
    color: white;
}

.tab-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75em;
}

.fav-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.favorite-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.favorite-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.fav-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #e74c3c;
}

.fav-remove-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.favorite-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fav-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.fav-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.favorite-card:hover .fav-image img {
    transform: scale(1.05);
}

.fav-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e94e77;
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Рейтинг в избранном - красный фон */
.fav-rating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #e94e77;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.fav-rating i {
    color: white;
    font-size: 0.9em;
}

.fav-info {
    padding: 15px;
}

.fav-info h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #2c3e50;
}

.fav-restaurant {
    font-size: 0.8em;
    color: #e94e77;
    margin-bottom: 8px;
}

.fav-desc {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.fav-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75em;
    color: #888;
}

.fav-meta i {
    margin-right: 4px;
    color: #e94e77;
}

.fav-price {
    margin-top: 10px;
}

.fav-price .current-price {
    font-size: 1.1em;
    font-weight: 700;
    color: #e94e77;
}

.fav-price .old-price {
    font-size: 0.85em;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.empty-favorites {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
}

.empty-favorites i {
    font-size: 4em;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-favorites p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.btn-browse {
    display: inline-block;
    padding: 12px 30px;
    background: #e94e77;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-browse:hover {
    background: #d03a60;
}

/* ============================================
   УВЕДОМЛЕНИЯ
   ============================================ */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2c3e50;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.9em;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-success {
    background: #27ae60;
}

.notification-error {
    background: #e74c3c;
}

.notification-info {
    background: #3498db;
}

/* ============================================
   ОБЩИЕ СТИЛИ ФОРМ
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94e77;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #d03a60;
}

.alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Бейджи для товаров */
.product-badge-main.discount { background: #e94e77; }
.product-badge-main.hit { background: #e94e77; }
.product-badge-main.popular { background: #f39c12; }
.product-badge-main.new { background: #27ae60; }

.item-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 20px; font-size: 0.7em; font-weight: 600; z-index: 2; }
.item-badge.discount { background: #e94e77; color: white; }
.item-badge.hit { background: #e94e77; color: white; }
.item-badge.popular { background: #f39c12; color: white; }
.item-badge.new { background: #27ae60; color: white; }

.product-hit-badge, .product-popular-badge, .product-new-badge { position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 30px; font-weight: 600; font-size: 0.9em; z-index: 2; }
.product-hit-badge { background: #e94e77; color: white; }
.product-popular-badge { background: #f39c12; color: white; }
.product-new-badge { background: #27ae60; color: white; }

/* Статистика в футере */
.statistics {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 20px;
    background: #111;
    color: #888;
    font-size: 0.85em;
    border-top: 1px solid #222;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-item i {
    color: #e94e77;
    font-size: 1em;
}
@media (max-width: 600px) {
    .statistics {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================
   ЕДИНЫЙ СТИЛЬ КНОПОК НА ВСЕХ СТРАНИЦАХ
   ============================================ */

/* Базовый стиль для всех кнопок */
.btn-main,
.btn-buy-main,
.btn-details-main,
.btn-add-to-cart,
.add-to-cart-form button,
.buttons-main .btn-main,
.product-actions .btn-add-to-cart,
.menu-item-card .btn-main,
.similar-card .btn-similar-cart,
.similar-card .btn-similar-details,
.recommended-card .add-to-cart-recommended {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
}

/* Кнопка "В корзину" - красная, ширина 100% в карточке */
.btn-buy-main,
.btn-add-to-cart,
.add-to-cart-form button,
.product-actions .btn-add-to-cart,
.menu-item-card .btn-buy-main,
.recommended-card .add-to-cart-recommended {
    background: #e94e77;
    color: white;
    padding: 12px 0;
    font-size: 0.9em;
    width: 100%;
    flex: 1;
}

.btn-buy-main:hover,
.btn-add-to-cart:hover,
.add-to-cart-form button:hover,
.product-actions .btn-add-to-cart:hover,
.menu-item-card .btn-buy-main:hover,
.recommended-card .add-to-cart-recommended:hover {
    background: #d03a60;
    transform: translateY(-2px);
}

/* Кнопка "Подробнее" - синяя */
.btn-details-main,
.btn-similar-details {
    background: #3498db;
    color: white;
    padding: 12px 0;
    font-size: 0.9em;
    flex: 1;
    text-align: center;
    border-radius: 10px;
}

.btn-details-main:hover,
.btn-similar-details:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Контейнер для двух кнопок в карточке */
.buttons-main {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0 16px 16px;
    width: 100%;
}

.buttons-main form {
    flex: 1;
    margin: 0;
}

.buttons-main form button {
    width: 100%;
}

/* Когда только одна кнопка - растягиваем на всю ширину */
.buttons-main .btn-details-main:only-child {
    width: 100%;
}

/* Кнопка на странице товара (крупная) */
.btn-add-to-cart-info {
    width: 100%;
    padding: 16px 20px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-add-to-cart-info:hover {
    background: #d03a60;
    transform: translateY(-2px);
}

/* Кнопки в похожих товарах */
.btn-similar-cart {
    background: #e94e77;
    color: white;
    padding: 8px 0;
    font-size: 0.8em;
    font-weight: 600;
    border-radius: 8px;
    flex: 1;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-similar-cart:hover {
    background: #d03a60;
}

.btn-similar-details {
    background: #3498db;
    color: white;
    width: 34px;
    padding: 8px 0;
    font-size: 0.8em;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-similar-details:hover {
    background: #2980b9;
}

/* Кнопки в рекомендованных товарах в корзине */
.recommended-card .add-to-cart-recommended {
    width: 100%;
    padding: 8px;
    font-size: 0.8em;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.recommended-card .add-to-cart-recommended:hover {
    background: #d03a60;
}

.recommended-card .add-to-cart-recommended.added {
    background: #27ae60;
    cursor: default;
}

.recommended-card .add-to-cart-recommended.added:hover {
    background: #27ae60;
    transform: none;
}

/* Стили для кнопки "В корзину" в избранном */
.fav-actions .add-to-cart-fav {
    background: #e94e77;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.fav-actions .add-to-cart-fav:hover {
    background: #d03a60;
}

/* Кнопка "В корзину" в рекомендациях корзины */
.add-to-cart-recommended {
    width: 100%;
    padding: 8px;
    background: #e94e77;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.add-to-cart-recommended:hover {
    background: #d03a60;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .btn-buy-main,
    .btn-add-to-cart,
    .btn-details-main {
        padding: 10px 0;
        font-size: 0.85em;
    }
    
    .buttons-main {
        gap: 8px;
        padding: 0 12px 12px;
    }
    
    .btn-add-to-cart-info {
        padding: 14px;
        font-size: 1em;
    }
}

.social-link.rutube {
    background: #0088cc;
    color: white;
}

.social-link.ok {
    background: #f58220;
    color: white;
}

/* Кликабельные карточки команды */
.team-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}
.team-card.clickable:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.team-hint {
    display: block;
    margin-top: 12px;
    font-size: 0.7em;
    color: #e94e77;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.team-card.clickable:hover .team-hint {
    opacity: 1;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.85em;
    color: #999;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.breadcrumbs a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumbs a:hover {
    color: #e94e77;
}
.breadcrumbs i {
    font-size: 0.7em;
}
.breadcrumbs span {
    color: #2c3e50;
}

/* ============================================
   АДАПТИВ
   ============================================ */
@media (max-width: 1024px) {
    .product-container-info {
        flex-direction: column;
    }
    .product-image-info,
    .product-info-details {
        width: 100%;
    }
    .about-hero-content h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .block_one {
        height: 400px;
    }
    .slide .description {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 20px;
        max-width: none;
    }
    .slide .description h3 {
        font-size: 1.3em;
    }
    .slide .description p {
        font-size: 0.85em;
    }
    .products-main,
    .catalog-grid,
    .gallery-grid,
    .news-grid,
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    .features {
        flex-direction: column;
        align-items: center;
    }
    .feature-box {
        width: 100%;
        max-width: 300px;
    }
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }
    .social-icons {
        justify-content: center;
    }
    .contact-wrapper,
    .reviews-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .catalog-filters {
        flex-direction: column;
    }
    .restaurant-filter {
        width: 100%;
    }
    .profile-btns {
        flex-direction: column;
    }
    .profile-btn {
        width: 100%;
    }
    .order-status {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .cart-actions {
        flex-direction: column;
    }
    .btn-clear,
    .btn-order {
        text-align: center;
    }
    .about-hero-modern {
        padding: 50px 20px;
    }
    .hero-stats {
        gap: 25px;
    }
    .advantages-grid,
    .team-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-link {
        width: 200px;
        justify-content: center;
    }
    .favorites-tabs {
        gap: 10px;
    }
    .fav-tab {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .notification {
        white-space: normal;
        text-align: center;
        max-width: 90%;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    .block_one {
        height: 300px;
    }
    .section-title,
    .gallery-title,
    .page-title,
    .catalog-title,
    .favorites-title {
        font-size: 1.5em;
    }
    .butt-up {
        bottom: 15px;
        right: 15px;
    }
    .btn-up {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    .product-title-info {
        font-size: 1.5em;
    }
    .current-price-info {
        font-size: 1.3em;
    }
    .about-hero-content h1 {
        font-size: 2em;
    }
    .hero-stats .stat-number {
        font-size: 1.5em;
    }
    .mission-section h2,
    .advantages-section h2,
    .team-section h2,
    .contacts-section h2,
    .social-section h2 {
        font-size: 1.6em;
    }
    .auth-container {
        padding: 25px;
    }
    .auth-container h1 {
        font-size: 1.5em;
    }
}