/* ===== GLOBAL ===== */
:root {
    --primary-pink: #bd2f69;
    --dark-pink: #8b2350;
    --light-bg: #f9f6ed;  /* единый фон страниц, как вокруг кошки */
    --accent-pink: #bd2f69;
    --text-gray: #4a5d5a;
    --footer-bg: #3e2f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ===== HEADER ===== */
.header {
    background: url('../images/kitty.jpg') no-repeat center center / cover;
    min-height: 450px;
    max-width: 1400px;
    max-height: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(189, 47, 105, 0.25);
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 0;
}
.header > * {
    position: relative;
    z-index: 1;
}
.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}
.header-left,
.header-right {
    display: flex;
    align-items: center;
}
.header-left {
    justify-content: flex-start;
}
.header-right {
    justify-content: flex-end;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-item i {
    font-size: 1.1rem;
    color: var(--accent-pink);
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
}
.contact-item:hover i {
    transform: scale(1.2);
    color: white;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(189, 47, 105, 0.2);
    border: 2px solid var(--primary-pink);
    overflow: hidden;
}
.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.nav-section {
    margin-top: auto;
}
.nav-section .wp-block-navigation-item a {
    font-size: 1rem;
    padding: 10px 18px;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
    font-weight: 500;
}
.nav-section .wp-block-navigation-item a:hover,
.nav-section .wp-block-navigation-item.current-menu-item a {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: white !important;
    border-color: var(--primary-pink);
}
@media (max-width: 768px) {
    .header {
        padding: 15px;
        min-height: 350px;
        max-height: 500px;
    }
    .header-top {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .header-left,
    .header-right {
        justify-content: center;
    }
    .logo-section {
        margin: 10px 0;
        justify-content: center;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(145deg, #3e2f2f 0%, #5d4a4a 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--accent-pink), var(--primary-pink));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-side-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--accent-pink);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.footer-side-image:hover {
    transform: scale(1.05);
}
.footer-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.footer-logo {
    text-align: center;
    flex: 1 1 auto;
}
.logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(189, 47, 105, 0.2);
    border: 2px solid var(--primary-pink);
    overflow: hidden;
}
.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 8px;
}
.footer-nav {
    margin: 25px 0;
}
.footer-nav .wp-block-navigation-item a {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 22px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.footer-nav .wp-block-navigation-item a:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(189, 47, 105, 0.4);
}
.footer-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    padding: 15px 30px;
    margin: 30px 0 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}
.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 1.1rem;
}
.footer-location i {
    color: var(--accent-pink);
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social .wp-block-social-link-anchor {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-pink);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
}
.footer-social .wp-block-social-link-anchor:hover {
    background: var(--accent-pink);
    color: var(--footer-bg);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(189, 47, 105, 0.4);
}
.footer-bottom {
    border-top: 1px solid #5a4a4a;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #adb5bd;
    font-size: 0.85rem;
}
.footer-bottom i {
    animation: heartbeat 1.5s ease infinite;
}
.footer-bottom a {
    color: #adb5bd;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: var(--accent-pink);
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== HOME PAGE ===== */
.home-section-title {
    color: #4a5d56;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
}
.decorative-line {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-pink), transparent);
    margin: 20px auto;
    width: 60%;
}
.contact-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.contact-name {
    color: var(--accent-pink);
    font-weight: 600;
}
.btn-accent {
    background-color: var(--accent-pink);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-accent:hover {
    background-color: var(--dark-pink);
    color: white;
}
.kitten-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== KITTEN FOR SALE ===== */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4a5d5a;
    margin: 40px 0 20px;
}
.divider {
    text-align: center;
    margin-bottom: 40px;
}
.divider svg {
    width: 700px;
    max-width: 100%;
    height: 30px;
}
.product-card {
    background: #f9f6ed;
    border: 1px solid #e8e3d5;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}
.card-paw {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    opacity: 0.3;
    color: #6c757d;
}
.brand {
    color: #e74c3c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.product-title {
    font-size: 28px;
    color: #4a5d5a;
    margin-bottom: 20px;
    font-weight: 400;
}
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.info-item {
    font-size: 14px;
    margin-bottom: 8px;
}
.description {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
}
.price {
    font-size: 24px;
    color: #4a5d5a;
    margin-top: 30px;
}
.btn-request {
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    transition: 0.3s;
}
.btn-request:hover {
    background-color: #333;
}
.product-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== PRODUCERS PAGE ===== */
.producer-section {
    background-color: #f4f0e4;
    padding: 40px 0 60px;
}
.section-header {
    margin-bottom: 40px;
    text-align: center;
}
.section-title {
    color: #4a5d56;
    font-size: 2.5rem;
    font-weight: 300;
}
.wavy-line {
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23e0dac8' opacity='0.5'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    margin-top: 10px;
}
.producer-card {
    background: transparent;
    border: none;
    margin-bottom: 60px;
}
.producer-img-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.producer-img-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.producer-title {
    color: var(--accent-pink);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.producer-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #4a5d56;
    margin-top: 5px;
    border-radius: 2px;
}
.certificates {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.cert-img {
    width: 48%;
    border: 5px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.cert-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}
.paw-dark {
    color: #6c757d;
}

/* ===== ABOUT SPHYNX PAGE ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(189,47,105,0.1);
}
.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5d5a;
}
.sphynx-gallery {
    margin-top: 50px;
    margin-bottom: 50px;
}
.sphynx-gallery h2 {
    text-align: center;
    color: #4a5d5a;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 300;
}
.gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-pink) #f0f0f0;
}
.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-pink);
    border-radius: 4px;
}
.gallery-scroll img {
    height: 200px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.gallery-scroll img:hover {
    transform: scale(1.03);
}

/* ===== GALLERY PAGE ===== */
.gallery-title {
    text-align: center;
    padding: 40px 0 20px;
    color: #4a5568;
    font-size: 2.5rem;
    font-weight: 300;
}
.divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    margin: 20px auto;
    width: 60%;
}
.gallery-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1300px;
    margin: 0 auto;
}
.gallery-case-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(189, 47, 105, 0.15);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.4s ease;
    cursor: pointer;
}
.gallery-case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-case-card:hover img {
    transform: scale(1.1);
}
.gallery-case-card:hover {
    transform: perspective(500px) rotateY(8deg) translateZ(10px);
    box-shadow: 0 25px 40px rgba(189, 47, 105, 0.4);
}
.gallery-case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(189, 47, 105, 0.9), transparent);
    padding: 20px;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.3s ease;
}
.gallery-case-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border: 5px solid var(--primary-pink);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(189, 47, 105, 0.5);
}
.lightbox-caption {
    margin-top: 15px;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(189, 47, 105, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(189, 47, 105, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lightbox-close:hover {
    color: var(--primary-pink);
    background: white;
    transform: rotate(90deg);
}
@media (max-width: 768px) {
    .gallery-cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 20px;
    }
    .gallery-case-card {
        height: 250px;
    }
    .gallery-case-overlay h3 {
        font-size: 1.2rem;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* ===== REVIEWS PAGE ===== */
.reviews-title {
    text-align: center;
    padding: 40px 0 20px;
    color: #4a5568;
    font-size: 2.5rem;
    font-weight: 300;
}
.reviews-grid {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.review-card-modern {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(189, 47, 105, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(189, 47, 105, 0.1);
    position: relative;
    overflow: hidden;
}
.review-card-modern::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 120px;
    color: rgba(189, 47, 105, 0.1);
    font-family: serif;
    line-height: 1;
}
.review-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(189, 47, 105, 0.15);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-pink);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.review-meta {
    flex: 1;
}
.review-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 3px;
}
.badge-verified {
    background-color: #28a745;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 30px;
    display: inline-block;
    font-weight: normal;
}
.badge-verified i {
    margin-right: 3px;
}
.review-rating {
    color: var(--accent-pink);
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.review-rating i {
    margin-right: 3px;
}
.review-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    font-style: italic;
    margin: 0 0 15px 0;
    position: relative;
    padding-left: 10px;
    border-left: 2px solid var(--accent-pink);
}
.review-date {
    color: #adb5bd;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
    border-top: 1px solid #f0e0e0;
    padding-top: 12px;
    margin-top: 5px;
}
.review-date i {
    color: var(--accent-pink);
}

/* ===== CONTACT PAGE ===== */
@keyframes pawWave {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.12) rotate(5deg); }
    60% { transform: scale(1.12) rotate(-3deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.paw-above-title {
    text-align: center;
    margin-bottom: 10px;
}
.paw-above-title i {
    color: #6c757d;
    font-size: 2.2rem;
    animation: pawWave 2.5s infinite ease-in-out;
}
.wave-divider {
    width: 100%;
    height: 40px;
    margin: 20px 0;
    opacity: 0.3;
}
.contact-info-text ul {
    list-style: none;
    padding-left: 0;
}
.contact-info-text ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}
.contact-info-text ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-pink);
}
.highlight-pink {
    color: var(--accent-pink);
    font-weight: 600;
}
.form-control {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.form-control:focus {
    box-shadow: none;
    border-color: #4a6660;
}
.btn-submit {
    background-color: #4a6660;
    color: white;
    border: none;
    padding: 12px 30px;
    width: 100%;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}
.btn-submit:hover {
    background-color: #3d5550;
    color: white;
}
.contact-details-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}
.contact-details-item i {
    color: var(--accent-pink);
    width: 25px;
    font-size: 1.1rem;
}
.contact-page .nav-link-custom {
    color: var(--accent-pink) !important;
}
.contact-page .nav-link-custom:hover,
.contact-page .nav-link-custom.active {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--dark-pink) 100%);
    color: white !important;
    border-color: var(--accent-pink);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
