/*
Theme Name: Alagen
Description: Корпоративный сайт-каталог для компании Alagen
Template: twentytwentyfive
Version: 1.0.0
Author: Alagen
Text Domain: alagen
*/

/* --- System & Layout Defaults --- */
html, body {
    margin-top: 0 !important;
}

::selection {
    background: #7a8d84;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1F1D;
}

::-webkit-scrollbar-thumb {
    background: rgba(122, 141, 132, 0.4);
    border-radius: 6px;
    border: 2px solid #1A1F1D;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(122, 141, 132, 0.8);
}

/* --- Premium Header Design --- */
/* Fix white gap above hero section caused by WP block gap */
.wp-site-blocks {
    padding-top: 0 !important;
    margin-top: 0 !important;
    gap: 0 !important;
}

.wp-site-blocks > .wp-block-template-part + .wp-block-cover.alignfull,
.wp-site-blocks > .wp-block-template-part + .wp-block-group,
.wp-site-blocks > main + .wp-block-template-part,
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > * {
    margin-top: 0 !important;
}

.premium-site-header {
    position: fixed;
    top: 0.5rem;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.premium-header-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(241, 243, 242, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50px !important;
    padding: 10px 14px 10px 24px !important;
    box-shadow: 0 10px 30px rgba(26, 31, 29, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    max-width: 1210px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.premium-site-header .wp-block-navigation-item a,
.premium-site-header .wp-block-navigation a,
.premium-site-header .wp-block-site-title a,
.premium-site-header .header-nav-link {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.premium-site-header .wp-block-navigation-item a:hover,
.premium-site-header .header-nav-link:hover {
    color: #7a8d84 !important;
}

/* Enhanced Logo Area */
.premium-site-header .wp-block-site-logo {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.premium-site-header .wp-block-site-logo:hover {
    transform: scale(1.03);
}

.premium-site-header.is-scrolled .premium-header-inner {
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.08) !important;
}
}

/* Hide desktop nav and CTA on mobile — hamburger menu takes over */
@media (max-width: 768px) {
    .header-nav {
        display: none !important;
    }
    .premium-header-inner > .premium-cta-btn {
        display: none !important;
    }
    .premium-header-inner {
        justify-content: space-between;
    }
}

/* Custom Header Layout Override:
   Keep Logo and Navigation close, push Button to the right without altering HTML */
@media (min-width: 1024px) {
    .premium-header-inner {
        justify-content: flex-start !important;
        column-gap: 4rem !important;
    }

    .premium-header-inner>.wp-block-buttons {
        margin-left: auto !important;
    }
}

/* Adjust vertical logo size to maintain readability */
.premium-header-inner .logo-group img,
.premium-header-inner .header-logo {
    max-height: 58px !important;
    width: auto !important;

}

/* Typography & Colors */
.logo-group {
    cursor: pointer;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.logo-group:hover {
    opacity: 0.8;
}

.logo-group a {
    display: flex;
    align-items: center;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.premium-site-header.is-scrolled .header-nav-link {
    color: #1e293b !important;
}

.premium-site-header.is-scrolled .header-nav-link:hover {
    color: #7a8d84 !important;
}

/* Submenu */
.header-nav-submenu {
    position: relative;
}

.header-nav-link--parent {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-submenu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 15px;
    z-index: 100;
}

.header-nav-submenu:hover .header-submenu-dropdown {
    display: block;
}

.header-submenu-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
}

.header-submenu-dropdown a {
    display: block;
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1A1F1D;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.header-submenu-dropdown a:first-child {
    background: rgba(241, 243, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(122, 141, 132, 0.2);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(26, 31, 29, 0.1);
}

/* Apply glass container to entire dropdown, not just first child */
.header-submenu-dropdown {
    background: rgba(241, 243, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(122, 141, 132, 0.2);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(26, 31, 29, 0.1);
}

.header-submenu-dropdown a:first-child {
    background: none;
    backdrop-filter: none;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: none;
}

.header-submenu-dropdown a:hover {
    background: rgba(122, 141, 132, 0.1) !important;
    color: #3E4F49 !important;
}

/* Search styling improvements */
.wp-block-search__input {
    background: #ffffff !important;
    border: 1px solid rgba(62, 79, 73, 0.1) !important;
    padding: 12px 20px !important;
    color: #1A1F1D !important;
}

.wp-block-search__button {
    background-color: #3E4F49 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.wp-block-search__button:hover {
    background-color: #7a8d84 !important;
    transform: translateY(-1px);
}

/* Push CTA button to the right in header */
.premium-header-inner > .premium-cta-btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* Header phone CTA button */
.premium-cta-btn-wrapper {
    margin: 0 !important;
}

.premium-cta-btn {
    background: linear-gradient(135deg, #7a8d84 0%, #4d5c55 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(26, 31, 29, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(122, 141, 132, 0.3) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 10px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px !important;
}

.premium-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 141, 132, 0.35) !important;
    filter: brightness(1.1);
    color: #ffffff !important;
}

/* Catalog Section */
.catalog-section {
    position: relative;
    overflow: hidden;
}

.catalog-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.catalog-decor--1 {
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}

.catalog-decor--2 {
    bottom: 0;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
}

/* Glass Catalog Cards */
.glass-catalog-card {
    background: rgba(122, 141, 132, 0.05) !important;
    /* Subtle Brand Sage Tint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
    position: relative;
    border-radius: 40px !important;
    z-index: 1;
}

.glass-catalog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.glass-catalog-card:hover {
    transform: translateY(-12px) scale(1.01);
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(122, 141, 132, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(122, 141, 132, 0.15) !important;
}

.glass-catalog-card:hover::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(122, 141, 132, 0.8) 0%, transparent 100%);
}

.glass-catalog-card svg {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.glass-catalog-card:hover svg {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(122, 141, 132, 0.6));
}

.glass-catalog-card .wp-block-button__link {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

/* Outline buttons on dark background — make visible */
.glass-catalog-card .wp-block-button.is-style-outline .wp-block-button__link {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
}

.glass-catalog-card .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #7a8d84 !important;
    border-color: #7a8d84 !important;
    color: #ffffff !important;
}

.glass-catalog-card:hover .wp-block-button__link {
    background: #7a8d84 !important;
    color: #ffffff !important;
    border-color: #7a8d84 !important;
    box-shadow: 0 10px 25px rgba(122, 141, 132, 0.4) !important;
    transform: translateY(-2px);
}


/* Glass Hero Card */
.glass-hero-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 32px !important;
}

/* Stats Section */
.stats-section {
    height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Ensure post-content wrapper doesn't clip the stats overlay */
.wp-block-post-content,
.entry-content,
.wp-site-blocks {
    overflow: visible !important;
}

.stats-section-wrap {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    box-sizing: border-box;
    transform: translateY(-50%);
}

.stats-columns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(11, 28, 58, 0.1);
}

.stats-col {
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-col:hover {
    transform: translateY(-4px) scale(1.05);
}

.stats-col h3 {
    color: #1e293b;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stats-col:hover h3 {
    color: #0ea5e9 !important;
    text-shadow: 0 5px 15px rgba(14, 165, 233, 0.2);
}

.stats-col p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

/* --- Modern B2B Redesign (Sage Branding) --- */
.product-grid-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(30, 41, 59, 0.1) !important;
    border-color: #7a8d84 !important;
    /* Sage Green Border */
}

.product-card-image-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #445650 0%, #1e293b 100%);
    /* Brighter Brand Slate-Sage Gradient */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-grid-card h3 a {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    text-decoration: none !important;
}

.product-grid-card h3 a:hover {
    color: #3E4F49 !important;
}

.b2b-cta-button {
    background: #3E4F49 !important;
    /* Deep Sage-Slate */
    color: #F1F3F2 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    display: inline-block !important;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    border: none !important;
    box-shadow: 0 4px 14px rgba(62, 79, 73, 0.2);
}

.b2b-cta-button:hover {
    background: #1A1F1D !important;
    box-shadow: 0 6px 20px rgba(26, 31, 29, 0.3);
    transform: translateY(-2px);
}

.catalog-search-bar {
    background: #F1F3F2;
    border: 1px solid #D1D5DB;
    padding: 12px 20px;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.product-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(122, 141, 132, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 141, 132, 0.3);
    color: #4a5a54;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.catalog-hero-header {
    background: #3E4F49 !important;
    /* Deep Sage Background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10rem !important;
    padding-bottom: 5rem !important;
}

.catalog-hero-header h1 {
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin: 0 !important;
}

/* Фикс для наложения фиксированной шапки на контент */
body .wp-site-blocks>main {
    padding-top: 0 !important;
}


/* Ensure images in grid are consistent */
.product-grid-card .wp-block-post-featured-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-grid-card:hover .wp-block-post-featured-image img {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════ */
/* СТРАНИЦА КАТЕГОРИИ: HERO СЕКЦИЯ                               */
/* ═══════════════════════════════════════════════════════════════ */
.category-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0d2438 100%) !important;
    border-bottom: 1px solid rgba(122, 141, 132, 0.15);
}

/* Хлебные крошки */
.category-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #7a8d84;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

.breadcrumb-current {
    color: #7a8d84;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Заголовок категории */
.category-hero-section h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
}

/* Атрибут term-description */
.category-hero-section .wp-block-term-description p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ДВУХКОЛОНОЧНЫЙ МАКЕТ: САЙДБАР + ПРОДУКТЫ                     */
/* ═══════════════════════════════════════════════════════════════ */
.category-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .category-page-layout {
        grid-template-columns: 240px 1fr;
        gap: 1.5rem;
    }
}

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

    .category-sidebar {
        order: 2;
    }

    .category-products-area {
        order: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ЛЕВЫЙ САЙДБАР                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
    /* ниже фиксированной шапки */
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(11, 28, 58, 0.04);
}

.sidebar-widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Поиск в сайдбаре */
.sidebar-search-widget {
    padding: 1rem;
}

.sidebar-search-inner {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f8fafc;
}

.sidebar-search-inner:focus-within {
    border-color: #7a8d84;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, 0.12);
    background: #ffffff;
}

.sidebar-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #1e293b;
    outline: none;
    font-family: inherit;
}

.sidebar-search-input::placeholder {
    color: #94a3b8;
}

.sidebar-search-btn {
    background: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #7a8d84;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.sidebar-search-btn:hover {
    color: #3E4F49;
}

/* Навигация по категориям */
.sidebar-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
}

.sidebar-cat-link:hover {
    background: rgba(122, 141, 132, 0.08);
    color: #3E4F49;
    border-color: rgba(122, 141, 132, 0.2);
    transform: translateX(3px);
}

.sidebar-cat-link.active {
    background: linear-gradient(135deg, rgba(122, 141, 132, 0.12) 0%, rgba(62, 79, 73, 0.08) 100%);
    color: #1A1F1D;
    font-weight: 700;
    border-color: rgba(122, 141, 132, 0.35);
}

.sidebar-cat-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #7a8d84;
    border-radius: 0 3px 3px 0;
}

.cat-icon {
    width: 32px;
    height: 32px;
    background: rgba(122, 141, 132, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sidebar-cat-link:hover .cat-icon,
.sidebar-cat-link.active .cat-icon {
    background: rgba(122, 141, 132, 0.2);
    color: #3E4F49;
}

.cat-text {
    flex: 1;
    line-height: 1.3;
}

.cat-arrow {
    color: #cbd5e1;
    font-size: 1rem;
    transition: color 0.2s, transform 0.2s;
}

.sidebar-cat-link:hover .cat-arrow,
.sidebar-cat-link.active .cat-arrow {
    color: #7a8d84;
    transform: translateX(2px);
}

/* CTA виджет в сайдбаре */
.sidebar-cta-widget {
    background: linear-gradient(135deg, #3E4F49 0%, #1A1F1D 100%) !important;
    border-color: rgba(122, 141, 132, 0.3) !important;
    padding: 1.75rem 1.5rem !important;
}

.sidebar-cta-inner {
    text-align: center;
}

.sidebar-cta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sidebar-cta-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════ */
/* ПРАВАЯ ОБЛАСТЬ: ТОВАРЫ                                        */
/* ═══════════════════════════════════════════════════════════════ */
.category-products-area {
    min-width: 0;
    /* Важно для grid */
}

/* Тулбар над сеткой */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(11, 28, 58, 0.03);
}

.toolbar-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.toolbar-all-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: #7a8d84;
    text-decoration: none;
    transition: color 0.2s ease;
}

.toolbar-all-link:hover {
    color: #3E4F49;
}

/* Обёртка query */
.category-query-wrapper .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
}

@media (max-width: 1180px) {
    .category-query-wrapper .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .category-query-wrapper .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

/* Карточка продукта (улучшенная для категории) */
.category-products-area .product-grid-card {
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 2px 10px rgba(11, 28, 58, 0.04) !important;
}

.category-products-area .product-grid-card:hover {
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.1) !important;
    border-color: rgba(122, 141, 132, 0.4) !important;
}

/* Термины (категория) над заголовком */
.category-products-area .wp-block-post-terms {
    display: block;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7a8d84 !important;
    margin-bottom: 0.4rem;
}

.category-products-area .wp-block-post-terms a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Заголовок карточки */
.category-products-area .product-grid-card h3 a {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
}

/* Fallback изображение (скрыть если есть реальное) */
.wp-block-post-featured-image+.product-card-fallback-img {
    display: none !important;
}

.product-card-btn {
    font-size: 0.82rem !important;
    padding: 10px 18px !important;
}

/* Пагинация — кастомный стиль */
.category-query-wrapper .wp-block-query-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.category-query-wrapper .wp-block-query-pagination-numbers a,
.category-query-wrapper .wp-block-query-pagination-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-query-wrapper .wp-block-query-pagination-numbers a {
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.category-query-wrapper .wp-block-query-pagination-numbers a:hover {
    background: #7a8d84;
    color: #ffffff;
    border-color: #7a8d84;
}

.category-query-wrapper .wp-block-query-pagination-numbers span.current {
    background: #3E4F49;
    color: #ffffff;
    border: 1px solid #3E4F49;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FSE ШАБЛОН КАТЕГОРИИ: taxonomy-product-category.html (tax-)   */
/* ═══════════════════════════════════════════════════════════════ */
.tax-page-layout {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .tax-page-layout {
        grid-template-columns: 1fr;
    }
}

/* Сайдбар */
.tax-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: sticky;
    top: 92px;
}

.tax-widget {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(11, 28, 58, .04);
}

.tax-widget--search {
    padding: 0.9rem;
}

.tax-search-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.tax-search-wrap:focus-within {
    border-color: #7a8d84;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, .12);
    background: #fff;
}

.tax-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: .87rem;
    color: #1e293b;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.tax-search-input::placeholder {
    color: #94a3b8;
}

.tax-search-btn {
    background: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #7a8d84;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.tax-search-btn:hover {
    color: #3E4F49;
}

/* Widget title */
.tax-widget-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #475569;
    margin: 0 0 1rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Навигация */
.tax-cat-nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.tax-cat-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: .84rem;
    font-weight: 500;
    transition: all .2s ease;
    border: 1px solid transparent;
    position: relative;
}

