/*Обнуление*/
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

ul,
li {
    list-style: none;
}

img {
    vertical-align: top;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

nav,
header {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
}

/*--------------------------------------------------------------------------------*/

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #5a5a5a;
    background: #fffaf0;
    overflow-y: scroll !important;
}

h2 {
    font-family: Overpass;
    font-weight: 600;
}

h3 {
    font-family: Andika;
    font-weight: 600;
}

h4 {
    font-family: "Fira Sans";
}

p {
    font-family: Roboto;
    font-size: 18px;
}

ul,
li {
    font-family: Roboto;
    font-size: 18px;
}

/* Баннер и навигация */
.header {
    position: relative;
}

.banner {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: #ffffff40;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.109);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    /* разделяем пространство */
    align-items: flex-start;
    /* прижимаем к верху */
    padding: 2rem;
    z-index: 1000;
}

/* Заголовок - левая часть */
.site-title {
    color: white;
    font-size: 2.3rem;
    font-weight: bold;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 15px;
    background: rgba(87, 17, 79, 0.128);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    align-self: flex-start;
    /* прижимаем к левому верху */
    font-family: Marmelad;
}

.site-title:hover {
    background: rgba(232, 155, 195, 0.296);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 155, 195, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Бургер-меню - правая часть */
.burger-menu {
    position: relative;
    z-index: 1001;
    align-self: flex-start;
    /* прижимаем к правому верху */
}

.burger-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 40px;
    height: 35px;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(87, 17, 79, 0.128);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.burger-icon:hover {
    background: rgba(232, 155, 195, 0.296);
    transform: scale(1.05);
}

.burger-icon span {
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Анимация бургера при клике */
.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Выпадающее меню */
.nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    /* отступ от бургера */
    right: 0;
    background: linear-gradient(135deg, rgba(232, 155, 195, 0.95) 0%, rgba(255, 247, 178, 0.95) 100%);
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.2);
    border-radius: 15px;
    display: none;
    min-width: 250px;
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.nav-menu.active {
    display: block;
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стрелочка у меню */
.nav-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(232, 155, 195, 0.95);
}

/* Пункты меню */
.nav-menu ul {
    list-style: none;
    padding: 1.2rem 0;
}

.nav-menu li {
    padding: 0.7rem 1.8rem;
    transition: all 0.3s ease;
}

.nav-menu li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.nav-menu a {
    text-decoration: none;
    color: #57114f;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    font-family: Roboto;
    font-size: 18px;
}

.nav-menu a:hover {
    color: #9c368a;
    letter-spacing: 0.5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .banner-overlay {
        padding: 1.5rem;
    }

    .site-title {
        font-size: 1.8rem;
        padding: 0.6rem 1.2rem;
    }

    .burger-icon {
        width: 35px;
        height: 30px;
        padding: 0.6rem;
    }

    .nav-menu {
        min-width: 200px;
        top: calc(100% + 5px);
    }
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(87, 17, 79, 0.85);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.4s ease;
}

.modal-content {
    background: linear-gradient(135deg, #fffaf0 0%, #fff7e6 100%);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(87, 17, 79, 0.4);
    border: 3px solid rgba(232, 155, 195, 0.3);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
    border-radius: 25px 25px 0 0;
    z-index: 2;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #57114f;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(87, 17, 79, 0.15);
    border: 2px solid rgba(232, 155, 195, 0.3);
}

.close-modal:hover {
    color: #ff3366;
    transform: rotate(90deg);
    background: white;
    box-shadow: 0 6px 18px rgba(87, 17, 79, 0.25);
}

/* Контейнер с прокруткой */
#breedInfo {
    padding: 40px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Основной контент */
.breed-modal-content h2 {
    color: #57114f;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.breed-modal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
    border-radius: 4px;
}

.breed-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin: 2rem 0;
    border: 3px solid rgba(232, 155, 195, 0.3);
    box-shadow: 0 10px 30px rgba(87, 17, 79, 0.15);
    position: relative;
    cursor: pointer;
}

.breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.breed-image:hover img {
    transform: scale(1.05);
}

.breed-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* Секции */
.breed-description {
    background: linear-gradient(135deg, #f8f5ff 0%, #f0ebff 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #e89bc3;
}

.characteristics-grid {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid rgba(232, 155, 195, 0.2);
}

.chars-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.characteristic-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #fffaf0;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 155, 195, 0.1);
}

.characteristic-item:hover {
    transform: translateY(-3px);
    background: #fff7e6;
    box-shadow: 0 5px 15px rgba(232, 155, 195, 0.1);
    border-color: rgba(232, 155, 195, 0.3);
}

.char-key {
    font-weight: 700;
    color: #57114f;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.char-key::before {
    content: '🐾';
    margin-right: 8px;
    font-size: 0.9rem;
}

.char-value {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

.care-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d8ecf4 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #4da6c2;
}

.care-content {
    margin-top: 1.5rem;
}

.care-point {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.care-point::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: #4da6c2;
    font-weight: bold;
    font-size: 1.2rem;
}

.personality-section {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe6ee 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #ff6b9d;
}

.history-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffee 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #4caf50;
}

