@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farabee';
    src: url('Шрифт/Farabee Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --white: #ffffff;
    --light-bg: #e8f5e9;
    --accent-color: #ff6b35;
    --accent-hover: #ff8c42;
}

body {
    font-family: 'Farabee', -apple-system, BlinkMacSystemFont, 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    font-weight: 400;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 180px;
    left: 0;
    right: 0;
    height: 590px;
    background-color: var(--light-bg);
    z-index: -1;
    pointer-events: none;
}

main > section:first-child {
    background-color: #1a3a2e;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - скрыт на главной, используется на других страницах */
header {
    background-color: rgba(26, 58, 46, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Эффект жидкого стекла только на мобильных */
@media (max-width: 768px) {
    header {
        background: linear-gradient(
            135deg,
            rgba(26, 58, 46, 0.35) 0%,
            rgba(45, 90, 71, 0.32) 50%,
            rgba(26, 58, 46, 0.28) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(26, 58, 46, 0.4);
        box-shadow: 
            0 8px 32px rgba(26, 58, 46, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        position: relative;
        overflow: hidden;
    }
    
    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.03) 30%,
            transparent 50%,
            transparent 70%,
            rgba(26, 58, 46, 0.1) 100%
        );
        pointer-events: none;
    }
    
    header::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        width: 100%;
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

/* Header Navigation - стили как у hero-nav */
.header-nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    order: 0;
    margin-right: auto;
    margin-left: 0;
}

.header-nav-logo:hover {
    transform: scale(1.05);
}

.header-nav-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(26, 58, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible;
    z-index: 2;
}

/* Скрываем кнопку "Главная" на десктопе для header-nav (на других страницах) */
.header-nav-link.nav-link-home {
    display: none;
}

/* На главной странице hero-nav-link.nav-link-home скрыта на десктопе */
.hero-nav-link.nav-link-home {
    display: none;
}

/* На десктопе логотип слева, кнопки справа */
@media (min-width: 769px) {
    /* Уменьшаем высоту шапки */
    header .container {
        padding: 12px 20px;
    }
    
    .hero-nav {
        padding: 12px 20px;
    }
    
    .header-nav {
        justify-content: space-between;
    }
    
    .header-nav-logo {
        margin-right: auto;
        margin-left: -20px;
        order: 0;
    }
    
    .header-nav-logo .logo-img {
        height: 55px;
    }
    
    .hero-nav-logo {
        margin-left: -20px;
    }
    
    .hero-nav-logo .logo-img {
        height: 55px;
    }
    
    .header-nav-link,
    .hero-nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .header-nav-link .nav-icon,
    .hero-nav-link .nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-nav-link.nav-link-catalog,
    .header-nav-link.nav-link-contacts,
    .header-nav-link.nav-link-cart {
        margin-left: 0;
        order: 1;
    }
}

/* На планшетах ограничиваем сдвиг логотипа */
@media (min-width: 769px) and (max-width: 1200px) {
    .header-nav-logo {
        margin-left: -10px;
        max-width: calc(100% - 20px);
    }
    
    .hero-nav-logo {
        margin-left: -10px;
        max-width: calc(100% - 20px);
    }
    
    .header-nav-logo .logo-img,
    .hero-nav-logo .logo-img {
        max-width: 100%;
        height: auto;
        max-height: 55px;
    }
}

/* На больших десктопах логотип сдвигаем больше влево */
@media (min-width: 1201px) {
    .header-nav-logo {
        margin-left: -40px;
    }
    
    .hero-nav-logo {
        margin-left: -40px;
    }
}

.header-nav-link:hover {
    background: rgba(26, 58, 46, 0.65);
    border-color: rgba(255, 107, 53, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 53, 0.3);
}

.header-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 66, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.3);
}

/* Оранжевое состояние кнопки корзины когда есть товары */
.header-nav-link.cart-link.has-items,
.hero-nav-link.cart-link.has-items {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(255, 140, 66, 0.85) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.2);
}

.header-nav-link.cart-link.has-items:hover,
.hero-nav-link.cart-link.has-items:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(255, 140, 66, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.3);
}

/* Белые цифры в счетчике когда есть товары (не на странице корзины) */
.header-nav-link.cart-link.has-items .cart-count,
.hero-nav-link.cart-link.has-items .cart-count {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7), 0 0 16px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* Счетчик корзины - на месте иконки */
.header-nav-link.cart-link .cart-count,
.hero-nav-link.cart-link .cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ff6b35;
    border-radius: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 900;
    min-width: auto;
    width: auto;
    height: auto;
    text-align: center;
    line-height: 1;
    box-shadow: none;
    animation: none;
    z-index: 10;
    border: none;
    transform: none;
    box-sizing: border-box;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.9), 0 0 12px rgba(255, 107, 53, 0.7), 0 0 16px rgba(255, 107, 53, 0.5), 0 0 20px rgba(255, 107, 53, 0.3);
    margin-right: 8px;
}

/* На странице корзины счетчик корзины белый */
body:has(.cart-section) .header-nav-link.cart-link .cart-count,
body:has(.cart-section) .hero-nav-link.cart-link .cart-count {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7), 0 0 16px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

/* На странице корзины кнопка оранжевая, если есть товары */
body:has(.cart-section) .header-nav-link.cart-link.has-items,
body:has(.cart-section) .hero-nav-link.cart-link.has-items {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(255, 140, 66, 0.85) 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.2) !important;
}

