/*
Theme Name: MedikLife
Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: Современная тема WordPress для медицинского сайта MedikLife. Полностью кастомизируемая тема с поддержкой всех стандартных функций WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediklife
Tags: medical, health, responsive, modern, custom-menu, featured-images, post-formats, theme-options
*/
/* Хиты продаж: убираем подчёркивания везде (карточка-ссылка и всё внутри) */
.products-section .product-card a,
.products-section .product-card-catalog a,
.products-section .product-title a,
.products-section .product-title-catalog a,
.products-section a.product-card-link,
.products-section a.product-card-link * {
    text-decoration: none !important;
}

/* Описание в карточках — ровно 2 строки, далее многоточие */
.products-section .product-description,
.products-section .product-description-catalog {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em;
}

/* Карточка и блок с инфо — flex, чтобы кнопка не съезжала */
.products-section .product-card,
.products-section a.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-section .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1.5rem;
}

.products-section .add-to-cart-btn,
.products-section .add-to-cart-btn-catalog {
    margin-top: auto;
    flex-shrink: 0;
}

/* Карточка каталога в хитах — тоже flex, чтобы кнопка внизу */
.products-section .product-card-catalog {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-section .product-info-catalog {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.products-section .add-to-cart-btn,
.products-section .add-to-cart-btn-catalog {
    margin-top: auto;
    flex-shrink: 0;
    text-align: center;
}

/* Слайд Swiper — растягиваем карточку по высоте */
.products-section .swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
}

.products-section .swiper-slide > .product-card,
.products-section .swiper-slide > a.product-card-link,
.products-section .swiper-slide > .product-card-catalog {
    width: 100%;
}


@media (min-width: 772px) and (max-width: 1116px) {

    .content-text p:first-of-type {
        font-size: 23px!important;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .content-text p {
        font-size: 1rem!important;;
        line-height: 1.8;
    }

    .content-text h3 {
        font-size: 1.2rem!important;;
        font-weight: 600;
        color: #333;
        margin: 2rem 0 1rem 0;
        line-height: 1.3;
    }

}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #F1F2FF;
}

/* Container */
.container {
    padding: 0px 10px;
    width: 100%;
}

.container:has(.products-section) {
    padding: 0;
}

/* Header Top Bar - Global Styles */
.header-top-bar {
    background-color: #F1F2FF;
    color: #333;
    padding: 0.75rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    position: relative;
}

.header-top-bar .container {
    margin: 0 auto;
    padding: 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-top-logo a {
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
}

.header-top-logo a img {
    width: auto;
    display: block;
}

.header-top-logo .logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.25rem;
    text-transform: uppercase;
    display: block;
}

.header-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.header-search form {
    position: relative;
    width: 100%;
}

.header-search .search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    font-size: 0.9rem;
}

.header-search .search-input::placeholder {
    color: #999;
}

.header-search .search-input:focus {
    outline: none;
    border-color: #2D37EE;
}

.header-search .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.header-top-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-nav-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-nav-link:hover {
    color: #2D37EE;
    background-color: #f0f0f0;
}

.top-nav-link .mobile-icon {
    display: none;
}

.top-nav-link .desktop-only {
    display: inline;
}

.top-nav-link.cart-link {
    position: relative;
}

.cart-badge {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
}

/* Дубликаты удалены - стили выше */
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-nav-link:hover {
    color: #2D37EE;
    background-color: #f0f0f0;
}

.top-nav-link .mobile-icon {
    display: none;
}

.top-nav-link .desktop-only {
    display: inline;
}



.cart-link {
    position: relative;
}