.tax-cat-link:hover {
    background: rgba(122, 141, 132, .08);
    color: #3E4F49;
    border-color: rgba(122, 141, 132, .2);
    transform: translateX(3px);
}

.tax-cat-link.active {
    background: linear-gradient(135deg, rgba(122, 141, 132, .13), rgba(62, 79, 73, .07));
    color: #1A1F1D;
    font-weight: 700;
    border-color: rgba(122, 141, 132, .35);
}

.tax-cat-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: #7a8d84;
    border-radius: 0 3px 3px 0;
}

.tax-cat-icon {
    width: 28px;
    height: 28px;
    background: rgba(122, 141, 132, .1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.tax-cat-link:hover .tax-cat-icon,
.tax-cat-link.active .tax-cat-icon {
    background: rgba(122, 141, 132, .2);
    color: #3E4F49;
}

.tax-cat-arr {
    color: #cbd5e1;
    margin-left: auto;
    font-size: 1rem;
    transition: color .2s, transform .2s;
}

.tax-cat-link:hover .tax-cat-arr,
.tax-cat-link.active .tax-cat-arr {
    color: #7a8d84;
    transform: translateX(2px);
}

/* CTA */
.tax-widget--cta {
    background: linear-gradient(135deg, #3E4F49 0%, #1A1F1D 100%) !important;
    border-color: rgba(122, 141, 132, .3) !important;
    padding: 1.5rem 1.4rem !important;
    text-align: center;
}

.tax-cta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 50px;
    padding: 9px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.tax-cta-btn:hover {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-2px);
    color: #fff;
}

/* Coluna produktov */
.tax-products-col {
    min-width: 0;
}

/* Query wrapper */
.tax-query-wrap {
    width: 100%;
}

/* Toolbar */
.tax-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: .8rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(11, 28, 58, .03);
}

.tax-toolbar-label {
    font-size: .75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tax-toolbar-all {
    font-size: .8rem;
    font-weight: 600;
    color: #7a8d84;
    text-decoration: none;
    transition: color .2s;
}

.tax-toolbar-all:hover {
    color: #3E4F49;
}

/* Карточка продукта */
.tax-product-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        box-shadow .35s cubic-bezier(.4, 0, .2, 1),
        border-color .25s;
    box-shadow: 0 2px 8px rgba(11, 28, 58, .04);
}

.tax-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(30, 41, 59, .1);
    border-color: rgba(122, 141, 132, .4);
}

