/*
Theme Name: Silektra Modern
Theme URI: https://silektra.ru/
Author: Silektra Development
Author URI: https://silektra.ru/
Description: Современная тема для WordPress + WooCommerce для ООО ЭТЗ "СИЛЕКТРА" — поставщика запасных частей для трансформаторов, КРУ и электротехнического оборудования с 2003 года. Минималистичный дизайн в небесных тонах, оптимизировано для SEO.
Version: 2.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silektra
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks

Silektra Modern — Premium WordPress Theme for ElectroTechnical Equipment
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sky Blue Palette - Main */
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;
    --sky-950: #082f49;

    /* Accent Blue */
    --accent-50: #eff6ff;
    --accent-100: #dbeafe;
    --accent-200: #bfdbfe;
    --accent-300: #93c5fd;
    --accent-400: #60a5fa;
    --accent-500: #3b82f6;
    --accent-600: #2563eb;
    --accent-700: #1d4ed8;

    /* Neutral */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #020617;

    /* Functional */
    --white: #ffffff;
    --black: #000000;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-sky: 0 10px 40px -10px rgba(14, 165, 233, 0.3);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --container-max: 1280px;
    --container-narrow: 960px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--sky-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--sky-700);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--neutral-600);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: 80px 0;
}

.section--sm {
    padding: 48px 0;
}

.section--lg {
    padding: 120px 0;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--sky-600);
    border-color: var(--sky-300);
}

.btn--secondary:hover {
    background: var(--sky-50);
    color: var(--sky-700);
    border-color: var(--sky-400);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--sky-700);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    background: var(--sky-50);
    color: var(--sky-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: transparent;
    color: var(--neutral-600);
    padding: 10px 20px;
}

.btn--ghost:hover {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(186, 230, 253, 0.3);
    transition: all var(--transition-base);
    height: var(--header-height);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(186, 230, 253, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 32px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
}

.site-logo__name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--neutral-900);
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.site-logo__tagline {
    font-size: 0.6875rem;
    color: var(--sky-600);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link--active {
    color: var(--sky-600);
    background: var(--sky-50);
}

/* Убираем все стрелки в меню */
.main-nav__link .dropdown-arrow,
.main-nav__link::after,
.main-nav__dropdown .main-nav__item--has-children > .main-nav__link::after {
    display: none !important;
}

.main-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.main-nav__item--has-children:hover > .main-nav__dropdown,
.main-nav__item--has-children:focus-within > .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__dropdown .main-nav__item--has-children > .main-nav__dropdown {
    left: 100%;
    top: -8px;
    min-width: 220px;
}

.main-nav__dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav__dropdown-link:hover {
    background: var(--sky-50);
    color: var(--sky-700);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--neutral-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header-phone:hover {
    color: var(--sky-600);
}

.header-phone svg {
    width: 18px;
    height: 18px;
    color: var(--sky-500);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--neutral-700);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--transition-base);
    position: relative;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }

.mobile-toggle.active span {
    background: transparent;
}

.mobile-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--white) 30%, var(--accent-50) 70%, var(--sky-50) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--sky-50);
    border: 1px solid var(--sky-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sky-700);
    margin-bottom: 24px;
}

.hero__badge svg {
    width: 16px;
    height: 16px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero__title span {
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--accent-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--neutral-500);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--neutral-200);
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sky-600);
    line-height: 1;
    margin-bottom: 4px;
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    font-weight: 500;
}

/* Hero Visual */
.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-200) 100%);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.hero__floating-card--top {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero__floating-card--bottom {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero__floating-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sky-400) 0%, var(--sky-500) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.hero__floating-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.hero__floating-subtext {
    font-size: 0.6875rem;
    color: var(--neutral-500);
}

/* ============================================
   ADVANTAGES / FEATURES SECTION
   ============================================ */
.advantages {
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sky-600);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header__label::before,
.section-header__label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--sky-300);
}

.section-header__title {
    margin-bottom: 16px;
}

.section-header__description {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-400), var(--sky-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.advantage-card:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.advantage-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--sky-100) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--sky-600);
    transition: all var(--transition-base);
}

.advantage-card:hover .advantage-card__icon {
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    transform: scale(1.05);
}

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

.advantage-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--neutral-800);
}