/* Заголовки секций */
.breed-modal-content h3 {
    color: #57114f;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breed-modal-content h3 i {
    color: #e89bc3;
    width: 30px;
    text-align: center;
}

/* Кнопка перехода в справочник */
.modal-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(232, 155, 195, 0.3);
}

.modal-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ffec73 0%, #ffd700 100%);
    color: #57114f;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 236, 115, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-cta a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.modal-cta a:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffc800 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 236, 115, 0.6);
    color: #401048;
}

.modal-cta a:hover::before {
    left: 100%;
}

.modal-cta i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.modal-cta a:hover i {
    transform: translateX(5px);
}

/* Стилизация скроллбара */
#breedInfo::-webkit-scrollbar {
    width: 10px;
}

#breedInfo::-webkit-scrollbar-track {
    background: rgba(232, 155, 195, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

#breedInfo::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e89bc3, #ffec73);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

#breedInfo::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d87bab, #ffdd44);
}

#breedInfo::-webkit-scrollbar-corner {
    background: transparent;
}

/* Для Firefox */
#breedInfo {
    scrollbar-width: thin;
    scrollbar-color: #e89bc3 rgba(232, 155, 195, 0.1);
}

/* Анимации */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    #breedInfo {
        padding: 25px;
        max-height: calc(85vh - 50px);
    }

    .breed-modal-content h2 {
        font-size: 2rem;
    }

    .breed-image {
        height: 250px;
    }

    .chars-container {
        grid-template-columns: 1fr;
    }

    .characteristic-item {
        padding: 0.8rem;
    }

    .breed-description,
    .characteristics-grid,
    .care-section,
    .personality-section,
    .history-section {
        padding: 1.5rem;
    }

    .modal-cta a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .close-modal {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }

    .breed-modal-content h3 {
        font-size: 1.3rem;
    }
}

/* Стилизация скроллбара */
.modal-scroll::-webkit-scrollbar {
    width: 10px;
}

.modal-scroll::-webkit-scrollbar-track {
    background: rgba(232, 155, 195, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.modal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e89bc3, #ffec73);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d87bab, #ffdd44);
    border-radius: 10px;
}

.modal-scroll::-webkit-scrollbar-corner {
    background: transparent;
}

/* Для Firefox */
.modal-scroll {
    scrollbar-width: thin;
    scrollbar-color: #e89bc3 rgba(232, 155, 195, 0.1);
}

/* Анимации */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-scroll {
        padding: 25px;
        max-height: calc(85vh - 50px);
    }

    .breed-modal-content h2 {
        font-size: 2rem;
    }

    .breed-image {
        height: 250px;
    }

    .breed-details {
        padding: 1.8rem;
    }

    .modal-cta a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .close-modal {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}


/* Чат-виджет */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.chat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e89bc3 0%, #d87bab 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(232, 155, 195, 0.5);
    color: white;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.chat-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(232, 155, 195, 0.7);
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
}

