/* БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.text-center {
    text-align: center;
}

/* КНОПКИ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: #e91e63;
    color: white;
}

.btn-primary:hover {
    background-color: #c2185b;
}

.btn-secondary {
    background-color: #4caf50;
    color: white;
}

.btn-secondary:hover {
    background-color: #388e3c;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #e91e63;
    color: #e91e63;
}

.btn-outline:hover {
    background-color: #e91e63;
    color: white;
}

/* ЗАГОЛОВКИ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin: 40px 0;
    color: #333;
}

/* ШАПКА */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    font-weight: 700;
    color: #e91e63;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: #e91e63;
}

.cart-btn {
    background: none;
    position: relative;
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e91e63;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ГЕРОЙ СЕКЦИЯ */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), #f8bbd9;
    background-size: cover;
    color: white;
    padding: 150px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 72px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* СЕЗОННОЕ ПРЕДЛОЖЕНИЕ */
.seasonal {
    padding: 80px 0;
    background-color: #fff9f9;
}

/* О НАС */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.placeholder-image {
    background: linear-gradient(45deg, #f8bbd9, #e91e63);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: 500;
}

/* СЕТКА ТОВАРОВ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* ВЫБОР РАЗМЕРА */
.size-selector {
    margin: 15px 0;
}

.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.size-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
}

.size-btn.active {
    background-color: #e91e63;
    color: white;
    border-color: #e91e63;
}

.size-btn:hover {
    border-color: #e91e63;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 15px;
}

/* ПРЕИМУЩЕСТВА */
.advantages {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 22px;
}

.advantage-item p {
    color: #666;
}

/* БЕСПЛАТНАЯ ДОСТАВКА */
.free-delivery-banner {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    color: white;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    border-radius: 8px;
}

.free-delivery-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.free-delivery-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* КОНТАКТЫ */
.contacts {
    padding: 80px 0;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

/* КАТАЛОГ ФИЛЬТРЫ */
.catalog-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    font-size: 14px;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-family: 'Roboto', sans-serif;
}

/* ПАГИНАЦИЯ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.pagination-btn.active, .pagination-btn:hover {
    background-color: #e91e63;
    color: white;
    border-color: #e91e63;
}

/* ФУТЕР */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo a {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.footer-logo p {
    margin-top: 10px;
    color: #ccc;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #e91e63;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e91e63;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* КОРЗИНА */
/* Корзина */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.cart-modal.open {
    right: 0;
}

.cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.close-cart {
    background: none;
    font-size: 24px;
}

.cart-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart-message {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

.cart-items {
    display: none;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.cart-item-price {
    color: #e91e63;
    font-weight: 700;
    font-size: 14px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-item {
    background: none;
    color: #999;
    font-size: 18px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

/* АДАПТИВНОСТЬ */
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-content, .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .catalog-filters {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cart-modal {
        width: 100%;
        right: -100%;
    }
    
    .free-delivery-banner h3 {
        font-size: 24px;
    }
    
    .free-delivery-banner p {
        font-size: 16px;
    }
    /* Telegram иконка */
/* Telegram иконка */
.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.telegram-icon {
    width: 60px; /* Маленький размер */
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

/* Анимация тряски */
@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-3px) rotate(-5deg); }
    75% { transform: translateX(3px) rotate(5deg); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.telegram-icon:hover {
    transform: scale(1.1);
}

/* Адаптивность для Telegram иконки */
@media (max-width: 768px) {
    .telegram-float {
        bottom: 15px;
        right: 15px;
    }
    
    .telegram-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}