body:has(.cart-section) .header-nav-link.cart-link.has-items:hover,
body:has(.cart-section) .hero-nav-link.cart-link.has-items:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(255, 140, 66, 0.95) 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.3) !important;
}

.logo {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Farabee', sans-serif;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 3.2rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.cart-link {
    position: relative;
}

.cart-count {
    background-color: #4caf50;
    color: #ffffff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
    min-width: 20px;
    text-align: center;
    display: none;
}

/* Hero Navigation - плавающая навигация поверх hero */
.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px;
    pointer-events: none;
    background-color: rgba(26, 58, 46, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Эффект жидкого стекла только на мобильных */
@media (max-width: 768px) {
    .hero-nav {
        background: linear-gradient(
            135deg,
            rgba(26, 58, 46, 0.35) 0%,
            rgba(45, 90, 71, 0.32) 50%,
            rgba(26, 58, 46, 0.28) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(26, 58, 46, 0.4);
        box-shadow: 
            0 8px 32px rgba(26, 58, 46, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        position: relative;
        overflow: hidden;
    }
    
    .hero-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.03) 30%,
            transparent 50%,
            transparent 70%,
            rgba(26, 58, 46, 0.1) 100%
        );
        pointer-events: none;
    }
    
    .hero-nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );
        pointer-events: none;
    }
}

.hero-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    pointer-events: auto;
    width: 100%;
    box-sizing: border-box;
}

.hero-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: transform 0.3s ease;
    order: 0;
}

.hero-nav-logo:hover {
    transform: scale(1.05);
}

.hero-nav-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.hero-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(26, 58, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible;
    z-index: 2;
}

.hero-nav-link:hover {
    background: rgba(26, 58, 46, 0.65);
    border-color: rgba(255, 107, 53, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 53, 0.3);
}

.hero-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 66, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.3);
}

.nav-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.hero-nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

.hero-nav-link.active .nav-icon {
    animation: iconBounce 1s ease infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Бургер-меню кнопка - скрыта на десктопе */
.burger-menu-btn {
    display: none !important;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    pointer-events: none;
    position: relative;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-menu-btn:hover {
    background: transparent;
    border: none;
    transform: translateY(-2px);
    box-shadow: none;
}

.burger-menu-btn span {
    width: 100%;
    height: 3px;
    background: #ff6b35;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    position: absolute;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, rgba(26, 58, 46, 0.95) 0%, rgba(45, 90, 71, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.mobile-menu-link:last-child {
    margin-bottom: 0;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.mobile-menu-link .nav-icon {
    width: 22px;
    height: 22px;
}

.nav-icon-wrapper .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: transparent;
    color: #ff6b35;
    border-radius: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 900;
    min-width: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    box-shadow: none;
    animation: none;
    z-index: 10;
    border: none;
    transform: none;
    box-sizing: border-box;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.9), 0 0 12px rgba(255, 107, 53, 0.7), 0 0 16px rgba(255, 107, 53, 0.5), 0 0 20px rgba(255, 107, 53, 0.3);
}

/* На странице корзины счетчик корзины белый */
body:has(.cart-section) .nav-icon-wrapper .cart-count {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7), 0 0 16px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.7);
    }
}

/* Hero Section - на весь экран */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: linear-gradient(135deg, #1a3a2e 0%, #2d5a47 30%, #1a3a2e 60%, #2d5a47 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animated Paw Prints Background */
.paw-prints-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

.paw-print {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C10.5 2 9 3 9 4.5c0 1.5 1.5 2.5 3 2.5s3-1 3-2.5C15 3 13.5 2 12 2zM6 8C4.5 8 3 9 3 10.5c0 1.5 1.5 2.5 3 2.5s3-1 3-2.5C9 9 7.5 8 6 8zM18 8c-1.5 0-3 1-3 2.5 0 1.5 1.5 2.5 3 2.5s3-1 3-2.5C21 9 19.5 8 18 8zM9 16c-1.5 0-3 1-3 2.5 0 1.5 1.5 2.5 3 2.5s3-1 3-2.5C12 17 10.5 16 9 16zM15 16c-1.5 0-3 1-3 2.5 0 1.5 1.5 2.5 3 2.5s3-1 3-2.5C18 17 16.5 16 15 16z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pawFloat 20s ease-in-out infinite;
}

.paw-print-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.paw-print-2 {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.paw-print-3 {
    top: 45%;
    left: 8%;
    animation-delay: 4s;
}

.paw-print-4 {
    top: 55%;
    right: 12%;
    animation-delay: 6s;
}

.paw-print-5 {
    bottom: 20%;
    left: 20%;
    animation-delay: 8s;
}

.paw-print-6 {
    bottom: 15%;
    right: 25%;
    animation-delay: 10s;
}

@keyframes pawFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(30px, -20px) rotate(10deg) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-20px, 30px) rotate(-10deg) scale(0.9);
        opacity: 0.1;
    }
    75% {
        transform: translate(20px, 20px) rotate(5deg) scale(1.05);
        opacity: 0.18;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    filter: blur(1px) brightness(1.3);
    opacity: 0.95;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.hero-bg-img-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-bg-img-2 {
    top: 50%;
    right: 5%;
    animation-delay: 5s;
}

.hero-bg-img-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }
}

.hero-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Farabee', sans-serif;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    font-family: 'Farabee', sans-serif;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    line-height: 1.7;
}

.hero-description .highlight-orange {
    color: #ff6b35;
    font-weight: 600;
}