/* Placeholder вместо изображения */
.tax-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #3E4F49 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Реальное изображение */
.tax-product-card .wp-block-post-featured-image {
    flex-shrink: 0;
}

.tax-product-card .wp-block-post-featured-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.tax-product-card:hover .wp-block-post-featured-image img {
    transform: scale(1.06);
}

/* Тело карточки */
.tax-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tax-product-card .wp-block-post-terms {
    font-size: .68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #7a8d84 !important;
}

.tax-product-card .wp-block-post-terms a {
    color: inherit !important;
    text-decoration: none !important;
}

.tax-product-card h3 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.tax-product-card h3 a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color .2s;
}

.tax-product-card h3 a:hover {
    color: #3E4F49 !important;
}

.tax-product-card .wp-block-post-excerpt p {
    font-size: .84rem !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.tax-product-card .wp-block-read-more {
    display: inline-block;
    margin-top: auto;
    background: #3E4F49;
    color: #F1F3F2 !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none !important;
    text-align: center;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 12px rgba(62, 79, 73, .18);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.tax-product-card .wp-block-read-more:hover {
    background: #1A1F1D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 31, 29, .28);
    color: #fff !important;
}

/* Сетка post-template */
.tax-query-wrap .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.2rem !important;
}

@media (max-width: 1100px) {
    .tax-query-wrap .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .tax-query-wrap .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* PHP-ШАБЛОН КАТЕГОРИИ: taxonomy-product_category.php           */
/* ═══════════════════════════════════════════════════════════════ */


/* Общий макет */
.cat-page-main {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* ─── HERO ─── */
.cat-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0d2438 100%);
    padding: 8.5rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(122, 141, 132, 0.15);
}

.cat-hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cat-hero-decor--1 {
    top: -15%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(122, 141, 132, 0.12) 0%, transparent 65%);
}

.cat-hero-decor--2 {
    bottom: -30%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, transparent 60%);
}

.cat-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Хлебные крошки */
.cat-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.cat-bc-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.cat-bc-link:hover {
    color: #7a8d84;
}

.cat-bc-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

.cat-bc-current {
    color: #7a8d84;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Заголовок hero */
.cat-hero-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cat-hero-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}

/* ─── СЕКЦИЯ КОНТЕНТА ─── */
.cat-content-section {
    background: #f8fafc;
    padding: 3rem 2rem 6rem;
}

.cat-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .cat-content-inner {
        grid-template-columns: 230px 1fr;
        gap: 1.75rem;
    }
}

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

    .cat-hero {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .cat-content-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .cat-sidebar {
        order: 2;
    }

    .cat-products-area {
        order: 1;
    }
}

/* ─── САЙДБАР ─── */
.cat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: sticky;
    top: 96px;
}

.cat-widget {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(11, 28, 58, 0.04);
}

/* Поиск */
.cat-widget--search {
    padding: 1rem;
}

.cat-search-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cat-search-wrap:focus-within {
    border-color: #7a8d84;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, 0.12);
    background: #fff;
}

.cat-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 13px;
    font-size: 0.87rem;
    color: #1e293b;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.cat-search-input::placeholder {
    color: #94a3b8;
}

.cat-search-btn {
    background: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #7a8d84;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.cat-search-btn:hover {
    color: #3E4F49;
}

/* Заголовок виджета */
.cat-widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #475569;
    margin: 0 0 1.1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Навигация по категориям */
.cat-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cat-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
}

.cat-nav-item:hover {
    background: rgba(122, 141, 132, 0.08);
    color: #3E4F49;
    border-color: rgba(122, 141, 132, 0.2);
    transform: translateX(3px);
}

.cat-nav-item--active {
    background: linear-gradient(135deg, rgba(122, 141, 132, 0.13), rgba(62, 79, 73, 0.07));
    color: #1A1F1D;
    font-weight: 700;
    border-color: rgba(122, 141, 132, 0.35);
}

.cat-nav-item--active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: #7a8d84;
    border-radius: 0 3px 3px 0;
}

.cat-nav-icon {
    width: 30px;
    height: 30px;
    background: rgba(122, 141, 132, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.cat-nav-item:hover .cat-nav-icon,
.cat-nav-item--active .cat-nav-icon {
    background: rgba(122, 141, 132, 0.2);
    color: #3E4F49;
}

.cat-nav-text {
    flex: 1;
    line-height: 1.3;
}

.cat-nav-count {
    background: rgba(122, 141, 132, 0.15);
    color: #3E4F49;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    min-width: 22px;
    text-align: center;
}

/* CTA виджет */
.cat-widget--cta {
    background: linear-gradient(135deg, #3E4F49 0%, #1A1F1D 100%) !important;
    border-color: rgba(122, 141, 132, 0.3) !important;
    padding: 1.6rem 1.4rem !important;
    text-align: center;
}

.cat-cta-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
}

.cat-cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 1.1rem;
}

.cat-cta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.cat-cta-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ─── ОБЛАСТЬ ПРОДУКТОВ ─── */
.cat-products-area {
    min-width: 0;
}

/* Тулбар */
.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    padding: 0.85rem 1.15rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(11, 28, 58, 0.03);
}

.cat-toolbar-label {
    font-size: 0.77rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.cat-toolbar-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7a8d84;
    background: rgba(122, 141, 132, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
}

/* Сетка продуктов */
.cat-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

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

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

/* Карточка продукта */
.cat-product-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s ease;
    box-shadow: 0 2px 8px rgba(11, 28, 58, 0.04);
}

.cat-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(30, 41, 59, 0.1);
    border-color: rgba(122, 141, 132, 0.4);
}

/* Изображение карточки */
.cat-card-img {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, #445650 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-product-card:hover .cat-card-img img {
    transform: scale(1.06);
}