.cart-badge {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Header - показываем на главной странице */
.site-header {
    background-color: transparent !important;
    padding: 0;
    position: relative;
    z-index: 1000;
    box-shadow: none !important;
}

/* Скрываем site-header на страницах каталога, корзины и т.д. */
.catalog-page .site-header,
.cart-page .site-header,
.product-page .site-header {
    display: none;
}

/* Скрываем site-header на страницах каталога, корзины и т.д. */
.catalog-page .site-header,
.cart-page .site-header,
.product-page .site-header {
    display: none;
}

.header-main {
    width: 100%;
    position: absolute;
    padding: 1.5rem 0;
    background-color: transparent;
}

.header-main .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-header .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.hero-header .header-phone,
.site-header .header-phone {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.hero-header .header-phone::after,
.site-header .header-phone::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .header-phone:hover,
.site-header .header-phone:hover {
    color: #fff;
}

.hero-header .header-phone:hover::after,
.site-header .header-phone:hover::after {
    width: 100%;
}

.hero-header.scrolled .header-phone {
    color: #333 !important;
}

.hero-header.scrolled .header-phone::after {
    background-color: #333;
}

.hero-header.scrolled .header-phone:hover {
    color: #333 !important;
}

.main-navigation {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-header .main-navigation {
    display: flex !important;
}

.hero-header .main-navigation ul {
    list-style: none !important;
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-header .main-navigation a,
.site-header .main-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.hero-header .main-navigation a::after,
.site-header .main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .main-navigation a:hover,
.site-header .main-navigation a:hover {
    color: #fff;
}

.hero-header .main-navigation a:hover::after,
.site-header .main-navigation a:hover::after {
    width: 100%;
}

.hero-header.scrolled .main-navigation a {
    color: #333 !important;
}

.hero-header.scrolled .main-navigation a::after {
    background-color: #333;
}

.hero-header.scrolled .main-navigation a:hover {
    color: #333 !important;
}

.site-branding {
    text-align: center;
    justify-self: center;
}

.hero-header .site-branding {
    text-align: center !important;
    justify-self: center !important;
}

.hero-header .site-title,
.site-header .site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.hero-header .site-title a,
.site-header .site-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-header .site-description,
.site-header .site-description {
    display: none !important;
}

.hero-header .custom-logo-link img,
.site-header .custom-logo-link img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Стили при скролле - меняем цвет текста на темный */
.hero-header.scrolled .site-title,
.hero-header.scrolled .site-title a {
    color: #333 !important;
}

.hero-header.scrolled .site-description {
    display: none !important;
}

.hero-header.scrolled .custom-logo-link img {
    filter: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-self: end;
}

.hero-header .header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    justify-self: end !important;
}

.header-right ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-right ul li {
    margin: 0;
}

.hero-header .header-right a,
.site-header .header-right a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.hero-header .header-right a::after,
.site-header .header-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .header-right a:hover,
.site-header .header-right a:hover {
    color: #fff;
}

.hero-header .header-right a:hover::after,
.site-header .header-right a:hover::after {
    width: 100%;
}

.hero-header.scrolled .header-right a {
    color: #333 !important;
}

.hero-header.scrolled .header-right a::after {
    background-color: #333;
}

.hero-header.scrolled .header-right a:hover {
    color: #333 !important;
}

.hero-header .btn-primary,
.site-header .btn-primary {
    background-color: transparent;
    color: #fff;
    padding: 0;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    border-radius: 0;
}

.hero-header .btn-primary::after,
.site-header .btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .btn-primary:hover,
.site-header .btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.hero-header .btn-primary:hover::after,
.site-header .btn-primary:hover::after {
    width: 100%;
}

.hero-header.scrolled .btn-primary {
    color: #333 !important;
}

.hero-header.scrolled .btn-primary::after {
    background-color: #333;
}

.hero-header.scrolled .btn-primary:hover {
    color: #333 !important;
}

/* Mobile Menu - скрыто на десктопе по умолчанию */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-modal {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 0;
    overflow: visible;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.site-main {
    background-color: #F1F2FF;
    padding: 0;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background-color: #F1F2FF;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /*max-width: 1400px;*/
    margin: 0 auto;
    background: linear-gradient(180deg, #6D6D6D 0%, #929291 100%);
    border-radius: 15px;
    overflow: hidden;
    padding: 0;
}

.category-block {
    position: relative;
    height: auto;
    min-height: 900px;
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.category-overlay a {
    pointer-events: auto;
}

.category-men .category-overlay {
    align-items: flex-start;
    text-align: left;
}

.category-men .category-overlay .category-title,
.category-men .category-overlay .category-list {
    padding-left: 2rem;
    padding-top: 2rem;
}

.category-women .category-overlay {
    align-items: flex-end;
    text-align: right;
}

.category-women .category-overlay .category-title,
.category-women .category-overlay .category-list {
    padding-right: 2rem;
    padding-top: 2rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-list li {
    margin: 0;
}

.category-list a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.category-list a:hover {
    color: #ffd700;
    transform: translateX(10px);
}

/* Mobile styles for categories are defined in the main @media (max-width: 768px) section below */

/* Products Section */
.products-section {
    margin-bottom: 4rem;
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.view-catalog-btn {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    background-color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.view-catalog-btn:hover {
    text-decoration: none;
    color: #000;
    background-color: #f5f5f5;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    line-height: 1;
    padding: 0;
}

.slider-btn:hover {
    background-color: #fff;
    color: #000;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background-color: transparent;
    color: #000;
}

.slider-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Products Slider */
.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.products-slider {
    overflow: hidden;
    width: 100%;
}

.products-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.products-grid .product-card {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
}

.products-grid .product-card-catalog {
    flex: 0 0 auto !important;
    width: 302px !important;
    min-width: 315px !important;
    max-width: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s !important;
    cursor: pointer !important;
}

.products-grid .product-card-catalog .product-title-catalog a {
    color: #000 !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .products-grid .product-card {
        width: calc((100% - 2rem) / 2);
        min-width: calc((100% - 2rem) / 2);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media (min-width: 1024px) {
    .products-grid .product-card {
        width: calc((100% - 4rem) / 3);
        min-width: calc((100% - 4rem) / 3);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media (min-width: 1200px) {
    .products-grid .product-card {
        width: calc((100% - 6rem) / 4);
        min-width: calc((100% - 6rem) / 4);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2D37EE;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-badge.new {
    background-color: #4caf50;
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;

}

.add-to-cart-btn:hover:not(:disabled) {
    background-color: #2D37EE;
}

.add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Content Section */
.content-section {
    background-color: #F1F2FF;
    padding: 4rem 0;
    position: relative;
}

.content-section .container {
    position: relative;
}

.social-icons-desktop {
    display: flex;
    align-items: flex-start;
    /* pointer-events: none; */
    justify-content: flex-start;
    width: 100%;
}

.social-icons-desktop .social-icons-left {
    display: flex;
    gap: 1rem;
    pointer-events: auto;
}

.social-icons-desktop .social-icons-right {
    display: none;
}

.social-icons-desktop .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 0;
}

.social-icons-desktop .social-icon img,
.social-icons-desktop .social-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons-desktop .social-icon svg {
    fill: currentColor;
    display: block;
}

.social-icons-desktop .social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons-mobile {
    display: none;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
}

.content-left-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
}

.content-right-column {
    display: flex;
    flex-direction: column;
}

.content-text {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.content-text p:first-of-type {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.content-text .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.content-text .features-list li {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    padding-left: 0;
    position: relative;
    margin-bottom: 0.75rem;
    list-style: none;
}

.content-text .features-list li::before {
    display: none;
}

.content-image-wrapper {
    position: relative;
}

.content-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-brand p {
    display: none !important;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-nav h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-addresses {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-addresses h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-addresses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-addresses ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.footer-contact {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-legal a {
    color: #6B9BD1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #8BB5E3;
}

.footer-social {
    display: none !important;
}

/* Старые стили для footer-social (скрыто) */
.footer-social-old {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Mobile Styles for Header Top Bar */
@media (max-width: 768px) {
    .header-top-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1rem;
    }

    /* Скрываем поиск в мобильной версии на внутренних страницах */
    .header-top-bar .header-search {
        display: none;
    }

    .header-top-logo {
        order: 1;
        /*flex-shrink: 0;*/
    }

    .header-top-nav {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* Скрываем корзину в мобильной версии */
    .header-top-nav .cart-link.mobile-hide {
        display: none;
    }

    /* Показываем текст "Главная" в мобильной версии */
    .top-nav-link.home-link .mobile-only {
        display: inline;
    }

    .top-nav-link.home-link .desktop-only {
        display: none;
    }

    /* Показываем текст "Профиль" в мобильной версии */
    .top-nav-link.profile-link .mobile-only {
        display: inline;
    }

    .top-nav-link.profile-link .desktop-only {
        display: none;
    }

    .top-nav-link .desktop-only {
        display: none !important;
    }

    .top-nav-link .mobile-icon {
        display: none;
    }

    .top-nav-link {
        width: auto;
        height: auto;
        padding: 0.5rem 1rem;
        background-color: transparent;
        border-radius: 0;
        white-space: nowrap;
    }

    .top-nav-link.home-link {
        padding: 0.5rem 1rem;
    }

    .top-nav-link.profile-link {
        padding: 0.5rem 1rem;
    }

    .top-nav-link.desktop-only {
        display: none;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
    pointer-events: none;
}

.hero-header .mobile-menu-toggle span,
.site-header .mobile-menu-toggle span {
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.hero-header.scrolled .mobile-menu-toggle span {
    background-color: #333;
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-main .container {
        text-align: center;
        gap: 1.5rem;
    }

    .header-left {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .main-navigation ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-right {
        justify-content: center;
    }

    .header-right ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        background-color: rgba(42, 42, 42, 0.95);
        backdrop-filter: blur(10px);
    }

    .header-main {
        padding: 0;
    }

    .header-main .container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
        padding: 0 10px;
    }

    .header-left {
        display: none;
    }

    .site-branding {
        justify-self: start;
    }

    .site-title {
        color: #fff;
        font-size: 1.5rem;
    }

    .site-description {
        display: none !important;
    }

    .header-right {
        justify-self: end;
        gap: 1rem;
    }

    .header-right ul,
    .header-right .btn-primary {
        display: none;
    }

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle span {
        background-color: #fff;
    }

    /* Mobile Menu Modal */
    .mobile-menu-modal {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        padding: 1rem;
        display: none;
        overflow-y: auto;
    }

    .mobile-menu-modal.active {
        display: block !important;
    }

    .mobile-menu-content {
        display: flex !important;
        flex-direction: column;
        background-color: #fff;
        border-radius: 20px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 2rem;
        position: relative;
        gap: 2rem;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .mobile-menu-logo h2 {
        font-size: 1.8rem;
        font-weight: bold;
        color: #333;
        line-height: 1.2;
        margin: 0;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 2rem;
        color: #333;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-menu-nav a {
        background-color: #F1F2FF;
        color: #333;
        text-decoration: none;
        padding: 1rem 1.5rem;
        border-radius: 24px;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    .mobile-menu-nav a:hover {
        background-color: #e0e0f5;
    }

    .mobile-menu-phone {
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        text-align: center;
    }

    .mobile-menu-phone a {
        color: #333;
        text-decoration: none;
    }

    .mobile-menu-clinic-btn {
        background-color: #2D37EE;
        color: #fff;
        text-decoration: none;
        padding: 1.25rem 2rem;
        border-radius: 24px;
        font-size: 1.1rem;
        font-weight: 500;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    .mobile-menu-clinic-btn:hover {
        background-color: #1e3d6f;
        color: #fff;
    }

    .mobile-menu-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }

    .mobile-menu-social .social-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #333;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.3s;
    }

    .mobile-menu-social .social-icon img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .mobile-menu-social .social-icon:hover {
        transform: scale(1.1);
    }

    .hero-section {
        height: 300px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .categories-section {
        padding: 2rem 10px;
    }

    .categories-section .container {
        padding: 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
        margin: 0;
    }

    .category-block {
        height: auto;
        min-height: 300px;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-radius: 0;
        margin-bottom: 0;
    }

    .category-image {
        width: 50%;
        height: auto;
        min-height: 300px;
    }

    .category-men .category-image {
        order: 2;
    }

    .category-women .category-image {
        order: 1;
    }

    .category-image img,
    .category-placeholder {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }

    .category-overlay {
        width: 50%;
        position: relative;
        background: transparent;
        padding: 0;
        justify-content: center;
    }

    .category-men .category-overlay {
        order: 1;
        align-items: flex-start;
        text-align: left;
    }

    .category-men .category-overlay .category-title,
    .category-men .category-overlay .category-list {
        padding-left: 1.5rem;
        padding-top: 1.5rem;
    }

    .category-women .category-overlay {
        order: 2;
        align-items: flex-end;
        text-align: right;
    }

    .category-women .category-overlay .category-title,
    .category-women .category-overlay .category-list {
        padding-right: 1.5rem;
        padding-top: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-shadow: none;
    }

    .category-list {
        gap: 0.5rem;
    }

    .category-list a {
        font-size: 0.9rem;
        text-shadow: none;
    }

    .category-list a:hover {
        transform: none;
    }

    .products-section {
        padding: 0;
        margin-bottom: 2rem;
    }

    .content-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .content-text h2 {
        font-size: 1.8rem;
    }

    .content-text h3 {
        font-size: 1.3rem;
    }

    .content-text {
        text-align: center;
    }

    .content-text p {
        font-size: 1rem;
    }

    .content-text p:first-of-type {
        font-size: 22px;
        line-height: 1.1;
    }

    .content-text .features-list {
        text-align: center;
    }

    .content-text .features-list li {
        font-size: 0.95rem;
        text-align: center;
    }

    .social-icons-desktop {
        display: none;
    }

    .social-icons-mobile {
        display: flex;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-image-wrapper {
        order: -1;
    }

    .content-image {
        width: 100%;
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .products-grid .product-card {
        width: calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-addresses {
        margin-top: 1rem;
    }
}

/* Breadcrumbs - Общие стили для всех страниц */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #333;
    margin-bottom: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Стили для .breadcrumb-link - единые для всех страниц */
.breadcrumb-link,
.breadcrumb-link:link,
.breadcrumb-link:visited,
.breadcrumb-link:hover,
.breadcrumb-link:focus,
.breadcrumb-link:active,
.breadcrumbs a,
.breadcrumbs a:link,
.breadcrumbs a:visited {
    color: #999 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    border-bottom: none !important;
}

.breadcrumb-link:hover,
.breadcrumbs a:hover {
    color: #2D37EE !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.25rem;
}

/* Стили для текущего элемента breadcrumb - серый, без подчеркивания, без фиолетового оттенка */
.breadcrumb-current,
span.breadcrumb-current,
.breadcrumbs .breadcrumb-current,
.breadcrumbs span.breadcrumb-current,
.breadcrumb-current * {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
}

.breadcrumb-current a,
.breadcrumb-current a:link,
.breadcrumb-current a:visited,
.breadcrumb-current a:hover,
.breadcrumb-current a:focus,
.breadcrumb-current a:active,
.breadcrumbs .breadcrumb-current a,
.breadcrumbs .breadcrumb-current a:link,
.breadcrumbs .breadcrumb-current a:visited,
.breadcrumbs .breadcrumb-current a:hover,
.breadcrumbs .breadcrumb-current a:focus,
.breadcrumbs .breadcrumb-current a:active,
.breadcrumbs span.breadcrumb-current a,
.breadcrumbs span.breadcrumb-current a:link,
.breadcrumbs span.breadcrumb-current a:visited,
.breadcrumbs span.breadcrumb-current a:hover,
.breadcrumbs span.breadcrumb-current a:focus,
.breadcrumbs span.breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Posts (для блога) */
.post {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #2D37EE;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    margin-bottom: 1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.read-more {
    display: inline-block;
    color: #2D37EE;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #2D37EE;
}

.pagination .current {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

/* Дополнительные стили для breadcrumb-current с максимальной специфичностью */
div.breadcrumbs span.breadcrumb-current,
.breadcrumbs > span.breadcrumb-current,
span.breadcrumb-current,
div .breadcrumb-current,
div.container .breadcrumbs span.breadcrumb-current,
.breadcrumbs span.breadcrumb-current,
.catalog-header .breadcrumbs span.breadcrumb-current,
div#page div.breadcrumbs span.breadcrumb-current {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
    border: none !important;
    background: transparent !important;
}

/* Если breadcrumb-current является ссылкой */
a.breadcrumb-current,
a.breadcrumb-current:link,
a.breadcrumb-current:visited,
a.breadcrumb-current:hover,
a.breadcrumb-current:focus,
a.breadcrumb-current:active,
.breadcrumbs a.breadcrumb-current,
.breadcrumbs a.breadcrumb-current:link,
.breadcrumbs a.breadcrumb-current:visited,
.breadcrumbs a.breadcrumb-current:hover,
.breadcrumbs a.breadcrumb-current:focus,
.breadcrumbs a.breadcrumb-current:active {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    background: transparent !important;
}

/* Убираем все стили ссылок для breadcrumb-current */
span.breadcrumb-current a,
span.breadcrumb-current a:link,
span.breadcrumb-current a:visited,
span.breadcrumb-current a:hover,
span.breadcrumb-current a:focus,
span.breadcrumb-current a:active,
div.breadcrumbs span.breadcrumb-current a,
div.breadcrumbs span.breadcrumb-current a:link,
div.breadcrumbs span.breadcrumb-current a:visited,
div.breadcrumbs span.breadcrumb-current a:hover,
div.breadcrumbs span.breadcrumb-current a:focus,
div.breadcrumbs span.breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .breadcrumbs {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: #333;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: Современная тема WordPress для медицинского сайта MedikLife. Полностью кастомизируемая тема с поддержкой всех стандартных функций WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediklife
Tags: medical, health, responsive, modern, custom-menu, featured-images, post-formats, theme-options
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #F1F2FF;
}

/* Container */
.container {

    padding: 0px 10px;
    width: 100%;
}

.container:has(.products-section) {
    padding: 0;
}

/* Header Top Bar - Global Styles */
.header-top-bar {
    padding-left: 1rem!important;
    padding-right: 1rem!important;
    background-color: #F1F2FF;
    color: #333;
    /*padding: 0.75rem 0;*/
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    position: relative;
}

.header-top-bar .container {
    margin: 0 auto;
    padding: 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-top-logo a {
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
}

.header-top-logo a img {
    width: auto;
    display: block;
}

.header-top-logo .logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.25rem;
    text-transform: uppercase;
    display: block;
}

.header-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.header-search form {
    position: relative;
    width: 100%;
}

.header-search .search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    font-size: 0.9rem;
}

.header-search .search-input::placeholder {
    color: #999;
}

.header-search .search-input:focus {
    outline: none;
    border-color: #2D37EE;
}

.header-search .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.header-top-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-nav-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-nav-link:hover {
    color: #2D37EE;
    background-color: #f0f0f0;
}

.top-nav-link .mobile-icon {
    display: none;
}

.top-nav-link .desktop-only {
    display: inline;
}

.top-nav-link.cart-link {
    position: relative;
}

.cart-badge {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
}

/* Дубликаты удалены - стили выше */
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-nav-link:hover {
    color: #2D37EE;
    background-color: #f0f0f0;
}

.top-nav-link .mobile-icon {
    display: none;
}

.top-nav-link .desktop-only {
    display: inline;
}


.cart-link {
    position: relative;
}

.cart-badge {
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Header - показываем на главной странице */
.site-header {
    background-color: transparent !important;
    padding: 0;
    position: relative;
    z-index: 1000;
    box-shadow: none !important;
}

/* Скрываем site-header на страницах каталога, корзины и т.д. */
.catalog-page .site-header,
.cart-page .site-header,
.product-page .site-header {
    display: none;
}

/* Скрываем site-header на страницах каталога, корзины и т.д. */
.catalog-page .site-header,
.cart-page .site-header,
.product-page .site-header {
    display: none;
}

.header-main {
    width: 100%;
    position: absolute;
    padding: 1.5rem 0;
    background-color: transparent;
}

.header-main .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-header .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.hero-header .header-phone,
.site-header .header-phone {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.hero-header .header-phone::after,
.site-header .header-phone::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .header-phone:hover,
.site-header .header-phone:hover {
    color: #fff;
}

.hero-header .header-phone:hover::after,
.site-header .header-phone:hover::after {
    width: 100%;
}

.hero-header.scrolled .header-phone {
    color: #333 !important;
}

.hero-header.scrolled .header-phone::after {
    background-color: #333;
}

.hero-header.scrolled .header-phone:hover {
    color: #333 !important;
}

.main-navigation {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-header .main-navigation {
    display: flex !important;
}

.hero-header .main-navigation ul {
    list-style: none !important;
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-header .main-navigation a,
.site-header .main-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.hero-header .main-navigation a::after,
.site-header .main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .main-navigation a:hover,
.site-header .main-navigation a:hover {
    color: #fff;
}

.hero-header .main-navigation a:hover::after,
.site-header .main-navigation a:hover::after {
    width: 100%;
}

.hero-header.scrolled .main-navigation a {
    color: #333 !important;
}

.hero-header.scrolled .main-navigation a::after {
    background-color: #333;
}

.hero-header.scrolled .main-navigation a:hover {
    color: #333 !important;
}

.site-branding {
    text-align: center;
    justify-self: center;
}

.hero-header .site-branding {
    text-align: center !important;
    justify-self: center !important;
}

.hero-header .site-title,
.site-header .site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.hero-header .site-title a,
.site-header .site-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-header .site-description,
.site-header .site-description {
    display: none !important;
}

.hero-header .custom-logo-link img,
.site-header .custom-logo-link img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Стили при скролле - меняем цвет текста на темный */
.hero-header.scrolled .site-title,
.hero-header.scrolled .site-title a {
    color: #333 !important;
}

.hero-header.scrolled .site-description {
    display: none !important;
}

.hero-header.scrolled .custom-logo-link img {
    filter: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-self: end;
}

.hero-header .header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    justify-self: end !important;
}

.header-right ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-right ul li {
    margin: 0;
}

.hero-header .header-right a,
.site-header .header-right a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.hero-header .header-right a::after,
.site-header .header-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .header-right a:hover,
.site-header .header-right a:hover {
    color: #fff;
}

.hero-header .header-right a:hover::after,
.site-header .header-right a:hover::after {
    width: 100%;
}

.hero-header.scrolled .header-right a {
    color: #333 !important;
}

.hero-header.scrolled .header-right a::after {
    background-color: #333;
}

.hero-header.scrolled .header-right a:hover {
    color: #333 !important;
}

.hero-header .btn-primary,
.site-header .btn-primary {
    background-color: transparent;
    color: #fff;
    padding: 0;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    border-radius: 0;
}

.hero-header .btn-primary::after,
.site-header .btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-header .btn-primary:hover,
.site-header .btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.hero-header .btn-primary:hover::after,
.site-header .btn-primary:hover::after {
    width: 100%;
}

.hero-header.scrolled .btn-primary {
    color: #333 !important;
}

.hero-header.scrolled .btn-primary::after {
    background-color: #333;
}

.hero-header.scrolled .btn-primary:hover {
    color: #333 !important;
}

/* Mobile Menu - скрыто на десктопе по умолчанию */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-modal {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 0;
    overflow: visible;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.site-main {
    background-color: #F1F2FF;
    padding: 0;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background-color: #F1F2FF;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /*max-width: 1400px;*/
    margin: 0 auto;
    background: linear-gradient(180deg, #6D6D6D 0%, #929291 100%);
    border-radius: 15px;
    overflow: hidden;
    padding: 0;
}

.category-block {
    position: relative;
    height: auto;
    min-height: auto;
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.category-overlay a {
    pointer-events: auto;
}

.category-men .category-overlay {
    align-items: flex-start;
    text-align: left;
}

.category-men .category-overlay .category-title,
.category-men .category-overlay .category-list {
    padding-left: 2rem;
    padding-top: 2rem;
}

.category-women .category-overlay {
    align-items: flex-end;
    text-align: right;
}

.category-women .category-overlay .category-title,
.category-women .category-overlay .category-list {
    padding-right: 2rem;
    padding-top: 2rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-list li {
    margin: 0;
}

.category-list a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.category-list a:hover {
    color: #ffd700;
    transform: translateX(10px);
}

/* Mobile styles for categories are defined in the main @media (max-width: 768px) section below */

/* Products Section */
.products-section {
    margin-bottom: 4rem;
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.view-catalog-btn {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    background-color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.view-catalog-btn:hover {
    text-decoration: none;
    color: #000;
    background-color: #f5f5f5;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    line-height: 1;
    padding: 0;
}

.slider-btn:hover {
    background-color: #fff;
    color: #000;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    background-color: transparent;
    color: #000;
}

.slider-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Products Slider */
.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.products-slider {
    overflow: hidden;
    width: 100%;
}

.products-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.products-grid .product-card {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
}

.products-grid .product-card-catalog {
    flex: 0 0 auto !important;
    width: 302px !important;
    min-width: 315px !important;
    max-width: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s !important;
    cursor: pointer !important;
}

.products-grid .product-card-catalog .product-title-catalog a {
    color: #000 !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .products-grid .product-card {
        width: calc((100% - 2rem) / 2);
        min-width: calc((100% - 2rem) / 2);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media (min-width: 1024px) {
    .products-grid .product-card {
        width: calc((100% - 4rem) / 3);
        min-width: calc((100% - 4rem) / 3);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

@media (min-width: 1200px) {
    .products-grid .product-card {
        width: calc((100% - 6rem) / 4);
        min-width: calc((100% - 6rem) / 4);
    }
    
    .products-grid .product-card-catalog {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2D37EE;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-badge.new {
    background-color: #4caf50;
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover:not(:disabled) {
    background-color: #2D37EE;
}

.add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Content Section */
.content-section {
    background-color: #F1F2FF;
    padding: 4rem 0;
    position: relative;
}

.content-section .container {
    position: relative;
}

.social-icons-desktop {
    display: flex;
    align-items: flex-start;
    /* pointer-events: none; */
    justify-content: flex-start;
    width: 100%;
}

.social-icons-desktop .social-icons-left {
    display: flex;
    gap: 1rem;
    pointer-events: auto;
}

.social-icons-desktop .social-icons-right {
    display: none;
}

.social-icons-desktop .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 0;
}

.social-icons-desktop .social-icon img,
.social-icons-desktop .social-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons-desktop .social-icon svg {
    fill: currentColor;
    display: block;
}

.social-icons-desktop .social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons-mobile {
    display: none;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
}

.content-left-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
}

.content-right-column {
    display: flex;
    flex-direction: column;
}

.content-text {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.content-text p:first-of-type {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.content-text .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.content-text .features-list li {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    padding-left: 0;
    position: relative;
    margin-bottom: 0.75rem;
    list-style: none;
}

.content-text .features-list li::before {
    display: none;
}

.content-image-wrapper {
    position: relative;
}

.content-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-brand p {
    display: none !important;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-nav h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-addresses {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-addresses h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-addresses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-addresses ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.footer-contact {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-legal a {
    color: #6B9BD1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #8BB5E3;
}

.footer-social {
    display: none !important;
}

/* Старые стили для footer-social (скрыто) */
.footer-social-old {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Mobile Styles for Header Top Bar */
@media (max-width: 768px) {
    .header-top-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 1rem;
    }

    /* Скрываем поиск в мобильной версии на внутренних страницах */
    .header-top-bar .header-search {
        display: none;
    }

    .header-top-logo {
        order: 1;
        flex-shrink: 0;
    }

    .header-top-nav {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* Скрываем корзину в мобильной версии */
    .header-top-nav .cart-link.mobile-hide {
        display: none;
    }

    /* Показываем текст "Главная" в мобильной версии */
    .top-nav-link.home-link .mobile-only {
        display: inline;
    }

    .top-nav-link.home-link .desktop-only {
        display: none;
    }

    /* Показываем текст "Профиль" в мобильной версии */
    .top-nav-link.profile-link .mobile-only {
        display: inline;
    }

    .top-nav-link.profile-link .desktop-only {
        display: none;
    }

    .top-nav-link .desktop-only {
        display: none !important;
    }

    .top-nav-link .mobile-icon {
        display: none;
    }

    .top-nav-link {
        width: auto;
        height: auto;
        padding: 0.5rem 1rem;
        background-color: transparent;
        border-radius: 0;
        white-space: nowrap;
    }

    .top-nav-link.home-link {
        padding: 0.5rem 1rem;
    }

    .top-nav-link.profile-link {
        padding: 0.5rem 1rem;
    }

    .top-nav-link.desktop-only {
        display: none;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
    pointer-events: none;
}

.hero-header .mobile-menu-toggle span,
.site-header .mobile-menu-toggle span {
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.hero-header.scrolled .mobile-menu-toggle span {
    background-color: #333;
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-main .container {
        text-align: center;
        gap: 1.5rem;
    }

    .header-left {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .main-navigation ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-right {
        justify-content: center;
    }

    .header-right ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        background-color: rgba(42, 42, 42, 0.95);
        backdrop-filter: blur(10px);
    }

    .header-main {
        padding: 0;
    }

    .header-main .container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
        padding: 0 10px;
    }

    .header-left {
        display: none;
    }

    .site-branding {
        justify-self: start;
    }

    .site-title {
        color: #fff;
        font-size: 1.5rem;
    }

    .site-description {
        display: none !important;
    }

    .header-right {
        justify-self: end;
        gap: 1rem;
    }

    .header-right ul,
    .header-right .btn-primary {
        display: none;
    }

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle span {
        background-color: #fff;
    }

    /* Mobile Menu Modal */
    .mobile-menu-modal {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        padding: 1rem;
        display: none;
        overflow-y: auto;
    }

    .mobile-menu-modal.active {
        display: block !important;
    }

    .mobile-menu-content {
        display: flex !important;
        flex-direction: column;
        background-color: #fff;
        border-radius: 20px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 2rem;
        position: relative;
        gap: 2rem;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .mobile-menu-logo h2 {
        font-size: 1.8rem;
        font-weight: bold;
        color: #333;
        line-height: 1.2;
        margin: 0;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 2rem;
        color: #333;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-menu-nav a {
        background-color: #F1F2FF;
        color: #333;
        text-decoration: none;
        padding: 1rem 1.5rem;
        border-radius: 24px;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    .mobile-menu-nav a:hover {
        background-color: #e0e0f5;
    }

    .mobile-menu-phone {
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        text-align: center;
    }

    .mobile-menu-phone a {
        color: #333;
        text-decoration: none;
    }

    .mobile-menu-clinic-btn {
        background-color: #2D37EE;
        color: #fff;
        text-decoration: none;
        padding: 1.25rem 2rem;
        border-radius: 24px;
        font-size: 1.1rem;
        font-weight: 500;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    .mobile-menu-clinic-btn:hover {
        background-color: #1e3d6f;
        color: #fff;
    }

    .mobile-menu-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }

    .mobile-menu-social .social-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #333;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.3s;
    }

    .mobile-menu-social .social-icon img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .mobile-menu-social .social-icon:hover {
        transform: scale(1.1);
    }

    .hero-section {
        height: 300px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .categories-section {
        padding: 2rem 10px;
    }

    .categories-section .container {
        padding: 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
        margin: 0;
    }

    .category-block {
        height: auto;
        min-height: 300px;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-radius: 0;
        margin-bottom: 0;
    }

    .category-image {
        width: 50%;
        height: auto;
        min-height: 300px;
    }

    .category-men .category-image {
        order: 2;
    }

    .category-women .category-image {
        order: 1;
    }

    .category-image img,
    .category-placeholder {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }

    .category-overlay {
        width: 50%;
        position: relative;
        background: transparent;
        padding: 0;
        justify-content: center;
    }

    .category-men .category-overlay {
        order: 1;
        align-items: flex-start;
        text-align: left;
    }

    .category-men .category-overlay .category-title,
    .category-men .category-overlay .category-list {
        padding-left: 1.5rem;
        padding-top: 1.5rem;
    }

    .category-women .category-overlay {
        order: 2;
        align-items: flex-end;
        text-align: right;
    }

    .category-women .category-overlay .category-title,
    .category-women .category-overlay .category-list {
        padding-right: 1.5rem;
        padding-top: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-shadow: none;
    }

    .category-list {
        gap: 0.5rem;
    }

    .category-list a {
        font-size: 0.9rem;
        text-shadow: none;
    }

    .category-list a:hover {
        transform: none;
    }

    .products-section {
        padding: 0;
        margin-bottom: 2rem;
    }

    .content-section {
        padding: 2rem 0;
        margin: 0rem 0;
    }

    .content-text h2 {
        font-size: 1.8rem;
    }

    .content-text h3 {
        font-size: 1.3rem;
    }

    .content-text {
        text-align: center;
    }

    .content-text p {
        font-size: 1rem;
    }

    .content-text p:first-of-type {
        font-size: 22px;
        line-height: 1.1;
    }

    .content-text .features-list {
        text-align: center;
    }

    .content-text .features-list li {
        font-size: 0.95rem;
        text-align: center;
    }

    .social-icons-desktop {
        display: none;
    }

    .social-icons-mobile {
        display: flex;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-image-wrapper {
        order: -1;
    }

    .content-image {
        width: 100%;
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .products-grid .product-card {
        width: calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-addresses {
        margin-top: 1rem;
    }
}

/* Breadcrumbs - Общие стили для всех страниц */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Стили для .breadcrumb-link - единые для всех страниц */
.breadcrumb-link,
.breadcrumb-link:link,
.breadcrumb-link:visited,
.breadcrumb-link:hover,
.breadcrumb-link:focus,
.breadcrumb-link:active,
.breadcrumbs a,
.breadcrumbs a:link,
.breadcrumbs a:visited {
    color: #999 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    border-bottom: none !important;
}

.breadcrumb-link:hover,
.breadcrumbs a:hover {
    color: #2D37EE !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.25rem;
}

/* Стили для текущего элемента breadcrumb - серый, без подчеркивания, без фиолетового оттенка */
.breadcrumb-current,
span.breadcrumb-current,
.breadcrumbs .breadcrumb-current,
.breadcrumbs span.breadcrumb-current,
.breadcrumb-current * {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
}

.breadcrumb-current a,
.breadcrumb-current a:link,
.breadcrumb-current a:visited,
.breadcrumb-current a:hover,
.breadcrumb-current a:focus,
.breadcrumb-current a:active,
.breadcrumbs .breadcrumb-current a,
.breadcrumbs .breadcrumb-current a:link,
.breadcrumbs .breadcrumb-current a:visited,
.breadcrumbs .breadcrumb-current a:hover,
.breadcrumbs .breadcrumb-current a:focus,
.breadcrumbs .breadcrumb-current a:active,
.breadcrumbs span.breadcrumb-current a,
.breadcrumbs span.breadcrumb-current a:link,
.breadcrumbs span.breadcrumb-current a:visited,
.breadcrumbs span.breadcrumb-current a:hover,
.breadcrumbs span.breadcrumb-current a:focus,
.breadcrumbs span.breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Posts (для блога) */
.post {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #2D37EE;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    margin-bottom: 1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.read-more {
    display: inline-block;
    color: #2D37EE;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #2D37EE;
}

.pagination .current {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

/* Дополнительные стили для breadcrumb-current с максимальной специфичностью */
div.breadcrumbs span.breadcrumb-current,
.breadcrumbs > span.breadcrumb-current,
span.breadcrumb-current,
div .breadcrumb-current,
div.container .breadcrumbs span.breadcrumb-current,
.breadcrumbs span.breadcrumb-current,
.catalog-header .breadcrumbs span.breadcrumb-current,
div#page div.breadcrumbs span.breadcrumb-current {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
    border: none !important;
    background: transparent !important;
}

/* Если breadcrumb-current является ссылкой */
a.breadcrumb-current,
a.breadcrumb-current:link,
a.breadcrumb-current:visited,
a.breadcrumb-current:hover,
a.breadcrumb-current:focus,
a.breadcrumb-current:active,
.breadcrumbs a.breadcrumb-current,
.breadcrumbs a.breadcrumb-current:link,
.breadcrumbs a.breadcrumb-current:visited,
.breadcrumbs a.breadcrumb-current:hover,
.breadcrumbs a.breadcrumb-current:focus,
.breadcrumbs a.breadcrumb-current:active {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    background: transparent !important;
}

/* Убираем все стили ссылок для breadcrumb-current */
span.breadcrumb-current a,
span.breadcrumb-current a:link,
span.breadcrumb-current a:visited,
span.breadcrumb-current a:hover,
span.breadcrumb-current a:focus,
span.breadcrumb-current a:active,
div.breadcrumbs span.breadcrumb-current a,
div.breadcrumbs span.breadcrumb-current a:link,
div.breadcrumbs span.breadcrumb-current a:visited,
div.breadcrumbs span.breadcrumb-current a:hover,
div.breadcrumbs span.breadcrumb-current a:focus,
div.breadcrumbs span.breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    border-bottom: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .breadcrumbs {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: #333;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


