/* =============================================
   РОЗОВАЯ ЛАВКА — ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   Шрифты: Playfair Display + Comfortaa
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Comfortaa:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Comfortaa', cursive;
    background-color: #fdf6f9;
    color: #4a2c3b;
    line-height: 1.7;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .price, .product-info h1, .catalog-header h1, .featured h2, .about-text h2, .materials h2, .contact h2, .news-section h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    color: #b3446c;
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== НАВИГАЦИЯ ========== */
header {
    background: rgba(253, 246, 249, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 40px;
    border-bottom: 1px solid rgba(231, 190, 205, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: italic;
    color: #b3446c;
    letter-spacing: 0.8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #6a4e5a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #d4788f;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 1.5px;
    background: #d4788f;
    transition: width 0.3s ease;
    margin: 3px auto 0;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ========== HERO ========== */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
    background: url('https://ir.ozone.ru/s3/multimedia-v/6429581983.jpg') center center no-repeat;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 238, 244, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    padding: 35px 30px;
    border-radius: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #b3446c;
}

.ribbon {
    font-size: 2.8rem;
    display: inline-block;
    animation: gentleFloat 2.8s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.subtitle {
    font-family: 'Comfortaa', cursive;
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto 28px;
    color: #5a3e4a;
    line-height: 1.7;
}

.btn {
    background: #d4788f;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 22px rgba(212, 120, 143, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #c0627a;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(192, 98, 122, 0.35);
}

.scroll-down {
    position: absolute;
    bottom: 35px;
    color: #b48a98;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
    animation: subtleBounce 2s infinite;
}

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========== ABOUT ========== */
.about {
    padding: 90px 40px;
    background: #fff;
}

.about-flex {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 55px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 22px;
    font-style: italic;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #5a3e4a;
}

.vibe-icons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.vibe-icons span {
    background: #fdf0f4;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #b3446c;
    border: 1px solid #f1d6e0;
    letter-spacing: 0.2px;
}

.about-image {
    flex: 1 1 300px;
}

.image-placeholder {
    width: 100%;
    height: 290px;
    background: #fef4f7;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #c99aac;
    border: 1.5px dashed #e7c6d3;
    gap: 10px;
}

.image-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

/* ========== FEATURED / ВИТРИНА ========== */
.featured {
    padding: 80px 40px;
    background: #fdf6f9;
    text-align: center;
}

.featured h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    margin-bottom: 6px;
    font-style: italic;
}

.featured-sub {
    color: #7a5a6b;
    margin-bottom: 38px;
    font-size: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 28px;
    max-width: 1050px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 26px;
    padding: 18px 15px 22px;
    box-shadow: 0 10px 24px rgba(200, 150, 165, 0.12);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 32px rgba(200, 150, 165, 0.2);
}

.card-img-container {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 18px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-container img {
    transform: scale(1.04);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #fef0f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #c99aac;
}

.category-tag {
    font-size: 0.75rem;
    background: #fdf0f4;
    padding: 5px 14px;
    border-radius: 14px;
    color: #b3446c;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-desc {
    font-size: 0.85rem;
    color: #7a5a6b;
    margin-bottom: 10px;
    line-height: 1.5;
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #b3446c;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.btn-small {
    background: #fef0f4;
    color: #b3446c;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.2s;
}

.btn-small:hover {
    background: #f9dce5;
}

/* ========== НОВОСТИ НА ГЛАВНОЙ ========== */
.news-section {
    padding: 70px 40px;
    background: white;
    text-align: center;
}

.news-section h2 {
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: #fef9fb;
    border-radius: 20px;
    padding: 22px;
    text-align: left;
    border: 1px solid #f1d6e0;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card .news-tag {
    display: inline-block;
    background: #fdf0f4;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #b3446c;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.news-card p {
    font-size: 0.9rem;
    color: #6a4e5a;
    line-height: 1.5;
}

.news-card .news-date {
    font-size: 0.75rem;
    color: #aa8a96;
    margin-top: 10px;
}

/* ========== МАТЕРИАЛЫ ========== */
.materials {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.materials h2 {
    font-size: 2.3rem;
    margin-bottom: 8px;
    font-style: italic;
}

.materials-intro {
    font-style: italic;
    margin-bottom: 38px;
    color: #7a5a6b;
    font-size: 1.05rem;
}

.materials-flex {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.material-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background: #fdf0f4;
    padding: 20px 24px;
    border-radius: 24px;
    min-width: 135px;
    transition: transform 0.2s;
}

.material-item:hover {
    transform: translateY(-4px);
}

.material-item i {
    font-size: 1.7rem;
    color: #b3446c;
}

/* ========== КОНТАКТЫ ========== */
.contact {
    padding: 80px 40px 30px;
    background: linear-gradient(180deg, #fdf6f9 0%, #fef0f4 100%);
    text-align: center;
}

.contact h2 {
    font-size: 2.3rem;
    font-style: italic;
}

.contact p {
    color: #5e4451;
    margin-bottom: 28px;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 28px 0 38px;
    flex-wrap: wrap;
}

.social-link {
    text-decoration: none;
    background: #fff;
    padding: 13px 26px;
    border-radius: 40px;
    color: #b3446c;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(179, 68, 108, 0.08);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    background: #fef0f4;
    box-shadow: 0 8px 18px rgba(179, 68, 108, 0.13);
}

.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 17px;
    border: 1.5px solid #f1d6e0;
    border-radius: 24px;
    font-family: 'Comfortaa', cursive;
    background: #fff;
    font-size: 0.95rem;
    transition: border 0.2s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4788f;
}

.footer-note {
    font-size: 0.8rem;
    color: #b48a98;
    margin-top: 18px;
    letter-spacing: 0.3px;
}

/* ========== КАТАЛОГ (ОБЩИЕ СТИЛИ ДЛЯ catalog.php) ========== */
.catalog-page {
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.catalog-header {
    text-align: center;
    margin-bottom: 30px;
}

.catalog-header h1 {
    font-size: 2.5rem;
    font-style: italic;
}

.back-home {
    display: inline-block;
    margin-bottom: 20px;
    color: #8a6b77;
    font-size: 0.95rem;
}

.back-home:hover {
    color: #b3446c;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    background: white;
    color: #6a4e5a;
    text-decoration: none;
    border: 2px solid #f1d6e0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #d4788f;
    color: white;
    border-color: #d4788f;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form input {
    padding: 12px 20px;
    border: 2px solid #f1d6e0;
    border-radius: 30px;
    width: 260px;
    font-family: 'Comfortaa', cursive;
}

.search-form button {
    background: #d4788f;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Comfortaa', cursive;
}

.search-form button:hover {
    background: #c0627a;
}

.product-count {
    text-align: center;
    color: #7a5a6b;
    margin-bottom: 5px;
}

.no-products {
    text-align: center;
    padding: 50px;
    color: #b3446c;
    font-size: 1.1rem;
}

/* Быстрые кнопки заказа в каталоге */
.quick-order-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.quick-btn {
    padding: 7px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    font-family: 'Comfortaa', cursive;
}

.quick-btn.tg { background: #2AABEE; }
.quick-btn.vb { background: #7360F2; }
.quick-btn.mx { background: #FF6B35; }

.quick-btn:hover {
    opacity: 0.9;
    transform: scale(1.04);
}

/* ========== СТРАНИЦА ТОВАРА (product.php) ========== */
.product-page {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.product-image {
    flex: 1 1 350px;
}

.product-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(179, 68, 108, 0.1);
}

.product-image .placeholder-img {
    width: 100%;
    height: 360px;
    background: #fef0f4;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #c99aac;
}

.product-info {
    flex: 1 1 350px;
}

.product-info h1 {
    font-size: 2.4rem;
    margin-bottom: 6px;
    font-style: italic;
    line-height: 1.2;
}

.product-info .category {
    background: #fdf0f4;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 24px;
    margin: 10px 0 18px;
    color: #b3446c;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-info .price {
    font-size: 2.3rem;
    margin: 18px 0 14px;
}

.product-info .description {
    color: #4a2c3b;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.order-section {
    background: #fef9fb;
    padding: 24px 20px;
    border-radius: 20px;
    border: 1.5px solid #f1d6e0;
}

.order-section h4 {
    color: #b3446c;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.order-section .hint {
    font-size: 0.85rem;
    color: #7a5a6b;
    margin-bottom: 18px;
}

.messenger-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Comfortaa', cursive;
    transition: all 0.3s ease;
    color: white;
}

.msg-btn i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.msg-btn.telegram { background: #2AABEE; box-shadow: 0 6px 16px rgba(42, 171, 238, 0.25); }
.msg-btn.telegram:hover { background: #2298d4; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(42, 171, 238, 0.35); }
.msg-btn.viber { background: #7360F2; box-shadow: 0 6px 16px rgba(115, 96, 242, 0.25); }
.msg-btn.viber:hover { background: #5e4bd4; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(115, 96, 242, 0.35); }
.msg-btn.max { background: #FF6B35; box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25); }
.msg-btn.max:hover { background: #e55a28; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35); }
.msg-btn.vk { background: #0077FF; box-shadow: 0 6px 16px rgba(0, 119, 255, 0.25); }
.msg-btn.vk:hover { background: #0066dd; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 119, 255, 0.35); }
.msg-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 6px 16px rgba(220, 39, 67, 0.2); }
.msg-btn.instagram:hover { opacity: 0.92; transform: translateY(-1px); }

.order-note {
    font-size: 0.82rem;
    color: #8a6b77;
    margin-top: 15px;
    text-align: center;
}

/* ========== НОВОСТИ СТРАНИЦА (news.php) ========== */
.news-page {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.news-page h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    font-style: italic;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0 30px;
}

.tag-link {
    padding: 8px 18px;
    border-radius: 25px;
    background: white;
    color: #6a4e5a;
    text-decoration: none;
    border: 1.5px solid #f1d6e0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tag-link.active,
.tag-link:hover {
    background: #d4788f;
    color: white;
    border-color: #d4788f;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card-full {
    background: white;
    border-radius: 22px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(179, 68, 108, 0.08);
    border: 1px solid #f9d9e5;
}

.news-card-full h2 {
    color: #b3446c;
    margin-bottom: 10px;
}

.news-card-full .tag {
    display: inline-block;
    background: #fdf0f4;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #b3446c;
    margin-bottom: 10px;
}

.news-card-full .date {
    font-size: 0.8rem;
    color: #aa8a96;
    margin-bottom: 10px;
}

.news-card-full .content {
    color: #4a2c3b;
    line-height: 1.7;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 700px) {
    header {
        padding: 12px 20px;
    }
    nav ul {
        gap: 15px;
        margin-top: 6px;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .about, .featured, .materials, .contact, .news-section {
        padding: 55px 20px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .product-info h1 {
        font-size: 1.9rem;
    }
    .catalog-page {
        padding: 20px;
    }
    .news-page {
        padding: 20px;
    }
}