/* Увеличенные шрифты для десктопа */
@media (min-width: 769px) {
    .hero h2 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
        line-height: 1.8;
    }
    
    .hero-cta-btn {
        font-size: 1.4rem;
        padding: 20px 45px;
    }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.2);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
}

.hero-cta-btn .hero-paw-icon {
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6), 0 0 40px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta-btn:hover .hero-paw-icon {
    transform: rotate(15deg) scale(1.2);
}

/* Paw Trail - следы лапок на фоне блока "О продуктах" - скрыто */
.paw-trail-bg {
    display: none;
}

.trail-paw {
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2C8.5 2 6 4.5 6 8c0 2 1 3.5 2 4.5s2 1.5 2 2.5c0 1.5-1.5 3-3.5 3S3 18.5 3 22h18c0-3.5-1.5-5-3.5-5s-3.5-1.5-3.5-3c0-1 1-1.5 2-2.5s2-2.5 2-4.5c0-3.5-2.5-6-6-6z'/%3E%3Ccircle cx='9' cy='8' r='1.5'/%3E%3Ccircle cx='15' cy='8' r='1.5'/%3E%3Cellipse cx='12' cy='11' rx='2' ry='1.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
    animation: pawTrailWalk 12s ease-in-out infinite;
    z-index: 0;
}

.trail-paw-1 {
    left: 3%;
    top: 8%;
    animation-delay: 0s;
}

.trail-paw-2 {
    left: 12%;
    top: 22%;
    animation-delay: 0.8s;
}

.trail-paw-3 {
    left: 20%;
    top: 12%;
    animation-delay: 1.6s;
}

.trail-paw-4 {
    left: 28%;
    top: 28%;
    animation-delay: 2.4s;
}

.trail-paw-5 {
    left: 38%;
    top: 18%;
    animation-delay: 3.2s;
}

.trail-paw-6 {
    left: 48%;
    top: 32%;
    animation-delay: 4s;
}

.trail-paw-7 {
    left: 58%;
    top: 22%;
    animation-delay: 4.8s;
}

.trail-paw-8 {
    left: 68%;
    top: 38%;
    animation-delay: 5.6s;
}

.trail-paw-9 {
    left: 78%;
    top: 12%;
    animation-delay: 6.4s;
}

.trail-paw-10 {
    left: 8%;
    top: 48%;
    animation-delay: 7.2s;
}

.trail-paw-11 {
    left: 25%;
    top: 52%;
    animation-delay: 8s;
}

.trail-paw-12 {
    left: 45%;
    top: 58%;
    animation-delay: 8.8s;
}

.trail-paw-13 {
    left: 65%;
    top: 62%;
    animation-delay: 9.6s;
}

.trail-paw-14 {
    left: 18%;
    top: 68%;
    animation-delay: 10.4s;
}

.trail-paw-15 {
    left: 82%;
    top: 72%;
    animation-delay: 11.2s;
}

.trail-paw-16 {
    left: 6%;
    top: 15%;
    animation-delay: 0.4s;
}

.trail-paw-17 {
    left: 18%;
    top: 10%;
    animation-delay: 1.2s;
}

.trail-paw-18 {
    left: 32%;
    top: 20%;
    animation-delay: 2s;
}

.trail-paw-19 {
    left: 50%;
    top: 26%;
    animation-delay: 2.8s;
}

.trail-paw-20 {
    left: 62%;
    top: 16%;
    animation-delay: 3.6s;
}

.trail-paw-21 {
    left: 85%;
    top: 30%;
    animation-delay: 4.4s;
}

.trail-paw-22 {
    left: 10%;
    top: 36%;
    animation-delay: 5.2s;
}

.trail-paw-23 {
    left: 24%;
    top: 40%;
    animation-delay: 6s;
}

.trail-paw-24 {
    left: 40%;
    top: 46%;
    animation-delay: 6.8s;
}

.trail-paw-25 {
    left: 55%;
    top: 50%;
    animation-delay: 7.6s;
}

.trail-paw-26 {
    left: 72%;
    top: 46%;
    animation-delay: 8.4s;
}

.trail-paw-27 {
    left: 15%;
    top: 56%;
    animation-delay: 9.2s;
}

.trail-paw-28 {
    left: 35%;
    top: 60%;
    animation-delay: 10s;
}

.trail-paw-29 {
    left: 60%;
    top: 66%;
    animation-delay: 10.8s;
}

.trail-paw-30 {
    left: 88%;
    top: 70%;
    animation-delay: 11.6s;
}

.trail-paw-31 {
    left: 5%;
    top: 5%;
    animation-delay: 0.2s;
}

.trail-paw-32 {
    left: 15%;
    top: 8%;
    animation-delay: 0.6s;
}

.trail-paw-33 {
    left: 28%;
    top: 6%;
    animation-delay: 1s;
}

.trail-paw-34 {
    left: 42%;
    top: 9%;
    animation-delay: 1.4s;
}

.trail-paw-35 {
    left: 58%;
    top: 7%;
    animation-delay: 1.8s;
}

.trail-paw-36 {
    left: 72%;
    top: 10%;
    animation-delay: 2.2s;
}

.trail-paw-37 {
    left: 88%;
    top: 8%;
    animation-delay: 2.6s;
}

.trail-paw-38 {
    left: 12%;
    top: 14%;
    animation-delay: 3s;
}