.cat-card-img--placeholder {
    background: linear-gradient(135deg, #3E4F49 0%, #1e293b 100%);
}

/* Тело карточки */
.cat-card-body {
    padding: 1.25rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.cat-card-term {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7a8d84;
    margin-bottom: 0.35rem;
}

.cat-card-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.cat-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-card-title a:hover {
    color: #3E4F49;
}

.cat-card-excerpt {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-btn {
    display: inline-block;
    background: #3E4F49;
    color: #F1F3F2;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(62, 79, 73, 0.18);
    letter-spacing: 0.03em;
}

.cat-card-btn:hover {
    background: #1A1F1D;
    box-shadow: 0 6px 20px rgba(26, 31, 29, 0.28);
    transform: translateY(-2px);
    color: #F1F3F2;
}

/* Нет результатов */
.cat-no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(11, 28, 58, 0.04);
}

/* Пагинация */
.cat-products-area .page-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
}

.cat-products-area .page-numbers li {
    margin: 0;
}

.cat-products-area .page-numbers a,
.cat-products-area .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
}

.cat-products-area .page-numbers a:hover {
    background: #7a8d84;
    color: #ffffff;
    border-color: #7a8d84;
}

.cat-products-area .page-numbers .current {
    background: #3E4F49;
    color: #ffffff;
    border-color: #3E4F49;
}

.cat-products-area .prev,
.cat-products-area .next {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 0 14px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ARCHIVE-PRODUCT.HTML — Главный каталог /products/             */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.arch-hero-decors {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.arch-hero-decor {
    position: absolute;
    border-radius: 50%;
}

.arch-hero-decor--1 {
    top: -20%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 141, 132, .12) 0%, transparent 65%);
}

.arch-hero-decor--2 {
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, .07) 0%, transparent 60%);
}

.arch-hero-decor--3 {
    top: 30%;
    left: 35%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(122, 141, 132, .05) 0%, transparent 60%);
}

.arch-hero-inner {
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.arch-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.arch-bc-link {
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .03em;
    transition: color .2s;
}

.arch-bc-link:hover {
    color: #7a8d84;
}

.arch-bc-sep {
    color: rgba(255, 255, 255, .2);
    font-size: .85rem;
}

.arch-bc-current {
    color: #7a8d84;
    font-size: .8rem;
    font-weight: 600;
}

/* Hero title */
.arch-hero-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 .6rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.arch-hero-title-accent {
    display: block;
    font-size: .55em;
    font-weight: 400;
    letter-spacing: .18em;
    color: #7a8d84;
    text-transform: uppercase;
    margin-top: .2rem;
    text-shadow: none;
}

.arch-hero-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 0 2rem;
}

/* Hero Search */
.arch-hero-search {
    margin-bottom: 1.75rem;
}

.arch-hero-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .07);
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 680px;
    transition: border-color .25s, background .25s;
}

.arch-hero-search-wrap:focus-within {
    border-color: rgba(122, 141, 132, .6);
    background: rgba(255, 255, 255, .1);
}

.arch-hero-search-ico {
    padding-left: 18px;
    color: rgba(255, 255, 255, .4);
    flex-shrink: 0;
}

.arch-hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 16px;
    font-size: .95rem;
    color: #fff;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.arch-hero-search-input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.arch-hero-search-btn {
    background: #7a8d84;
    color: #fff;
    border: none;
    padding: 15px 24px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .2s;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
}

.arch-hero-search-btn:hover {
    background: #3E4F49;
}

/* Hero category tags */
.arch-hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.arch-hero-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    padding: 7px 14px;
    color: rgba(255, 255, 255, .75);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}

.arch-hero-cat-tag:hover {
    background: rgba(122, 141, 132, .25);
    border-color: rgba(122, 141, 132, .5);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── СТАТИСТИКА ─── */
.arch-stats-bar {
    background: #fff;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 4px 20px rgba(11, 28, 58, .06);
    position: relative;
    z-index: 2;
}

.arch-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.arch-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 3rem;
    gap: .15rem;
}

.arch-stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -.02em;
    line-height: 1;
    background: linear-gradient(135deg, #3E4F49, #7a8d84);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.arch-stat-label {
    font-size: .72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.arch-stat-div {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .arch-stat {
        padding: .5rem 1.5rem;
    }

    .arch-stat-div {
        display: none;
    }

    .arch-stats-inner {
        gap: .5rem;
    }
}

/* ─── LAYOUT ─── */
.arch-layout {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 1rem;
    align-items: start;
    margin: 0;
}

@media (max-width: 900px) {
    .arch-layout {
        grid-template-columns: 1fr;
    }
}

/* ─── САЙДБАР ─── */
.arch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: sticky;
    top: 92px;
}

.arch-widget {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(11, 28, 58, .04);
}

.arch-widget--search {
    padding: .9rem;
}

.arch-search-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.arch-search-wrap:focus-within {
    border-color: #7a8d84;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, .12);
    background: #fff;
}

.arch-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: .87rem;
    color: #1e293b;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.arch-search-input::placeholder {
    color: #94a3b8;
}

.arch-search-btn {
    background: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #7a8d84;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.arch-search-btn:hover {
    color: #3E4F49;
}

/* Widget title */
.arch-widget-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #475569;
    margin: 0 0 1rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Cat nav */
.arch-cat-nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.arch-cat-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: .84rem;
    font-weight: 500;
    transition: all .2s ease;
    border: 1px solid transparent;
    position: relative;
}

.arch-cat-link:hover {
    background: rgba(122, 141, 132, .08);
    color: #3E4F49;
    border-color: rgba(122, 141, 132, .2);
    transform: translateX(3px);
}

.arch-cat-link.active {
    background: linear-gradient(135deg, rgba(122, 141, 132, .13), rgba(62, 79, 73, .07));
    color: #1A1F1D;
    font-weight: 700;
    border-color: rgba(122, 141, 132, .35);
}

.arch-cat-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: #7a8d84;
    border-radius: 0 3px 3px 0;
}

.arch-cat-icon {
    width: 28px;
    height: 28px;
    background: rgba(122, 141, 132, .1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.arch-cat-link:hover .arch-cat-icon,
.arch-cat-link.active .arch-cat-icon {
    background: rgba(122, 141, 132, .2);
    color: #3E4F49;
}

.arch-cat-text {
    flex: 1;
    line-height: 1.3;
}

.arch-cat-arr {
    color: #cbd5e1;
    margin-left: auto;
    font-size: 1rem;
    transition: color .2s, transform .2s;
}

.arch-cat-link:hover .arch-cat-arr,
.arch-cat-link.active .arch-cat-arr {
    color: #7a8d84;
    transform: translateX(2px);
}

/* Promo widget */
.arch-widget--promo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5) !important;
    border-color: rgba(34, 197, 94, .2) !important;
}

.arch-promo-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 3px 8px;
    border-radius: 50px;
    margin-bottom: .75rem;
}

.arch-promo-title {
    font-size: .95rem;
    font-weight: 700;
    color: #15803d;
    margin: 0 0 .4rem;
}

.arch-promo-text {
    font-size: .82rem;
    color: #166534;
    line-height: 1.5;
    margin: 0 0 1rem;
    opacity: .8;
}

.arch-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #22c55e;
    color: #fff;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, .25);
}

.arch-promo-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    color: #fff;
}

/* CTA widget */
.arch-widget--cta {
    background: linear-gradient(135deg, #3E4F49 0%, #1A1F1D 100%) !important;
    border-color: rgba(122, 141, 132, .3) !important;
    padding: 1.5rem 1.4rem !important;
    text-align: center;
}

.arch-cta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 50px;
    padding: 9px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.arch-cta-btn:hover {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-2px);
    color: #fff;
}

/* ─── ПРОДУКТЫ ─── */
.arch-products-col {
    min-width: 0;
}

.arch-query-wrap {
    width: 100%;
}

/* Toolbar */
.arch-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: .85rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(11, 28, 58, .03);
}