@keyframes catButtonPulse {
    0% { box-shadow: 0 4px 15px rgba(189, 47, 105, 0.4); transform: scale(1); }
    50% { box-shadow: 0 8px 25px rgba(189, 47, 105, 0.8); transform: scale(1.05); }
    100% { box-shadow: 0 4px 15px rgba(189, 47, 105, 0.4); transform: scale(1); }
}
.chat-button {
    background-color: var(--accent-pink);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(189, 47, 105, 0.4);
    transition: all 0.3s;
    animation: catButtonPulse 2s infinite ease-in-out;
}
.chat-button:hover {
    background-color: var(--dark-pink);
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 47, 105, 0.6);
}
.chat-button i {
    font-size: 1.8rem;
}
.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
}
.chat-window.active {
    display: flex;
}
.chat-header {
    background-color: var(--accent-pink);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header-title {
    font-size: 14px;
    font-weight: 600;
}
.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.chat-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}
.chat-message {
    background-color: #f5f0e6;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #4a5d5a;
}
.chat-message.support {
    background-color: #e8f4fd;
    margin-right: 20px;
}
.chat-time {
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    text-align: right;
}
.chat-input-area {
    padding: 15px;
    border-top: 1px solid #e8e3d5;
    display: flex;
    gap: 10px;
}
.chat-input {
    flex: 1;
    border: 1px solid #e8e3d5;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 13px;
    outline: none;
}
.chat-input:focus {
    border-color: var(--accent-pink);
}
.chat-send {
    background-color: var(--accent-pink);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.chat-send:hover {
    background-color: var(--dark-pink);
}

/* ===== МОБИЛЬНОЕ МЕНЮ (БУРГЕР) ===== */
@media (max-width: 768px) {
    .wp-block-navigation__responsive-container.is-menu-open {
        background-color: #fff0f5 !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
        background-color: transparent !important;
        color: #6c757d !important;
        border: none !important;
        font-size: 1.2rem;
        padding: 12px 20px !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
        background-color: rgba(0,0,0,0.05) !important;
        color: var(--accent-pink) !important;
    }
    .wp-block-navigation__responsive-container.is-menu-open {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===== TICA CERTIFICATE ===== */
.tica-certificate-img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .tica-certificate-img {
        max-width: 150px;
    }
}

/* ===== ОГРАНИЧЕНИЕ МАКСИМАЛЬНЫХ РАЗМЕРОВ (адаптивность) ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container,
.wp-block-group.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media (max-width: 768px) {
    .product-card,
    .review-card-modern,
    .gallery-3d-grid .wp-block-image {
        max-width: 100%;
    }
}
@media (min-width: 1600px) {
    .header {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header { padding: 15px; min-height: 350px; }
    .header-top { flex-direction: column; gap: 15px; }
    .top-bar { justify-content: center; }
    .nav-section { flex-direction: column; align-items: stretch; }
    .nav-link-custom { text-align: center; }

    .product-content { grid-template-columns: 1fr; }
    .product-image { order: -1; }

    .producer-img-container img { height: auto; }
    .cert-img { width: 100%; }

    .gallery-title { font-size: 2rem; }
    .gallery-item img { height: 220px; }

    .reviews-title { font-size: 2rem; }
}