.trail-paw-39 {
    left: 26%;
    top: 16%;
    animation-delay: 3.4s;
}

.trail-paw-40 {
    left: 40%;
    top: 13%;
    animation-delay: 3.8s;
}

.trail-paw-41 {
    left: 54%;
    top: 15%;
    animation-delay: 4.2s;
}

.trail-paw-42 {
    left: 68%;
    top: 12%;
    animation-delay: 4.6s;
}

.trail-paw-43 {
    left: 82%;
    top: 14%;
    animation-delay: 5s;
}

.trail-paw-44 {
    left: 8%;
    top: 20%;
    animation-delay: 5.4s;
}

.trail-paw-45 {
    left: 22%;
    top: 18%;
    animation-delay: 5.8s;
}

.trail-paw-46 {
    left: 36%;
    top: 21%;
    animation-delay: 6.2s;
}

.trail-paw-47 {
    left: 50%;
    top: 19%;
    animation-delay: 6.6s;
}

.trail-paw-48 {
    left: 64%;
    top: 22%;
    animation-delay: 7s;
}

.trail-paw-49 {
    left: 78%;
    top: 20%;
    animation-delay: 7.4s;
}

.trail-paw-50 {
    left: 92%;
    top: 22%;
    animation-delay: 7.8s;
}

@keyframes pawTrailWalk {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-15deg);
    }
    5% {
        opacity: 0.6;
        transform: scale(0.7) rotate(-8deg);
    }
    12% {
        opacity: 0.75;
        transform: scale(0.9) rotate(-3deg);
    }
    20% {
        opacity: 0.9;
        transform: scale(1) rotate(0deg);
    }
    30% {
        opacity: 0.95;
        transform: scale(1.05) rotate(3deg);
    }
    40% {
        opacity: 0.85;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.75;
        transform: scale(0.95) rotate(-3deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.85) rotate(-8deg);
    }
    70% {
        opacity: 0.4;
        transform: scale(0.7) rotate(-12deg);
    }
    80% {
        opacity: 0.2;
        transform: scale(0.5) rotate(-15deg);
    }
    90% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(-15deg);
    }
}

/* About Section */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a3a2e 0%, #0f2920 50%, #1a3a2e 100%);
    position: relative;
    overflow: visible;
    min-height: 600px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 142, 60, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #ffffff;
    font-family: 'Farabee', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: rgba(26, 58, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    animation: fadeInUp 0.8s ease-out backwards;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.3s;
}

.about-card-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.7);
}

.about-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26, 58, 46, 0) 0%,
        rgba(15, 41, 32, 0.5) 40%,
        rgba(10, 25, 20, 0.85) 100%
    );
    z-index: 1;
    transition: opacity 0.5s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.15);
    filter: brightness(0.8);
}

.about-card:hover .about-card-overlay {
    opacity: 0.9;
}

.about-card-content {
    padding: 40px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    min-height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a, #81c784);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(76, 175, 80, 0.4),
        0 0 40px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}


.about-card-content h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    font-family: 'Farabee', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.about-card:hover .about-card-content h4 {
    transform: translateY(-3px);
}

.about-card-content p {
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.8;
    flex: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.about-card-content p strong {
    color: #a5d6a7;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(165, 214, 167, 0.3);
    transition: color 0.3s ease;
}

.about-card:hover .about-card-content p strong {
    color: #c8e6c9;
    text-shadow: 0 0 15px rgba(200, 230, 201, 0.5);
}

/* Products Section */
.products {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.products h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-color);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-weight: 500;
    color: var(--text-color);
}

.sort-controls select {
    padding: 10px 35px 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff6b35' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.sort-controls select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Поиск */
.search-bar {
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.search-bar input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.search-bar input:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

/* Мобильный поиск в sidebar */
.mobile-search-bar {
    display: none;
    margin-bottom: 20px;
}

.mobile-search-bar input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-search-bar input:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.mobile-search-bar input::placeholder {
    color: var(--text-light);
}

/* Мобильная сортировка в sidebar */
.mobile-sort-controls {
    display: none;
    margin-bottom: 20px;
}

.mobile-sort-controls label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.mobile-sort-controls select {
    width: 100%;
    padding: 12px 35px 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff6b35' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.mobile-sort-controls select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 100%;
    height: 280px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Галерея изображений продукта */
.product-gallery {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #ffffff;
}

.product-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: #ffffff;
}

.product-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-gallery-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.product-gallery-prev {
    left: 10px;
}

.product-gallery-next {
    right: 10px;
}

@media (min-width: 769px) {
    .product-card:hover .product-gallery-btn {
        display: flex;
    }
}

.product-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
}

.product-info {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text-color);
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.8rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.2em;
    line-height: 1.2;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 6px;
    flex-shrink: 0;
    min-width: fit-content;
}

.quantity-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 4px 8px;
    transition: background-color 0.3s;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 28px;
}

.quantity-btn:hover {
    background-color: var(--secondary-color);
}