.arch-toolbar-label {
    font-size: .75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.arch-toolbar-sort {
    font-size: .78rem;
    font-weight: 600;
    color: #94a3b8;
}

.arch-toolbar-all {
    font-size: .8rem;
    font-weight: 600;
    color: #7a8d84;
    text-decoration: none;
    transition: color .2s;
}

.arch-toolbar-all:hover {
    color: #3E4F49;
}

/* Карточка */
.arch-product-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        box-shadow .35s cubic-bezier(.4, 0, .2, 1),
        border-color .25s;
    box-shadow: 0 2px 8px rgba(11, 28, 58, .04);
}

.arch-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(30, 41, 59, .1);
    border-color: rgba(122, 141, 132, .4);
}

/* Placeholder */
.arch-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #3E4F49 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Real image */
.arch-product-card .wp-block-post-featured-image {
    flex-shrink: 0;
}

.arch-product-card .wp-block-post-featured-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.arch-product-card:hover .wp-block-post-featured-image img {
    transform: scale(1.06);
}

/* Card body */
.arch-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.arch-product-card .wp-block-post-terms {
    font-size: .68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7a8d84 !important;
}

.arch-product-card .wp-block-post-terms a {
    color: inherit !important;
    text-decoration: none !important;
}

.arch-product-card h3 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.arch-product-card h3 a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color .2s;
}

.arch-product-card h3 a:hover {
    color: #3E4F49 !important;
}

.arch-product-card .wp-block-post-excerpt p {
    font-size: .84rem !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.arch-product-card .wp-block-read-more {
    display: inline-block;
    margin-top: auto;
    background: #3E4F49;
    color: #F1F3F2 !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none !important;
    text-align: center;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 12px rgba(62, 79, 73, .18);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.arch-product-card .wp-block-read-more:hover {
    background: #1A1F1D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 31, 29, .28);
    color: #fff !important;
}

/* Grid */
.arch-query-wrap .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.2rem !important;
}

@media (max-width: 1100px) {
    .arch-query-wrap .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .arch-query-wrap .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

/* Pagination */
.arch-query-wrap .wp-block-query-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 2.5rem;
}

.arch-query-wrap .wp-block-query-pagination-numbers a,
.arch-query-wrap .wp-block-query-pagination-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}

.arch-query-wrap .wp-block-query-pagination-numbers a:hover {
    background: #7a8d84;
    color: #fff;
    border-color: #7a8d84;
}

.arch-query-wrap .wp-block-query-pagination-numbers span.current {
    background: #3E4F49;
    color: #fff;
    border-color: #3E4F49;
}

/* ═══════════════════════════════════════════════════════════════ */
/* TAXONOMY-PRODUCT-CATEGORY.HTML — Страницы категорий (tcat-)   */
/* ═══════════════════════════════════════════════════════════════ */

/* Hero декоры */
.tcat-hero-decors {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.tcat-decor {
    position: absolute;
    border-radius: 50%;
}

.tcat-decor--1 {
    top: -20%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 141, 132, .12) 0%, transparent 65%);
}

.tcat-decor--2 {
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, .07) 0%, transparent 60%);
}

.tcat-decor--3 {
    top: 25%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(122, 141, 132, .05) 0%, transparent 60%);
}

.tcat-hero-inner {
    position: relative;
    z-index: 1;
}

/* Хлебные крошки */
.tcat-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.tcat-bc-link {
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .03em;
    transition: color .2s;
}

.tcat-bc-link:hover {
    color: #7a8d84;
}

.tcat-bc-sep {
    color: rgba(255, 255, 255, .2);
    font-size: .85rem;
}

/* Hero title из wp:query-title */
.tcat-hero-title-block {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    line-height: 1.1 !important;
    margin: 0 0 .65rem !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

/* Hero description из wp:term-description */
.tcat-hero-desc-block {
    position: relative;
    z-index: 1;
    color: #94a3b8 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 620px;
    margin: 0 0 1.75rem !important;
}

/* Быстрые ссылки на разделы */
.tcat-sibling-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
    z-index: 1;
}

.tcat-sibling-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50px;
    padding: 7px 13px;
    color: rgba(255, 255, 255, .7);
    font-size: .79rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}

.tcat-sibling-link:hover {
    background: rgba(122, 141, 132, .22);
    border-color: rgba(122, 141, 132, .45);
    color: #fff;
    transform: translateY(-2px);
}

.tcat-sibling-link--all {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
}

.tcat-sibling-link--active {
    background: rgba(122, 141, 132, .3) !important;
    border-color: rgba(122, 141, 132, .6) !important;
    color: #fff !important;
    pointer-events: none;
}

/* ─── ПЛАШКА СТАТИСТИКИ ─── */
.tcat-stats-bar {
    background: #fff;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 4px 20px rgba(11, 28, 58, .06);
    position: relative;
    z-index: 2;
}

.tcat-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.tcat-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 2.5rem;
}

.tcat-stat div {
    display: flex;
    flex-direction: column;
    gap: .05rem;
}

.tcat-stat-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
}

.tcat-stat-val {
    font-size: .88rem;
    font-weight: 700;
    color: #334155;
}

.tcat-stat-divider {
    width: 1px;
    height: 36px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

@media(max-width:768px) {
    .tcat-stats-inner {
        flex-direction: column;
        gap: .75rem;
        padding: 1rem 1.5rem;
    }

    .tcat-stat-divider {
        display: none;
    }

    .tcat-stat {
        padding: .4rem 1rem;
    }
}

/* ─── МАКЕТ ─── */
.tcat-layout {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media(max-width:900px) {
    .tcat-layout {
        grid-template-columns: 1fr;
    }
}

/* ─── САЙДБАР ─── */
.tcat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: sticky;
    top: 92px;
}

.tcat-widget {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(11, 28, 58, .04);
}

.tcat-widget--search {
    padding: .9rem;
}

.tcat-search-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.tcat-search-wrap:focus-within {
    border-color: #7a8d84;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, .12);
    background: #fff;
}

.tcat-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: .87rem;
    color: #1e293b;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.tcat-search-input::placeholder {
    color: #94a3b8;
}

.tcat-search-btn {
    background: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    color: #7a8d84;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.tcat-search-btn:hover {
    color: #3E4F49;
}

/* Widget title */
.tcat-widget-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #475569;
    margin: 0 0 1rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Category nav */
.tcat-cat-nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.tcat-cat-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-size: .84rem;
    font-weight: 500;
    transition: all .2s ease;
    border: 1px solid transparent;
    position: relative;
}

.tcat-cat-link:hover {
    background: rgba(122, 141, 132, .08);
    color: #3E4F49;
    border-color: rgba(122, 141, 132, .2);
    transform: translateX(3px);
}

.tcat-cat-link--active {
    background: linear-gradient(135deg, rgba(122, 141, 132, .13), rgba(62, 79, 73, .07));
    color: #1A1F1D;
    font-weight: 700;
    border-color: rgba(122, 141, 132, .35);
}

.tcat-cat-link--active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: #7a8d84;
    border-radius: 0 3px 3px 0;
}

.tcat-cat-icon {
    width: 28px;
    height: 28px;
    background: rgba(122, 141, 132, .1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.tcat-cat-link:hover .tcat-cat-icon,
.tcat-cat-link--active .tcat-cat-icon {
    background: rgba(122, 141, 132, .2);
    color: #3E4F49;
}

.tcat-cat-text {
    flex: 1;
    line-height: 1.3;
}

.tcat-cat-arr {
    color: #cbd5e1;
    margin-left: auto;
    font-size: 1rem;
    transition: color .2s, transform .2s;
}

.tcat-cat-link:hover .tcat-cat-arr,
.tcat-cat-link--active .tcat-cat-arr {
    color: #7a8d84;
    transform: translateX(2px);
}

/* Promo PDF widget */
.tcat-widget--promo {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5) !important;
    border-color: rgba(34, 197, 94, .2) !important;
}

.tcat-promo-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 3px 8px;
    border-radius: 50px;
    margin-bottom: .75rem;
}