.chat-container {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    height: 550px;
    background: linear-gradient(135deg, rgba(255, 247, 178, 0.95) 0%, rgba(255, 252, 230, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(87, 17, 79, 0.3);
    display: none;
    flex-direction: column;
    border: 3px solid rgba(232, 155, 195, 0.4);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.chat-container.active {
    display: flex;
    animation: chatSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #57114f 0%, #9c368a 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 247, 178, 0.3);
}

.close-chat {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-chat:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #fffaf0 0%, #fff7e6 100%);
}

.chat-input {
    display: flex;
    padding: 1.2rem;
    border-top: 2px solid rgba(232, 155, 195, 0.3);
    background: rgba(255, 255, 255, 0.8);
}

.chat-input input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(232, 155, 195, 0.4);
    border-radius: 12px;
    margin-right: 0.8rem;
    font-size: 1rem;
    color: #57114f;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.chat-input input:focus {
    outline: none;
    border-color: #e89bc3;
    box-shadow: 0 0 0 4px rgba(232, 155, 195, 0.2);
    background: white;
}

.chat-input button {
    background: linear-gradient(135deg, #e89bc3 0%, #d87bab 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 50px;
}

.chat-input button:hover {
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 155, 195, 0.4);
}

.chat-suggestions {
    margin: 1.2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(232, 155, 195, 0.15) 0%, rgba(255, 247, 178, 0.15) 100%);
    border-radius: 15px;
    border-left: 5px solid #e89bc3;
    border-right: 5px solid #ffec73;
}

.chat-suggestions p {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    color: #57114f;
    font-weight: 600;
}

.suggestion-btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.7rem 1rem;
    background: white;
    border: 2px solid rgba(232, 155, 195, 0.3);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.3s ease;
    color: #57114f;
}

.suggestion-btn:hover {
    background: rgba(232, 155, 195, 0.1);
    border-color: #e89bc3;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(232, 155, 195, 0.2);
}

.message {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    max-width: 85%;
    word-wrap: break-word;
    animation: messageAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.user-message {
    background: linear-gradient(135deg, #57114f 0%, #9c368a 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 20px;
    box-shadow: 0 5px 15px rgba(87, 17, 79, 0.3);
}

.ai-message {
    background: linear-gradient(135deg, rgba(255, 247, 178, 0.9) 0%, rgba(255, 252, 230, 0.9) 100%);
    color: #57114f;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 20px;
    box-shadow: 0 5px 15px rgba(232, 155, 195, 0.3);
    border: 2px solid rgba(232, 155, 195, 0.3);
}

.typing {
    background: linear-gradient(135deg, rgba(255, 247, 178, 0.9) 0%, rgba(255, 252, 230, 0.9) 100%) !important;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 0.8rem;
}

.typing-indicator span {
    height: 10px;
    width: 10px;
    background: #e89bc3;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0) scale(1);
        background: #e89bc3;
    }

    50% {
        transform: translateY(-8px) scale(1.2);
        background: #ffec73;
    }
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-container {
        width: 320px;
        height: 450px;
        right: -5px;
    }

    .chat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .banner-overlay {
        padding: 1.5rem;
    }

    .site-title {
        font-size: 1.8rem;
        padding: 0.6rem 1.2rem;
    }

    .popular-breeds,
    .food-carousel {
        padding: 3rem 1.5rem;
    }

    .popular-breeds h2 {
        font-size: 2.2rem;
    }

    .breeds-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Поиск пород */
.breed-search {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #fffaf0 0%, #fff7e6 100%);
}

.breed-search input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(232, 155, 195, 0.4);
    border-radius: 15px;
    font-size: 1.1rem;
    color: #57114f;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(232, 155, 195, 0.2);
}

.breed-search input:focus {
    outline: none;
    border-color: #e89bc3;
    box-shadow: 0 0 0 5px rgba(232, 155, 195, 0.2);
    transform: translateY(-2px);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(87, 17, 79, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 247, 178, 0.95) 0%, rgba(255, 252, 230, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 850px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(87, 17, 79, 0.3);
    border: 3px solid rgba(232, 155, 195, 0.4);
    backdrop-filter: blur(10px);
}

.close-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #e89bc3;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(232, 155, 195, 0.3);
}

.close-modal:hover {
    background: rgba(232, 155, 195, 0.2);
    color: #9c368a;
    transform: rotate(90deg);
}

/* Карусель кормов */
.food-carousel {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #fffaf0 0%, #fff7e6 100%);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-item {
    min-width: 320px;
    margin: 0 1.2rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.15);
    border: 2px solid rgba(232, 155, 195, 0.2);
    transition: all 0.4s ease;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 45px rgba(87, 17, 79, 0.25);
    border-color: rgba(232, 155, 195, 0.4);
}

.carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-item-content {
    padding: 1.8rem;
}

.carousel-item-content h3 {
    color: #57114f;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.carousel-item-content .price {
    color: #e89bc3;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 2px rgba(87, 17, 79, 0.1);
}

.carousel-item-content .buy-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #e89bc3 0%, #d87bab 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.carousel-item-content .buy-btn:hover {
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 155, 195, 0.4);
    border-color: rgba(255, 247, 178, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e89bc3 0%, #d87bab 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(232, 155, 195, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 25px rgba(232, 155, 195, 0.6);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Контент страниц */
.page-content {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #fffaf0 0%, #fff7e6 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 3rem;
    color: #57114f;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(87, 17, 79, 0.1);
    position: relative;
}

.page-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(232, 155, 195, 0.4);
}

/* Стили для страницы "О котиках" */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
    margin-bottom: 5rem;
}

.text-content h2 {
    color: #9c368a;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid rgba(232, 155, 195, 0.4);
    font-size: 2.2rem;
    text-shadow: 1px 1px 2px rgba(87, 17, 79, 0.1);
}

.text-content h3 {
    color: #7a1c6e;
    margin: 2.2rem 0 1.2rem 0;
    font-size: 1.6rem;
}

.text-content ul {
    margin-left: 2.5rem;
    margin-bottom: 2rem;
}

.text-content li {
    margin-bottom: 0.8rem;
    color: #57114f;
    font-size: 1.1rem;
    position: relative;
}

.text-content li::before {
    content: '🐾';
    position: absolute;
    left: -2.5rem;
    top: 0;
}

.image-content img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.15);
    border: 3px solid rgba(232, 155, 195, 0.3);
    transition: all 0.4s ease;
}

.image-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(87, 17, 79, 0.25);
}

/* Стили для страницы "Миссия" */
.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.point {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(232, 155, 195, 0.2);
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
}

.point:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(87, 17, 79, 0.2);
    border-color: rgba(232, 155, 195, 0.4);
}

.point i {
    font-size: 3.5rem;
    color: #e89bc3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(232, 155, 195, 0.3);
    transition: all 0.3s ease;
}

.point:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #9c368a;
}

/* Стили для страницы "Партнёры" */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.partner-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.1);
    transition: all 0.4s ease;
    border: 3px solid rgba(232, 155, 195, 0.2);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(87, 17, 79, 0.2);
    border-color: rgba(232, 155, 195, 0.4);
}

.partner-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(87, 17, 79, 0.2));
    transition: all 0.3s ease;
}

.partner-card:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(4px 4px 8px rgba(87, 17, 79, 0.3));
}

/* Стили для страницы "О проекте" */
.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    border: 3px solid rgba(232, 155, 195, 0.2);
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.feature::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
    border-radius: 0 0 5px 5px;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(87, 17, 79, 0.2);
    border-color: rgba(232, 155, 195, 0.4);
}

.feature i {
    font-size: 3.5rem;
    color: #e89bc3;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(232, 155, 195, 0.3);
}

/* Адаптивность для новых страниц */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .page-content {
        padding: 3rem 1.5rem;
    }

    .page-content h1 {
        font-size: 2.2rem;
    }

    .mission-points,
    .partners-grid,
    .project-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .text-content h3 {
        font-size: 1.4rem;
    }
}

/* Футер */
.kot-footer {
    background: linear-gradient(135deg, #57114f 0%, #fff7b2 100%);
    color: white;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-section h3 {
    color: #e89bc3;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #f1f1e3;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-logo p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f5daf0;
    color: #76357b;
    transform: translateY(-2px);
}

/* Ссылки в футере */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffec73;
}

/* /* Контактная информация * */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(232, 155, 195, 0.1) 0%, rgba(255, 247, 178, 0.1) 100%);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(87, 17, 79, 0.1);
    border: 3px solid rgba(232, 155, 195, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.contact-item i {
    color: #f5d486;
    width: 20px;
}

/* Форма рассылки */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background: rgba(128, 47, 139, 0.1);
    color: rgb(255, 255, 255);
    border: 2px solid rgba(255, 255, 255, 0.447);
}