.quantity-input {
    width: 35px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    padding: 4px 2px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
    font-family: 'Farabee', sans-serif;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    white-space: nowrap;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.product-actions .btn-primary {
    flex: 0 0 auto;
    padding: 10px 16px;
    min-width: auto;
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* На десктопе кнопка "добавить" - только иконка корзины */
@media (min-width: 769px) {
    .product-actions .btn-primary {
        padding: 10px;
        min-width: 44px;
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .product-actions .btn-primary .btn-text,
    .product-actions .btn-primary .paw-icon {
        display: none !important;
    }
    
    .product-actions .btn-primary .cart-icon-btn {
        display: block !important;
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
    }
}

.product-actions .btn-primary .paw-icon {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

/* Скрываем иконку корзины на мобильной версии по умолчанию */
.product-actions .btn-primary .cart-icon-btn {
    display: none;
}

/* На десктопе: скрываем лапки и текст, показываем иконку корзины */
@media (min-width: 769px) {
    .product-actions .btn-primary .paw-icon {
        display: none !important;
    }
    
    .product-actions .btn-primary .cart-icon-btn {
        display: block !important;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-danger {
    background-color: var(--error-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #d32f2f;
}

/* Cart Section */
.cart-section {
    padding: 40px 20px;
    background-color: var(--white);
}

.cart-section h2 {
    font-size: 2rem;
    margin-top: 15px;
    margin-bottom: 30px;
    color: #ffffff;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--text-light);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-total {
    text-align: right;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-top: 20px;
}

.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Order Form */
.order-form-section {
    padding: 40px 20px;
    background-color: var(--light-bg);
}

.order-form-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    line-height: 1.5;
}

/* Автокомплит для города */
.city-autocomplete-wrapper {
    position: relative;
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-suggestions.show {
    display: block;
}

.city-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.city-suggestion:last-child {
    border-bottom: none;
}

.city-suggestion:hover,
.city-suggestion.selected {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.city-suggestion strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Выбор службы доставки */
.delivery-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    background-color: var(--white);
}

.delivery-option:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.delivery-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.delivery-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.delivery-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
}

.delivery-option span {
    font-size: 1rem;
    user-select: none;
}

/* Блок доставки отключён до выбора города */
.delivery-options-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.delivery-options-disabled .delivery-option {
    cursor: not-allowed;
}

.delivery-hint {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.delivery-hint.hidden {
    display: none;
}

/* Автокомплит для ПВЗ */
.pvz-autocomplete-wrapper {
    position: relative;
}

.pvz-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pvz-suggestions.show {
    display: block;
}

.pvz-suggestion {
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.pvz-suggestion:last-child {
    border-bottom: none;
}

.pvz-suggestion:hover,
.pvz-suggestion.selected {
    background-color: var(--secondary-color);
}

.pvz-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.pvz-address {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pvz-suggestion strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Контейнер для виджетов ПВЗ */
.widget-container {
    margin-top: 15px;
    min-height: 450px;
}

#cdek-widget-container,
#yandex-widget-container {
    margin-top: 5px;
    min-height: 600px;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: visible;
    background: var(--white);
    position: relative;
    padding-bottom: 100px;
}

#cdek-widget,
#delivery-widget {
    width: 100% !important;
    min-height: 600px;
    border-radius: 8px;
    overflow: visible;
    position: relative;
}

/* Стили для элементов виджета Яндекс, которые создаются динамически */
#yandex-widget-container * {
    box-sizing: border-box;
}

/* Убеждаемся, что все элементы виджета остаются внутри контейнера */
#yandex-widget-container > * {
    max-width: 100%;
    overflow-x: auto;
}

/* Выбранный ПВЗ */
.selected-pvz {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.selected-pvz-info {
    flex: 1;
}

.selected-pvz-info strong {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.selected-pvz-address {
    color: var(--text-light);
    font-size: 0.9rem;
}

#changePVZ {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.form-group textarea {
    resize: vertical;
}

.order-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.order-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.order-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Секция отзывов */
.reviews-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    font-weight: 700;
    font-family: 'Farabee', sans-serif;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 30px;
}

.review-card {
    display: none;
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-user-info {
    flex: 1;
}

.review-name {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.review-rating {
    font-size: 1.2rem;
    color: #ffc107;
    letter-spacing: 2px;
}

.review-product {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

.reviews-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.reviews-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reviews-nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.reviews-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Footer */
footer {
    background-color: #1a3a2e;
    padding: 30px 20px;
    text-align: center;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info {
    text-align: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-info a:hover {
    opacity: 0.8;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-link.social-link {
    display: inline-flex;
    align-items: center;
}

.footer-link.social-link:hover {
    text-decoration: none;
}

/* Модальное окно О нас */
.about-modal-content {
    padding: 40px;
}

.about-modal-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.about-modal-image {
    text-align: center;
    margin-bottom: 30px;
}

.about-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-modal-section {
    margin-bottom: 30px;
}

.about-modal-section:last-child {
    margin-bottom: 0;
}

.about-modal-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-modal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Products Layout with Filters */
.products-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.filters-sidebar {
    width: 280px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.filters-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filter-header label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.filter-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
}

.info-icon {
    font-size: 0.9rem;
    opacity: 0.6;
    cursor: help;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    width: 0;
    min-width: 0;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.radio-group label a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Weight Slider */
.weight-slider-container {
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.weight-slider {
    position: relative;
    height: 40px;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.weight-slider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    z-index: 1;
    width: 100%;
}

.weight-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    z-index: 2;
    left: var(--min-percent, 0%);
    width: calc(var(--max-percent, 100%) - var(--min-percent, 0%));
}

.weight-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 3;
    top: 0;
    left: 0;
    outline: none;
    display: block;
}

.weight-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    cursor: grab;
    pointer-events: all;
    position: relative;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: -16px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.weight-slider input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.weight-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    cursor: grab;
    pointer-events: all;
    position: relative;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-16px);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.weight-slider input[type="range"]::-moz-range-thumb:active {
    cursor: grabbing;
    transform: translateY(-16px) scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.weight-slider input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
    height: 4px;
    width: 100%;
    margin-top: 18px;
}

.weight-slider input[type="range"]::-moz-range-track {
    background: transparent;
    height: 4px;
    width: 100%;
    border-radius: 2px;
}

.weight-inputs {
    display: flex;
    gap: 10px;
}

.weight-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    width: 0;
    min-width: 0;
    box-sizing: border-box;
}

.products-content {
    flex: 1;
}

.products-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.product-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.product-weight {
    color: var(--text-light);
}

.product-installment {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Мобильная плашка фильтров */
.mobile-filters-bar {
    display: none;
    margin-bottom: 20px;
    position: relative;
    z-index: 140;
    background-color: transparent;
    padding: 10px 15px;
}

.mobile-filters-toggle {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 46, 0.25) 0%,
        rgba(45, 90, 71, 0.22) 30%,
        rgba(26, 58, 46, 0.20) 60%,
        rgba(45, 90, 71, 0.22) 100%
    );
    backdrop-filter: blur(25px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(1.05);
    border: 0.5px solid rgba(26, 58, 46, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-shadow: 
        0 8px 32px rgba(26, 58, 46, 0.2),
        0 2px 8px rgba(26, 58, 46, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(26, 58, 46, 0.2),
        0 0 0 0.5px rgba(26, 58, 46, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.mobile-filters-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(26, 58, 46, 0.12) 0%,
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 25%,
            transparent 75%,
            rgba(26, 58, 46, 0.10) 100%
        );
    pointer-events: none;
    border-radius: 50px;
    opacity: 0.8;
    transform: scale(1.1);
    filter: blur(1px);
    z-index: -1;
}

.mobile-filters-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

.mobile-filters-toggle:hover {
    background: linear-gradient(
        135deg,
        rgba(26, 58, 46, 0.18) 0%,
        rgba(45, 90, 71, 0.15) 30%,
        rgba(26, 58, 46, 0.13) 60%,
        rgba(45, 90, 71, 0.15) 100%
    );
    backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
    -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
    border-color: rgba(26, 58, 46, 0.3);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 12px 48px rgba(26, 58, 46, 0.18),
        0 4px 16px rgba(26, 58, 46, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(26, 58, 46, 0.18);
}

.mobile-filters-toggle:hover::before {
    background: 
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 35%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(26, 58, 46, 0.15) 0%,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 20%,
            transparent 80%,
            rgba(26, 58, 46, 0.12) 100%
        );
    opacity: 0.9;
    transform: scale(1.12);
}

.mobile-filters-toggle:active {
    transform: translateY(0) scale(0.99);
    background: linear-gradient(
        135deg,
        rgba(26, 58, 46, 0.16) 0%,
        rgba(45, 90, 71, 0.13) 30%,
        rgba(26, 58, 46, 0.11) 60%,
        rgba(45, 90, 71, 0.13) 100%
    );
    backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.03);
    box-shadow: 
        0 4px 20px rgba(26, 58, 46, 0.18),
        0 2px 8px rgba(26, 58, 46, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(26, 58, 46, 0.18);
}

.mobile-filters-toggle > * {
    position: relative;
    z-index: 1;
}

.mobile-filters-toggle .filter-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.mobile-filters-toggle:hover .filter-icon {
    transform: rotate(15deg) scale(1.1);
}

.filter-count {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    animation: pulse 2s ease infinite;
    position: relative;
    z-index: 2;
}

.filter-count:empty {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    body {
        padding-top: 120px;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-layout {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        padding: 15px;
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: calc(100vh - 120px);
        display: none;
        background-color: var(--white);
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
        overflow-y: auto;
        z-index: 150;
    }
    
    .filters-sidebar.mobile-open {
        display: block;
    }
    
    .mobile-filters-bar {
        display: block;
        position: sticky;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 199;
        background-color: transparent;
        padding: 10px 15px;
        margin-bottom: 20px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        width: 100%;
    }
    
    /* Hero Navigation на мобильных */
    .hero-nav {
        padding: 15px 10px;
    }
    
    .hero-nav-container {
        justify-content: space-between;
        gap: 15px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    /* Логотип на мобильных - слева */
    .hero-nav-logo,
    .header-nav-logo {
        display: flex;
        order: 0;
        margin-left: 0;
        margin-right: auto;
    }
    
    .hero-nav-logo .logo-img,
    .header-nav-logo .logo-img {
        height: 40px;
    }
    
    /* Кнопки навигации на мобильных */
    .hero-nav-link.nav-link-catalog,
    .hero-nav-link.nav-link-cart,
    .header-nav-link.nav-link-catalog,
    .header-nav-link.nav-link-cart {
        display: flex;
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 5px;
        flex-direction: row;
        white-space: nowrap;
        order: 1;
        margin-left: 0;
    }
    
    /* Показываем бургер-меню на мобильных - справа */
    .burger-menu-btn {
        display: flex !important;
        pointer-events: auto !important;
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Header Navigation на мобильных */
    .header-nav {
        justify-content: space-between;
        gap: 15px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    /* Показываем "Главная" на мобильных в бургер-меню, скрываем "Контакты" */
    .hero-nav-link.nav-link-contacts,
    .header-nav-link.nav-link-contacts {
        display: none;
    }
    
    /* "Главная" остается скрытой на мобильных в основной навигации, показывается в бургер-меню */
    
    /* Оставляем видимыми только "Каталог" и "Корзина" */
    .hero-nav-link.nav-link-catalog,
    .hero-nav-link.nav-link-cart {
        display: flex;
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 5px;
        flex-direction: row;
        white-space: nowrap;
    }
    
    .hero-nav-link {
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 5px;
        flex-direction: row;
    }
    
    .hero-nav-link .nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .hero-nav-link span {
        display: inline;
        font-size: 0.8rem;
    }
    
    .hero {
        height: 100vh;
        min-height: 100vh;
        padding: 0 15px;
    }
    
    .hero-video {
        filter: blur(1px) brightness(1.3);
        opacity: 0.9;
    }
    
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .paw-print {
        width: 40px;
        height: 40px;
        opacity: 0.1;
    }
    
    .trail-paw {
        width: 45px;
        height: 45px;
    }
    
    .header-nav-link.cart-link .cart-count,
    .hero-nav-link.cart-link .cart-count {
        top: -6px;
        right: -6px;
        min-width: auto;
        width: auto;
        height: auto;
        font-size: 1rem;
        margin-right: 6px;
        color: #ff6b35;
        text-shadow: 0 0 6px rgba(255, 107, 53, 0.9), 0 0 10px rgba(255, 107, 53, 0.7), 0 0 14px rgba(255, 107, 53, 0.5);
    }
    
    /* На странице корзины счетчик корзины белый */
    body:has(.cart-section) .header-nav-link.cart-link .cart-count,
    body:has(.cart-section) .hero-nav-link.cart-link .cart-count {
        color: #ffffff;
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.7), 0 0 14px rgba(255, 255, 255, 0.5);
    }

    .about {
        padding: 60px 15px;
    }
    
    .about h3 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-card {
        min-height: 350px;
    }
    
    .about-card-content {
        padding: 30px 20px 25px;
    }
    
    .about-card-content h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .about-card-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .products {
        padding: 40px 15px;
        padding-top: 120px;
    }
    
    /* Скрываем поиск и сортировку на мобильных вне sidebar */
    .search-bar {
        display: none;
    }
    
    .products-header .sort-controls {
        display: none;
    }
    
    /* Показываем поиск и сортировку в sidebar на мобильных */
    .mobile-search-bar {
        display: block;
    }
    
    .mobile-sort-controls {
        display: block;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    
    .products h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .sort-controls {
        width: 100%;
    }
    
    .sort-controls select {
        width: 100%;
    }
    
    /* Исправление для кнопок на iPhone */
    input[type="number"] {
        -webkit-appearance: none;
        appearance: none;
    }
    
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-image {
        height: 180px;
        font-size: 2.5rem;
    }
    
    .product-gallery {
        height: 180px;
    }
    
    .product-gallery-placeholder {
        font-size: 2.5rem;
    }
    
    .product-gallery-btn {
        display: none !important;
    }
    
    .product-gallery-dots {
        bottom: 5px;
    }
    
    .gallery-dot {
        width: 6px;
        height: 6px;
    }
    
    .gallery-dot.active {
        width: 18px;
    }
    
    .product-info {
        padding: 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-name {
        font-size: 0.9rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .product-description {
        font-size: 0.75rem;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        min-height: 1.8em;
        line-height: 1.2;
    }
    
    .product-meta {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .product-price {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
    }
    
    .quantity-controls {
        width: 100%;
        justify-content: center;
        gap: 5px;
        padding: 3px;
    }
    
    .quantity-btn {
        min-width: 28px;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        padding: 0;
        flex-shrink: 0;
    }
    
    .quantity-input {
        width: 35px;
        font-size: 0.85rem;
        padding: 3px;
        flex-shrink: 0;
    }
    
    .product-actions .btn-primary {
        width: 100%;
        min-width: auto;
        padding: 10px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Скрываем иконку корзины на мобильной версии */
    .product-actions .btn-primary .cart-icon-btn {
        display: none !important;
    }
    
    .product-actions .btn-primary svg {
        width: 20px;
        height: 20px;
    }
    
    .btn {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .cart-item-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-item-actions .quantity-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-item-actions .btn-danger {
        width: 100%;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    nav {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        align-items: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .filters-sidebar {
        padding: 15px;
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: calc(100vh - 120px);
        width: 100%;
        display: none;
        background-color: var(--white);
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
        overflow-y: auto;
        z-index: 150;
    }
    
    .filters-sidebar.mobile-open {
        display: block;
    }
    
    .mobile-filters-bar {
        display: block;
        position: sticky;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 199;
        background-color: transparent;
        padding: 10px 15px;
        margin-bottom: 20px;
        margin-top: 0;
    }
    
    .filters-sidebar {
        top: 120px;
        max-height: calc(100vh - 120px);
    }
    
    .filter-group {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .filter-header label,
    .filter-title {
        font-size: 0.95rem;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
    .price-inputs input {
        width: 100%;
    }
    
    .weight-inputs {
        flex-direction: column;
    }
    
    .weight-inputs input {
        width: 100%;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .order-form-section {
        padding: 30px 15px;
    }
    
    footer {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .footer-link {
        width: 100%;
        max-width: 200px;
    }
    
    .about-modal-content {
        padding: 25px 20px;
    }
    
    .about-modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .about-modal-image {
        margin-bottom: 20px;
    }
    
    .about-modal-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .about-modal-section p {
        font-size: 0.9rem;
    }
}

/* Модальное окно товара */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 65px;
    font-weight: bold;
    color: #ff6b35;
    background-color: transparent;
    cursor: pointer;
    z-index: 1001;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
    border: none;
}

.modal-close:hover {
    color: #ff8c5a;
    transform: scale(1.15);
}

.modal-close:active {
    transform: scale(1.05);
}

.modal-product {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.modal-product-image {
    flex: 0 0 400px;
    width: 400px;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    order: 1;
    align-self: flex-start;
    position: relative;
}

.modal-product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.modal-product-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.modal-product-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.modal-product-gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.modal-product-img {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-width: 100%;
    object-fit: contain;
    object-position: top left;
    display: block;
}

.modal-product-emoji {
    font-size: 150px;
    text-align: center;
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-product-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-product-gallery-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-product-gallery-prev {
    left: 10px;
}

.modal-product-gallery-next {
    right: 10px;
}

.modal-product-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.modal-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.modal-gallery-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
}

.modal-product-info {
    flex: 1;
    order: 2;
}

.modal-product-name {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.modal-product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.modal-product-weight {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-weight-selector {
    margin-bottom: 25px;
}

.modal-weight-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-color);
}

.weight-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.weight-option {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.weight-option:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.weight-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-product-description {
    margin-bottom: 25px;
}

.modal-product-description h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.modal-product-description p {
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1rem;
    text-align: justify;
}

.modal-product-details {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--text-color);
    flex: 0 0 200px;
    text-align: left;
}

.detail-value {
    color: var(--text-light);
    text-align: right;
    flex: 1;
}

.modal-product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.modal-product-actions .quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-product-actions .btn-large {
    flex: 1;
    padding: 15px 30px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20px auto;
        max-height: 95vh;
        height: auto;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }
    
    .modal-product {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }
    
    .modal-product-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 250px;
        max-height: 400px;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
    }
    
    .modal-product-gallery {
        min-height: 250px;
        max-height: 400px;
        margin: 0 auto;
    }
    
    .modal-product-gallery-container {
        min-height: 250px;
        max-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-product-gallery-slide {
        align-items: center;
        justify-content: center;
    }
    
    .modal-product-img {
        min-height: 250px;
        max-height: 400px;
        object-position: center;
        margin: 0 auto;
    }
    
    .modal-product-emoji {
        font-size: 80px;
        padding: 20px;
    }
    
    .modal-product-info {
        flex: 1;
        min-width: 0;
        overflow-y: visible;
    }
    
    .modal-product-name {
        font-size: 1.5rem;
    }
    
    .modal-product-price {
        font-size: 1.5rem;
    }
    
    .weight-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .weight-option {
        width: 100%;
    }
    
    .modal-product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-product-actions .quantity-controls {
        width: 100%;
        justify-content: center;
    }
    
    .modal-product-actions .btn-large {
        width: 100%;
    }
    
    .modal-close {
        right: 15px;
        top: 15px;
        width: 71px;
        height: 71px;
        font-size: 59px;
        background-color: transparent;
        border: none;
        color: #ff6b35;
    }
    
    .modal-close:hover {
        color: #ff8c5a;
    }
    
    /* Дополнительные стили для мобильной версии */
    @media (max-width: 768px) {
        .modal-close {
            right: 10px;
            top: 10px;
            width: 71px;
            height: 71px;
            font-size: 59px;
            z-index: 1002;
            background-color: transparent;
        }
    }
}

@media (max-width: 480px) {
    .hero-nav {
        padding: 12px 8px;
    }
    
    .hero-nav-container,
    .header-nav {
        gap: 10px;
    }
    
    .burger-menu-btn {
        width: 28px;
        height: 28px;
        padding: 6px;
    }
    
    .hero-nav-logo .logo-img,
    .header-nav-logo .logo-img {
        height: 35px;
    }
    
    .hero-nav-link.nav-link-catalog,
    .hero-nav-link.nav-link-cart,
    .header-nav-link.nav-link-catalog,
    .header-nav-link.nav-link-cart {
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .hero-nav-link .nav-icon,
    .header-nav-link .nav-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero-nav-link span,
    .header-nav-link span {
        font-size: 0.7rem;
    }
    
    .header-nav-link.cart-link .cart-count,
    .hero-nav-link.cart-link .cart-count {
        font-size: 0.9rem;
        margin-right: 4px;
        color: #ff6b35;
        text-shadow: 0 0 5px rgba(255, 107, 53, 0.9), 0 0 8px rgba(255, 107, 53, 0.7), 0 0 12px rgba(255, 107, 53, 0.5);
    }
    
    /* На странице корзины счетчик корзины белый */
    body:has(.cart-section) .header-nav-link.cart-link .cart-count,
    body:has(.cart-section) .hero-nav-link.cart-link .cart-count {
        color: #ffffff;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.7), 0 0 12px rgba(255, 255, 255, 0.5);
    }
    
    .mobile-menu-content {
        top: 70px;
        right: 10px;
        left: 10px;
        min-width: auto;
        padding: 15px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .about-card-content h4 {
        font-size: 1.1rem;
    }
    
    .about-card-content p {
        font-size: 0.9rem;
    }
    
    .about-card {
        min-height: 300px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .filters-sidebar h3 {
        font-size: 1.3rem;
    }
    
    .products-content h3 {
        font-size: 1.3rem;
    }
}