.tcat-promo-title {
    font-size: .95rem;
    font-weight: 700;
    color: #15803d;
    margin: 0 0 .4rem;
}

.tcat-promo-text {
    font-size: .82rem;
    color: #166534;
    line-height: 1.5;
    margin: 0 0 1rem;
    opacity: .8;
}

.tcat-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #22c55e;
    color: #fff;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, .25);
}

.tcat-promo-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    color: #fff;
}

/* CTA widget */
.tcat-widget--cta {
    background: linear-gradient(135deg, #3E4F49 0%, #1A1F1D 100%) !important;
    border-color: rgba(122, 141, 132, .3) !important;
    padding: 1.5rem 1.4rem !important;
    text-align: center;
}

.tcat-cta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 50px;
    padding: 9px 16px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.tcat-cta-btn:hover {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-2px);
    color: #fff;
}

/* ─── ПРОДУКТЫ ─── */
.tcat-products-col {
    min-width: 0;
}

.tcat-query-wrap {
    width: 100%;
}

/* Toolbar */
.tcat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: .85rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(11, 28, 58, .03);
}

.tcat-toolbar-label {
    font-size: .75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tcat-toolbar-all {
    font-size: .8rem;
    font-weight: 600;
    color: #7a8d84;
    text-decoration: none;
    transition: color .2s;
}

.tcat-toolbar-all:hover {
    color: #3E4F49;
}

/* Карточка */
.tcat-product-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        box-shadow .35s cubic-bezier(.4, 0, .2, 1),
        border-color .25s;
    box-shadow: 0 2px 8px rgba(11, 28, 58, .04);
}

.tcat-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(30, 41, 59, .1);
    border-color: rgba(122, 141, 132, .4);
}

.tcat-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #3E4F49 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcat-product-card .wp-block-post-featured-image {
    flex-shrink: 0;
}

.tcat-product-card .wp-block-post-featured-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.tcat-product-card:hover .wp-block-post-featured-image img {
    transform: scale(1.06);
}

.tcat-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tcat-product-card .wp-block-post-terms {
    font-size: .68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7a8d84 !important;
}

.tcat-product-card .wp-block-post-terms a {
    color: inherit !important;
    text-decoration: none !important;
}

.tcat-product-card h3 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.tcat-product-card h3 a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color .2s;
}

.tcat-product-card h3 a:hover {
    color: #3E4F49 !important;
}

.tcat-product-card .wp-block-post-excerpt p {
    font-size: .84rem !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.tcat-product-card .wp-block-read-more {
    display: inline-block;
    margin-top: auto;
    background: #3E4F49;
    color: #F1F3F2 !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none !important;
    text-align: center;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 12px rgba(62, 79, 73, .18);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.tcat-product-card .wp-block-read-more:hover {
    background: #1A1F1D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 31, 29, .28);
    color: #fff !important;
}

/* Grid */
.tcat-query-wrap .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.2rem !important;
}

@media(max-width:1100px) {
    .tcat-query-wrap .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media(max-width:540px) {
    .tcat-query-wrap .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

/* Pagination */
.tcat-query-wrap .wp-block-query-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 2.5rem;
}

.tcat-query-wrap .wp-block-query-pagination-numbers a,
.tcat-query-wrap .wp-block-query-pagination-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
}

.tcat-query-wrap .wp-block-query-pagination-numbers a:hover {
    background: #7a8d84;
    color: #fff;
    border-color: #7a8d84;
}

.tcat-query-wrap .wp-block-query-pagination-numbers span.current {
    background: #3E4F49;
    color: #fff;
    border-color: #3E4F49;
}

/* Taxonomy hero — выравнивание заголовка и описания */
.tcat-hero-desc-block { display: flex; justify-content: center; width: 100%; text-align: center; }
.tcat-hero-desc-block p { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.tcat-hero-title-block { text-align: center; width: 100%; display: flex; justify-content: center; }
.tcat-hero-title-block h1 { text-align: center; }
.tcat-sibling-link:hover { background: rgba(255,255,255,0.2) !important; }
.tcat-sibling-link--active { background: rgba(122,141,132,0.4) !important; border: 1px solid rgba(122,141,132,0.8); }

/* ════════════════════════════════════════════════════════
   CONTACTS PAGE  (prefix: cnt-)
════════════════════════════════════════════════════════ */

/* Hero */
.cnt-hero-decors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cnt-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
}

.cnt-decor--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7a8d84, transparent);
    top: -150px;
    right: -100px;
}

.cnt-decor--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #3E4F49, transparent);
    bottom: -80px;
    left: -80px;
}

.cnt-hero-inner {
    position: relative;
    z-index: 2;
}

.cnt-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.5rem;
}

.cnt-bc-link {
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    text-decoration: none;
    transition: color .2s;
}

.cnt-bc-link:hover {
    color: #7a8d84;
}

.cnt-bc-sep {
    color: rgba(255, 255, 255, .3);
    font-size: .8rem;
}

.cnt-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 .75rem;
}

.cnt-hero-sub {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.cnt-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.cnt-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    color: rgba(255, 255, 255, .8);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.cnt-badge svg {
    opacity: .7;
}

/* Layout */
.cnt-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

@media(max-width:900px) {
    .cnt-layout {
        grid-template-columns: 1fr;
    }
}

/* Form card */
.cnt-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 40px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.cnt-form-header {
    padding: 2rem 2rem 0;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
}

.cnt-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 .5rem;
}

.cnt-form-hint {
    font-size: .9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.cnt-form {
    padding: 0 2rem 2rem;
}

.cnt-form-row {
    display: grid;
    gap: 1rem;
}

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

@media(max-width:600px) {
    .cnt-form-row--2 {
        grid-template-columns: 1fr;
    }
}

.cnt-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1.1rem;
}

.cnt-label {
    font-size: .8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.cnt-req {
    color: #ef4444;
}

.cnt-input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .95rem;
    color: #1e293b;
    background: #f8fafc;
    font-family: inherit;
    transition: all .2s;
    outline: none;
    box-sizing: border-box;
}

.cnt-input:focus {
    border-color: #7a8d84;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(122, 141, 132, .12);
}

.cnt-input--error {
    border-color: #ef4444 !important;
    background: #fff8f8;
}

.cnt-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.cnt-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Checkbox */
.cnt-field--check {
    margin-bottom: 1.25rem;
}

.cnt-check-label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
}

.cnt-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cnt-check-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    margin-top: 1px;
    transition: all .2s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cnt-check-input:checked+.cnt-check-box {
    background: #3E4F49;
    border-color: #3E4F49;
}

.cnt-check-input:checked+.cnt-check-box::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cnt-check-text {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.5;
}

/* Submit button */
.cnt-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3E4F49 0%, #7a8d84 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .3s;
    letter-spacing: .02em;
    box-shadow: 0 4px 20px rgba(62, 79, 73, .3);
}

.cnt-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(62, 79, 73, .4);
}

.cnt-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.cnt-form-note {
    text-align: center;
    font-size: .82rem;
    color: #94a3b8;
    margin-top: 1rem;
}

.cnt-form-note a {
    color: #7a8d84;
    font-weight: 600;
    text-decoration: none;
}

/* Success */
.cnt-success-msg {
    padding: 3rem 2rem;
    text-align: center;
}

.cnt-success-msg h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin: .75rem 0 .5rem;
}

.cnt-success-msg p {
    color: #64748b;
    font-size: .95rem;
}

/* Info sidebar */
.cnt-info-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 40px rgba(15, 23, 42, .08);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.cnt-info-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.cnt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cnt-contact-item:last-child {
    margin-bottom: 0;
}

.cnt-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8d84;
}

.cnt-contact-icon--green {
    background: #dcfce7;
    color: #22c55e;
}