.advantage-card__text {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   CATALOG / PRODUCTS SECTION
   ============================================ */
.catalog {
    background: linear-gradient(180deg, var(--neutral-50) 0%, var(--white) 100%);
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.catalog-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--sky-100) 100%);
}

.catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.catalog-card:hover .catalog-card__image img {
    transform: scale(1.05);
}

.catalog-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--sky-500);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sky-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.catalog-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 10px;
    line-height: 1.3;
}

.catalog-card__title a {
    color: inherit;
    text-decoration: none;
}

.catalog-card__title a:hover {
    color: var(--sky-600);
}

.catalog-card__excerpt {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.catalog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--neutral-100);
}

.catalog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sky-600);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.catalog-card__link:hover {
    gap: 10px;
    color: var(--sky-700);
}

.catalog-card__link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-wrapper img {
    width: 100%;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--sky-200) 0%, var(--sky-300) 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sky-600);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.about__title {
    margin-bottom: 20px;
}

.about__text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 36px;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--sky-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--sky-100);
}

.about__feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--sky-400) 0%, var(--sky-500) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

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

.about__feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    line-height: 1.4;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-800) 50%, var(--sky-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.cta__title {
    color: var(--white);
    margin-bottom: 16px;
}

.cta__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cta__info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.cta__info-item svg {
    width: 20px;
    height: 20px;
    color: var(--sky-300);
}

/* ============================================
   CONTACTS SECTION
   ============================================ */
.contacts {
    background: var(--neutral-50);
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
}

.contact-item:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-md);
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    background: var(--sky-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-600);
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 22px;
    height: 22px;
}

.contact-item__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.5;
}

.contact-item__value a {
    color: inherit;
}

.contact-item__value a:hover {
    color: var(--sky-600);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--neutral-100);
    box-shadow: var(--shadow-md);
}

.contact-form__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.contact-form__subtitle {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sky-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding-top: 64px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sky-400) 0%, var(--sky-600) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
}

.footer__logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.footer__description {
    font-size: 0.875rem;
    color: var(--neutral-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 8px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--sky-600);
    color: var(--white);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--neutral-400);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer__link:hover {
    color: var(--sky-400);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__contact-icon {
    width: 18px;
    height: 18px;
    color: var(--sky-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact-text {
    font-size: 0.875rem;
    color: var(--neutral-400);
    line-height: 1.6;
}

.footer__contact-text a {
    color: var(--neutral-300);
}

.footer__contact-text a:hover {
    color: var(--sky-400);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-link {
    color: var(--neutral-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
    color: var(--sky-400);
}

/* ============================================
   WOOCOMMERCE STYLES
   ============================================ */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 0;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 20px 8px;
    color: var(--neutral-800);
}

.woocommerce ul.products li.product .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sky-600);
    padding: 0 20px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    display: block;
    margin: 16px 20px 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    border: none;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
    color: var(--white);
}

.woocommerce div.product {
    padding: 40px 0;
}

.woocommerce div.product div.images {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce div.product div.summary {
    padding-left: 24px;
}

.woocommerce div.product .product_title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

.woocommerce div.product p.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sky-600);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.woocommerce div.product form.cart {
    margin-top: 24px;
}

.woocommerce div.product form.cart .button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-base);
}

.woocommerce div.product form.cart .button:hover {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.woocommerce .woocommerce-breadcrumb {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 24px;
    padding: 16px 0;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--sky-600);
}

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    padding: 40px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--neutral-700);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-fast);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--sky-500);
    color: var(--white);
    border-color: var(--sky-500);
}

/* WooCommerce Sidebar */
.woocommerce .widget_product_categories ul {
    list-style: none;
    padding: 0;
}

.woocommerce .widget_product_categories ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--neutral-100);
}

.woocommerce .widget_product_categories ul li a {
    color: var(--neutral-700);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.woocommerce .widget_product_categories ul li a:hover {
    color: var(--sky-600);
}

/* WooCommerce Notice */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.woocommerce-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.woocommerce-info {
    background: var(--sky-50);
    border: 1px solid var(--sky-200);
    color: var(--sky-800);
}

.woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* WooCommerce Cart */
.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart table.cart th {
    padding: 12px 16px;
    background: var(--neutral-50);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-600);
    border-bottom: 2px solid var(--neutral-200);
}