.newsletter-form input::placeholder {
    color: #ffffff;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #dec8ee;
}

.newsletter-form button {
    padding: 0.75rem;
    background: rgb(137, 78, 117);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #9c8751;
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid rgba(160, 105, 185, 0.618);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #ffffff;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ab0e5f;
}

/* Адаптивность для мобильных */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 1.5rem 1rem 1rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

/* ========== СПРАВОЧНИК ПОРОД ========== */

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.breed-card h3 {
    padding: 1.8rem 1rem 1.2rem;
    background: white;
    margin: 0;
    color: #57114f;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: Overpass;
}

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Карточки пород в справочнике */
.breed-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(87, 17, 79, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(232, 155, 195, 0.2);
    position: relative;

    /* ДОБАВЬТЕ ЭТИ СВОЙСТВА: */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Карточка займет всю доступную высоту */
}

.breed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e89bc3, #ffec73);
    z-index: 1;
}

.breed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(87, 17, 79, 0.2);
    border-color: rgba(232, 155, 195, 0.4);
}

.breed-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.breed-card:hover img {
    transform: scale(1.1);
}

.breed-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    color: #57114f;
    font-size: 1.4rem;
    font-weight: 600;
}

.breed-short-desc {
    padding: 0 1.5rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;

    /* ИЗМЕНЕНИЕ */
    flex: 1;
    min-height: auto;
}


.breed-link {
    display: block;
    padding: 1rem;
    background: linear-gradient(135deg, #e89bc3 0%, #d87bab 100%);
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: 100%;
    /* Важно! */
    position: relative;
    /* Важно! */
    z-index: 2;
    /* Важно! */
    margin-top: 0;
    /* Убираем лишние отступы */
}

.breed-card .breed-link:hover {
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 155, 195, 0.3);
}

.breed-link:hover {
    background: linear-gradient(135deg, #d87bab 0%, #c86b9b 100%);
    color: white;
    letter-spacing: 1px;
    transform: none !important;
    /* Важно! Отключаем transform для самой кнопки */
}


.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ffec73 0%, #ffd700 100%);
    color: #57114f;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 236, 115, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffc800 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 236, 115, 0.6);
    color: #401048;
}

.cta-button:hover::before {
    left: 100%;
}

/* Сообщение "Ничего не найдено" */
.no-results-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 600px;
    border: 2px dashed rgba(232, 155, 195, 0.3);
}

.no-results-content {
    padding: 2rem;
}

.no-results-content i {
    font-size: 4rem;
    color: #e89bc3;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results-content h3 {
    color: #57114f;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.clear-search-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #ffec73 0%, #ffd700 100%);
    color: #57114f;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.clear-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 236, 115, 0.3);
}

/* Анимация появления карточек */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breed-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Секция с кормами в модальном окне */
.foods-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid rgba(232, 155, 195, 0.2);
    box-shadow: 0 5px 20px rgba(87, 17, 79, 0.08);
    position: relative;
}

.foods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #4caf50, #81c784);
    border-radius: 5px 0 0 5px;
}

.foods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.food-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 155, 195, 0.1);
    display: block;
}

.food-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 155, 195, 0.15);
    border-color: rgba(232, 155, 195, 0.3);
}

.food-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 155, 195, 0.1);
    color: #57114f;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.food-card h4 {
    color: #57114f;
    margin: 0.5rem 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.food-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-weight: 500;
    font-size: 0.9rem;
}

.food-link i {
    transition: transform 0.3s ease;
}

.food-card:hover .food-link i {
    transform: translateX(3px);
}

.food-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    border-left: 3px solid #4da6c2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .breeds-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .breeds-directory {
        padding: 2rem 1rem;
    }

    .breed-card img {
        height: 220px;
    }

    .foods-grid {
        grid-template-columns: 1fr;
    }

    .food-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .breeds-grid {
        grid-template-columns: 1fr;
    }

    .breed-search {
        padding: 1.5rem 1rem;
    }

    .breed-search input {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
}