.cnt-contact-body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.cnt-contact-label {
    font-size: .72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.cnt-contact-val {
    font-size: .92rem;
    color: #334155;
    line-height: 1.5;
}

.cnt-contact-link {
    color: #7a8d84;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.cnt-contact-link:hover {
    color: #3E4F49;
}

/* WhatsApp badge */
.cnt-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    padding: .3rem .75rem;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
}

/* Quick CTA */
.cnt-quick-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.cnt-quick-title {
    font-size: .9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 1.25rem;
}

.cnt-quick-btn {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .9rem 1.25rem;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: .75rem;
    transition: all .2s;
    box-sizing: border-box;
}

.cnt-quick-btn:last-child {
    margin-bottom: 0;
}

.cnt-quick-btn--wa {
    background: #25D366;
    color: #fff;
}

.cnt-quick-btn--wa:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.cnt-quick-btn--mail {
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .12);
}

.cnt-quick-btn--mail:hover {
    background: rgba(255, 255, 255, .14);
}

.cnt-quick-btn--call {
    background: rgba(122, 141, 132, .2);
    color: #7a8d84;
    border: 1px solid rgba(122, 141, 132, .3);
}

.cnt-quick-btn--call:hover {
    background: rgba(122, 141, 132, .3);
}

/* Map */
.cnt-map-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #3E4F49, #1e293b);
}

.cnt-map-embed {
    line-height: 0;
}

.cnt-map-embed iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 12px 12px 0 0;
}

.cnt-map-footer {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.cnt-map-footer span {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
}

.cnt-map-link {
    font-size: .82rem;
    font-weight: 700;
    color: #7a8d84;
    text-decoration: none;
    border: 1px solid rgba(122, 141, 132, .4);
    padding: .5rem 1rem;
    border-radius: 8px;
    transition: all .2s;
}

.cnt-map-link:hover {
    background: rgba(122, 141, 132, .15);
}

/* ════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE  (prefix: sprod-)
════════════════════════════════════════════════════════ */

/* Hero */
.sprod-hero-decors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sprod-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .2;
}

.sprod-decor--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7a8d84, transparent);
    top: -200px;
    right: -150px;
}

.sprod-decor--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3E4F49, transparent);
    bottom: -60px;
    left: -60px;
}

.sprod-hero-inner {
    position: relative;
    z-index: 2;
    padding-bottom: .5rem;
}

.sprod-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
}

.sprod-bc-link {
    color: rgba(255, 255, 255, .5);
    font-size: .78rem;
    text-decoration: none;
    transition: color .2s;
    letter-spacing: .03em;
}

.sprod-bc-link:hover {
    color: #7a8d84;
}

.sprod-bc-sep {
    color: rgba(255, 255, 255, .25);
    font-size: .78rem;
}

/* Layout */
.sprod-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
    padding-top: 3rem;
}

@media(max-width:900px) {
    .sprod-layout {
        grid-template-columns: 1fr;
    }
}

/* Left col */
.sprod-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 5.5rem;
}

@media(max-width:900px) {
    .sprod-left {
        position: static;
    }
}

/* Gallery */
.sprod-gallery-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, .08);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    position: relative;
}

.sprod-gallery-card .wp-block-post-featured-image {
    margin: 0;
}

.sprod-gallery-card .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.sprod-gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 280px;
}

.sprod-gallery-placeholder span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .35);
    font-weight: 500;
}

/* Trust widget */
.sprod-trust-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(15, 23, 42, .06);
    padding: 1.25rem 1.5rem;
    border: 1px solid #f1f5f9;
}

.sprod-trust-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .75rem 0;
    border-bottom: 1px solid #f8fafc;
}

.sprod-trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sprod-trust-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sprod-trust-title {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .15rem;
}

.sprod-trust-sub {
    display: block;
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Right col */
.sprod-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sprod-right .wp-block-post-content {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

/* Info block (application) */
.sprod-info-block {
    display: none;
}

/* скрыт по умолчанию — JS покажет если есть данные */
.sprod-application {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(122, 141, 132, .06) 0%, rgba(62, 79, 73, .04) 100%);
    border: 1px solid rgba(122, 141, 132, .2);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0 2rem;
}

.sprod-app-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3E4F49, #7a8d84);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.sprod-app-body {
    flex: 1;
}

.sprod-app-title {
    font-size: .78rem;
    font-weight: 800;
    color: #3E4F49;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 .5rem;
}

/* CTA */
.sprod-cta-row {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.sprod-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.75rem;
    border-radius: 50px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s;
    border: none;
    cursor: pointer;
}

.sprod-btn--primary {
    background: linear-gradient(135deg, #3E4F49 0%, #7a8d84 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(62, 79, 73, .3);
}

.sprod-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(62, 79, 73, .4);
}

.sprod-btn--wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .25);
}

.sprod-btn--wa:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.sprod-cta-note {
    font-size: .82rem;
    color: #94a3b8;
    margin: 0 0 2rem;
}

.sprod-cta-note a {
    color: #7a8d84;
    font-weight: 600;
    text-decoration: none;
}

.sprod-back-link {
    margin-top: .5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.sprod-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #7a8d84;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.sprod-back:hover {
    color: #3E4F49;
}

/* Скрываем блок application — убираем дублирование */
.product-application {
    display: none !important;
}

/* ════════════════════════════════════════════════════════
   HOME CALLBACK SECTION  (prefix: hm-callback-)
════════════════════════════════════════════════════════ */
.hm-callback-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    margin: 0 !important;
    overflow: hidden;
}

/* Убираем баг Gutenberg с появлением белой полосы (blockGap) перед футером */
.hm-callback-section+footer,
.hm-callback-section+.wp-block-template-part,
.hm-callback-section+* {
    margin-top: 0 !important;
}

.hm-callback-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hm-callback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hm-callback-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 28, 58, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hm-callback-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.hm-callback-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Очень тонкая и прозрачная граница */
    border-radius: 24px;
    padding: 4.5rem 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Легкий внутренний блик */
    overflow: hidden;
    text-align: center;
}