.woocommerce-cart table.cart td {
    padding: 16px;
    border-bottom: 1px solid var(--neutral-100);
    vertical-align: middle;
}

.woocommerce-cart .button,
.woocommerce-checkout .button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    transition: all var(--transition-base);
}

.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
}

/* WooCommerce Checkout */
.woocommerce-checkout #payment {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--neutral-200);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--accent-50) 100%);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-header__breadcrumb {
    font-size: 0.875rem;
    color: var(--neutral-500);
    position: relative;
    z-index: 1;
}

.page-header__breadcrumb a {
    color: var(--sky-600);
}

/* Content Layout */
.content-area {
    padding: 60px 0;
}

.content-area--with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.sidebar-widget__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sky-100);
    color: var(--neutral-800);
}

/* Single Product */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0;
}

.product-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--neutral-50);
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-info__category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sky-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-info__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-info__description {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ============================================
   PREMIUM SINGLE PRODUCT PAGE
   ============================================ */
.product-hero {
    gap: 60px;
    align-items: flex-start;
}

.product-gallery {
    box-shadow: var(--shadow-lg);
}

.product-info .product_title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.product-info .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sky-600);
    margin-bottom: 20px;
}

.product-info .woocommerce-product-details__short-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-600);
    margin-bottom: 24px;
}

.product-info .product_meta {
    font-size: 0.875rem;
    color: var(--neutral-500);
    padding-top: 16px;
    border-top: 1px solid var(--neutral-200);
    margin-top: 16px;
}

.product-info .product_meta span {
    display: inline-block;
    margin-right: 8px;
}

.product-description-full {
    max-width: 100%;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--neutral-100);
}

.product-description-full h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 20px;
}

.product-description-full .entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

.product-description-full .entry-content p:last-child {
    margin-bottom: 0;
}

/* Кнопка "Связаться с нами" */
.product-contact-wrapper {
    margin-top: 30px;
}

.product-contact-wrapper .btn {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.product-contact-wrapper .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

/* Миниатюры галереи */
.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
    flex-direction: row !important;
}

.flex-control-nav.flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.flex-control-nav.flex-control-thumbs li img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all var(--transition-fast) !important;
}

.flex-control-nav.flex-control-thumbs li img:hover {
    border-color: var(--sky-300);
}

.flex-control-nav.flex-control-thumbs li img.flex-active {
    border-color: var(--sky-500) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* ============================================
   МОДАЛЬНОЕ ОКНО
   ============================================ */
.product-contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.product-contact-modal.active {
    display: flex;
}

.product-contact-modal .modal-content {
    background: var(--white);
    max-width: 480px;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    margin: 20px;
    animation: modalIn 0.3s ease;
}

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

.product-contact-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--neutral-400);
    transition: color var(--transition-fast);
    line-height: 1;
}

.product-contact-modal .modal-close:hover {
    color: var(--neutral-800);
}

.product-contact-modal .modal-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-contact-modal .modal-subtitle {
    color: var(--neutral-500);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

/* ============================================
   СТРАНИЦА МАГАЗИНА – КАТЕГОРИИ
   ============================================ */
.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.shop-category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.shop-category-card:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.shop-category-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--sky-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.shop-category-card:hover .shop-category-card__image img {
    transform: scale(1.05);
}

.shop-category-card__image--placeholder {
    color: var(--sky-300);
}

.shop-category-card__body {
    padding: 20px 24px 24px;
    text-align: center;
}

.shop-category-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 4px;
}

.shop-category-card__count {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    display: block;
    margin-bottom: 12px;
}

.shop-category-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sky-600);
    transition: all var(--transition-fast);
}

.shop-category-card:hover .shop-category-card__link {
    color: var(--sky-700);
}

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

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

/* ============================================
   НАВИГАЦИЯ ПО ПОДКАТЕГОРИЯМ
   ============================================ */
.subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-200);
}

.subcategory-nav__link {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-600);
    background: var(--neutral-50);
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.subcategory-nav__link:hover {
    color: var(--sky-600);
    background: var(--sky-50);
    border-color: var(--sky-200);
}

.subcategory-nav__link--active {
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    border-color: var(--sky-500);
}

.subcategory-nav__link--active:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
    border-color: var(--sky-600);
}

