/*
Theme Name: ThermoSystems
Theme URI: https://thermosystems.md
Author: ThermoSystems Team
Author URI: https://thermosystems.md
Description: Минималистичная тема для продажи кондиционеров и услуг. Поддержка WooCommerce, многоязычности (русский/румынский), адаптивный дизайн.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thermosystems
Tags: e-commerce, two-columns, custom-menu, custom-logo, featured-images, footer-widgets, translation-ready, woocommerce
*/

/* ============================================
   ОСНОВНЫЕ СТИЛИ
   ============================================ */

:root {
    --color-primary: #0066cc;
    --color-secondary: #00aaff;
    --color-dark: #1a1a1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e5e5e5;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;

    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-secondary: 'Georgia', serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    --border-radius: 8px;
    --transition: all 0.3s ease;

    --max-width: 1200px;
    --max-width-wide: 1400px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ТИПОГРАФИЯ
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   КОНТЕЙНЕРЫ
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-top {
    background-color: var(--color-bg-light);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.header-contacts {
    display: flex;
    gap: var(--spacing-md);
}

.header-contacts a {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-contacts a:hover {
    color: var(--color-primary);
}

.language-switcher {
    display: flex;
    gap: var(--spacing-xs);
}

.language-switcher a {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-text);
}

.language-switcher a.active {
    background-color: var(--color-primary);
    color: white;
}

/* GTranslate стили */
.language-switcher .gtranslate_wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Стили для ссылок языков Gtranslate */
.language-switcher .gtranslate_wrapper a.glink {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.875rem;
}

.language-switcher .gtranslate_wrapper a.glink:hover {
    color: var(--color-primary);
    background-color: rgba(0, 102, 204, 0.1);
}

/* Выделение текущего выбранного языка синим */
.language-switcher .gtranslate_wrapper a.glink.gt-current-lang {
    background-color: var(--color-primary);
    color: white;
}

.language-switcher .gtranslate_wrapper a.glink.gt-current-lang:hover {
    background-color: var(--color-secondary);
    color: white;
}

.language-switcher .gt_selector {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.language-switcher .gt_selector a,
.language-switcher .gt_selector span {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.language-switcher .gt_selector a:hover {
    color: var(--color-primary);
    background-color: rgba(0, 102, 204, 0.1);
}

.language-switcher .gt_selector .gt_current_lang,
.language-switcher .gt_selector .gt_current_lang a {
    background-color: var(--color-primary);
    color: white;
}

.language-switcher .gt_flag {
    width: 16px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.language-switcher select.gt_selector {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.language-switcher select.gt_selector:hover {
    border-color: var(--color-primary);
}

.language-switcher select.gt_selector:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Стили для dropdown варианта */
.language-switcher .gt_selector.gt_dropdown {
    position: relative;
}

.language-switcher .gt_selector.gt_dropdown .gt_current_lang {
    cursor: pointer;
}

/* Стили для popup варианта */
.language-switcher .gt_selector.gt_popup {
    position: relative;
}

/* Стили для flags варианта */
.language-switcher .gt_selector.gt_flags a {
    padding: 0.25rem;
}

.language-switcher .gt_selector.gt_flags .gt_flag {
    margin-right: 0;
}

.header-main {
    padding: var(--spacing-md) 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-branding .custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    position: relative;
    transition: var(--transition);
}

.header-icon:hover {
    background-color: var(--color-primary);
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Header Language Switcher (скрыт на десктопе) */
.header-language-switcher {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.section-alt {
    background-color: var(--color-bg-light);
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    position: relative;
}

.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.product-price .old-price {
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-left: var(--spacing-xs);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-dark);
    color: white;
    padding-top: var(--spacing-2xl);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area {
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget h3,
.footer-widget .widget-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer-widget strong {
    color: white;
    font-weight: 600;
}

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

.footer-widget li {
    margin-bottom: var(--spacing-xs);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-widget a:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
}

/* Footer Menu Styling */
.footer-widget .menu {
    list-style: none;
    padding: 0;
}

.footer-widget .menu li {
    margin-bottom: var(--spacing-xs);
    padding-left: 0;
}

.footer-widget .menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-widget .menu a::before {
    content: '›';
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: bold;
}

/* Footer Social Links */
.footer-widget .social-links-list {
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-widget .social-links-list .social-link {
    /* background-color: rgba(255, 255, 255, 0.1); */
    transition: var(--transition);
}

.footer-widget .social-links-list .social-link:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SOCIAL WIDGET
   ============================================ */

.social-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.social-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
    transition: var(--transition);
    animation: socialPulse 2s ease-in-out infinite;
}

.social-toggle:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes socialPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 102, 204, 0.6), 0 0 0 8px rgba(0, 102, 204, 0.1);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
        transform: scale(1);
    }
}

.social-links {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.social-widget.active .social-links {
    opacity: 1;
    visibility: visible;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.phone {
    background-color: #dc3545;
}

.social-link.whatsapp {
    background-color: #25D366;
}

.social-link.telegram {
    background-color: #0088cc;
}

.social-link.viber {
    background-color: #665CAC;
}

.social-link.facebook {
    background-color: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .header-top {
        display: none;
    }

    .language-switcher .gt_selector a,
    .language-switcher .gt_selector span {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }

    .language-switcher .gt_flag {
        width: 14px;
        height: 10px;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .main-navigation a {
        font-size: 1.25rem;
        padding: 1rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Уменьшаем кнопки в хэдере */
    .header-icon {
        width: 36px;
        height: 36px;
    }

    .header-icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        top: -4px;
        right: -4px;
    }

    /* Показываем селектор языка в header-icons */
    .header-language-switcher {
        display: flex;
        align-items: center;
    }

    .header-language-switcher .gtranslate_wrapper {
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
    }

    /* Стили для ссылок языков Gtranslate */
    .header-language-switcher .gtranslate_wrapper a.glink {
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        font-weight: 500;
        color: var(--color-text);
        text-decoration: none;
        transition: var(--transition);
        display: inline-block;
        font-size: 0.75rem;
    }

    .header-language-switcher .gtranslate_wrapper a.glink:hover {
        color: var(--color-primary);
        background-color: rgba(0, 102, 204, 0.1);
    }

    /* Выделение текущего выбранного языка синим */
    .header-language-switcher .gtranslate_wrapper a.glink.gt-current-lang {
        background-color: var(--color-primary);
        color: white;
    }

    .header-language-switcher .gtranslate_wrapper a.glink.gt-current-lang:hover {
        background-color: var(--color-secondary);
        color: white;
    }

    .header-language-switcher .gt_selector {
        display: flex;
        gap: var(--spacing-xs);
        align-items: center;
    }

    .header-language-switcher .gt_selector a,
    .header-language-switcher .gt_selector span {
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        font-weight: 500;
        color: var(--color-text);
        text-decoration: none;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.75rem;
    }

    .header-language-switcher .gt_selector a:hover {
        color: var(--color-primary);
        background-color: rgba(0, 102, 204, 0.1);
    }

    /* Выделение текущего языка синим фоном */
    .header-language-switcher .gt_selector .gt_current_lang,
    .header-language-switcher .gt_selector .gt_current_lang a {
        background-color: var(--color-primary);
        color: white;
    }

    .header-language-switcher .gt_flag {
        width: 16px;
        height: 12px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 0.25rem;
    }

    .header-language-switcher select.gt_selector {
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        font-weight: 500;
        color: var(--color-text);
        border: 1px solid var(--color-border);
        background-color: var(--color-bg);
        font-size: 0.75rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .header-language-switcher select.gt_selector:hover {
        border-color: var(--color-primary);
    }

    .header-language-switcher select.gt_selector:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
    }

    /* Стили для flags варианта */
    .header-language-switcher .gt_selector.gt_flags a {
        padding: 0.25rem;
    }

    .header-language-switcher .gt_selector.gt_flags .gt_flag {
        margin-right: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    color: white;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.feature-item p {
    color: var(--color-text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page .entry-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.contact-details p,
.contact-details a {
    color: var(--color-text);
}

.contact-form-container {
    background-color: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-lg);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
}

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

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
}

/* ============================================
   SEARCH MODAL
   ============================================ */

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.search-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

.search-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.search-close:hover {
    opacity: 0.7;
}

.search-form {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.125rem;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    padding: 1rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background-color: var(--color-secondary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    padding: var(--spacing-md) 0;
    background-color: var(--color-bg-light);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--color-text);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

/* ============================================
   POSTS & PAGES
   ============================================ */

.entry-header {
    margin-bottom: var(--spacing-lg);
}

.entry-title {
    margin-bottom: var(--spacing-sm);
}

.entry-meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.entry-meta>span {
    margin-right: var(--spacing-md);
}

.entry-thumbnail {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-lg);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-content img {
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.entry-content li {
    margin-bottom: var(--spacing-xs);
}

.entry-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

/* ============================================
   POST NAVIGATION
   ============================================ */

.post-navigation {
    background-color: var(--color-bg-light);
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-2xl) 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-previous a:hover,
.nav-next a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
}

.nav-next {
    text-align: right;
}

/* ============================================
   SOCIAL LINKS LIST
   ============================================ */

.social-links-list {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links-list .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links-list .social-link svg {
    width: 20px;
    height: 20px;
}

.social-links-list .social-link:hover {
    transform: translateY(-3px);
}

.social-links-list .social-link.phone {
    background-color: #dc3545;
    color: white;
}

.social-label {
    display: none;
}

/* ============================================
   HEADER ENHANCEMENTS
   ============================================ */

.site-header.sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   RESPONSIVE TABLET
   ============================================ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-next {
        text-align: left;
    }
}

/* ============================================
   CONTACT PAGE - MODERN DESIGN
   ============================================ */

/* Hero Section */
.contact-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.contact-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.03)" width="100" height="100"/></svg>');
    opacity: 0.5;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.contact-hero-text .entry-title {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.contact-quick-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    border-radius: calc(var(--border-radius) * 1.5);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

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

.quick-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.quick-action-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.quick-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-hero-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    color: white;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.info-text p {
    font-size: 0.9375rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

/* Contact Main Section */
.contact-main-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-light);
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

/* Contact Methods */
.contact-methods {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.contact-methods h2 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-dark);
}

.contact-method-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: calc(var(--border-radius) / 1.5);
    background: var(--color-bg-light);
    transition: var(--transition);
}

.contact-method-item:hover {
    background: #f0f4ff;
    transform: translateX(5px);
}

.method-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.phone-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.email-icon {
    background: linear-gradient(135deg, #0066cc, #00aaff);
}

.location-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.method-link {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
    transition: var(--transition);
}

.method-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.badge-primary {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.method-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.method-address {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Map Container */
.contact-map-container {
    position: relative;
}

.map-wrapper-modern {
    height: 100%;
    min-height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.map-wrapper-modern iframe {
    display: block;
}

/* Contact Form Modern Section */
.contact-form-modern-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.form-section-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.form-header h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.form-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.form-with-benefits {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Benefits */
.form-benefits {
    position: sticky;
    top: 120px;
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.benefit-text p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Contact Form Modern */
.contact-form-modern {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--color-border);
    border-radius: calc(var(--border-radius) / 1.5);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-large {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: calc(var(--border-radius) / 1.5);
    margin-top: var(--spacing-md);
}

.contact-form .btn-large:hover svg {
    transform: translateX(5px);
}

.contact-form .btn-large svg {
    transition: transform 0.3s ease;
}

.form-success {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: var(--border-radius);
    text-align: center;
}

.form-success svg {
    color: var(--color-success);
    margin-bottom: var(--spacing-md);
}

.form-success h3 {
    color: #155724;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-success p {
    color: #155724;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Contact Page Modern */
@media (max-width: 1024px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-grid-layout {
        grid-template-columns: 1fr;
    }

    .map-wrapper-modern {
        position: static;
        min-height: 400px;
    }

    .form-with-benefits {
        grid-template-columns: 1fr;
    }

    .form-benefits {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero-modern {
        padding: var(--spacing-xl) 0;
    }

    .contact-hero-text .entry-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .contact-quick-actions {
        flex-direction: column;
    }

    .quick-action-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-hero-info {
        flex-direction: row;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .info-icon {
        margin: 0 auto;
    }

    .contact-methods {
        padding: var(--spacing-lg);
    }

    .contact-methods h2 {
        font-size: 1.5rem;
    }

    .contact-method-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .method-icon {
        margin: 0 auto;
    }

    .map-wrapper-modern {
        min-height: 350px;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-header p {
        font-size: 1rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-modern {
        padding: var(--spacing-lg);
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .benefit-icon {
        margin: 0 auto;
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Hero Section */
.about-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.about-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-text .entry-title {
    font-size: 3rem;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.about-hero-text .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 400px;
    opacity: 0.6;
}

/* Mission Section */
.about-mission-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.mission-card {
    background: var(--color-bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.mission-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Advantages Section */
.about-advantages-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-light);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-header-center h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-header-center p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.advantage-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    display: flex;
    gap: var(--spacing-lg);
    transition: var(--transition);
    border: 2px solid var(--color-border);
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.advantage-content {
    flex: 1;
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.advantage-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.advantage-item p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Section */
.about-process-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: var(--spacing-lg);
}

.process-step::before {
    content: '';
    position: absolute;
    top: calc(var(--spacing-lg) + 35px);
    left: calc(50% + 35px);
    width: calc(100% - 35px + var(--spacing-xl));
    height: 3px;
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.2;
    z-index: 0;
}

/* Скрываем линию для последнего элемента в каждой строке */
.process-step:nth-child(3)::before,
.process-step:nth-child(6)::before {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.step-content p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.about-cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.cta-actions .btn {
    white-space: nowrap;
}

.cta-actions .btn-secondary {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-hero-text .entry-title {
        font-size: 2.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Сбрасываем правила для 3-колоночной сетки */
    .process-step:nth-child(3)::before,
    .process-step:nth-child(6)::before {
        display: block;
    }

    /* Применяем правила для 2-колоночной сетки */
    .process-step:nth-child(2n)::before {
        display: none;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-hero-modern {
        padding: var(--spacing-xl) 0;
    }

    .about-hero-content {
        gap: var(--spacing-lg);
    }

    .about-hero-text .entry-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about-hero-text .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-item {
        padding: var(--spacing-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .about-hero-image {
        display: none;
    }

    /* Mission Section */
    .about-mission-section {
        padding: var(--spacing-xl) 0;
    }

    .mission-grid {
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .mission-card {
        padding: var(--spacing-lg);
    }

    .mission-icon {
        width: 60px;
        height: 60px;
    }

    .mission-icon svg {
        width: 32px;
        height: 32px;
    }

    .mission-card h3 {
        font-size: 1.25rem;
    }

    .mission-card p {
        font-size: 0.95rem;
    }

    /* Advantages Section */
    .about-advantages-section {
        padding: var(--spacing-xl) 0;
    }

    .section-header-center {
        margin-bottom: var(--spacing-xl);
    }

    .section-header-center h2 {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }

    .section-header-center p {
        font-size: 1rem;
    }

    .advantages-grid {
        gap: var(--spacing-lg);
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .advantage-number {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }

    .advantage-icon {
        width: 45px;
        height: 45px;
    }

    .advantage-icon svg {
        width: 28px;
        height: 28px;
    }

    .advantage-item h3 {
        font-size: 1.125rem;
    }

    .advantage-item p {
        font-size: 0.95rem;
    }

    /* Process Section */
    .about-process-section {
        padding: var(--spacing-xl) 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .process-step {
        padding: 0;
    }

    .process-step::before {
        display: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .step-content h3 {
        font-size: 1.125rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    /* CTA Section */
    .about-cta-section {
        padding: var(--spacing-xl) 0;
    }

    .cta-content {
        gap: var(--spacing-lg);
    }

    .cta-text h2 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }

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

    .cta-actions .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .about-hero-modern {
        padding: var(--spacing-lg) 0;
    }

    .about-hero-content {
        gap: var(--spacing-md);
    }

    .about-hero-text .entry-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .about-hero-text .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-md);
    }

    .hero-stats {
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Mission Section */
    .about-mission-section,
    .about-advantages-section,
    .about-process-section {
        padding: var(--spacing-lg) 0;
    }

    .mission-grid {
        gap: var(--spacing-md);
    }

    .mission-card {
        padding: var(--spacing-md);
    }

    .mission-icon {
        width: 50px;
        height: 50px;
    }

    .mission-icon svg {
        width: 28px;
        height: 28px;
    }

    .mission-card h3 {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-sm);
    }

    .mission-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Advantages Section */
    .section-header-center {
        margin-bottom: var(--spacing-lg);
    }

    .section-header-center h2 {
        font-size: 1.75rem;
    }

    .section-header-center p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .advantages-grid {
        gap: var(--spacing-md);
    }

    .advantage-item {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .advantage-number {
        font-size: 1.75rem;
        margin-bottom: 0;
    }

    .advantage-icon {
        width: 40px;
        height: 40px;
    }

    .advantage-icon svg {
        width: 24px;
        height: 24px;
    }

    .advantage-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .advantage-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Process Section */
    .process-timeline {
        gap: var(--spacing-md);
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* CTA Section */
    .about-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .cta-content {
        gap: var(--spacing-md);
    }

    .cta-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .cta-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .cta-actions {
        gap: var(--spacing-sm);
    }

    .cta-actions .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .cta-actions .btn svg {
        width: 18px;
        height: 18px;
    }

    .cta-actions .btn span {
        font-size: 0.95rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .stat-item:hover,
    .mission-card:hover,
    .advantage-item:hover,
    .process-step:hover .step-number {
        transform: none;
    }

    .stat-item:active {
        transform: scale(0.98);
    }

    .mission-card:active,
    .advantage-item:active {
        transform: scale(0.99);
    }

    .cta-actions .btn:active {
        transform: scale(0.97);
    }
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* Hero Section */
.services-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: calc(var(--spacing-2xl) * 1.5) 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    color: white;
}

.services-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-hero-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-hero-text .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    display: block;
    width: 100%;
    padding: 0;
}

.services-hero-text .hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 0;
}

/* Services Grid Section */
.services-main-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.service-card-modern {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.service-card-header {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card-modern:hover .service-thumbnail {
    transform: scale(1.05);
}

.service-icon-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.service-icon-wrapper svg {
    opacity: 0.8;
}

.service-price-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.service-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.service-excerpt {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text);
    font-size: 0.9rem;
}

.service-feature-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.service-card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    background: var(--color-bg-light);
}

.service-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
}

.service-link:hover {
    color: var(--color-secondary);
    gap: var(--spacing-md);
}

.service-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-call-btn:hover {
    background: var(--color-secondary);
    transform: scale(1.1);
}

.services-empty {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.empty-icon {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.empty-icon svg {
    opacity: 0.5;
}

.services-empty h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.services-empty p {
    color: var(--color-text-light);
}

/* Services Category Section */
.services-category-section {
    margin-bottom: var(--spacing-2xl);
}

.services-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.services-category-title:hover {
    color: var(--color-primary);
}

.services-category-title .category-title-text {
    flex: 1;
}

.services-category-title .category-toggle-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
    color: var(--color-primary);
}

.services-category-title.collapsed .category-toggle-icon {
    transform: rotate(-90deg);
}

.services-category-section .services-table-wrapper {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    max-height: 10000px;
    opacity: 1;
}

.services-category-section .services-table-wrapper.collapsed {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

.services-category-section .services-table-wrapper.collapsed table {
    display: none;
}

/* Services Table */
.services-table-wrapper {
    margin-top: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Table Scroll Container */
.table-scroll-container {
    overflow-x: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Scroll Indicator (hidden by default) */
.table-scroll-indicator {
    display: none;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.services-table thead {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.services-table th {
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: white !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.services-table th:first-child {
    border-top-left-radius: var(--border-radius);
}

.services-table th:last-child {
    border-top-right-radius: var(--border-radius);
}

.services-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.services-table tbody tr:hover {
    background: var(--color-bg-light);
}

.services-table tbody tr.subcategory-header {
    background: var(--color-bg-light);
    font-weight: 600;
}

.services-table tbody tr.subcategory-header td {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.services-table tbody tr.subcategory-header td:first-child {
    padding-left: var(--spacing-xl);
}

.services-table tbody tr:last-child {
    border-bottom: none;
}

.services-table td {
    padding: var(--spacing-lg);
    vertical-align: middle;
}

.services-table .col-name {
    font-weight: 500;
    color: var(--color-dark);
    min-width: 250px;
}

.services-table .col-power {
    text-align: left;
    color: var(--color-text);
    white-space: nowrap;
    min-width: 150px;
}

.services-table .col-unit {
    text-align: center;
    color: var(--color-text);
    white-space: nowrap;
    min-width: 100px;
}

.services-table .col-price {
    text-align: right;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    min-width: 120px;
}

/* Info Section */
.services-info-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-light);
}

.services-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.info-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
}

.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    color: white;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.info-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.services-cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.services-cta-content .cta-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
}

.services-cta-content .cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.services-cta-content .cta-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.services-cta-content .cta-actions .btn-secondary {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

.services-cta-content .cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-hero-text .entry-title {
        font-size: 2.75rem;
    }

    .services-hero-text .hero-description {
        font-size: 1.15rem;
    }

    .services-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }

    .services-table {
        font-size: 0.9rem;
    }

    .services-table th,
    .services-table td {
        padding: var(--spacing-md);
    }

    .services-category-title {
        font-size: 1.75rem;
    }

    .services-table .col-name {
        min-width: 200px;
    }

    .services-table .col-power {
        min-width: 120px;
        font-size: 0.85rem;
    }

    .services-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .services-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .services-cta-content .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .services-cta-content .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-hero-modern {
        padding: calc(var(--spacing-xl) * 1.2) 0 var(--spacing-xl);
    }

    .services-hero-text .entry-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: var(--spacing-md);
    }

    .services-hero-text .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .services-main-section {
        padding: var(--spacing-xl) 0;
    }

    .services-table-wrapper {
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        border-radius: 0;
    }

    .services-table {
        font-size: 0.85rem;
    }

    .services-table th,
    .services-table td {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .services-table th {
        font-size: 0.9rem;
    }

    .services-table .col-name {
        min-width: 200px;
    }

    .services-table .col-unit {
        font-size: 0.8rem;
    }

    .services-table .col-price {
        font-size: 0.85rem;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .service-card-modern {
        border-width: 1px;
    }

    .service-image,
    .service-icon-wrapper {
        height: 180px;
    }

    .service-card-body {
        padding: var(--spacing-md);
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-excerpt {
        font-size: 0.95rem;
    }

    .service-feature-item {
        font-size: 0.85rem;
    }

    .service-card-footer {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .services-info-section {
        padding: var(--spacing-xl) 0;
    }

    .info-card {
        padding: var(--spacing-lg);
    }

    .info-card-icon {
        width: 56px;
        height: 56px;
    }

    .info-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .info-card h3 {
        font-size: 1.125rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }

    .services-cta-section {
        padding: var(--spacing-xl) 0;
    }

    .services-cta-content .cta-text h2 {
        font-size: 1.75rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .services-hero-modern {
        padding: calc(var(--spacing-lg) * 1.2) 0 var(--spacing-lg);
    }

    .services-hero-content {
        max-width: 100%;
    }

    .services-hero-text .entry-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: var(--spacing-sm);
    }

    .services-hero-text .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .services-main-section {
        padding: var(--spacing-lg) 0;
    }

    .services-grid-modern {
        gap: var(--spacing-md);
    }

    .service-image,
    .service-icon-wrapper {
        height: 160px;
    }

    .service-card-body {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .service-title {
        font-size: 1.125rem;
    }

    .service-excerpt {
        font-size: 0.9rem;
    }

    .service-feature-item {
        font-size: 0.85rem;
    }

    .service-link {
        font-size: 0.9rem;
    }

    .service-call-btn {
        width: 40px;
        height: 40px;
    }

    .service-call-btn svg {
        width: 16px;
        height: 16px;
    }

    .services-info-section {
        padding: var(--spacing-lg) 0;
    }

    .info-card {
        padding: var(--spacing-md);
    }

    .info-card-icon {
        width: 48px;
        height: 48px;
    }

    .info-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .services-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .services-cta-content {
        gap: var(--spacing-md);
    }

    .services-cta-content .cta-text h2 {
        font-size: 1.5rem;
    }

    .services-cta-content .cta-text p {
        font-size: 0.95rem;
    }

    .services-cta-content .cta-actions {
        gap: var(--spacing-sm);
    }

    .services-cta-content .cta-actions .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .service-card-modern:hover,
    .info-card:hover {
        transform: none;
    }

    .service-card-modern:active {
        transform: scale(0.98);
    }

    .info-card:active {
        transform: scale(0.99);
    }

    .service-call-btn:active,
    .services-cta-content .cta-actions .btn:active {
        transform: scale(0.95);
    }
}

/* ============================================
   SHOP PAGE MODERN
   ============================================ */

.shop-page-modern {
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Shop Hero Section */
.shop-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: calc(var(--spacing-2xl) * 1.2) 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.shop-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.shop-hero-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-hero-text .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    display: block;
    width: 100%;
    padding: 0;
}

.shop-hero-text .hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 0;
}

/* Shop Content */
.shop-content-modern {
    padding: var(--spacing-2xl) 0;
}

/* Shop Toolbar */
.shop-toolbar-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.shop-toolbar-left,
.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.shop-results-count {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.shop-results-count .woocommerce-result-count {
    margin: 0;
}

/* View Switcher */
.view-switcher {
    display: flex;
    gap: 0.25rem;
    background-color: var(--color-bg-light);
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--color-text-light);
    transition: var(--transition);
}

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

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

/* Ordering */
.shop-ordering select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    background-color: white;
    transition: var(--transition);
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.shop-ordering select:hover,
.shop-ordering select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Filters Toggle Mobile */
.filters-toggle-mobile {
    display: none;
    width: 100%;
    padding: var(--spacing-md);
    background-color: white;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-dark);
}

.filters-toggle-mobile:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-light);
}

/* Sidebar Overlay */
.shop-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Shop Layout */
.shop-layout-modern {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* Shop Sidebar */
.shop-sidebar-modern {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.shop-sidebar-inner {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-dark);
}

.sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.clear-filters-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.clear-filters-btn svg {
    width: 16px;
    height: 16px;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 0.25rem;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    color: var(--color-dark);
    background-color: var(--color-bg-light);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Sidebar Widgets */
.shop-sidebar-modern .widget {
    margin-bottom: 0;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.shop-sidebar-modern .widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-sidebar-modern .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: var(--spacing-sm);
    color: var(--color-dark);
    position: relative;
}

.shop-sidebar-modern .widget-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-align: left;
    transition: var(--transition);
}

.shop-sidebar-modern .widget-toggle:hover {
    color: var(--color-primary);
}

.shop-sidebar-modern .widget-toggle .toggle-icon {
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.shop-sidebar-modern .widget-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.shop-sidebar-modern .widget-content {
    padding-top: var(--spacing-md);
    animation: slideDown 0.3s ease;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.shop-sidebar-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar-modern li {
    margin-bottom: var(--spacing-xs);
}

.shop-sidebar-modern a {
    color: var(--color-text);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 6px;
}

.shop-sidebar-modern a:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-light);
}

/* Product Categories Widget */
.shop-sidebar-modern .widget_product_categories ul,
.shop-sidebar-modern .widget_product_categories .product-categories-list {
    list-style: none;
    padding: 0;
}

.shop-sidebar-modern .widget_product_categories li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-sidebar-modern .widget_product_categories li a {
    flex: 1;
    min-width: 0;
    padding: 0.625rem;
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.shop-sidebar-modern .widget_product_categories li a:hover {
    background-color: var(--color-bg-light);
    padding-left: 1rem;
}

.shop-sidebar-modern .widget_product_categories .count {
    background-color: var(--color-bg-light);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    flex-shrink: 0;
    white-space: nowrap;
}

.shop-sidebar-modern .widget_product_categories li.current-cat {
    background-color: var(--color-primary);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-sm);
    margin-left: calc(var(--spacing-sm) * -1);
    margin-right: calc(var(--spacing-sm) * -1);
}

.shop-sidebar-modern .widget_product_categories li.current-cat>a,
.shop-sidebar-modern .widget_product_categories li.chosen>a,
.shop-sidebar-modern .widget_product_categories .filter-link.active {
    background-color: transparent;
    color: white;
    font-weight: 600;
}

.shop-sidebar-modern .widget_product_categories li.current-cat .count,
.shop-sidebar-modern .widget_product_categories li.chosen .count,
.shop-sidebar-modern .widget_product_categories .filter-link.active .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.shop-sidebar-modern .widget_product_categories .filter-link {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.shop-sidebar-modern .widget_product_categories .filter-link:hover {
    background-color: var(--color-bg-light);
    padding-left: 1rem;
    color: var(--color-primary);
}

.shop-sidebar-modern .widget_product_categories li.current-cat>a:hover,
.shop-sidebar-modern .widget_product_categories li.current-cat .filter-link:hover {
    background-color: transparent;
    padding-left: 0;
    color: white;
}

.shop-sidebar-modern .widget_product_categories .filter-link.active:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Standard Product Categories Widget (non-modern sidebar) */
.product-categories {
    list-style: none;
    padding: 0;
}

.product-categories li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-categories li.current-cat {
    background-color: var(--color-primary);
    padding: var(--spacing-sm) var(--spacing-sm);
    margin-left: calc(var(--spacing-sm) * -1);
    margin-right: calc(var(--spacing-sm) * -1);
}

.product-categories li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.5rem 0;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.product-categories li.current-cat>a {
    color: white;
    font-weight: 600;
    padding: 0;
}

.product-categories li.current-cat>a:hover {
    background-color: transparent;
    color: white;
}

.product-categories li.current-cat .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-categories .count {
    flex-shrink: 0;
    white-space: nowrap;
    background-color: var(--color-bg-light);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* Price Filter Widget - Hide default WooCommerce widget */
.widget_price_filter,
.woocommerce-widget-layered-nav-dropdown {
    display: none !important;
}

/* Custom Price Filter Widget */
.widget_custom_price_filter {
    margin-top: 0;
    padding-top: 0;
    transition: all 0.3s ease;
}

.widget_custom_price_filter.has-active-filter {
    background-color: rgba(139, 197, 64, 0.05);
    padding: 1rem;
    margin: 0 -1rem;
    border-radius: 8px;
}

.widget_custom_price_filter.has-active-filter .widget-title {
    color: var(--color-primary);
}

.widget_custom_price_filter .price_slider_wrapper {
    padding: 1rem 0;
}

/* Slider */
.widget_custom_price_filter .price_slider {
    margin-bottom: 1.5rem;
    position: relative;
    height: 6px;
    background-color: var(--color-bg-light);
    border-radius: 3px;
}

.widget_custom_price_filter .ui-slider {
    position: relative;
    height: 6px;
    background-color: var(--color-bg-light);
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

.widget_custom_price_filter .ui-slider-range {
    position: absolute;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.widget_custom_price_filter .ui-slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 0;
}

.widget_custom_price_filter .ui-slider-handle:hover,
.widget_custom_price_filter .ui-slider-handle:focus {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.widget_custom_price_filter .ui-slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Price Input Fields */
.widget_custom_price_filter .price_inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.widget_custom_price_filter .price_input_group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.widget_custom_price_filter .price_input_group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget_custom_price_filter .price_input_group {
    position: relative;
}

.widget_custom_price_filter .price_input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    transition: all 0.3s ease;
    -moz-appearance: textfield;
}

.widget_custom_price_filter .price_input::-webkit-outer-spin-button,
.widget_custom_price_filter .price_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.widget_custom_price_filter .price_input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 197, 64, 0.1);
}

.widget_custom_price_filter .currency {
    position: absolute;
    right: 0.75rem;
    bottom: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    pointer-events: none;
}

.widget_custom_price_filter .price_separator {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-top: 1.25rem;
}

/* Filter Button */
.widget_custom_price_filter .price_filter_button {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.widget_custom_price_filter .price_filter_button svg {
    flex-shrink: 0;
}

.widget_custom_price_filter .price_filter_button:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget_custom_price_filter .price_filter_button:active {
    transform: translateY(0);
}

/* Custom Price Filter in Modern Sidebar */
.shop-sidebar-modern .widget_custom_price_filter {
    margin-top: 0;
    padding-top: 0.5rem;
}

.shop-sidebar-modern .widget_custom_price_filter .widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
}

.shop-sidebar-modern .widget_custom_price_filter .price_slider {
    margin-bottom: 1.5rem;
}

.shop-sidebar-modern .widget_custom_price_filter .price_input {
    background-color: white;
}

.shop-sidebar-modern .widget_custom_price_filter .price_filter_button {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-sidebar-modern .widget_custom_price_filter .price_filter_button:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Product Attributes Widget */
.shop-sidebar-modern .widget_layered_nav_attributes {
    margin-bottom: 0;
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--color-border);
}

.shop-sidebar-modern .widget_layered_nav_attributes:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-sidebar-modern .widget_layered_nav_attributes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar-modern .widget_layered_nav_attributes li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-sidebar-modern .widget_layered_nav_attributes li a {
    flex: 1;
    min-width: 0;
    padding: 0.625rem;
    border-radius: 8px;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    color: var(--color-text);
}

.shop-sidebar-modern .widget_layered_nav_attributes li a:hover {
    background-color: var(--color-bg-light);
    padding-left: 1rem;
    color: var(--color-primary);
}

.shop-sidebar-modern .widget_layered_nav_attributes li.chosen a,
.shop-sidebar-modern .widget_layered_nav_attributes .filter-link.active {
    background-color: var(--color-primary);
    color: white;
}

.shop-sidebar-modern .widget_layered_nav_attributes .count {
    background-color: var(--color-bg-light);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    flex-shrink: 0;
    white-space: nowrap;
}

.shop-sidebar-modern .widget_layered_nav_attributes li.chosen .count,
.shop-sidebar-modern .widget_layered_nav_attributes .filter-link.active .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.shop-sidebar-modern .widget_layered_nav_attributes .filter-link {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.shop-sidebar-modern .widget_layered_nav_attributes .filter-link:hover {
    background-color: var(--color-bg-light);
    padding-left: 1rem;
    color: var(--color-primary);
}

.shop-sidebar-modern .widget_layered_nav_attributes .filter-link.active:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Recently Viewed Products Widget */
.shop-sidebar-modern .widget_recently_viewed_products {
    margin-top: var(--spacing-lg);
}

.shop-sidebar-modern .widget_recently_viewed_products ul {
    list-style: none;
    padding: 0;
}

.shop-sidebar-modern .widget_recently_viewed_products li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.shop-sidebar-modern .widget_recently_viewed_products li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-sidebar-modern .widget_recently_viewed_products img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.shop-sidebar-modern .widget_recently_viewed_products .product-title {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.shop-sidebar-modern .widget_recently_viewed_products .product-title a {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0;
    background: none;
}

.shop-sidebar-modern .widget_recently_viewed_products .product-title a:hover {
    color: var(--color-primary);
    background: none;
}

.shop-sidebar-modern .widget_recently_viewed_products .amount {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* Shop Products */
.shop-products-modern {
    min-height: 400px;
    position: relative;
}

.products-loading {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--color-text-light);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-primary);
    animation: spin 1s linear infinite;
}

.loading-spinner svg {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.products-content {
    transition: opacity 0.3s ease;
}

.products-content.fade-out {
    opacity: 0.5;
}

.shop-products-modern.view-grid ul.products {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.shop-products-modern.view-list ul.products {
    grid-template-columns: 1fr;
}

.shop-products-modern.view-list li.product {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
}

.shop-products-modern.view-list li.product img {
    height: 180px !important;
}

/* Shop Empty State */
.shop-empty-modern {
    background-color: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.shop-empty-modern .empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-text-light);
}

.shop-empty-modern h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.shop-empty-modern p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-layout-modern {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-xl);
    }

    .shop-sidebar-modern {
        top: 80px;
    }

    .shop-hero-text .entry-title {
        font-size: 2.75rem;
    }

    .shop-hero-text .hero-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .shop-hero-modern {
        padding: calc(var(--spacing-xl) * 1.2) 0 var(--spacing-xl);
    }

    .shop-hero-text .entry-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: var(--spacing-md);
    }

    .shop-hero-text .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .shop-content-modern {
        padding: var(--spacing-xl) 0;
    }

    .shop-toolbar-modern {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .shop-layout-modern {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar by default on mobile */
    .shop-sidebar-modern {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 85%;
        max-width: 350px;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        max-height: 100vh;
        background-color: white;
    }

    .shop-sidebar-modern.active {
        left: 0;
    }

    .shop-sidebar-inner {
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        background-color: white;
    }

    .sidebar-close {
        display: flex;
    }

    /* Show mobile filter toggle */
    .filters-toggle-mobile {
        display: flex;
    }

    .shop-products-modern.view-list ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-products-modern.view-list li.product {
        display: block;
    }

    /* Hide view switcher on mobile */
    .view-switcher {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-hero-text .entry-title {
        font-size: 1.75rem;
    }

    .shop-hero-text .hero-description {
        font-size: 0.95rem;
    }

    .shop-toolbar-modern {
        padding: var(--spacing-sm);
    }

    .shop-results-count {
        font-size: 0.85rem;
    }

    .shop-ordering select {
        font-size: 0.85rem;
        padding: 0.5rem 2rem 0.5rem 0.75rem;
    }

    .shop-products-modern.view-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .shop-empty-modern {
        padding: var(--spacing-xl);
    }

    .shop-empty-modern .empty-icon {
        width: 64px;
        height: 64px;
    }

    .shop-empty-modern h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   RECENTLY VIEWED PRODUCTS SECTION
   ============================================ */

.recently-viewed-section {
    padding: var(--spacing-2xl) 0;
    background-color: white;
    border-top: 1px solid var(--color-border);
}

.recently-viewed-section .section-header-center {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.recently-viewed-section .section-header-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.recently-viewed-section .section-header-center p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.recently-viewed-products {
    margin-top: var(--spacing-lg);
}

.recently-viewed-products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .recently-viewed-section {
        padding: var(--spacing-xl) 0;
    }

    .recently-viewed-section .section-header-center h2 {
        font-size: 1.75rem;
    }

    .recently-viewed-products ul.products {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .recently-viewed-section {
        padding: var(--spacing-xl) 0;
    }

    .recently-viewed-section .section-header-center {
        margin-bottom: var(--spacing-lg);
    }

    .recently-viewed-section .section-header-center h2 {
        font-size: 1.5rem;
    }

    .recently-viewed-section .section-header-center p {
        font-size: 0.9rem;
    }

    .recently-viewed-products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .recently-viewed-section {
        padding: var(--spacing-lg) 0;
    }

    .recently-viewed-section .section-header-center h2 {
        font-size: 1.25rem;
    }

    .recently-viewed-products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ============================================
   HOMEPAGE MODERN STYLES
   ============================================ */

/* Hero Section */
.home-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: calc(var(--spacing-2xl) * 1.5) 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 619px;
    display: flex;
    align-items: center;
}

.home-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.home-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    /* Размытые края с помощью радиального градиента маски */
    /* Маска создает эффект плавного исчезновения к краям */
    mask-image: radial-gradient(ellipse 85% 95% at 50% 50%, black 40%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 50%, black 40%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    /* Дополнительное размытие для плавности краев */
    filter: blur(2px);
}

.home-hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.home-hero-text .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-hero-text .hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
}

.hero-actions .btn svg {
    transition: transform 0.3s ease;
}

.hero-actions .btn:hover svg {
    transform: translateX(5px);
}

.home-hero-stats {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    flex: 1;
    min-width: 120px;
}

.hero-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Categories List */
.home-hero-categories {
    background: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    align-self: start;
    margin-top: calc(var(--spacing-2xl) * -1.5);
}

.categories-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-primary);
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: left;
}

.categories-toggle-btn .toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.categories-toggle-btn[aria-expanded="false"] .toggle-icon {
    transform: rotate(180deg);
}

.categories-list {
    max-height: 27rem;
    overflow-y: auto;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.categories-list::-webkit-scrollbar {
    width: 6px;
}

.categories-list::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

.categories-list::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.categories-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-light);
}

.home-hero-categories.collapsed .categories-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
    gap: var(--spacing-sm);
}

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

.category-item:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    padding-left: calc(var(--spacing-lg) + 0.5rem);
}

.category-item .category-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.category-item svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: var(--transition);
}

.category-item:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

/* Categories Modal */
.categories-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.categories-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.categories-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-modal.active .categories-modal-overlay {
    opacity: 1;
}

.categories-modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.categories-modal.active .categories-modal-content {
    transform: scale(1) translateY(0);
}

.categories-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-light);
}

.categories-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

.categories-modal-close {
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.categories-modal-close:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.categories-modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    flex: 1;
}

.categories-modal-body::-webkit-scrollbar {
    width: 6px;
}

.categories-modal-body::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

.categories-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.categories-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-light);
}

.categories-modal-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.category-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    gap: var(--spacing-sm);
}

.category-modal-item:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateX(5px);
}

.category-modal-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
}

.category-modal-item svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: var(--transition);
}

.category-modal-item:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

.categories-modal-empty {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--color-text-light);
}

/* Brands Marquee Section */
.brands-marquee-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.brands-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-marquee-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    animation: brands-marquee 30s linear infinite;
    will-change: transform;
}

.brands-marquee-track:hover {
    animation-play-state: paused;
}

.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100px;
    width: auto;
    min-width: 150px;
}

.brand-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.brand-logo-item img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.8;
    transition: var(--transition);
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes brands-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Products Section */
.home-products-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Minimal Product Card */
.product-card-minimal {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.product-card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-card-minimal__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--color-bg-light);
}

.product-card-minimal__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-minimal:hover .product-card-minimal__image-wrapper::after {
    opacity: 1;
}

.product-card-minimal__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

.product-card-minimal__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-minimal:hover .product-card-minimal__image {
    transform: scale(1.08);
}

.product-card-minimal__image--placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-minimal__badge {
    position: absolute;
    top: 12px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.product-card-minimal__badge--sale {
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.product-card-minimal__badge--outofstock {
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    backdrop-filter: blur(4px);
}

.product-card-minimal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card-minimal:hover .product-card-minimal__overlay {
    opacity: 1;
}

.product-card-minimal__quick-add {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card-minimal__quick-add:hover {
    transform: scale(1.1);
    background: var(--color-primary);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.product-card-minimal__content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-minimal__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-dark);
}

.product-card-minimal__title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-minimal__title a:hover {
    color: var(--color-primary);
}

.product-card-minimal__rating {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1;
}

.product-card-minimal__rating .star-rating {
    display: inline-block;
    color: #ffb400;
}

.product-card-minimal__price {
    margin-top: auto;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.product-card-minimal__price del {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 400;
    margin-right: 8px;
    text-decoration: line-through;
}

.product-card-minimal__price ins {
    text-decoration: none;
    color: var(--color-danger);
}

/* Services Section */
.home-services-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-light);
}

/* Advantages Section */
.home-advantages-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

/* CTA Section */
.home-cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.home-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.home-cta-section .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.home-cta-section .cta-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
}

.home-cta-section .cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.home-cta-section .cta-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.home-cta-section .cta-actions .btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.home-cta-section .cta-actions .btn-secondary {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

.home-cta-section .cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .home-hero-text .entry-title {
        font-size: 2.75rem;
    }

    .home-hero-text .hero-description {
        font-size: 1.15rem;
    }

    .home-hero-categories {
        max-width: 100%;
        order: 2;
    }

    .home-hero-text {
        order: 1;
    }

    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }

    .product-card-minimal__image-wrapper {
        padding-top: 70%;
    }

    .product-card-minimal__content {
        padding: var(--spacing-sm);
    }

    .home-cta-section .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .home-cta-section .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .home-cta-section .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .home-hero-modern {
        padding: var(--spacing-xl) 0;
        min-height: 500px;
        align-items: flex-start;
    }

    .home-hero-bg-image {
        opacity: 0.2;
        filter: blur(1px);
        mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 35%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
        -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 35%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    }

    .home-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        align-items: start;
    }

    .home-hero-categories {
        display: none;
    }

    .home-hero-text {
        text-align: center;
        width: 100%;
    }

    .home-hero-text .entry-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }

    .home-hero-text .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-lg);
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .home-hero-stats {
        margin-top: var(--spacing-lg);
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .hero-stat-item {
        flex: 1 1 calc(33.333% - var(--spacing-sm));
        min-width: 90px;
        padding: var(--spacing-sm);
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    /* Modal styles for mobile */
    .categories-modal-content {
        width: 95%;
        max-height: 85vh;
        margin: var(--spacing-md);
    }

    .categories-modal-header {
        padding: var(--spacing-md);
    }

    .categories-modal-title {
        font-size: 1.25rem;
    }

    .categories-modal-body {
        padding: var(--spacing-sm);
    }

    .category-modal-item {
        padding: var(--spacing-md);
    }

    .category-modal-name {
        font-size: 0.95rem;
    }

    .brands-marquee-section {
        padding: var(--spacing-lg) 0;
    }

    .brand-logo-item {
        height: 80px;
        min-width: 120px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .brand-logo-item img {
        max-height: 60px;
        max-width: 120px;
    }

    .brands-marquee-track {
        gap: var(--spacing-lg);
        animation-duration: 25s;
    }

    .home-products-section,
    .home-services-section,
    .home-advantages-section {
        padding: var(--spacing-xl) 0;
    }

    .products-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .product-card-minimal {
        border-radius: 12px;
    }

    .product-card-minimal__image-wrapper {
        padding-top: 65%;
    }

    .product-card-minimal__content {
        padding: var(--spacing-sm);
    }

    .product-card-minimal__title {
        font-size: 0.95rem;
    }

    .product-card-minimal__price {
        font-size: 1.125rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .home-cta-section {
        padding: var(--spacing-xl) 0;
    }

    .home-cta-section .cta-text h2 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }

    .home-cta-section .cta-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .home-hero-modern {
        padding: calc(var(--spacing-lg) * 1.2) 0 var(--spacing-lg);
    }

    .home-hero-content {
        gap: var(--spacing-md);
    }

    .home-hero-text .entry-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
    }

    .home-hero-text .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-md);
    }

    .hero-actions .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .home-hero-stats {
        margin-top: var(--spacing-lg);
        gap: var(--spacing-sm);
    }

    .hero-stat-item {
        padding: var(--spacing-sm) var(--spacing-md);
        min-width: 100px;
        flex: 1 1 calc(33.333% - var(--spacing-sm));
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .brands-marquee-section {
        padding: var(--spacing-md) 0;
    }

    .brand-logo-item {
        height: 70px;
        min-width: 100px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .brand-logo-item img {
        max-height: 50px;
        max-width: 100px;
    }

    .brands-marquee-track {
        gap: var(--spacing-md);
        animation-duration: 20s;
    }

    .home-products-section,
    .home-services-section,
    .home-advantages-section {
        padding: var(--spacing-lg) 0;
    }

    .section-header-center h2 {
        font-size: 1.75rem;
    }

    .section-header-center p {
        font-size: 0.95rem;
    }

    .products-grid-modern {
        gap: var(--spacing-md);
    }

    .product-card-minimal__image-wrapper {
        padding-top: 60%;
    }

    .product-card-minimal__badge {
        top: 8px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .product-card-minimal__badge--sale {
        left: 8px;
    }

    .product-card-minimal__badge--outofstock {
        right: 8px;
    }

    .product-card-minimal__quick-add {
        width: 40px;
        height: 40px;
    }

    .home-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .home-cta-section .cta-content {
        gap: var(--spacing-md);
    }

    .home-cta-section .cta-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .home-cta-section .cta-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .home-cta-section .cta-actions {
        gap: var(--spacing-sm);
    }

    .home-cta-section .cta-actions .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {

    /* Уменьшение логотипа в хэдере */
    .site-branding .custom-logo {
        max-height: 50px;
    }

    .site-logo img {
        max-height: 40px;
    }

    /* Ещё более компактные кнопки */
    .header-icon {
        width: 32px;
        height: 32px;
    }

    .header-icon svg {
        width: 16px;
        height: 16px;
    }

    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
        gap: 4px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
        top: -3px;
        right: -3px;
    }

    /* Стили для ссылок языков Gtranslate */
    .header-language-switcher .gtranslate_wrapper a.glink {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    /* Выделение текущего выбранного языка синим */
    .header-language-switcher .gtranslate_wrapper a.glink.gt-current-lang {
        background-color: var(--color-primary);
        color: white;
    }

    .header-language-switcher .gtranslate_wrapper a.glink.gt-current-lang:hover {
        background-color: var(--color-secondary);
        color: white;
    }

    .header-language-switcher .gt_selector a,
    .header-language-switcher .gt_selector span {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    /* Выделение текущего языка синим фоном */
    .header-language-switcher .gt_selector .gt_current_lang,
    .header-language-switcher .gt_selector .gt_current_lang a {
        background-color: var(--color-primary);
        color: white;
    }

    .header-language-switcher .gt_flag {
        width: 14px;
        height: 10px;
    }

    .header-language-switcher select.gt_selector {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }

    .header-icons {
        gap: 0.375rem;
    }

    /* Hero stats для маленьких экранов */
    .hero-stat-item {
        padding: var(--spacing-xs) var(--spacing-sm);
        min-width: 70px;
        flex: 1 1 calc(33.333% - var(--spacing-xs));
    }

    .hero-stat-number {
        font-size: 1.2rem;
        line-height: 1.1;
    }

    .hero-stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        letter-spacing: 0.3px;
    }

    /* Товары и услуги в 2 столбца */
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Уменьшение размеров карточек для компактности */
    .product-card-minimal {
        border-radius: 8px;
    }

    .product-card-minimal__image-wrapper {
        padding-top: 70%;
    }

    .product-card-minimal__content {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .product-card-minimal__title {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .product-card-minimal__price {
        font-size: 0.9rem;
    }

    .product-card-minimal__badge {
        top: 6px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }

    .product-card-minimal__quick-add {
        width: 36px;
        height: 36px;
    }

    .product-card-minimal__quick-add svg {
        width: 16px;
        height: 16px;
    }

    .service-card-modern {
        border-width: 1px;
        border-radius: 8px;
    }

    .service-image,
    .service-icon-wrapper {
        height: 120px;
    }

    .service-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .service-card-body {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .service-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .service-excerpt {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: var(--spacing-xs);
    }

    .service-features {
        gap: 0.25rem;
    }

    .service-feature-item {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .service-feature-item svg {
        width: 12px;
        height: 12px;
    }

    .service-card-footer {
        padding: var(--spacing-xs);
        gap: 0.375rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .service-link {
        font-size: 0.7rem;
        padding: 0.375rem 0.4rem;
        gap: 0.25rem;
        line-height: 1.3;
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: calc(100% - 36px);
    }

    /* Заменяем текст через псевдоэлемент для правильного переноса */
    .service-link span {
        position: relative;
        display: inline-block;
        font-size: 0;
        line-height: 0;
        color: transparent;
        width: auto;
        max-width: calc(100% - 20px);
    }

    .service-link span::before {
        content: 'Mai multe\A Detalii';
        white-space: pre;
        display: block;
        font-size: 0.7rem;
        line-height: 1.3;
        color: var(--color-primary);
        font-weight: 500;
    }

    .service-link:hover span::before {
        color: var(--color-secondary);
    }

    .service-link svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .service-call-btn {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .service-call-btn svg {
        width: 14px;
        height: 14px;
    }

    .service-price-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    /* Уменьшение отступов секций */
    .home-products-section,
    .home-services-section,
    .home-advantages-section {
        padding: var(--spacing-md) 0;
    }

    .section-header-center {
        margin-bottom: var(--spacing-md);
    }

    .section-header-center h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }

    .section-header-center p {
        font-size: 0.85rem;
    }

    /* Преимущества в 2 колонки */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .advantage-item {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
        flex-direction: column;
        text-align: center;
        border-width: 1px;
    }

    .advantage-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .advantage-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto;
    }

    .advantage-icon svg {
        width: 18px;
        height: 18px;
    }

    .advantage-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .advantage-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Страница услуг - адаптация */
    .services-page-modern .container {
        padding: 0 var(--spacing-xs);
    }

    .services-hero-modern {
        padding: var(--spacing-md) 0;
    }

    .services-hero-content .entry-title {
        font-size: 1.5rem;
    }

    .services-hero-content .hero-description {
        font-size: 0.9rem;
    }

    .services-category-title {
        font-size: 1.25rem;
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    /* Индикатор скролла для таблицы */
    .table-scroll-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(0, 102, 204, 0.15) 100%);
        z-index: 10;
        pointer-events: none;
        transition: opacity 0.3s ease;
        opacity: 1;
    }

    .table-scroll-indicator svg {
        color: var(--color-primary);
        filter: drop-shadow(0 0 2px white);
        animation: scrollBounce 1.5s ease-in-out infinite;
    }

    @keyframes scrollBounce {

        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(5px);
        }
    }

    .table-scroll-container.scrolled .table-scroll-indicator {
        opacity: 0;
    }

    .services-table-wrapper {
        margin-left: calc(-1 * var(--spacing-xs));
        margin-right: calc(-1 * var(--spacing-xs));
        border-radius: 0;
    }

    .services-table {
        font-size: 0.75rem;
        min-width: 600px;
    }

    .services-table th,
    .services-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .services-table th {
        font-size: 0.75rem;
    }

    .services-table .col-name {
        min-width: 140px;
        font-size: 0.75rem;
    }

    .services-table .col-power {
        min-width: 100px;
        font-size: 0.7rem;
    }

    .services-table .col-unit {
        min-width: 60px;
        font-size: 0.7rem;
    }

    .services-table .col-price {
        min-width: 80px;
        font-size: 0.75rem;
    }

    .services-info-section {
        padding: var(--spacing-lg) 0;
    }

    .services-info-grid {
        gap: var(--spacing-md);
    }

    .info-card {
        padding: var(--spacing-md);
    }

    .info-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--spacing-sm);
    }

    .info-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .info-card h3 {
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }

    .info-card p {
        font-size: 0.85rem;
    }

    .services-cta-section {
        padding: var(--spacing-lg) 0;
    }

    .services-cta-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-text h2 {
        font-size: 1.25rem;
    }

    .cta-text p {
        font-size: 0.9rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Страница магазина - убираем паддинги контейнера */
    .shop-page-modern .container,
    .shop-content-modern .container {
        padding: 0 var(--spacing-xs);
    }

    /* Shop Hero Section компактный */
    .shop-hero-modern {
        padding: var(--spacing-md) 0;
    }

    .shop-hero-text .entry-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xs);
    }

    .shop-hero-text .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* ============================================
   TERMS PAGE STYLES
   ============================================ */

/* Hero Section */
.terms-hero-modern {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00aaff 100%);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.terms-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.terms-hero-text {
    text-align: center;
}

.terms-hero-text .entry-title {
    font-size: 3rem;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-align: center;
}

.terms-hero-text .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.terms-meta {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.terms-meta .meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.terms-meta .meta-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Terms Content Section */
.terms-content-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.terms-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-border);
}

.terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.terms-section-header .section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--border-radius);
    color: white;
    flex-shrink: 0;
}

.terms-section-header h2 {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 0;
}

.terms-section-content {
    padding-left: calc(48px + var(--spacing-md));
}

.terms-section-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.terms-section-content p:last-child {
    margin-bottom: 0;
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.terms-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--color-primary);
    transition: var(--transition);
}

.terms-list-item:hover {
    background: rgba(0, 102, 204, 0.05);
    transform: translateX(5px);
}

.terms-list-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.terms-list-item span {
    color: var(--color-text);
    line-height: 1.6;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-3px);
}

.contact-info-item .info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--border-radius);
    color: white;
    flex-shrink: 0;
}

.contact-info-item .info-content {
    flex: 1;
}

.contact-info-item .info-content h4 {
    font-size: 1.125rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-info-item .info-content a {
    color: var(--color-primary);
    font-weight: 500;
    transition: var(--transition);
}

.contact-info-item .info-content a:hover {
    color: var(--color-secondary);
}

.contact-info-item .info-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Acceptance Section */
.terms-acceptance-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.terms-acceptance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.acceptance-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.acceptance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.acceptance-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
}

.acceptance-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .terms-hero-text .entry-title {
        font-size: 2.5rem;
    }

    .terms-section-content {
        padding-left: 0;
    }

    .terms-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .terms-hero-modern {
        padding: var(--spacing-xl) 0;
    }

    .terms-hero-text .entry-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .terms-hero-text .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
    }

    .terms-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .terms-content-section {
        padding: var(--spacing-xl) 0;
    }

    .terms-section {
        margin-bottom: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    .terms-section-header h2 {
        font-size: 1.75rem;
    }

    .terms-section-header .section-icon {
        width: 40px;
        height: 40px;
    }

    .terms-section-header .section-icon svg {
        width: 24px;
        height: 24px;
    }

    .terms-list {
        gap: var(--spacing-sm);
    }

    .terms-list-item {
        padding: var(--spacing-sm);
    }

    .contact-info-item {
        padding: var(--spacing-md);
    }

    .contact-info-item .info-icon {
        width: 40px;
        height: 40px;
    }

    .contact-info-item .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .terms-acceptance-section {
        padding: var(--spacing-xl) 0;
    }

    .acceptance-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-md);
    }

    .acceptance-icon svg {
        width: 32px;
        height: 32px;
    }

    .acceptance-content h2 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }

    .acceptance-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .terms-hero-modern {
        padding: var(--spacing-lg) 0;
    }

    .terms-hero-text .entry-title {
        font-size: 1.75rem;
    }

    .terms-hero-text .hero-description {
        font-size: 0.95rem;
    }

    .terms-content-section {
        padding: var(--spacing-lg) 0;
    }

    .terms-section {
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .terms-section-header h2 {
        font-size: 1.5rem;
    }

    .terms-section-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .terms-list-item {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .terms-list-item svg {
        margin-top: 0;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .acceptance-content h2 {
        font-size: 1.5rem;
    }

    .acceptance-content p {
        font-size: 0.95rem;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    flex: 1;
    min-width: 0;
    font-size: 0.7rem;
    line-height: 1.2;
}

.mobile-nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    transition: var(--transition);
}

.mobile-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--color-primary);
}

.mobile-nav-item.active svg {
    stroke-width: 2.5;
}

.mobile-nav-item:hover svg {
    transform: translateY(-2px);
}

.mobile-nav-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    background: var(--color-danger);
    color: white;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0 0.25rem;
    line-height: 1;
}

/* Добавляем отступ снизу для контента, чтобы он не перекрывался навигацией */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .site-footer {
        margin-bottom: 70px;
    }

    /* Поднимаем social-widget над мобильной навигацией */
    .social-widget {
        bottom: 90px;
        right: 15px;
        z-index: 999;
    }

    .social-links {
        bottom: 70px;
    }

    .social-toggle {
        width: 56px;
        height: 56px;
    }
}

/* Скрываем навигацию на больших экранах */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .site-footer {
        margin-bottom: 0 !important;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 400px) {
    .mobile-nav-item {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
    }

    .mobile-nav-item svg {
        width: 20px;
        height: 20px;
    }

    .mobile-nav-item span {
        font-size: 0.6rem;
    }

    .mobile-nav-badge {
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: 0.2rem;
        right: 0.4rem;
    }

    /* Дополнительная адаптация social-widget для маленьких экранов */
    .social-widget {
        bottom: 85px;
        right: 12px;
    }

    .social-toggle {
        width: 52px;
        height: 52px;
    }

    .social-links {
        bottom: 62px;
    }
}