.hm-callback-decors {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hm-callback-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.hm-callback-decor--1 {
    width: 400px;
    height: 400px;
    background: #7a8d84;
    top: -200px;
    right: -100px;
}

.hm-callback-decor--2 {
    width: 300px;
    height: 300px;
    background: #3E4F49;
    bottom: -150px;
    left: -100px;
}

.hm-callback-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hm-callback-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hm-callback-title span {
    background: linear-gradient(135deg, #7a8d84 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hm-callback-text {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hm-callback-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hm-callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.hm-callback-btn--primary {
    background: linear-gradient(135deg, #3E4F49 0%, #7a8d84 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(62, 79, 73, 0.4);
}

.hm-callback-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(62, 79, 73, 0.5);
    color: #ffffff;
}

.hm-callback-btn--wa {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.hm-callback-btn--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.3);
}

.hm-callback-tags {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hm-cb-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
}

.hm-cb-tag svg {
    color: #34d399;
    /* Яркий акцент для иконок галочек */
}

@media(max-width: 768px) {
    .hm-callback-card {
        padding: 3rem 1.5rem;
    }

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

    .hm-callback-btn {
        width: 100%;
        justify-content: center;
    }

    .hm-callback-tags {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

/* ════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  — все страницы  (max-width: 768px)
════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Глобальные сбросы ──────────────────────────────── */
    .wp-block-columns,
    .wp-block-columns.is-layout-flex,
    .wp-block-columns.is-layout-grid {
        flex-direction: column !important;
        display: flex !important;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    /* ── Шапка (header) ─────────────────────────────────── */
    .premium-header-inner {
        padding: 10px 16px !important;
        border-radius: 16px !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Скрываем навигацию и телефон на мобилке, оставляем только лого */
    .premium-site-header .wp-block-navigation,
    .premium-site-header .wp-block-buttons,
    .premium-site-header .header-nav,
    .premium-site-header .premium-cta-btn {
        display: none !important;
    }

    /* ── Hero секция (главная) ──────────────────────────── */
    .wp-block-cover.alignfull {
        min-height: 60vh !important;
    }

    .glass-hero-card {
        padding: 2rem 1.5rem !important;
        border-radius: 24px !important;
    }

    .wp-block-heading[style*="3.5rem"],
    h1[style*="3.5rem"] {
        font-size: 1.9rem !important;
    }

    h2[style*="2.5rem"],
    .wp-block-heading[style*="2.5rem"] {
        font-size: 1.7rem !important;
    }

    /* ── Блок статистики ────────────────────────────────── */
    .stats-section {
        height: auto !important;
        overflow: visible !important;
        padding: 0 1rem !important;
    }

    .stats-section-wrap {
        transform: none !important;
        padding: 0 !important;
    }

    .stats-columns {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem !important;
        border-radius: 24px !important;
    }



    /* ── Каталог (главная) ──────────────────────────────── */
    .catalog-section {
        padding: 3rem 1rem !important;
    }

    .glass-catalog-card {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1rem;
    }

    /* ── Страница каталога (archive) ────────────────────── */
    .arc-hero {
        padding: 6rem 1.5rem 3rem !important;
    }

    .arc-hero__title {
        font-size: 2rem !important;
    }

    .arc-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1.5rem 1rem !important;
    }

    /* ── Страница категории ─────────────────────────────── */
    .cat-hero {
        padding: 6rem 1.5rem 2rem !important;
    }

    .cat-hero__title {
        font-size: 1.8rem !important;
    }

    .cat-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        padding: 1rem !important;
    }

    .cat-stat {
        flex: 1 1 40% !important;
        padding: 1rem !important;
    }

    .cat-grid {
        grid-template-columns: 1fr !important;
        padding: 1.5rem 1rem !important;
        gap: 1rem !important;
    }

    /* ── Страница продукта ──────────────────────────────── */
    .sprod-hero {
        padding: 6rem 1.5rem 2rem !important;
        min-height: auto !important;
    }

    .sprod-hero__title {
        font-size: 1.8rem !important;
    }

    .sprod-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 2rem 1rem !important;
    }

    .sprod-trust {
        position: static !important;
        top: auto !important;
    }

    .sprod-actions {
        flex-direction: column !important;
    }

    .sprod-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* ── Страница контактов ─────────────────────────────── */
    .cnt-hero {
        padding: 6rem 1.5rem 2rem !important;
        min-height: auto !important;
    }

    .cnt-hero__title {
        font-size: 2rem !important;
    }

    .cnt-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 2rem 1rem !important;
    }

    .cnt-info-items {
        gap: 1rem !important;
    }

    /* ── Секция CTA (главная) ───────────────────────────── */
    .hm-callback-section {
        min-height: auto !important;
        padding: 3rem 1rem !important;
    }

    .hm-callback-card {
        padding: 2.5rem 1.25rem !important;
        border-radius: 16px !important;
    }

    .hm-callback-title {
        font-size: 1.7rem !important;
    }

    .hm-callback-text {
        font-size: 1rem !important;
    }

    .hm-callback-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .hm-callback-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .hm-callback-tags {
        gap: 0.75rem !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* ── Футер ──────────────────────────────────────────── */
    .wp-block-cover__inner-container .wp-block-columns {
        flex-direction: column !important;
        padding: 0 !important;
    }

    footer .wp-block-column,
    .wp-block-cover .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
        margin-bottom: 2rem !important;
    }

    footer section.wp-block-group {
        padding: 2rem 1.5rem !important;
    }

    footer section .wp-block-columns {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    footer section .wp-block-column {
        flex-basis: 100% !important;
        text-align: center !important;
    }

    footer section figure.wp-block-image {
        margin-bottom: 1.5rem !important;
    }

    /* ── Плавающие кнопки ───────────────────────────────── */
    div[style*="position:fixed"][style*="bottom:40px"][style*="right:40px"] {
        bottom: 20px !important;
        right: 16px !important;
        gap: 10px !important;
    }

    /* ── Общие отступы страниц ──────────────────────────── */
    .wp-block-group[style*="padding"] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* ── Хлебные крошки ─────────────────────────────────── */
    .sprod-breadcrumb,
    .cat-breadcrumb {
        font-size: 0.75rem !important;
    }
}

/* ── Таблет (768px – 1024px) ────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

    .premium-header-inner {
        padding: 10px 18px !important;
    }

    .arc-grid,
    .cat-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .sprod-layout {
        grid-template-columns: 1fr 1fr !important;
    }

    .catalog-section .wp-block-columns {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    .catalog-section .wp-block-column {
        flex-basis: 48% !important;
        min-width: 48% !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* MODERN SPLIT-GRID ABOUT SECTION (О КОМПАНИИ)                    */
/* ═══════════════════════════════════════════════════════════════ */
.alagen-about-mini {
    background: #ffffff;
    padding: 7rem 1rem;
    position: relative;
    border-top: 1px solid rgba(122, 141, 132, 0.15);
    border-bottom: 1px solid rgba(122, 141, 132, 0.05);
}

.alagen-about-mini-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    grid-template-rows: auto 1fr;
    gap: 1.5rem 4rem;
    align-items: start;
}

/* The Title goes top-left */
.al-mini-title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.al-mini-title::before {
    display: none;
}

/* Hide divider completely */
.al-mini-divider {
    display: none;
}

/* Text goes right, spanning both rows to balance height */
.al-mini-text {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    border-left: 2px solid rgba(122, 141, 132, 0.15);
    padding-left: 2.5rem;
}

.al-mini-text p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1.2rem;
}

/* The first paragraph acts as a prominent lead */
.al-mini-text p:first-of-type {
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.6;
}

.al-mini-text p:last-of-type {
    margin-bottom: 0;
}

.al-mini-text p:first-of-type::first-letter {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    float: none;
    margin: 0;
    line-height: inherit;
}

/* Tagline */
.al-mini-tagline {
    margin: 2rem 0 0;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: #7a8d84 !important;
    background: none !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .alagen-about-mini-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
    }

    .al-mini-title,
    .al-mini-text,
    .al-mini-tagline {
        grid-column: 1;
        grid-row: auto;
    }

    .al-mini-title {
        text-align: center;
    }

    .al-mini-title::before {
        text-align: center;
    }

    .al-mini-text {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(122, 141, 132, 0.2);
        padding-top: 2rem;
        text-align: center;
    }

    .al-mini-tagline {
        justify-self: center;
        align-self: center;
    }
}
/* ════════════════════════════════════════════════════════
   FOOTER COLUMNS & BOTTOM
   ════════════════════════════════════════════════════════ */
.footer-columns {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.footer-col p {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.footer-col ul {
    color: #e2e8f0;
    font-size: 0.95rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-col ul a:hover {
    color: #ffffff;
}

/* Footer bottom section */
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.footer-bottom-logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.footer-bottom-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: auto;
    max-width: 400px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact-row a,
.footer-contact-row span {
    color: #1e293b;
    font-size: 1.05rem;
    text-decoration: none;
}

/* Hero sections: position relative for decorative elements */
.hero-overflow {
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        padding: 2rem 1rem;
    }

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

    .footer-bottom-contacts {
        margin-left: 0;
    }
}

/* ════════════════════════════════════════════════════════
   CALLBACK COVER (block version)
   ════════════════════════════════════════════════════════ */
.hm-callback-card-block {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Catalog card icons via CSS */
.glass-catalog-card {
    padding-top: 4rem !important;
}

.glass-catalog-card::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.glass-catalog-card:first-child::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%237a8d84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7L12 12L22 7L12 2Z'/%3E%3Cpath d='M2 17L12 22L22 17'/%3E%3Cpath d='M2 12L12 17L22 12'/%3E%3C/svg%3E");
}

.glass-catalog-card:last-child::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%237a8d84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.31'/%3E%3Cpath d='M14 9.3V1.99'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M14 9.3a6.5 6.5 0 1 1-4 0'/%3E%3C/svg%3E");
}