/* ============================================
   ОПИСАНИЕ КАТЕГОРИИ
   ============================================ */
.category-description {
    margin-bottom: 40px;
    max-width: 800px;
}

.category-description p {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
}

/* ============================================
   СТРАНИЦА КАТАЛОГА
   ============================================ */
.shop-content .woocommerce-products-header {
    display: none;
}

.shop-content .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

.shop-content .woocommerce-result-count {
    display: none;
}

.shop-content .woocommerce-ordering {
    display: none;
}

.shop-content ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-content ul.products li.product {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

.shop-content ul.products li.product:hover {
    border-color: var(--sky-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.shop-content ul.products li.product a img {
    margin: 0;
    border-radius: 0;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.shop-content ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 20px 8px;
    color: var(--neutral-800);
}

.shop-content ul.products li.product .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sky-600);
    padding: 0 20px;
}

.shop-content ul.products li.product .button,
.shop-content ul.products li.product .add_to_cart_button {
    display: block;
    margin: 16px 20px 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    border: none;
}

.shop-content ul.products li.product .button:hover,
.shop-content ul.products li.product .add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 100%);
    color: var(--white);
}

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

@media (max-width: 768px) {
    .shop-content ul.products {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   УБИРАЕМ ТАБЫ
   ============================================ */
.woocommerce-tabs.wc-tabs-wrapper {
    display: none !important;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-600) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 500ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 600ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 700ms; }
.stagger.visible > *:nth-child(9) { transition-delay: 800ms; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__visual {
        order: -1;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

    .content-area--with-sidebar {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        max-width: 600px;
        margin: 0 auto;
    }

    .product-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 48px 0;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav__link {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--neutral-100);
    }

    .main-nav__dropdown {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
    }

    .main-nav__dropdown .main-nav__dropdown {
        padding-left: 16px;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-phone {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__floating-card {
        display: none;
    }

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

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

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta__info {
        flex-direction: column;
        gap: 16px;
    }

    .cta__actions {
        flex-direction: column;
    }

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

    .product-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        max-width: 100%;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 100px 0 40px;
    }

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

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

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero__stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hero__stat-number {
        font-size: 1.25rem;
    }

    .product-contact-modal .modal-content {
        padding: 24px;
        margin: 12px;
    }

    .flex-control-nav.flex-control-thumbs li img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .scroll-top,
    .mobile-toggle {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ============================================
   УБИРАЕМ ТОЧКИ В ГЛАВНОМ МЕНЮ
   ============================================ */
.main-nav__list,
.main-nav__dropdown {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-nav__list li,
.main-nav__dropdown li {
    list-style: none !important;
}

/* ============================================
   ИСПРАВЛЯЕМ СТИЛИ ПАГИНАЦИИ
   ============================================ */
.woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-pagination ul li {
    list-style: none !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--neutral-700);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.woocommerce-pagination ul li a:hover {
    background: var(--sky-500);
    color: var(--white);
    border-color: var(--sky-500);
}

.woocommerce-pagination ul li span.current {
    background: var(--sky-500);
    color: var(--white);
    border-color: var(--sky-500);
}

/* ============================================
   ОПИСАНИЕ ТОВАРА (ПОЛНАЯ ШИРИНА)
   ============================================ */
.product-description-full {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--neutral-100);
    clear: both;
}

.product-description-full p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

.product-description-full p:last-child {
    margin-bottom: 0;
}

/* ============================================
   СТРАНИЦА КОНТАКТЫ (ВСТАВЛЯЕМЫЙ БЛОК)
   ============================================ */
.contacts-page-wrapper {
    margin-top: 20px;
}

.contacts-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contacts-page-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 768px) {
    .contacts-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   КАТАЛОГ С САЙДБАРОМ – КОМПАКТНЫЙ
   ============================================ */
.catalog-with-sidebar {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    margin-top: 20px;
}

.catalog-sidebar {
    background: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 16px 12px;
    align-self: start;
}

.catalog-sidebar__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sky-100);
}

.catalog-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-sidebar__item {
    margin-bottom: 1px;
}

.catalog-sidebar__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px 4px 12px;
    font-size: 0.85rem;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

/* ГЛАВНЫЕ КАТЕГОРИИ – жирнее */
.catalog-sidebar__list > .catalog-sidebar__item > .catalog-sidebar__link {
    font-weight: 600;
    font-size: 0.88rem;
}

.catalog-sidebar__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: transparent;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.catalog-sidebar__link:hover::before,
.catalog-sidebar__item--active > .catalog-sidebar__link::before {
    background: var(--sky-500);
}

.catalog-sidebar__link:hover {
    background: var(--sky-50);
    color: var(--sky-600);
    padding-left: 16px;
}

.catalog-sidebar__item--active > .catalog-sidebar__link {
    background: var(--sky-50);
    color: var(--sky-600);
    font-weight: 600;
    padding-left: 16px;
}

.catalog-sidebar__count {
    font-size: 0.65rem;
    color: var(--neutral-400);
    background: var(--neutral-50);
    padding: 0 6px;
    border-radius: 20px;
    transition: all var(--transition-fast);
    white-space: nowrap;
    line-height: 1.6;
}

.catalog-sidebar__item--active .catalog-sidebar__count,
.catalog-sidebar__link:hover .catalog-sidebar__count {
    background: var(--sky-100);
    color: var(--sky-600);
}

/* Дочерние категории */
.catalog-sidebar__sublist {
    list-style: none;
    padding-left: 14px;
    margin: 0 0 1px 0;
}

.catalog-sidebar__sublist .catalog-sidebar__link {
    font-weight: 400;
    font-size: 0.8rem;
    padding: 3px 8px 3px 12px;
}

.catalog-sidebar__sublist .catalog-sidebar__link::before {
    width: 2px;
    height: 50%;
    top: 25%;
}

.catalog-sidebar__sublist .catalog-sidebar__item {
    border-bottom: none;
}

/* Товары в основной области */
.catalog-products {
    min-height: 300px;
}

.catalog-products__header {
    margin-bottom: 24px;
}

.catalog-products__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 8px;
}

.catalog-products__description {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* КОМПАКТНЫЕ ТОВАРЫ (3 в ряд) */
.products--compact {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}

.products--compact .product {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.products--compact .product a img {
    aspect-ratio: 4/3 !important;
    object-fit: cover;
}

.products--compact .product .woocommerce-loop-product__title {
    font-size: 0.9rem !important;
    padding: 10px 12px 4px !important;
    line-height: 1.3;
}

.products--compact .product .price {
    font-size: 0.95rem !important;
    padding: 0 12px !important;
}

.products--compact .product .button,
.products--compact .product .add_to_cart_button {
    margin: 8px 12px 12px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
}

/* ============================================
   БЛОК ПОСЛЕ ПАГИНАЦИИ
   ============================================ */
.cta-after-products {
    margin-top: 30px;
    padding: 105px 20px;
    height: 50px;
    background: linear-gradient(135deg, var(--sky-50) 0%, var(--sky-100) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--sky-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-after-products a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

/* Адаптив */
@media (max-width: 1024px) {
    .catalog-with-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .catalog-sidebar {
        order: 2;
        padding: 16px;
    }
    .catalog-products {
        order: 1;
    }
    .products--compact {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .catalog-with-sidebar {
        display: flex;
        flex-direction: column;
    }
    .catalog-sidebar {
        order: 1;
        margin-bottom: 30px;
        padding: 14px;
    }
    .catalog-products {
        order: 2;
    }
    .catalog-sidebar__link {
        padding: 4px 6px 4px 10px;
        font-size: 0.8rem;
    }
    .catalog-sidebar__sublist .catalog-sidebar__link {
        padding: 3px 6px 3px 10px;
    }
    .products--compact {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ============================================
   ИСПРАВЛЕНИЕ СТРАНИЦЫ КОНТАКТЫ
   ============================================ */

/* Расширяем контейнер на странице контактов */
.page-id-1115 .container--narrow,
.page-template-default .container--narrow {
    max-width: 100% !important;
    padding-left: 24px;
    padding-right: 24px;
}

/* Убедимся, что блоки не разваливаются */
.contacts-page-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.contacts-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contacts-page-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Форма занимает всю ширину своей колонки */
.contact-form {
    width: 100%;
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 1024px) {
    .contacts-page-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .contacts-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .page-id-1115 .container--narrow,
    .page-template-default .container--narrow {
        padding-left: 16px;
        padding-right: 16px;
    }
}