@font-face {
  font-family: 'TildaSans';
  src: url('/css/fonts/TildaSans-VF.woff2') format('woff2'),
       url('/css/fonts/TildaSans-VF.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* === АКЦЕНТНЫЕ === */
  --color-accent-yellow: #9CCC65;
  --color-primary-red: #43A047;

  /* === ТЕКСТ === */
  --color-text-dark: #262626;
  --color-text-dark-alt: #3c4246;
  --color-text-dark-alt2: #3d464d;
  --color-text-dark-medium: #404040;
  --color-text-muted: #6c757d;
  --color-text-muted-high: rgba(0, 0, 0, 0.55);
  --color-text-light: #999;
  --color-text-lighter: #b3b3b3;
  --color-text-white: #fff;
  --color-text-secondary: #2E7D32;
  --color-text-gray: #4d4d4d;
  --color-text-gray-light: #ccc;
  --color-text-gray-lighter: #bfbfbf;
  --color-text-gray-muted: #9e9e9e;
  --color-text-gray-mid: #6a6a6a;
  --color-text-gray-alt: #6c7177;
  --color-text-gray-medium: #808080;
  --color-text-gray-medium-alt: #888;
  --color-text-gray-dark: #737373;
  --color-text-gray-darker: #666;
  --color-text-gray-cool: #95a0a6;
  --color-text-placeholder: #b2b2b2;
  --color-text-gray-soft: #a6a6a6;
  --color-text-timer: #2E7D32;
  --color-text-white-semi: rgba(255, 255, 255, 0.5);
  --color-text-white-high: rgba(255, 255, 255, 0.85);
  --color-text-white-high-alt: rgba(255, 255, 255, 0.7);
  --color-text-white-low: rgba(255, 255, 255, 0.1);
  --color-text-white-min: rgba(255, 255, 255, 0.01);
  --color-text-white-lower: rgba(255, 255, 255, 0.08);
  --color-text-white-very-low: rgba(255, 255, 255, 0.05);
  --color-text-white-medium: rgba(255, 255, 255, 0.3);
  --color-text-lighter-semi: rgba(179, 179, 179, 0.7);
  --color-text-light-semi: rgba(153, 153, 153, 0.7);
  --color-text-gray-light-semi: rgba(204, 204, 204, 0.7);
  --color-text-gray-overlay: rgba(102, 102, 102, 0.9);
  --color-text-dark-overlay: rgba(38, 38, 38, 0.8);
  --color-text-dark-near: rgba(26, 26, 26, 0.98);
  --color-text-dark-overlay-light: rgba(26, 26, 26, 0.4);
  --color-text-dark-overlay-medium: rgba(26, 26, 26, 0.6);
  --color-text-dark-overlay-heavy: rgba(26, 26, 26, 0.7);
  --color-text-dark-very-light: rgba(26, 26, 26, 0.2);

  /* === ФОН === */
  --color-bg-page: #fafafa;
  --color-bg-page-alt: #f8f9fa;
  --color-bg-card: #fff;
  --color-bg-light: #f5f5f5;
  --color-bg-lighter: #f2f2f2;
  --color-bg-hover: #E8F5E9;
  --color-bg-highlight: #f7f7f7;
  --color-bg-very-light: #eee;
  --color-bg-section: #f6f6f6;
  --color-bg-form: #f9f9f9;
  --color-bg-dark: #1B5E20;
  --color-bg-darker: #2b2b2b;
  --color-bg-dark-light: #4c4c4c;
  --color-bg-dark-hover: #2E7D32;
  --color-bg-dark-active: #388E3C;
  --color-bg-dark-overlay: rgba(27, 94, 32, 0.8);
  --color-bg-dark-semi: rgba(27, 94, 32, 0.7);
  --color-bg-dark-light-overlay: rgba(27, 94, 32, 0.4);
  --color-bg-black: #222;
  --color-black: #000;

  /* === ГРАНИЦЫ === */
  --color-border: #ebebeb;
  --color-border-light: #e5e5e5;
  --color-border-light-alt: #d4d4d4;
  --color-border-lighter: #e0e0e0;
  --color-border-muted: #d9d9d9;
  --color-border-active: #A5D6A7;
  --color-border-active-alt: #81C784;

  /* === СОСТОЯНИЯ === */
  --color-success-bg: #E8F5E9;
  --color-success-bg-alt: #C8E6C9;
  --color-success-text: #2E7D32;
  --color-success-text-alt: #388E3C;
  --color-success-text-dark: #1B5E20;
  --color-success-border: #A5D6A7;
  --color-success-border-focus: #66BB6A;
  --color-success-semi: rgba(46, 125, 50, 0.8);
  --color-danger-bg: #f2dada;
  --color-danger-bg-light: #ffb8b8;
  --color-danger-text: #993d3d;
  --color-danger-text-dark: #473333;
  --color-danger-border-focus: #cc6666;
  --color-danger-border-hover: #d9a3a3;
  --color-danger-semi: rgba(179, 45, 45, 0.8);
  --color-danger-bright: #f40000;
  --color-warning-bg: #f2eeda;
  --color-warning-bg-light: #f2e291;
  --color-warning-text: #786b2a;
  --color-warning-text-alt: #856404;
  --color-warning-text-dark: #4d472e;
  --color-warning-bg-alt: #fff3cd;
  --color-info-bg: #b2d9ff;
  --color-info-bg-alt: #b8e2e5;
  --color-info-bg-hover: #d9ecff;
  --color-info-text: #36414d;
  --color-info-text-alt: #2d3e40;
  --color-info-text-dark: #2d3e40;
  --color-info-text-darker: #36414d;

  /* === ССЫЛКИ / ИНТЕРАКТИВ === */
  --color-link: #2E7D32;
  --color-link-semi: rgba(46, 125, 50, 0.8);
  --color-primary-blue: #007bff;
  --color-primary-blue-alt: #337AB7;
  --color-primary-blue-glow: rgba(0, 123, 255, 0.25);
  --color-primary-blue-semi: rgba(0, 123, 255, 0.4);
  --color-link-blue: #006390;

  /* === СОЦСЕТИ === */
  --color-social-facebook: #3c5a99;
  --color-social-facebook-hover: #3b5c9f;
  --color-social-facebook-alt: #4267b2;
  --color-social-twitter: #00a2e8;
  --color-social-twitter-alt: #1b95e0;
  --color-social-twitter-hover: #1886c9;
  --color-social-youtube: #e52e2e;
  --color-social-instagram: #815dc7;
  --color-social-whatsapp: #25d366;
  --color-social-telegram: #229ED9;
  --color-social-pinterest: #e63939;
  --color-social-pinterest-hover: #e32222;
  --color-rss-bg: #ffc338;
  --color-rss-text: #664729;

  /* === БЕЙДЖИ / ТЕГИ === */
  --color-sale: #e52727;
  --color-new: #43A047;
  --color-hot: #614ba6;

  /* === РЕЙТИНГ === */
  --color-star: #8BC34A;
  --color-star-empty: #d0d5d9;
  --color-rating: #66BB6A;

  /* === ТЕНИ === */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.09);
  --shadow-hover: rgba(0, 0, 0, 0.1);
  --shadow-dropdown: rgba(0, 0, 0, 0.2);
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-lighter: rgba(0, 0, 0, 0.05);
  --shadow-subtle: rgba(0, 0, 0, 0.03);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.5);
  --shadow-dot: rgba(0, 0, 0, 0.12);
  --shadow-tooltip: rgba(0, 0, 0, 0.3);
  --shadow-dots: rgba(0, 0, 0, 0.25);
  --shadow-hover-dark: rgba(0, 0, 0, 0.22);
  --shadow-text: rgba(0, 0, 0, 0.4);
  --shadow-minimal: rgba(0, 0, 0, 0.01);
  --shadow-very-light: rgba(0, 0, 0, 0.02);
  --shadow-radio: rgba(0, 0, 0, 0.17);
  --shadow-input: rgba(0, 0, 0, 0.15);
  --shadow-box: rgba(0, 0, 0, 0.2);

  /* === ПРОЧЕЕ === */
  --color-primary-red-transparent: rgba(67, 160, 71, 0);
  --color-primary-red-glow: rgba(67, 160, 71, 0.3);

  /* === ДОПОЛНИТЕЛЬНЫЕ (из header-classic) === */
  --color-accent-yellow-hover: #8BC34A;
  --color-accent-yellow-active: #7CB342;
  --color-bg-input: #ededed;
  --shadow-card-value: rgba(0, 0, 0, 0.09);
  --color-icon-dark: rgba(0, 0, 0, 0.75);
}

/* === TOAST УВЕДОМЛЕНИЯ === */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
    padding: 16px 48px 16px 20px; /* справа больше отступ для крестика */
    min-width: 320px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    pointer-events: all;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #4CAF50;
    position: relative; /* для абсолютного позиционирования крестика */
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast--wishlist {
    border-left-color: #e53935;
}

.toast--compare {
    border-left-color: #2196F3;
}

.toast__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.toast--wishlist .toast__icon {
    background: #ffebee;
    color: #e53935;
}

.toast--compare .toast__icon {
    background: #e3f2fd;
    color: #2196F3;
}

.toast__content {
    flex: 1;
    min-width: 0;
}

.toast__title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
	margin-top: 12px;
}

.toast__text {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

.toast__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #4CAF50;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.toast__link:hover {
    color: #2e7d32;
    text-decoration: underline;
}

.toast__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    font-size: 24px; /* крупнее */
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px; /* больше зона клика */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast__close:hover {
    background: #f5f5f5;
    color: #333;
}

@media (max-width: 576px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

.toast--cart {
    border-left-color: #4CAF50;
}

.toast--cart .toast__icon {
    background: #e8f5e9;
    color: #4CAF50;
}


/* === ЗАГОЛОВОК H1 === */
.block-header__title {
    font-family: inherit;
    font-size: 33.6px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 32px 0 28px 0;  /* увеличил отступы сверху и снизу */
    padding: 0;
    letter-spacing: -0.3px;
}

/* Разделитель под заголовком — убираем лишний, делаем меньше */
.block-space--layout--divider-xs {
    height: 0;  /* убрал, отступы теперь у H1 */
}

/* === БАННЕР === */
.block-slideshow {
    margin-top: 0;
    margin-bottom: 0;
}

.block-slideshow__carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Отступ от H1 до баннера */
.block-slideshow .container {
    margin-top: 0;
}

/* Если между H1 и баннером есть block-space — увеличим */
.block-header__title + .block-space--layout--divider-nl,
.block-header__title ~ .block-space--layout--divider-nl {
    height: 20px;  /* отступ между заголовком и баннером */
}

.block-slideshow__item {
    display: block;
    position: relative;
    height: 440px;  /* чуть выше для воздуха */
    text-decoration: none;
    overflow: hidden;
}

/* Текстовые элементы — поднимаем и перераспределяем */
.block-slideshow__item-offer {
    position: absolute;
    top: 40px;
    left: 48px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-family: inherit;
    font-size: 14.4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 20px;  /* чуть больше */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
    z-index: 2;
}

.block-slideshow__item-title {
    position: absolute;
    top: 108px;  /* ниже от offer */
    left: 48px;
    font-family: inherit;
    font-size: 48px;  /* ещё крупнее для impact */
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
    max-width: 480px;
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.9);  /* сильнее тень */
    z-index: 2;
}

.block-slideshow__item-details {
    position: absolute;
    top: auto;
    bottom: 150px; 
    left: 48px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    color: #333;  /* чуть темнее для контраста */
    line-height: 1.5;
    max-width: 380px;
    z-index: 2;
}

.block-slideshow__item-button {
    position: absolute;
    bottom: 36px;  /* чуть ниже */
    left: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-family: inherit;
    font-size: 16.8px;
    font-weight: 600;
    padding: 16px 36px;  /* чуть крупнее */
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
}

/* Градиент — делаем сильнее снизу для читаемости текста */
.block-slideshow__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;  /* больше затемнение */
    background: linear-gradient(to top, 
        rgba(255,255,255,0.95) 0%, 
        rgba(255,255,255,0.7) 30%,
        rgba(255,255,255,0.3) 60%, 
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* === РАЗДЕЛИТЕЛИ === */
.block-space--layout--divider-nl {
    height: 48px;
}

/* === АДАПТИВ === */
@media (max-width: 991px) {
    /* шрифт увеличен */
.block-header__title {
        font-size: 31.7px;
        margin: 24px 0 20px 0;
        padding: 0 16px;
    }
    
    .block-slideshow__item {
        height: 360px;
    }
    
    .block-slideshow__item-offer {
        top: 28px;
        left: 24px;
        font-size: 14.4px;
        padding: 8px 16px;
    }
    
    .block-slideshow__item-title {
        top: 84px;
        left: 24px;
        font-size: 43.2px;
        max-width: 70%;
    }
    
    .block-slideshow__item-details {
        bottom: 88px;
        left: 24px;
        font-size: 17.3px;
        max-width: 80%;
    }
    
    .block-slideshow__item-button {
        bottom: 24px;
        left: 24px;
        padding: 14px 28px;
        font-size: 17.3px;
    }
    
    .block-space--layout--divider-nl {
        height: 32px;
    }
}

@media (max-width: 576px) {
    /* шрифт увеличен */
.block-header__title {
        font-size: 27.4px;
        margin: 20px 0 16px 0;
    }
    
    .block-slideshow__item {
        height: 300px;
    }
    
    .block-slideshow__item-image--desktop {
        display: none;
    }
    
    .block-slideshow__item-image--mobile {
        display: block;
    }
    
    .block-slideshow__item-title {
        font-size: 34.6px;
        top: 72px;
    }
    
    .block-slideshow__item-details {
        display: none;
    }
    
    .block-slideshow__item-button {
        bottom: 20px;
        padding: 12px 24px;
    }
}

/* ============================================
   БЛОК "СТРАНЫ-ПРОИЗВОДИТЕЛИ" — V2 БЕЗ РАМКИ
   ============================================ */

.block-brands-v2 {
    margin: 48px 0;
}

.block-brands-v2__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.block-brands-v2__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.block-brands-v2__title-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
    flex-shrink: 0;
}

.block-brands-v2__title span {
    color: #4CAF50;
}

.block-brands-v2__all {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4CAF50;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #e8f5e9;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f9fffe;
}

.block-brands-v2__all:hover {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
    text-decoration: none;
}

.block-brands-v2__all i {
    font-size: 12px;
    transition: transform 0.3s;
}

.block-brands-v2__all:hover i {
    transform: translateX(3px);
}

/* Разделитель */
.block-brands-v2__divider {
    height: 2px;
    background: linear-gradient(to right, #4CAF50, #e8f5e9, transparent);
    border-radius: 2px;
    margin-bottom: 28px;
}

/* Сетка */
.block-brands-v2__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px 16px;
}

/* Карточка страны — БЕЗ РАМКИ */
.brand-card-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-radius: 16px;
    text-decoration: none;
    background: transparent;      /* убрали фон */
    border: none;                 /* убрали рамку */
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.brand-card-v2::before {
    display: none;                /* убрали градиентный оверлей */
}

.brand-card-v2:hover {
    border: none;
    transform: translateY(-4px);
    box-shadow: none;             /* убрали тень */
    text-decoration: none;
}

/* Флаг — круглая иконка с тенью */
.brand-card-v2__flag-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 3px solid #fff;
    flex-shrink: 0;
    padding: 10px;
}

.brand-card-v2:hover .brand-card-v2__flag-wrap {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(76,175,80,0.2);
    border-color: #c8e6c9;
}

.brand-card-v2__flag-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Название */
.brand-card-v2__name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s;
}

.brand-card-v2:hover .brand-card-v2__name {
    color: #2e7d32;
}

/* Регион — бейдж */
.brand-card-v2__region {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #4CAF50;
    background: #e8f5e9;
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.brand-card-v2__region i {
    font-size: 7px;
}

.brand-card-v2:hover .brand-card-v2__region {
    background: #4CAF50;
    color: white;
}

/* Азия — синий акцент */
.brand-card-v2__region--asia {
    color: #1565c0;
    background: #e3f2fd;
}

.brand-card-v2:hover .brand-card-v2__region--asia {
    background: #1565c0;
    color: white;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1199px) {
    .block-brands-v2__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .block-brands-v2__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 12px;
    }
    
    .block-brands-v2__header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .block-brands-v2__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand-card-v2__flag-wrap {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.block-brands-v2__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 10px;
    }
    
    .block-brands-v2__title {
        font-size: 21.6px;
    }
}


/* ============================================
   СТИЛИЗАЦИЯ ПОДСКАЗОК ПОИСКА (AJAX)
   ============================================ */

/* Контейнер результатов */
.search__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8f5e9;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.search__results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Пункт результата */
.search__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.search__item:last-of-type {
    border-bottom: none;
}

.search__item:hover {
    background: #f0faf0;
    padding-left: 22px;
}

/* Картинка товара */
.search__item-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    flex-shrink: 0;
    padding: 4px;
    border: 1px solid #eee;
}

/* Текстовый контент */
.search__item-content {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.4;
    flex: 1;
}

/* Подсветка совпадений — зелёная вместо жёлтой */
.search__highlight {
    background: #C8E6C9;
    color: #1B5E20;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

/* Футер «Все результаты» */
.search__footer {
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fffe, #f0faf0);
    border-top: 1px solid #e8f5e9;
    text-align: center;
}

.search__footer-link {
    color: #4CAF50;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.search__footer-link:hover {
    color: #2e7d32;
    text-decoration: underline;
}

/* Пустой результат */
.search__empty {
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* ============================================
   ПОДСКАЗКИ В STICKY-ШАПКЕ (тёмная тема)
   ============================================ */

.sticky-header .search__results {
    background: #1a1a2e;
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.sticky-header .search__item {
    color: #cdd6f4;
    border-bottom-color: rgba(255,255,255,0.06);
}

.sticky-header .search__item:hover {
    background: rgba(76, 175, 80, 0.1);
}

.sticky-header .search__item-content {
    color: #fff;
}

.sticky-header .search__highlight {
    background: rgba(76, 175, 80, 0.25);
    color: #81C784;
}

.sticky-header .search__item-img {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.sticky-header .search__footer {
    background: rgba(76, 175, 80, 0.08);
    border-top-color: rgba(76, 175, 80, 0.2);
}

.sticky-header .search__footer-link {
    color: #81C784;
}

.sticky-header .search__footer-link:hover {
    color: #4CAF50;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1199px) {
    /* шрифт увеличен */
.search__results {
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
    
    .search__item {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .search__item-img {
        width: 40px;
        height: 40px;
    }
    
    .search__item-content {
        font-size: 16.8px;
    }
}

/* ============================================
   БЛОК "КАТАЛОГ ПРОДУКЦИИ" — V2 (иконки + выпадающие подразделы)
   ============================================ */

.block-categories-v2 {
    margin: 48px 0;
}

.block-categories-v2__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.block-categories-v2__header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, transparent);
    border-radius: 2px;
}

.block-categories-v2__header-line--left {
    background: linear-gradient(to left, #e8f5e9, transparent);
}

.block-categories-v2__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    white-space: nowrap;
    margin: 0;
}

.block-categories-v2__title-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
}

.block-categories-v2__title span {
    color: #4CAF50;
}

/* Сетка — выравниваем строки */
.block-categories-v2__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    align-items: start;  /* важно: не растягиваем по высоте */
}

/* Обёртка — фиксируем высоту */
.cat-card-v2-wrap {
    position: relative;
    height: 100%;
}

/* Карточка — фиксированная высота */
.cat-card-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px 16px;
    border-radius: 16px;
    text-decoration: none;
    background: #fafafa;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 170px;        /* фиксированная высота */
    justify-content: center;  /* центрируем содержимое */
}

.cat-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-card-v2:hover {
    border-color: #4CAF50;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(76,175,80,0.15);
}

.cat-card-v2:hover::before {
    opacity: 1;
}

/* РАСПРОДАЖА */
.cat-card-v2--sale {
    background: linear-gradient(135deg, #fff8f8, #fff0f0);
    border-color: #ffcdd2;
}

.cat-card-v2--sale::before {
    background: linear-gradient(135deg, #fff5f5, #ffebee);
}

.cat-card-v2--sale:hover {
    border-color: #e53935;
    box-shadow: 0 12px 30px rgba(229,57,53,0.15);
}

.cat-card-v2--sale .cat-card-v2__icon-wrap {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    box-shadow: 0 6px 16px rgba(229,57,53,0.35);
}

.cat-card-v2--sale .cat-card-v2__label {
    color: #e53935;
}

/* ИКОНКА */
.cat-card-v2__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(76,175,80,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 14px;
}

.cat-card-v2:hover .cat-card-v2__icon-wrap {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 24px rgba(76,175,80,0.4);
}

.cat-card-v2--sale:hover .cat-card-v2__icon-wrap {
    box-shadow: 0 10px 24px rgba(229,57,53,0.4);
}

.cat-card-v2__icon-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

/* Название — фиксируем строки */
.cat-card-v2__label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;          /* 2 строки * 1.4 line-height */
    width: 100%;
    padding: 0 4px;
}

.cat-card-v2:hover .cat-card-v2__label {
    color: #2e7d32;
}

/* БЕЙДЖ */
.cat-card-v2__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e53935;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    z-index: 2;
}

/* СТРЕЛКА */
.cat-card-v2__arrow {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 11px;
    color: #ccc;
    z-index: 2;
    transition: all 0.3s;
    opacity: 0;
}

.cat-card-v2:hover .cat-card-v2__arrow {
    opacity: 1;
    color: #4CAF50;
    transform: translateX(2px);
}

.cat-card-v2--sale:hover .cat-card-v2__arrow {
    color: #e53935;
}

/* ============================================
   ВЫПАДАЮЩИЕ ПОДРАЗДЕЛЫ
   ============================================ */

.cat-card-v2__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;                    /* центрируем относительно карточки */
    transform: translateX(-50%) translateY(-8px);
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8f5e9;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-width: 100%;              /* минимум ширина карточки */
    width: max-content;           /* ширина по содержимому */
    max-width: 320px;             /* но не более 320px */
}

/* Стрелка-указатель — тоже центрируем */
.cat-card-v2__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;                    /* центр */
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e8f5e9;
    border-top: 1px solid #e8f5e9;
}

/* Показываем при наведении */
.cat-card-v2-wrap:hover .cat-card-v2__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Поднимаем z-index активной карточки */
.cat-card-v2-wrap:hover {
    z-index: 100;
}

.cat-card-v2__sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-card-v2__sublist li {
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

.cat-card-v2__sublist li:last-child {
    border-bottom: none;
}

.cat-card-v2__sublist li a {
    display: block;
    padding: 8px 20px;
    color: #555;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: normal;          /* разрешаем перенос */
    line-height: 1.4;
    min-width: 180px;             /* минимальная ширина пункта */
}

.cat-card-v2__sublist li a:hover {
    color: #2e7d32;
    background: #f0faf0;
    padding-left: 24px;
}

/* Убираем скроллбар — он больше не нужен */
.cat-card-v2__dropdown::-webkit-scrollbar {
    display: none;
}

.cat-card-v2__dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.cat-card-v2__dropdown::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 4px;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1199px) {
    .block-categories-v2__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }
}

@media (max-width: 991px) {
    /* шрифт увеличен */
.block-categories-v2__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .cat-card-v2 {
        padding: 18px 10px 14px;
    }
    
    .cat-card-v2__icon-wrap {
        width: 60px;
        height: 60px;
        padding: 12px;
    }
    
    .cat-card-v2__label {
        font-size: 14.4px;
    }
    
    /* На планшете убираем выпадашки */
    .cat-card-v2__dropdown {
        display: none;
    }
}

@media (max-width: 767px) {
    /* шрифт увеличен */
.block-categories-v2__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .block-categories-v2__title {
        font-size: 24px;
    }
    
    .block-categories-v2__title-icon {
        width: 32px;
        height: 32px;
        font-size: 16.8px;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.block-categories-v2__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .cat-card-v2 {
        padding: 16px 8px 12px;
        gap: 10px;
    }
    
    .cat-card-v2__icon-wrap {
        width: 52px;
        height: 52px;
        padding: 10px;
    }
    
    .cat-card-v2__label {
        font-size: 17px;
    }
}


.block-categories-v2 {
    position: relative;
    z-index: 999;
}


* ============================================
   БЛОК "ЛУЧШИЕ ПРЕДЛОЖЕНИЯ" — V7 FIX (иконки действий)
   ============================================ */

.block-products-v2-wrapper {
    margin: 48px 0;
}

/* --- НОВАЯ ШАПКА --- */
.products-v2-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 16px;
}

.products-v2-header__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.products-v2-header__title-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
    flex-shrink: 0;
}

.products-v2-header__title span {
    color: #4CAF50;
}

.products-v2-header__filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.products-v2-header__filter {
    padding: 7px 16px;
    border-radius: 20px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.products-v2-header__filter:hover {
    border-color: #4CAF50;
    color: #2e7d32;
    background: #f0faf0;
}

.products-v2-header__filter--active {
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.products-v2-header__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.products-v2-header__arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
    font-size: 14px;
}

.products-v2-header__arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(76,175,80,0.45);
}

.products-v2-header__arrow:active {
    transform: scale(0.95);
}

/* ============================================
   ВЫПАДАЮЩИЙ СПИСОК ФИЛЬТРОВ (DROPDOWN)
   ============================================ */

.products-v2-header__filters-dropdown {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.filter-dropdown {
    position: relative;
    min-width: 220px;
}

.filter-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.filter-dropdown__toggle:hover {
    border-color: #4CAF50;
    background: #f0faf0;
}

.filter-dropdown__toggle i {
    font-size: 12px;
    color: #888;
    transition: transform 0.3s ease;
}

.filter-dropdown.open .filter-dropdown__toggle {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.filter-dropdown.open .filter-dropdown__toggle i {
    transform: rotate(180deg);
    color: #4CAF50;
}

.filter-dropdown__current {
    color: #1a1a2e;
}

/* Меню */
.filter-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8f5e9;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.filter-dropdown.open .filter-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Пункты меню */
.filter-dropdown__item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.filter-dropdown__item:hover {
    background: #f0faf0;
    color: #2e7d32;
}

.filter-dropdown__item--active {
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    color: white !important;
    font-weight: 600;
}

/* Скроллбар */
.filter-dropdown__menu::-webkit-scrollbar {
    width: 4px;
}

.filter-dropdown__menu::-webkit-scrollbar-track {
    background: transparent;
}

.filter-dropdown__menu::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 4px;
}

/* ============================================
   АДАПТИВ DROPDOWN
   ============================================ */

@media (max-width: 767px) {
    .products-v2-header__filters-dropdown {
        width: 100%;
        order: 3;
        justify-content: flex-start;
    }
    
    .filter-dropdown {
        width: 100%;
        min-width: auto;
    }
    
    .filter-dropdown__menu {
        right: auto;
        left: 0;
        width: 100%;
    }
}

/* ============================================
   СТИЛИЗАЦИЯ СТАРЫХ КАРТОЧЕК (перебивка)
   ============================================ */

/* Скрываем старую шапку полностью */
.block-products-v2-wrapper .section-header {
    display: none !important;
}

/* Карточка — полностью белый фон */
.block-products-v2-wrapper .product-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 2px solid #f0f0f0 !important;
    overflow: hidden !important;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.block-products-v2-wrapper .product-card:hover {
    border-color: #4CAF50 !important;
    box-shadow: 0 16px 40px rgba(76,175,80,0.14) !important;
    transform: translateY(-5px) !important;
    background: #ffffff !important;
}

/* ===== ИЗОБРАЖЕНИЕ — БЕЛЫЙ ФОН ===== */
.block-products-v2-wrapper .product-card__image {
    padding: 0 !important;
    background: #ffffff !important;
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    min-height: 180px !important;
}

.block-products-v2-wrapper .product-card__image .image__body {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    min-height: 180px !important;
	margin-bottom: 20px;
}

.block-products-v2-wrapper .product-card__image .image__tag {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 16px !important;
    transition: transform 0.4s ease !important;
    display: block !important;
    min-height: 180px !important;
}

.block-products-v2-wrapper .product-card:hover .product-card__image .image__tag {
    transform: scale(1.06) !important;
}

/* ===== БЕЙДЖИ ===== */

/* Бейджи внутри product-card__name — стилизуем */
.block-products-v2-wrapper .product-card__name .product-card__badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 10 !important;
}

/* Убираем старые позиционированные бейджи (если есть вне name) */
.block-products-v2-wrapper .product-card__image > .product-card__badges {
    display: none !important;
}

.block-products-v2-wrapper .tag-badge {
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.block-products-v2-wrapper .tag-badge--sale {
    background: linear-gradient(135deg, #e53935, #b71c1c) !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(229,57,53,0.4) !important;
}

.block-products-v2-wrapper .tag-badge--new {
    background: linear-gradient(135deg, #1565c0, #0d47a1) !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(21,101,192,0.4) !important;
}

.block-products-v2-wrapper .tag-badge--hot {
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(76,175,80,0.4) !important;
}

/* ===== СТАТУС "В НАЛИЧИИ" — зелёная полоска ===== */

/* Скрываем старый статус-бейдж */
.block-products-v2-wrapper .status-badge--style--success {
    display: none !important;
}

/* Новая полоска "В наличии" */
.block-products-v2-wrapper .product-card__image::after {
    content: '✓ В наличии';
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 14px !important;
    background: #f0faf0 !important;
    border-top: 1px solid #e8f5e9 !important;
    font-size: 14px !important;
    color: #4CAF50 !important;
    font-weight: 600 !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

/* ===== КНОПКИ ДЕЙСТВИЙ — ФИКС ===== */


/* Контейнер иконок */
.block-products-v2-wrapper .product-card__actions-list {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    z-index: 100 !important;
    opacity: 0 !important;
    transform: translateX(10px) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
}

.block-products-v2-wrapper .product-card:hover .product-card__actions-list {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Каждая кнопка действия */
.block-products-v2-wrapper .product-card__action {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    position: relative !important;
    box-shadow: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.block-products-v2-wrapper .product-card__action:hover {
    background: #E8F5E9 !important;
    border-color: #4CAF50 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* SVG внутри кнопок */
.block-products-v2-wrapper .product-card__action svg {
    width: 16px !important;
    height: 16px !important;
    fill: #666 !important;
    transition: fill 0.25s !important;
    display: block !important;
    flex-shrink: 0 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.block-products-v2-wrapper .product-card__action:hover svg {
    fill: #4CAF50 !important;
}

/* ===== ИНФО — БЕЛЫЙ ФОН ===== */
.block-products-v2-wrapper .product-card__info {
    padding: 14px 14px 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: #ffffff !important;
}

.block-products-v2-wrapper .product-card__meta {
    font-size: 14px !important;
    color: #aaa !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

.block-products-v2-wrapper .product-card__meta-title {
    color: #aaa !important;
}

.block-products-v2-wrapper .product-card__name {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    transition: color 0.3s !important;
}

.block-products-v2-wrapper .product-card__name a {
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.block-products-v2-wrapper .product-card:hover .product-card__name a {
    color: #2e7d32 !important;
}

/* ===== ФУТЕР — БЕЛЫЙ ФОН, цена по ЛЕВОМУ краю ===== */
.block-products-v2-wrapper .product-card__footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px 14px !important;
    border-top: none !important;
    margin-top: auto !important;
    background: #ffffff !important;
}

/* Цены — прижаты к левому краю */
.block-products-v2-wrapper .product-card__prices {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
}

.block-products-v2-wrapper .product-card__price--current,
.block-products-v2-wrapper .product-card__price--new {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    line-height: 1 !important;
    text-align: left !important;
}

.block-products-v2-wrapper .product-card__price--old {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #aaa !important;
    text-decoration: line-through !important;
    text-align: left !important;
}

/* Кнопка корзины — зелёная */
.block-products-v2-wrapper .product-card__addtocart-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35) !important;
    padding: 0 !important;
    position: static !important;
    flex-shrink: 0 !important;
    color: white !important;
    font-size: 16px !important;
    margin-left: auto !important;
}

.block-products-v2-wrapper .product-card__addtocart-icon:hover {
    transform: scale(1.1) rotate(-5deg) !important;
    box-shadow: 0 6px 18px rgba(76,175,80,0.5) !important;
}

.block-products-v2-wrapper .product-card__addtocart-icon:active {
    transform: scale(0.9) !important;
}

.block-products-v2-wrapper .product-card__addtocart-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: white !important;
    position: static !important;
}

/* ============================================
   ТОЧКИ-ИНДИКАТОРЫ СЛАЙДЕРА
   ============================================ */

.block-products-v2-wrapper .owl-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 24px !important;
}

.block-products-v2-wrapper .owl-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #e0e0e0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.block-products-v2-wrapper .owl-dot.active {
    background: #4CAF50 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1199px) {
    /* шрифт увеличен */
.products-v2-header {
        gap: 16px;
    }

    .products-v2-header__title {
        font-size: 24px;
    }

    .products-v2-header__filter {
        padding: 6px 14px;
        font-size: 14.4px;
    }
}

@media (max-width: 767px) {
    .products-v2-header__filters {
        order: 3;
        width: 100%;
    }

    .block-products-v2-wrapper .product-card__actions-list {
        opacity: 1 !important;
        transform: none !important;
        flex-direction: row !important;
        top: auto !important;
        bottom: 12px !important;
        right: 12px !important;
    }

    .block-products-v2-wrapper .product-card__action {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Отключаем старые псевдоэлементы */
.block-products-v2-wrapper .product-card::before,
.block-products-v2-wrapper .product-card::after,
.block-products-v2-wrapper .product-card__image::before,
.block-products-v2-wrapper .product-card__addtocart-icon::before,
.block-products-v2-wrapper .product-card__addtocart-icon::after,
.block-products-v2-wrapper .product-card__action::before,
.block-products-v2-wrapper .product-card__action::after,
.block-products-v2-wrapper .product-card .product-card__actions-list .product-card__action::before,
.block-products-v2-wrapper .product-card .product-card__actions-list .product-card__action::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
}

/* ===== БЕЙДЖИ ===== */

/* Бейджи внутри product-card__name — скрываем полностью */
.block-products-v2-wrapper .product-card__name .product-card__badges,
.block-products-v2-wrapper .product-card__name .tag-badge {
    display: none !important;
}

/* Бейджи поверх изображения */
.block-products-v2-wrapper .product-card__image > .product-card__badges,
.block-products-v2-wrapper .product-card__image .product-card__badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 10 !important;
}


/* ============================================
   БАННЕРЫ V2 — Картинка фоном, текст поверх
   ============================================ */

.banners-v2__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* ===== БАННЕР: относительное позиционирование для текста ===== */
.banner-v2 {
    border-radius: 16px !important;
    overflow: hidden !important;
    display: block !important;              /* ← Не flex, просто блок */
    position: relative !important;
    min-height: 180px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    border: 2px solid #e8f5e9 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07) !important;
    width: 100% !important;
}

.banner-v2:hover {
    border-color: #4CAF50 !important;
    box-shadow: 0 12px 40px rgba(76,175,80,0.15) !important;
    transform: translateY(-3px) !important;
    text-decoration: none !important;
}

.banner-v2 * {
    box-sizing: border-box !important;
}

/* ===== КАРТИНКА: абсолютное позиционирование, заполняет всю плашку ===== */
.banner-v2__img {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;                      /* ← На всю плашку */
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.banner-v2__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;            /* ← Заполняет всё, обрезает лишнее */
    object-position: right center !important; /* ← Картинка прижата к правому краю */
    display: block !important;
    transition: transform 0.4s ease !important;
}

.banner-v2:hover .banner-v2__img img {
    transform: scale(1.03) !important;
}

/* Градиент слева на картинку для читаемости текста */
.banner-v2__img::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 70% !important;                   /* ← Градиент занимает 70% слева */
    height: 100% !important;
    background: linear-gradient(to right, 
        rgba(255,255,255,0.98) 0%, 
        rgba(255,255,255,0.95) 40%,
        rgba(255,255,255,0.8) 60%, 
        rgba(255,255,255,0.3) 80%,
        transparent 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* ===== ТЕКСТ: поверх картинки, слева ===== */
.banner-v2__text {
    position: relative !important;
    z-index: 3 !important;                   /* ← Выше картинки и градиента */
    padding: 32px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 180px !important;
    max-width: 60% !important;                 /* ← Текст не более 60% ширины */
}

.banner-v2__tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    width: fit-content !important;
}

.banner-v2__title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
}

.banner-v2__title span {
    color: #4CAF50 !important;
}

.banner-v2__sub {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 18px !important;
    line-height: 1.5 !important;
}

/* ===== КНОПКА ===== */
.banner-v2__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35) !important;
    transition: all 0.3s ease !important;
    width: fit-content !important;
}

.banner-v2__btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(76,175,80,0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.banner-v2__btn i {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.banner-v2:hover .banner-v2__btn i {
    transform: translateX(3px) !important;
}

/* ============================================
   БАННЕРЫ V2 — МОБИЛЬНЫЙ ФИКС: 1 баннер в ряд
   ============================================ */

@media (max-width: 767px) {
    .banners-v2__grid {
        grid-template-columns: 1fr !important; /* 1 колонка вместо 2 */
        gap: 16px !important;
    }

    .banner-v2 {
        min-height: 160px !important;
    }

    .banner-v2__text {
        padding: 20px 24px !important;
        max-width: 65% !important;
        min-height: 160px !important;
    }

    .banner-v2__title {
        font-size: 22px !important;
    }

    .banner-v2__sub {
        font-size: 14px !important;
        margin-bottom: 14px !important;
    }

    .banner-v2__btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .banner-v2__img::after {
        width: 80% !important; /* шире градиент, текст короче */
    }
}
/* ============================================
   ПРЕИМУЩЕСТВА V2 — FIX: Иконки + размер
   ============================================ */

.block-advantages-v2 {
padding-top: 20px;
}

.advantages-v2 {
    max-width: 1400px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07) !important;
}

.advantages-v2__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
}

/* ===== КАРТОЧКА: увеличили размер ===== */
.adv-card-v2 {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;                    /* ← Увеличили gap */
    padding: 22px 8px 22px 20px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    border-radius: 16px !important;
    cursor: default !important;
}

.adv-card-v2:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important; 
    top: 10% !important; 
    bottom: 10% !important;
    width: 1px !important;
    background: linear-gradient(to bottom, transparent, #e8f5e9, transparent) !important;
}

.adv-card-v2:hover {
    background: linear-gradient(135deg, #f9fffe, #f0faf0) !important;
}

/* ===== ИКОНКА: увеличили размер ===== */
.adv-card-v2__icon {
    width: 72px !important;                 /* ← Было 64px */
    height: 72px !important;                /* ← Было 64px */
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9) !important;
    border-radius: 18px !important;           /* ← Было 16px */
    border: 2px solid #c8e6c9 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 14px !important;                /* ← Добавили padding для иконки */
}

/* Зелёный фон при наведении */
.adv-card-v2__icon::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    border-radius: 16px !important;
}

.adv-card-v2:hover .adv-card-v2__icon::before {
    opacity: 1 !important;
}

/* ===== ИКОНКА (img): НЕ инвертируем цвет ===== */
.adv-card-v2__img {
    max-width: 53px !important;             /* ← Было 34px */
    max-height: 53px !important;              /* ← Было 34px */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    /* УБРАЛИ: filter: brightness(0) invert(1) при hover */
}

/* При наведении — просто увеличиваем, без инверсии цвета */
.adv-card-v2:hover .adv-card-v2__img {
    transform: scale(1.15) !important;
    /* УБРАЛИ: filter: brightness(0) invert(1) !important; */
}

/* ===== ТЕКСТ ===== */
.adv-card-v2__text {
    flex: 1 !important;
    min-width: 0 !important;
}

.adv-card-v2__title {
    font-size: 20px !important;               /* ← Было 15px */
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin-bottom: 6px !important;            /* ← Было 4px */
    line-height: 1.3 !important;
    transition: color 0.3s !important;
}

.adv-card-v2:hover .adv-card-v2__title {
    color: #2e7d32 !important;
}

.adv-card-v2__sub {
    font-size: 15px !important;               /* ← Было 12px */
    color: #888 !important;
    line-height: 1.5 !important;
    transition: color 0.3s !important;
}

.adv-card-v2:hover .adv-card-v2__sub {
    color: #555 !important;
}


/* ============================================
   АДАПТИВ ПРЕИМУЩЕСТВ
   ============================================ */

@media (max-width: 1199px) {
    .advantages-v2__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .advantages-v2 {
        padding: 32px 36px !important;
    }

    .adv-card-v2:nth-child(2)::after,
    .adv-card-v2:nth-child(4)::after {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* шрифт увеличен */
.advantages-v2 {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    .advantages-v2__grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .adv-card-v2 {
        padding: 6px 0px !important;
        gap: 16px !important;
    }

    .adv-card-v2::after {
        display: none !important;
    }

    .adv-card-v2__icon {
        width: 60px !important;
        height: 60px !important;
        padding: 12px !important;
    }

    .adv-card-v2__img {
        max-width: 32px !important;
        max-height: 32px !important;
    }

    .adv-card-v2__title {
        font-size: 18px !important;
    }

    .adv-card-v2__sub {
        font-size: 14.4px !important;
    }
}


/* ============================================
   СКРЫВАЕМ СТАРЫЕ БЛОКИ
   ============================================ */

.block-banners.block .block-banners__list,
.block-banners.block .block-banners__item,
.block-features.block .block-features__list,
.block-features.block .block-features__item {
    display: none !important;
}


/* ============================================
   ФУТЕР V2
   ============================================ */

.footer-v2 {
    position: relative;
}

/* ===== ВОЛНА ПЕРЕХОДА ===== */
.footer-v2__wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

.footer-v2__wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== ОСНОВНОЙ ФУТЕР ===== */
.footer-v2__main {
    background: linear-gradient(160deg, #1b5e20 0%, #2e7d32 40%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Декоративные круги перенесены на широкую обёртку */
.footer-v2__main::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(76,175,80,0.06);
    top: -200px; right: -100px;
    pointer-events: none;
}

.footer-v2__main::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -100px; left: 200px;
    pointer-events: none;
}

/* Внутренний контейнер только центрирует контент */
.footer-v2__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 40px;
    position: relative;
    z-index: 1;
    background: transparent; /* Обязательно сбрасываем фон */
}

/* ===== ВЕРХНЯЯ ЧАСТЬ ===== */
.footer-v2__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none !important;
    margin-bottom: 48px;
    gap: 32px;
    flex-wrap: wrap;
}

/* ЛОГО */
.footer-v2__logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 6px;
}

.footer-v2__logo-brand {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1;
}

.footer-v2__logo-brand span { color: #81c784; }

.footer-v2__logo-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* ДОВЕРИЕ */
.footer-v2__trust {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-v2__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-v2__trust-num {
    font-size: 26px;
    font-weight: 800;
    color: #81c784;
    line-height: 1;
}

.footer-v2__trust-label {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    line-height: 1.3;
}

.footer-v2__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ПОДПИСКА */
.footer-v2__subscribe {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 320px;
}

.footer-v2__subscribe-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-v2__subscribe-label i { color: #81c784; }

.footer-v2__subscribe-form {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.footer-v2__subscribe-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.footer-v2__subscribe-input::placeholder { color: rgba(255,255,255,0.4); }

.footer-v2__subscribe-input:focus {
    background: rgba(255,255,255,0.15);
    border-color: #81c784;
}

.footer-v2__subscribe-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border: none;
    border-radius: 0 12px 12px 0;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    font-family: inherit;
}

.footer-v2__subscribe-btn:hover {
    background: linear-gradient(135deg, #66bb6a, #388e3c);
}

@media (max-width: 480px) {
    .footer-v2__subscribe-btn {
        padding: 12px 12px; /* Уменьшаем боковые отступы кнопки */
        font-size: 13px; /* Немного уменьшаем шрифт */
    }
    
    .footer-v2__subscribe-input {
        padding: 12px 12px; /* Уменьшаем отступы поля ввода */
        font-size: 13px;
        min-width: 0; /* Разрешаем инпуту сжиматься сильнее */
    }
}

/* ===== ОСНОВНАЯ СЕТКА ===== */
.footer-v2__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 12px;
}

/* КОЛОНКА */
.footer-v2__col-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-v2__col-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* КОНТАКТЫ */
.footer-v2__contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-v2__contact-label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.footer-v2__contact-value {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-v2__contact-value:hover { color: #81c784; }

.footer-v2__social--max {
    background: rgba(138, 43, 226, 0.15);  /* фиолетовый с прозрачностью */
    color: #a855f7;                         /* светло-фиолетовый для текста */
}

.footer-v2__social--max:hover {
    background: rgba(138, 43, 226, 0.3);   /* ярче при наведении */
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Белый SVG → фиолетовый цвет кнопки */
.footer-v2__social--max img {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(235deg) brightness(90%) contrast(90%);
}

.footer-v2__social--max {
    background: rgba(138, 43, 226, 0.15);
    color: #a855f7;
    border: 1px solid rgba(255,255,255,0.15);
}

.footer-v2__social--max:hover img {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(80deg) brightness(90%) contrast(90%);
}

.footer-v2__contact-value--phone {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-v2__contact-free {
    font-size: 13px;
    color: #81c784;
    font-weight: 500;
    margin-top: 2px;
    display: block;
}

/* СОЦСЕТИ */
.footer-v2__socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-v2__social {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.footer-v2__social--vk {
    background: rgba(0, 119, 255, 0.15);
    color: #5b9cf6;
}

.footer-v2__social--tg {
    background: rgba(0, 136, 204, 0.15);
    color: #4cb8e8;
}

.footer-v2__social--wa {
    background: rgba(37, 211, 102, 0.15);
    color: #4CAF50;
}

.footer-v2__social:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* НАВИГАЦИЯ */
.footer-v2__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 0;        /* ← убрать отступ слева */
    margin-left: 0;         /* ← убрать margin слева */
}

.footer-v2__nav li {
    margin: 0;
    padding-left: 0;        /* ← убрать padding */
    list-style-position: inside;
}

.footer-v2__nav li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;         /* ← padding только сверху/снизу, слева 0 */
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding-left: 0 !important;  /* ← принудительно убрать слева */
}

.footer-v2__nav li a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4CAF50;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-v2__nav li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-v2__nav li a:hover::before {
    opacity: 1;
    transform: scale(1.4);
}

.footer-v2__nav-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    background: #e53935;
    color: white;
}

/* РЕЖИМ РАБОТЫ */
.footer-v2__schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-v2__schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 14px;
}

.footer-v2__schedule-row span:first-child {
    color: rgba(255,255,255,0.55);
}

.footer-v2__schedule-row span:last-child {
    font-weight: 600;
    color: #81c784;
}

.footer-v2__schedule-row--today {
    background: rgba(76,175,80,0.12);
    border-color: rgba(76,175,80,0.25);
}

.footer-v2__schedule-row--today span:first-child {
    color: #fff;
    font-weight: 600;
}

.footer-v2__schedule-closed {
    color: rgba(255,255,255,0.3) !important;
}

/* ОНЛАЙН СТАТУС */
.footer-v2__online {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-v2__online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: footerPulse 2s infinite;
}

@keyframes footerPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

/* МЕССЕНДЖЕРЫ */
.footer-v2__messengers {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}


/* ===== НИЖНЯЯ ПОЛОСА ===== */
.footer-v2__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-v2__copy {
    font-size: 15px;
    color: rgba(255,255,255,0.35);
}

.footer-v2__copy span { color: rgba(255,255,255,0.55); }

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

.footer-v2__bottom-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-v2__bottom-links a:hover { color: #81c784; }

.footer-v2__payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-v2__payment {
    height: 24px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
    gap: 4px;
}

.footer-v2__payment i { font-size: 13px; }


/* ============================================
   АДАПТИВ ФУТЕРА
   ============================================ */

@media (max-width: 1199px) {
    .footer-v2__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-v2__trust {
        gap: 24px;
    }

    .footer-v2__subscribe {
        min-width: 100%;
    }

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

    .footer-v2__col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .footer-v2__inner {
        padding: 40px 20px 30px;
    }

    .footer-v2__top {
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .footer-v2__trust {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-v2__trust-divider {
        display: none;
    }

    .footer-v2__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .footer-v2__bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-v2__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-v2__payments {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.footer-v2__contacts-grid {
        grid-template-columns: 1fr;
    }

    .footer-v2__logo-brand {
        font-size: 31.2px;
    }

    .footer-v2__trust-num {
        font-size: 26.4px;
    }
}


/* ============================================
   СКРЫВАЕМ СТАРЫЙ ФУТЕР
   ============================================ */

.site-footer,
.site-footer__widgets,
.site-footer__bottom,
.footer-contacts,
.footer-links,
.footer-newsletter,
.footer-contacts__title,
.footer-links__title,
.footer-newsletter__title {
    display: none !important;
}

.site__footer .site-footer {
    display: none !important;
}


/* ============================================
   SEO ТЕКСТ НА ГЛАВНОЙ (С РАСКРЫТИЕМ)
   ============================================ */
.block-seo-text {
    margin: 40px 0;
    background: #ffffff; /* Устанавливаем белый фон блока как у остальных карточек */
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.seo-text-wrapper {
    position: relative;
    max-height: 240px; /* Высота блока в свернутом виде. Можно менять */
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-text-wrapper.is-expanded {
    max-height: 5000px; /* Большое значение с запасом для полного текста */
}

/* Градиент, перекрывающий текст внизу */
.seo-text-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Прячем градиент, когда блок раскрыт */
.seo-text-wrapper.is-expanded .seo-text-gradient {
    opacity: 0;
}

.seo-text-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* Кнопка "Читать полностью" */
.seo-text-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seo-text-btn:hover {
    background: #f0faf0;
    color: #2e7d32;
    border-color: #2e7d32;
}

/* Поворот стрелки при раскрытии */
.seo-text-btn i {
    transition: transform 0.3s ease;
}
.seo-text-btn.is-active i {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .block-seo-text {
        padding: 20px;
        margin: 24px 0;
    }
}

/* ============================================
   SEO АККОРДЕОН
   ============================================ */

.block-seo-accordion {
    margin: 48px 0;
}

/* Заголовок */
.seo-accordion__header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.seo-accordion__header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, transparent);
    border-radius: 2px;
}

.seo-accordion__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    white-space: nowrap;
    margin: 0;
}

.seo-accordion__title-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
}

.seo-accordion__title span {
    color: #4CAF50;
}

/* Аккордеон */
.seo-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Карточка */
.seo-accordion__item {
    background: #fff;
    border-radius: 14px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.seo-accordion__item:hover {
    border-color: #c8e6c9;
    box-shadow: 0 4px 16px rgba(76,175,80,0.08);
}

.seo-accordion__item.is-open {
    border-color: #4CAF50;
    box-shadow: 0 8px 30px rgba(76,175,80,0.12);
}

/* Выделенные пункты */
.seo-accordion__item--highlight {
    border-color: #e8f5e9;
    background: linear-gradient(to right, #f9fffe, #fff);
}

.seo-accordion__item--highlight.is-open {
    border-color: #66BB6A;
    background: #fff;
}

/* Заголовок карточки */
.seo-accordion__header {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
}

.seo-accordion__header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.seo-accordion__num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #4CAF50;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.seo-accordion__item.is-open .seo-accordion__num {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.seo-accordion__header-text {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    transition: color 0.3s;
}

.seo-accordion__item.is-open .seo-accordion__header-text {
    color: #2e7d32;
}

.seo-accordion__arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.seo-accordion__item.is-open .seo-accordion__arrow {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

/* Тело */
.seo-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s ease;
}

.seo-accordion__item.is-open .seo-accordion__body {
    max-height: 2000px;
}

.seo-accordion__content {
    padding: 22px 22px 22px 72px;
}

.seo-accordion__content p {
    font-size: 17px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.seo-accordion__content p:last-child {
    margin-bottom: 0;
}

.seo-accordion__content strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* Список внутри */
.seo-accordion__list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seo-accordion__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.seo-accordion__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    flex-shrink: 0;
}

.seo-accordion__list li strong {
    color: #2e7d32;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 767px) {
    /* шрифт увеличен */
.seo-accordion__title {
        font-size: 24px;
    }

    .seo-accordion__title-icon {
        width: 32px;
        height: 32px;
        font-size: 16.8px;
    }

    .seo-accordion__header {
        padding: 14px 16px;
    }

    .seo-accordion__num {
        width: 30px;
        height: 30px;
        font-size: 14.4px;
    }

    .seo-accordion__header-text {
        font-size: 18px;
    }

    .seo-accordion__content {
        padding: 0 16px 16px 56px;
    }

    .seo-accordion__content p {
        font-size: 16.8px;
    }
}



/* ============================================
   WISHLIST V2 — ЗЕЛЁНАЯ ТЕМА
   ============================================ */

.wishlist-v2 {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    width: 100%;                    /* ← растягиваем на всю ширину */
}

/* Таблица */
.wishlist-v2__table {
    width: 100%;                    /* ← таблица на всю ширину */
    border-collapse: collapse;      /* ← убираем лишние отступы */
    table-layout: auto;             /* ← или fixed для равномерности */
}

/* Шапка таблицы */
.wishlist-v2__head {
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    display: table-header-group;    /* ← явно указываем */
}

.wishlist-v2__row--head {
    border-bottom: 2px solid #e8f5e9;
    display: table-row;             /* ← явно указываем */
}

.wishlist-v2__column--head {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    white-space: nowrap;            /* ← не переносим заголовки */
}

/* Тело таблицы */
.wishlist-v2__body {
    display: table-row-group;       /* ← явно указываем */
    width: 100%;
}

.wishlist-v2__row--body {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    display: table-row;             /* ← явно указываем */
    width: 100%;
}

.wishlist-v2__row--body:hover {
    background: #f9fffe;
}

.wishlist-v2__row--body:last-child {
    border-bottom: none;
}

.wishlist-v2__column--body {
    padding: 20px;
    vertical-align: middle;
    display: table-cell;            /* ← явно указываем */
}

/* Ширины колонок */
.wishlist-v2__column--image {
    width: 100px;                   /* ← фиксированная ширина */
    text-align: center;
}

.wishlist-v2__column--product {
    width: auto;                    /* ← растягивается */
    min-width: 200px;
}

.wishlist-v2__column--stock {
    width: 140px;                   /* ← фиксированная ширина */
    text-align: center;
    white-space: nowrap;
}

.wishlist-v2__column--price {
    width: 120px;                   /* ← фиксированная ширина */
    text-align: right;
    white-space: nowrap;
}

.wishlist-v2__column--button {
    width: 140px;                   /* ← фиксированная ширина */
    text-align: center;
}

.wishlist-v2__column--remove {
    width: 60px;                    /* ← фиксированная ширина */
    text-align: center;
}

/* Изображение */
.wishlist-v2__image-wrap {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;                 /* ← центрируем */
    transition: all 0.3s ease;
}

.wishlist-v2__row--body:hover .wishlist-v2__image-wrap {
    border-color: #c8e6c9;
    box-shadow: 0 4px 12px rgba(76,175,80,0.15);
}

.wishlist-v2__image-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
}

.wishlist-v2__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.wishlist-v2__row--body:hover .wishlist-v2__image {
    transform: scale(1.05);
}

/* Название товара */
.wishlist-v2__product-name a {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.wishlist-v2__product-name a:hover {
    color: #2e7d32;
}

/* Бейдж наличия */
.wishlist-v2__stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
}

.wishlist-v2__stock-badge i {
    font-size: 14px;
}

/* Цены */
.wishlist-v2__prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;          /* ← цены по правому краю */
}

.wishlist-v2__price-current {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
}

.wishlist-v2__price-special {
    font-size: 20px;
    font-weight: 800;
    color: #e53935;
}

.wishlist-v2__price-old {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
}

/* Кнопка в корзину */
.wishlist-v2__btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
    font-family: inherit;
    white-space: nowrap;
}

.wishlist-v2__btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76,175,80,0.45);
}

.wishlist-v2__btn-cart:active {
    transform: scale(0.95);
}

.wishlist-v2__btn-cart i {
    font-size: 13px;
}

/* Кнопка удалить */
.wishlist-v2__btn-remove {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 2px solid #f0f0f0;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    padding: 0;
}

.wishlist-v2__btn-remove:hover {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #e53935;
    transform: scale(1.1);
}

/* Пустое состояние */
.wishlist-v2__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.wishlist-v2__empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.wishlist-v2__empty-icon i {
    font-size: 32px;
    color: #4CAF50;
}

.wishlist-v2__empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.wishlist-v2__empty-subtitle {
    font-size: 15px;
    color: #888;
    margin-bottom: 24px;
}

.wishlist-v2__empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35);
}

.wishlist-v2__empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.5);
    color: #fff;
    text-decoration: none;
}

/* ============================================
   АДАПТИВ
   ============================================ */

/* ============================================
   АДАПТИВ ИЗБРАННОГО (КОМПАКТНЫЙ GRID V2)
   ============================================ */

@media (max-width: 991px) {
    /* 1. Сбрасываем табличные свойства */
    .wishlist-v2__table,
    .wishlist-v2__body,
    .wishlist-v2__row--body,
    .wishlist-v2__column--head,
    .wishlist-v2__column--body {
        display: block !important;
        width: 100% !important;
    }

    .wishlist-v2__head {
        display: none !important;
    }

    /* 2. Настраиваем Grid-сетку для строки товара */
    .wishlist-v2__row--body {
        display: grid !important;
        /* Колонки: Картинка (75px) | Инфо (1fr) | Правая колонка для кнопок (auto) */
        grid-template-columns: 75px 1fr auto !important;
        grid-template-areas:
            "img name remove"
            "img stock stock"
            "img price cart" !important;
        gap: 6px 14px !important;
        padding: 16px 12px !important;
        border-bottom: 1px solid #e8e8e8 !important;
        align-items: center !important;
    }

    .wishlist-v2__row--body:last-child {
        border-bottom: none !important;
    }

    /* Сбрасываем внутренние отступы ячеек */
    .wishlist-v2__column--body {
        padding: 0 !important;
        text-align: left !important;
    }

    /* 3. Распределяем элементы по зонам */
    
    /* Картинка */
    .wishlist-v2__column--image {
        grid-area: img !important;
        align-self: start !important;
        display: flex !important;
        justify-content: flex-start !important;
    }
    .wishlist-v2__image-wrap {
        width: 75px !important;
        height: 75px !important;
        margin: 0 !important;
    }

    /* Название */
    .wishlist-v2__column--product {
        grid-area: name !important;
        align-self: start !important;
        margin-bottom: 2px !important;
    }
    .wishlist-v2__product-name a {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    /* Наличие */
    .wishlist-v2__column--stock {
        grid-area: stock !important;
    }
    .wishlist-v2__stock-badge {
        padding: 4px 10px !important;
        font-size: 13px !important;
    }

    /* Цена (теперь слева от корзины) */
    .wishlist-v2__column--price {
        grid-area: price !important;
        align-self: center !important;
    }
    .wishlist-v2__prices {
        align-items: flex-start !important;
    }

    /* Кнопка Корзины (теперь справа от цены) */
    .wishlist-v2__column--button {
        grid-area: cart !important;
        align-self: center !important;
        justify-self: end !important;
        margin-top: 0 !important;
		margin-right: 80px;
    }
    .wishlist-v2__btn-cart {
        width: auto !important; /* Возвращаем компактный размер */
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    /* Кнопка Удалить (мусорка) */
    .wishlist-v2__column--remove {
        grid-area: remove !important;
        align-self: start !important;
        justify-self: end !important;
    }
    .wishlist-v2__btn-remove {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background: #fff !important;
        border: 1px solid #e0e0e0 !important;
        color: #999 !important;
    }
}

/* Дополнительная усадка для мобильных телефонов */
@media (max-width: 480px) {
    .wishlist-v2__row--body {
        grid-template-columns: 65px 1fr auto !important;
        gap: 4px 10px !important;
        padding: 14px 10px !important;
    }
    .wishlist-v2__image-wrap {
        width: 65px !important;
        height: 65px !important;
    }
    .wishlist-v2__btn-cart {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}



/* ============================================
   СРАВНЕНИЕ V2 — ЗЕЛЁНАЯ ТЕМА
   ============================================ */

.compare-v2 {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* ===== ШАПКА ===== */
.compare-v2__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-bottom: 2px solid #e8f5e9;
    flex-wrap: wrap;
    gap: 16px;
}

.compare-v2__filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.compare-v2__filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.compare-v2__filter-group {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    padding: 3px;
}

.compare-v2__filter-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    font-family: inherit;
}

.compare-v2__filter-btn:hover {
    color: #2e7d32;
}

.compare-v2__filter-btn.is-active {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.compare-v2__filter-btn i {
    font-size: 12px;
}

/* Кнопка очистить */
.compare-v2__clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ffcdd2;
    color: #e53935;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.compare-v2__clear-btn:hover {
    background: #ffebee;
    border-color: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229,57,53,0.15);
}

/* ===== ТАБЛИЦА ===== */
.compare-v2__table-wrap {
    overflow-x: auto;
    padding: 0;
}

.compare-v2__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

/* ===== СТРОКИ ===== */
.compare-v2__row {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.compare-v2__row:hover {
    background: #f9fffe;
}

.compare-v2__row:last-child {
    border-bottom: none;
}

/* Заголовок товара */
.compare-v2__row--product {
    background: linear-gradient(to bottom, #fff, #f9fffe);
}

.compare-v2__row--product:hover {
    background: linear-gradient(to bottom, #fff, #f0faf0);
}

/* Группа характеристик */
.compare-v2__row--group {
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    border-bottom: 2px solid #c8e6c9;
}

.compare-v2__row--group:hover {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

/* ===== КОЛОНКИ ===== */
.compare-v2__col {
    padding: 8px 20px;
    vertical-align: middle;
    min-width: 160px;
}

/* Заголовок строки (левая колонка) */
.compare-v2__col--header {
    font-size: 13px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f9fffe;
    width: 200px;
    min-width: 200px;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 2px solid #e8f5e9;
    white-space: nowrap;
}

.compare-v2__row:hover .compare-v2__col--header {
    background: #f0faf0;
}

/* Заголовок группы */
.compare-v2__col--group {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a2e;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
}

.compare-v2__col--group i {
    color: #4CAF50;
    font-size: 14px;
}

/* Колонка товара */
.compare-v2__col--product {
    text-align: center;
    min-width: 180px;
}

/* Фейковая колонка */
.compare-v2__col--fake {
    width: 0;
    padding: 0;
}

/* ===== КАРТОЧКА ТОВАРА ===== */
.compare-v2__product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.compare-v2__product-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px;
}

.compare-v2__product-card:hover .compare-v2__product-image {
    border-color: #c8e6c9;
    box-shadow: 0 4px 16px rgba(76,175,80,0.15);
}

.compare-v2__product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.compare-v2__product-card:hover .compare-v2__product-image img {
    transform: scale(1.05);
}

.compare-v2__product-noimg {
    font-size: 32px;
    color: #ddd;
}

.compare-v2__product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    max-width: 160px;
    transition: color 0.3s;
}

.compare-v2__product-card:hover .compare-v2__product-name {
    color: #2e7d32;
}

/* ===== НАЛИЧИЕ ===== */
.compare-v2__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.compare-v2__stock--in {
    background: #e8f5e9;
    color: #2e7d32;
}

.compare-v2__stock--out {
    background: #fff3e0;
    color: #e65100;
}

.compare-v2__stock i {
    font-size: 12px;
}

/* ===== ЦЕНЫ ===== */
.compare-v2__prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.compare-v2__price {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
}

.compare-v2__price--special {
    color: #e53935;
}

.compare-v2__price-old {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
}

/* ===== КНОПКИ ===== */
.compare-v2__btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
    font-family: inherit;
    white-space: nowrap;
}

.compare-v2__btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76,175,80,0.45);
}

.compare-v2__btn-cart i {
    font-size: 12px;
}

/* Кнопка удалить */
.compare-v2__btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #f0f0f0;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.compare-v2__btn-remove:hover {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #e53935;
    transform: translateY(-2px);
}

/* Пустая ячейка */
.compare-v2__col--empty {
    color: #ccc;
    font-size: 18px;
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.compare-v2__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
}

.compare-v2__empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.compare-v2__empty-icon i {
    font-size: 32px;
    color: #4CAF50;
}

.compare-v2__empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.compare-v2__empty-text {
    font-size: 15px;
    color: #888;
    margin-bottom: 24px;
}

.compare-v2__empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35);
}

.compare-v2__empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.5);
    color: #fff;
    text-decoration: none;
}

/* ===== СКРОЛЛ ТАБЛИЦЫ ===== */
.compare-v2__table-wrap::-webkit-scrollbar {
    height: 8px;
}

.compare-v2__table-wrap::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.compare-v2__table-wrap::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 4px;
}

.compare-v2__table-wrap::-webkit-scrollbar-thumb:hover {
    background: #81c784;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 991px) {
    /* шрифт увеличен */
.compare-v2__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .compare-v2__col--header {
        width: 150px;
        min-width: 150px;
        font-size: 14.4px;
        padding: 12px 14px;
    }

    .compare-v2__col--product {
        min-width: 150px;
        padding: 12px 14px;
    }

    .compare-v2__product-image {
        width: 80px;
        height: 80px;
    }

    .compare-v2__product-name {
        font-size: 15.6px;
    }
}

@media (max-width: 576px) {
    /* шрифт увеличен */
.compare-v2__filter-group {
        width: 100%;
    }

    .compare-v2__filter-btn {
        flex: 1;
        justify-content: center;
    }

    .compare-v2__clear-btn {
        width: 100%;
        justify-content: center;
    }

    .compare-v2__col--header {
        width: 120px;
        min-width: 120px;
        font-size: 13.2px;
        padding: 10px 12px;
    }

    .compare-v2__btn-cart,
    .compare-v2__btn-remove {
        padding: 8px 14px;
        font-size: 14.4px;
    }
}

/* 1. Выравниваем всё содержимое ячеек с товарами по левому краю */
.compare-v2__col--product {
    text-align: left !important;
}

/* 2. Карточка товара: прижимаем фото и текст к левому краю */
.compare-v2__product-card {
    align-items: flex-start !important;
}

/* 3. Блок с ценами: прижимаем к левому краю */
.compare-v2__prices {
    align-items: flex-start !important;
}

/* 4. Названия товаров: задаем жесткую высоту и убираем обрезку по ширине */
.compare-v2__product-name {
    text-align: left;
    width: 100%;
    max-width: none !important;      /* Разрешаем тексту занимать всю ширину колонки */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;           /* Максимум 4 строки (длинные названия обрежутся многоточием) */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.6em;               /* 4 строки * 1.4 = 5.6em. Задает единую высоту независимо от длины */
}

/* 5. Выравниваем всю верхнюю строку по верхнему краю, чтобы фото начинались на одном уровне */
.compare-v2__row--product .compare-v2__col {
    vertical-align: top;
}
/* 1. Задаем строгую и одинаковую ширину для всех колонок с товарами */
.compare-v2__col--product {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
}

/* 2. Заставляем фейковую колонку впитывать всё лишнее пространство */
.compare-v2__col--fake {
    width: 100% !important;
    padding: 0 !important;
}

/* 3. Опционально: немного ограничиваем ширину названий, чтобы они не прилипали вплотную к краям своих 280px */
.compare-v2__product-name {
    padding-right: 15px;
}



/* ===== COLOR TABS SYSTEM ===== */
.color-tabs {
    font-family: 'TildaSans', Arial, sans-serif;
}

/* Tab Navigation */
.color-tabs__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.color-tabs__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
}

.color-tabs__btn:hover {
    background: #f0faf0;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.color-tabs__btn.is-active {
    background: #fff;
    color: #1a1a2e;
    border-color: #4CAF50;
    border-bottom: 2px solid #fff;
    z-index: 2;
}

.color-tabs__btn i {
    font-size: 18px;
    color: #4CAF50;
}

.color-tabs__btn span strong {
    color: #4CAF50;
}

.color-tabs__count {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-left: 4px;
}

/* Tab Panels */
.color-tabs__panel {
    display: none;
    animation: fadeInPanel 0.3s ease;
}

.color-tabs__panel.is-active {
    display: block;
}

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

/* Panel Header */
.color-tabs__panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.color-tabs__panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.color-tabs__panel-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;           /* ← белая иконка */
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
}

.color-tabs__panel-subtitle {
    font-size: 15px;
    color: #888;
    font-weight: 500;
}

/* ===== COMPACT COLOR GRID ===== */
.color-compact-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Section Card */
.color-section-card {
    background: #fff;
    border-radius: 14px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.color-section-card:hover {
    border-color: #c8e6c9;
    box-shadow: 0 4px 16px rgba(76,175,80,0.08);
}

.color-section-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-bottom: 2px solid #e8f5e9;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.color-section-card__header:hover {
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
}

.color-section-card__header.is-collapsed {
    border-bottom: none;
}

.color-section-card__num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.color-section-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    flex: 1;
}

.color-section-card__count {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 20px;
}

.color-section-card__toggle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
    font-size: 12px;
}

.color-section-card__toggle:hover {
    border-color: #4CAF50;
    color: #4CAF50;
}

.color-section-card__toggle.is-collapsed {
    transform: rotate(-90deg);
}

/* Color Items Grid */
.color-section-card__body {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 6px;
    transition: all 0.3s ease;
}

.color-section-card__body.is-collapsed {
    display: none;
}

/* Compact Color Item */
.color-item-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    border: 1px solid transparent;
}

.color-item-compact:hover {
    background: #f0faf0;
    border-color: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76,175,80,0.15);
}

.color-item-compact__swatch {
    width: 100%;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.color-item-compact:hover .color-item-compact__swatch {
    transform: scale(1.05);
}

.color-item-compact__code {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.color-item-compact__name {
    font-size: 13px;
    color: #888;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== CHINA SPECIFIC (with names) ===== */
.color-item-compact--china .color-item-compact__swatch {
    height: 28px;
}

/* ===== THREAD SPECIFIC ===== */
.color-item-compact--thread .color-item-compact__swatch {
    height: 24px;
    border-radius: 4px;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 1199px) {
    /* шрифт увеличен */
.color-tabs__nav {
        gap: 4px;
    }
    .color-tabs__btn {
        padding: 10px 14px;
        font-size: 15.6px;
        gap: 6px;
    }
    .color-tabs__count {
        display: none;
    }
    .color-section-card__body {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@media (max-width: 767px) {
    .color-tabs__nav {
        flex-direction: column;
        border-bottom: none;
        gap: 6px;
    }
    .color-tabs__btn {
        border-radius: 10px;
        border: 2px solid #e8e8e8;
        justify-content: center;
    }
    .color-tabs__btn.is-active {
        border-bottom: 2px solid #4CAF50;
    }
    .color-section-card__body {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 4px;
        padding: 8px;
    }
    .color-item-compact__swatch {
        height: 28px;
    }
    .color-tabs__panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.color-section-card__body {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    .color-item-compact__code {
        font-size: 12px;
    }
}

/* Tooltip on hover */
.color-item-compact {
    position: relative;
}

.color-item-compact::after {
    content: attr(data-color);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #1a1a2e;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.color-item-compact:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}


/* ============================================
   ХЛЕБНЫЕ КРОШКИ КАТЕГОРИИ — V2
   ============================================ */

/* Скрываем старые хлебные крошки */
.block-header__breadcrumb,
.breadcrumb,
.breadcrumb__list,
.breadcrumb__item,
.breadcrumb__item-link {
    display: none !important;
}

/* Новые хлебные крошки */
.category-breadcrumbs-v2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 16px;
    margin-bottom: 0;
}

.category-breadcrumbs-v2__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-breadcrumbs-v2__item {
    display: flex;
    align-items: center;
    gap: 4px 8px;
}

.category-breadcrumbs-v2__link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 16px;
}

.category-breadcrumbs-v2__link:hover {
    color: #2e7d32;
    text-decoration: underline;
}

.category-breadcrumbs-v2__link--current {
    color: #888;
    cursor: default;
}

.category-breadcrumbs-v2__link--current:hover {
    text-decoration: none;
    color: #888;
}

.category-breadcrumbs-v2__sep {
    color: #ccc;
    font-size: 18px;
    line-height: 1;
}

/* Адаптив */
@media (max-width: 767px) {
    /* шрифт увеличен */
.category-breadcrumbs-v2 {
        font-size: 16.8px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    .category-breadcrumbs-v2__link {
        font-size: 16.8px;
    }
}


/* ============================================
   ПОДКАТЕГОРИИ КАТЕГОРИИ — V3 (Компактный горизонтальный)
   ============================================ */

/* Скрываем старую сетку подкатегорий полностью */
.categories-list,
.categories-list--layout--columns-6-full,
.categories-list__body,
.categories-list__item,
.categories-list__divider {
    display: none !important;
}

/* Новый блок подкатегорий */

.cat-subcategories-v3__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .cat-subcategories-v3__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Карточка подкатегории — горизонтальная */
.cat-subcategory-v3 {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border-radius: 14px;
    text-decoration: none;
    background: #fff;
    border: 2px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cat-subcategory-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
    z-index: 0;
}

.cat-subcategory-v3:hover {
    border-color: #c8e6c9;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.1);
}

.cat-subcategory-v3:hover::before {
    opacity: 1;
}

/* Обёртка изображения — слева */
.cat-subcategory-v3__img-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__img-wrap {
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

.cat-subcategory-v3__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__img-wrap img {
    transform: scale(1.1);
}

/* Правая часть — текст */
.cat-subcategory-v3__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Название — сверху справа */
.cat-subcategory-v3__name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
    transition: color 0.3s ease;
    overflow: hidden;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__name {
    color: #2e7d32;
}

/* Количество — снизу справа */
.cat-subcategory-v3__count {
    font-size: 13px;
    font-weight: 500;
    color: #999;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-subcategory-v3__count::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8e6c9;
    transition: background 0.3s ease;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__count {
    color: #4CAF50;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__count::before {
    background: #4CAF50;
}

/* Стрелочка справа */
.cat-subcategory-v3__arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cat-subcategory-v3:hover .cat-subcategory-v3__arrow {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* ============================================
   АДАПТИВ ПОДКАТЕГОРИЙ V3
   ============================================ */

@media (max-width: 1199px) {
    .cat-subcategories-v3__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767px) {
    /* шрифт увеличен */
.cat-subcategories-v3__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .cat-subcategory-v3 {
        padding: 10px 14px 10px 10px;
        border-radius: 12px;
    }
    
    .cat-subcategory-v3__img-wrap {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
    
    .cat-subcategory-v3__name {
        font-size: 16.8px;
    }
    
    .cat-subcategory-v3__count {
        font-size: 14.4px;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.cat-subcategory-v3 {
        padding: 8px 12px 8px 8px;
    }
    
    .cat-subcategory-v3__img-wrap {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }
    
    .cat-subcategory-v3__name {
        font-size: 15.6px;
    }
    
    .cat-subcategory-v3__arrow {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* ============================================
   ЗАГОЛОВОК КАТЕГОРИИ — V9 С ИКОНКОЙ
   ============================================ */



/* Новый заголовок с иконкой */
.cat-heading-v9 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 28px 0;
    padding: 0;
}

/* Иконка категории */
.cat-heading-v9__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
    transition: all 0.35s ease;
    overflow: hidden;
    padding: 14px;
}

.cat-heading-v9__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Белая иконка из админки */
    transition: transform 0.35s ease;
}

.cat-heading-v9:hover .cat-heading-v9__icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.45);
}

.cat-heading-v9:hover .cat-heading-v9__icon img {
    transform: scale(1.15);
}

/* Текстовая часть */
.cat-heading-v9__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Название категории */
.cat-heading-v9__title {
    font-family: inherit;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0;
    transition: color 0.3s ease;
}

.cat-heading-v9:hover .cat-heading-v9__title {
    color: #2e7d32;
}

/* Подзаголовок — путь к категории */
.cat-heading-v9__subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-heading-v9__subtitle::before {
    content: '';
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    border-radius: 2px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 767px) {
    /* шрифт увеличен */
.cat-heading-v9 {
        margin: 24px 0 20px 0;
        gap: 14px;
    }
    
    .cat-heading-v9__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        padding: 12px;
    }
    
    .cat-heading-v9__title {
        font-size: 28.8px;
    }
    
    .cat-heading-v9__subtitle {
        font-size: 15.6px;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.cat-heading-v9 {
        gap: 12px;
        margin: 20px 0 16px 0;
    }
    
    .cat-heading-v9__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        padding: 10px;
    }
    
    .cat-heading-v9__title {
        font-size: 24px;
    }
    
    .cat-heading-v9__subtitle {
        font-size: 14.4px;
    }
    
    .cat-heading-v9__subtitle::before {
        width: 18px;
    }
}


/* ============================================
   VIEW OPTIONS V2 — СТИЛИЗАЦИЯ НАД ТОВАРАМИ
   ============================================ */

/* === ОСНОВНОЙ КОНТЕЙНЕР === */
.view-options--v2 {
    margin-bottom: 20px;
}

.view-options__body--v2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* === КНОПКА ФИЛЬТР === */
.filters-button--v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border: 2px solid #e8f5e9;
    border-radius: 12px;
    color: #2e7d32;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filters-button--v2:hover {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-color: #4CAF50;
    color: #fff;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35);
    transform: translateY(-1px);
}

.filters-button__icon--v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.filters-button__icon--v2 svg {
    display: block;
}

/* === ПЕРЕКЛЮЧАТЕЛЬ ВИДА === */
.layout-switcher--v2 .layout-switcher__list {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 12px;
}

.layout-switcher--v2 .layout-switcher__button {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: transparent;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.layout-switcher--v2 .layout-switcher__button:hover {
    background: #fff;
    color: #4CAF50;
    border-color: #c8e6c9;
}

.layout-switcher--v2 .layout-switcher__button--active {
    background: #fff !important;
    border-color: #4CAF50 !important;
    color: #4CAF50 !important;
    box-shadow: 0 2px 8px rgba(76,175,80,0.2);
}

.layout-switcher--v2 .layout-switcher__button svg {
    display: block;
}

/* === ЛЕГЕНДА === */
.view-options__legend--v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 500;
    color: #666;
}

.view-options__legend--v2 .view-options__legend-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
}

.view-options__legend--v2 strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* === СОРТИРОВКА === */
.view-options__select--v2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-options__select--v2 label {
    font-size: 19px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

.select-wrapper--v2 {
    position: relative;
    min-width: 220px;
    display: flex;
    align-items: center;
}

.select-wrapper--v2 select {
    width: 100%;
    height: 44px;
    padding: 0 36px 0 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #f8f9fa;
    color: #333;
    font-size: 19px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
    line-height: 44px;
    display: flex;
    align-items: center;
}

/* ФИКС ВЫРАВНИВАНИЯ ТЕКСТА В СЕЛЕКТЕ */
.select-wrapper--v2 select,
.select-wrapper--v2 select option {
    text-align: center;
    text-align-last: center;
}

/* Для Firefox */
.select-wrapper--v2 select:-moz-focusring {
    text-align: center;
}

/* Для Safari/Chrome */
.select-wrapper--v2 select::-ms-value {
    text-align: center;
}

.select-wrapper--v2 select:hover {
    border-color: #c8e6c9;
    background: #f0faf0;
}

.select-wrapper--v2 select:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76,175,80,0.1);
}

.select-arrow--v2 {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-wrapper--v2:hover .select-arrow--v2 {
    color: #4CAF50;
}

/* === БЛОК ВЫБРАННЫХ ФИЛЬТРОВ === */
.view-options__body--filters-v2 {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 25px 20px 14px;
    background: linear-gradient(135deg, #f9fffe, #fff);
    border-radius: 16px;
    border: 2px solid #e8f5e9;
    margin-bottom: 12px;
}

.view-options__label--v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-top: 12px;
}

.view-options__label--v2 .view-options__label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
}

/* === ТЕГИ ФИЛЬТРОВ === */
.applied-filters--v2 .applied-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.applied-filters__button--v2 {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 6px 6px 16px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    color: #555;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: inherit;
    min-height: 38px;
}

.applied-filters__button--v2:hover {
    border-color: #e53935;
    color: #e53935;
    background: #ffebee;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229,57,53,0.15);
    text-decoration: none;
}

.filter-tag__text {
    line-height: 1;
    white-space: nowrap;
}

/* КРЕСТИК — СПРАВА, ПО ЦЕНТРУ */
.filter-tag__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    transition: all 0.2s;
    flex-shrink: 0;
    position: relative;
}

.applied-filters__button--v2:hover .filter-tag__remove {
    background: #ffcdd2;
    color: #e53935;
}

.filter-tag__remove svg {
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Кнопка очистить всё */
.applied-filters__button--clear-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    background: transparent;
    border: 2px dashed #ccc;
    border-radius: 20px;
    color: #999;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    min-height: 33px;
}

.applied-filters__button--clear-v2:hover {
    border-color: #e53935;
    border-style: solid;
    color: #e53935;
    background: #ffebee;
    transform: translateY(-1px);
}

.applied-filters__button--clear-v2 svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* === БЛОК КАТЕГОРИЙ === */
.view-options__body--categories-v2 {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.view-options__label--categories {
    color: #1a1a2e;
}

.view-options__label--categories .view-options__label-icon {
    color: #666;
}

/* Теги категорий */
.applied-filters__button--category {
    padding: 7px 14px;
    background: #f5f5f5;
    border-color: #e8e8e8;
}

.applied-filters__button--category:hover {
    border-color: #4CAF50;
    color: #2e7d32;
    background: #f0faf0;
    box-shadow: 0 4px 12px rgba(76,175,80,0.15);
}

.filter-tag__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid #ddd;
    position: relative;
}

.applied-filters__button--category:hover .filter-tag__check {
    border-color: #4CAF50;
    color: #4CAF50;
    background: #e8f5e9;
}

.filter-tag__check svg {
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Активная категория */
#category_filter li.active .applied-filters__button--category {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-color: #4CAF50;
    color: #fff;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
}

#category_filter li.active .filter-tag__check {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: rgba(255,255,255,0.2);
}

/* ============================================
   АДАПТИВ VIEW OPTIONS V2
   ============================================ */

@media (max-width: 991px) {
    .view-options__body--v2 {
        gap: 12px;
        padding: 12px 16px;
    }
    
    .view-options__body--filters-v2,
    .view-options__body--categories-v2 {
        padding: 12px 16px;
    }
    
    .view-options__legend--v2 {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
    }
    
    .view-options__select--v2 {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    /* шрифт увеличен */
.view-options__body--v2 {
        gap: 10px;
    }
    
    .filters-button--v2 {
        padding: 8px 14px;
        font-size: 20.4px;
    }
    
    .layout-switcher--v2 .layout-switcher__button {
        width: 34px;
        height: 34px;
    }
    
    .select-wrapper--v2 {
        min-width: 170px;
    }
    
    .select-wrapper--v2 select {
        padding: 8px 32px 8px 12px;
        font-size: 20.4px;
    }
    
    .view-options__select--v2 label {
        display: none;
    }
    
    .view-options__body--filters-v2,
    .view-options__body--categories-v2 {
        flex-direction: column;
        gap: 10px;
    }
    
    .view-options__label--v2 {
        padding-top: 0;
    }
    
    .applied-filters__button--v2 {
        padding: 6px 12px;
        font-size: 19.2px;
    }
    
    .applied-filters__button--clear-v2 {
        font-size: 19.2px;
    }
}

@media (max-width: 480px) {
    /* шрифт увеличен */
.view-options__body--v2 {
        padding: 10px 12px;
    }
    
    .layout-switcher--v2 .layout-switcher__list {
        padding: 3px;
    }
    
    .layout-switcher--v2 .layout-switcher__button {
        width: 32px;
        height: 32px;
    }
    
    .view-options__legend--v2 {
        font-size: 20.4px;
    }
}



/* ============================================
   ФИЛЬТРЫ V2 — КАРТОЧНЫЙ ИНТЕРФЕЙС
   ============================================ */

/* Скрываем старую шапку фильтров */
.widget-filters__header {
    display: none !important;
}

/* ===== ЗАГОЛОВОК БЛОКА ФИЛЬТРОВ ===== */
.filter-v2__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.filter-v2__header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
    flex-shrink: 0;
}

.filter-v2__header-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
}

/* ===== КАРТОЧКА ФИЛЬТРА ===== */
.filter-card-v2 {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-card-v2:hover {
    border-color: #c8e6c9;
    box-shadow: 0 4px 16px rgba(76,175,80,0.1);
}

/* Открытая карточка (по умолчанию) */
.filter-card-v2.filter--opened {
    border-color: #e8e5e5;
}

.filter-card-v2.filter--opened .filter-card-v2__header {
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-bottom-color: #e8f5e9;
}

.filter-card-v2.filter--opened .filter-card-v2__arrow svg {
    transform: rotate(180deg);
}

/* ===== ШАПКА КАРТОЧКИ ===== */
.filter-card-v2__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Иконка */
.filter-card-v2__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.filter-card-v2__icon--price {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.filter-card-v2__icon--brand {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.filter-card-v2__icon--option {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

.filter-card-v2__icon--color {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
}

/* Заголовок */
.filter-card-v2__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    flex: 1;
}

/* Счётчик */
.filter-card-v2__count {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-card-v2:hover .filter-card-v2__count {
    background: #e8f5e9;
    color: #4CAF50;
}

/* Стрелка */
.filter-card-v2__arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-card-v2__arrow svg {
    fill: #999;
    transition: transform 0.3s ease;
}

/* ===== ТЕЛО КАРТОЧКИ ===== */
.filter-card-v2__body {
    padding: 16px 18px 18px;
}

/* ===== ПОИСК В КАРТОЧКЕ ===== */
.filter-card-v2__search {
    position: relative;
    margin-bottom: 12px;
}

.filter-card-v2__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
    transition: color 0.3s;
}

.filter-card-v2__search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.filter-card-v2__search-input:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.filter-card-v2__search-input:focus + i,
.filter-card-v2__search:focus-within i {
    color: #4CAF50;
}

.filter-card-v2__search-input::placeholder {
    color: #bbb;
}

/* ===== СПИСОК ЗНАЧЕНИЙ ===== */
.filter-card-v2 .filter-list__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-card-v2 .filter-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 2px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-card-v2 .filter-list__item:hover {
    background: #f9fffe;
}

.filter-card-v2 .filter-list__item.is-hidden {
    display: none !important;
}

.filter-card-v2 .filter-list__item.is-filtered-out {
    display: none !important;
}

/* Чекбокс */
.filter-card-v2 .input-check__box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-card-v2 .input-check__input:checked + .input-check__box {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    border-color: #4CAF50;
}

.filter-card-v2 .input-check__icon {
    display: none;
}

.filter-card-v2 .input-check__input:checked + .input-check__box .input-check__icon {
    display: block;
}

.filter-card-v2 .input-check__icon svg {
    fill: #fff;
    width: 10px;
    height: 8px;
}

/* Название */
.filter-card-v2 .filter-list__title {
    font-size: 15px;
    color: #555;
    flex: 1;
    transition: color 0.2s;
}

.filter-card-v2 .filter-list__item:hover .filter-list__title {
    color: #2e7d32;
}

/* Счётчик */
.filter-card-v2 .filter-list__counter {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 20px;
    transition: all 0.2s;
}

.filter-card-v2 .filter-list__item:hover .filter-list__counter {
    background: #e8f5e9;
    color: #4CAF50;
}

/* ===== ЦВЕТА ===== */
.filter-card-v2 .filter-color__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px;
}

.filter-card-v2 .filter-color__item {
    cursor: pointer;
    transition: transform 0.2s;
}

.filter-card-v2 .filter-color__item.is-hidden {
    display: none !important;
}

.filter-card-v2 .filter-color__item.is-filtered-out {
    display: none !important;
}

.filter-card-v2 .filter-color__item:hover {
    transform: scale(1.15);
}

/* ===== КНОПКА "ПОКАЗАТЬ ВСЕ" ===== */
.filter-card-v2__show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-card-v2__show-all:hover {
    background: #f0faf0;
    border-color: #4CAF50;
    border-style: solid;
}

.filter-card-v2__show-all.is-expanded {
    background: #e8f5e9;
    border-style: solid;
    border-color: #4CAF50;
}

.filter-card-v2__show-all i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* ===== КНОПКИ ДЕЙСТВИЙ ===== */
.filter-v2__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 0 4px;
}

.filter-v2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
}

.filter-v2__btn--primary {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35);
}

.filter-v2__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.5);
}

.filter-v2__btn--primary:active {
    transform: scale(0.95);
}

.filter-v2__btn--secondary {
    background: #fff;
    color: #555;
    border: 2px solid #e8e8e8;
}

.filter-v2__btn--secondary:hover {
    border-color: #e53935;
    color: #e53935;
    background: #ffebee;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 767px) {
    /* шрифт увеличен */
.filter-v2__header {
        margin-bottom: 16px;
    }
    
    .filter-v2__header-title {
        font-size: 21.6px;
    }
    
    .filter-card-v2__header {
        padding: 12px 14px;
    }
    
    .filter-card-v2__title {
        font-size: 18px;
    }
    
    .filter-card-v2__body {
        padding: 12px 14px 14px;
    }
    
    .filter-v2__actions {
        flex-direction: column;
    }
}

/* ===== СКРЫВАЕМ СТАРЫЕ СТИЛИ ===== */
.widget-filters__item {
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
}

.widget-filters__item .filter {
    border: none !important;
    background: transparent !important;
}

.widget-filters__item .filter__title {
    display: none !important;
}

.widget-filters__item .filter__body {
    display: block !important;
    padding: 0 !important;
}

.widget-filters__item .filter__container {
    padding: 0 !important;
}

/* Старые кнопки скрываем */
.widget-filters__actions {
    display: none !important;
}

/* ===== ШАПКА КАРТОЧКИ — КУРСОР УКАЗАТЕЛЬ ===== */
.filter-card-v2__header {
    cursor: pointer;
    user-select: none;
}

/* Стрелка в свёрнутом состоянии */
.filter-card-v2:not(.filter--opened) .filter-card-v2__arrow svg {
    transform: rotate(0deg) !important;
}

/* Тело в свёрнутом состоянии */
.filter-card-v2:not(.filter--opened) .filter-card-v2__body {
    display: none;
}

/* При анимации slideUp/slideDown jQuery сам управляет display */
.filter-card-v2__body {
    display: block; /* По умолчанию открыто */
}

/* ===== ПОИСК — НЕ ПРОПУСКАТЬ КЛИК ===== */
.filter-card-v2__search {
    cursor: default;
}

.filter-card-v2__search-input {
    cursor: text;
}

/* ===== КНОПКА "ПОКАЗАТЬ ВСЕ" — НЕ ПРОПУСКАТЬ КЛИК ===== */
.filter-card-v2__show-all {
    cursor: pointer;
}


/* ============================================
   ЦВЕТА В ФИЛЬТРЕ — СЕТКА ПОДРЯД
   ============================================ */

.filter-colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px;
}

/* Карточка цвета */
.filter-color-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    border: 2px solid transparent;
    min-width: 60px;
    max-width: 80px;
    flex: 1;
}

.filter-color-v2:hover {
    background: #f0faf0;
    border-color: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76,175,80,0.15);
}

.filter-color-v2.is-hidden {
    display: none !important;
}

.filter-color-v2.is-filtered-out {
    display: none !important;
}

/* Скрытый чекбокс */
.filter-color-v2__input {
    display: none;
}

/* Кружок цвета */
.filter-color-v2__swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-color-v2:hover .filter-color-v2__swatch {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Выбранный цвет */
.filter-color-v2__input:checked + .filter-color-v2__swatch {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.3), inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Название цвета */
.filter-color-v2__name {
    font-size: 11px;
    color: #888;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-color-v2:hover .filter-color-v2__name {
    color: #2e7d32;
}

/* Выбранный — название зелёное */
.filter-color-v2__input:checked ~ .filter-color-v2__name {
    color: #4CAF50;
    font-weight: 600;
}

/* Белый цвет — граница чтобы был виден */
.filter-color-v2__swatch[style*="background-color: #fff"],
.filter-color-v2__swatch[style*="background-color: #ffffff"],
.filter-color-v2__swatch[style*="background-color: white"] {
    border-color: #ddd !important;
}

/* Чёрный цвет — чуть светлее граница */
.filter-color-v2__swatch[style*="background-color: #000"],
.filter-color-v2__swatch[style*="background-color: #000000"],
.filter-color-v2__swatch[style*="background-color: black"] {
    border-color: #444 !important;
}

/* ============================================
   ОПЦИИ С ИЗОБРАЖЕНИЯМИ — СЕТКА
   ============================================ */

.filter-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px;
}

/* Карточка опции */
.filter-option-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;           /* ← уменьшили gap */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 39px;        /* ← фиксированная ширина */
    min-width: 39px;
    max-width: 39px;
    text-align: center;
}


.filter-option-v2:hover {
    background: #f9fffe;
    border-color: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76,175,80,0.12);
}

.filter-option-v2.is-hidden {
    display: none !important;
}

.filter-option-v2.is-filtered-out {
    display: none !important;
}

/* Скрытый чекбокс */
.filter-option-v2__input {
    display: none;
}

/* Обёртка картинки */
.filter-option-v2__img-wrap {
    width: 40px;        /* ← уменьшили */
    height: 36px;       /* ← уменьшили */
    border-radius: 8px;
    background: #fff;
    border: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.2s ease;
    padding: 2px;
}



.filter-option-v2:hover .filter-option-v2__img-wrap {
    border-color: #c8e6c9;
    box-shadow: 0 2px 8px rgba(76,175,80,0.15);
}

/* Выбранная опция */
.filter-option-v2__input:checked + .filter-option-v2__img-wrap {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.2);
}

/* Картинка */
.filter-option-v2__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Название */
.filter-option-v2__name {
    font-size: 11px;
    color: #555;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.filter-option-v2:hover .filter-option-v2__name {
    color: #2e7d32;
}

/* Выбранное — название зелёное */
.filter-option-v2__input:checked ~ .filter-option-v2__name {
    color: #4CAF50;
    font-weight: 600;
}

/* Счётчик */
.filter-option-v2__count {
    font-size: 10px;
    font-weight: 600;
    color: #aaa;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-option-v2:hover .filter-option-v2__count {
    background: #e8f5e9;
    color: #4CAF50;
}

/* Выбранное — счётчик зелёный */
.filter-option-v2__input:checked ~ .filter-option-v2__count {
    background: #e8f5e9;
    color: #4CAF50;
}


/* === ВСПЛЫВАЮЩЕЕ ОКНО ФИЛЬТРА (AJAX) === */
.filter-ajax-popup {
    position: absolute;
    background: #fff;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px) translateY(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.filter-ajax-popup.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-50%);
}

/* Треугольник (стрелочка) слева */
.filter-ajax-popup::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-bottom: 2px solid #4CAF50;
    border-left: 2px solid #4CAF50;
}

.filter-ajax-popup__text {
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 600;
}

.filter-ajax-popup__btn {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.filter-ajax-popup__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(76,175,80,0.4);
}



/* ==========================================================================
   ЖЕСТКИЙ КАСКАД ДЛЯ СЕТКИ ТОВАРОВ В КАТЕГОРИИ (5 КОЛОНОК)
   Перебиваем любые стили старой темы
   ========================================================================== */

/* 1. Ломаем старую раскладку контейнера и принудительно включаем Grid */
.block-products-v2-wrapper.products-list .products-list__content {
    display: grid !important;
    /* Меняем 1fr на minmax(0, 1fr) */
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; 
    gap: 10px !important; 
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Обнуляем влияние старой темы на обертку карточки */
.block-products-v2-wrapper.products-list .products-list__item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: none !important;
    border: none !important;
    background: transparent !important;
}

/* 3. Заставляем саму карточку вести себя как в слайдере */
.block-products-v2-wrapper.products-list .product-card {
    height: 100% !important; /* Карточки в одном ряду будут одинаковой высоты */
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
}

/* 4. Прибиваем футер карточки (с ценой и кнопкой) к низу, если названия разной длины */
.block-products-v2-wrapper.products-list .product-card__info {
    flex-grow: 1 !important;
}

/* ==========================================================================
   АДАПТИВ ДЛЯ ЖЕСТКОЙ СЕТКИ
   ========================================================================== */

/* Ноутбуки и планшеты горизонтально (4 колонки) */
@media (max-width: 1199px) {
    .block-products-v2-wrapper.products-list .products-list__content {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Планшеты вертикально (3 колонки) */
@media (max-width: 991px) {
    .block-products-v2-wrapper.products-list .products-list__content {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* Мобильные телефоны (2 колонки) */
@media (max-width: 767px) {
    .block-products-v2-wrapper.products-list .products-list__content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* ============================================
   ТАБЛИЧНЫЙ ВИД ТОВАРОВ В КАТЕГОРИИ — V2
   ============================================ */

/* Скрываем шапку таблицы (заголовки колонок) в табличном виде */
.products-list[data-layout="table"] .products-list__head {
    display: none !important;
}

/* Контейнер табличного вида — как у wishlist */
.products-list[data-layout="table"] .products-list__content {
    display: block !important;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Каждый товар — строка таблицы */
.products-list[data-layout="table"] .products-list__item {
    display: table !important;
    width: 100% !important;
    table-layout: fixed;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.products-list[data-layout="table"] .products-list__item:hover {
    background: #f9fffe;
}

.products-list[data-layout="table"] .products-list__item:last-child {
    border-bottom: none;
}

/* Скрываем карточку плитки в табличном режиме */
.products-list[data-layout="table"] .product-card--v2-grid {
    display: none !important;
}

/* Показываем табличную карточку */
.products-list[data-layout="table"] .product-card-table-v2 {
    display: table-row !important;
    width: 100%;
}

/* Ячейки таблицы */
.product-card-table-v2 {
    display: none; /* Скрыта по умолчанию, показывается только в table layout */
}

.products-list[data-layout="table"] .product-card-table-v2 > div {
    display: table-cell !important;
    vertical-align: middle;
    padding: 16px 20px;
}

/* === ИЗОБРАЖЕНИЕ === */
.pct-image {
    width: 100px;
    text-align: center;
}

.pct-image a {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.products-list[data-layout="table"] .products-list__item:hover .pct-image a {
    border-color: #c8e6c9;
    box-shadow: 0 4px 12px rgba(76,175,80,0.15);
}

.pct-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.products-list[data-layout="table"] .products-list__item:hover .pct-image img {
    transform: scale(1.05);
}

/* === АРТИКУЛ === */
.pct-sku {
    width: 120px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* === ИНФО (название + бейджи) === */
.pct-info {
    width: auto;
}

.pct-name {
    margin-bottom: 8px;
}

.pct-name a {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.pct-name a:hover {
    color: #2e7d32;
}

/* === БЕЙДЖИ === */
.pct-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pct-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.pct-badge--sale {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: white;
    box-shadow: 0 3px 10px rgba(229,57,53,0.4);
}

.pct-badge--new {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    box-shadow: 0 3px 10px rgba(21,101,192,0.4);
}

.pct-badge--hot {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    box-shadow: 0 3px 10px rgba(76,175,80,0.4);
}

/* === ДЕЙСТВИЯ (цена + корзина) === */
.pct-action {
    width: 280px;
    text-align: right;
    white-space: nowrap;
}

.pct-price {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-right: 16px;
    vertical-align: middle;
}

.pct-price-current {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
}

.pct-price-new {
    font-size: 18px;
    font-weight: 800;
    color: #e53935;
}

.pct-price-old {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
}

/* === КНОПКА "В КОРЗИНУ" — как в wishlist === */
.pct-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
    font-family: inherit;
    white-space: nowrap;
    vertical-align: middle;
}

.pct-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76,175,80,0.45);
}

.pct-cart:active {
    transform: scale(0.95);
}

.pct-cart svg {
    width: 16px;
    height: 16px;
    fill: white;
    flex-shrink: 0;
}

/* ============================================
   АДАПТИВ ТАБЛИЧНОГО ВИДА
   ============================================ */

/* ============================================
   АДАПТИВ ТАБЛИЧНОГО ВИДА (КОМПАКТНЫЙ GRID V3)
   ============================================ */

@media (max-width: 991px) {
    /* 1. Убиваем табличную структуру родителя и добавляем разделитель */
    .products-list[data-layout="table"] .products-list__item {
        display: block !important;
        border-bottom: 1px solid #e8e8e8 !important; /* Разделитель между товарами */
        padding: 16px 12px !important;
    }
    .products-list[data-layout="table"] .products-list__item:last-child {
        border-bottom: none !important;
    }

    /* 2. Grid-сетка для карточки (3 колонки: картинка, артикул, бейдж) */
    .products-list[data-layout="table"] .product-card-table-v2 {
        display: grid !important;
        grid-template-columns: 75px auto 1fr !important; 
        grid-template-areas:
            "img sku badges"
            "img name name"
            "img action action" !important;
        gap: 6px 14px !important;
        align-items: center !important;
    }

    /* 3. Сбрасываем table-cell для ВСЕХ дочерних элементов */
    .products-list[data-layout="table"] .product-card-table-v2 > div {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* 4. РАСПАКОВЫВАЕМ pct-info (Усиленный селектор, чтобы точно сработало) */
    .products-list[data-layout="table"] .product-card-table-v2 > div.pct-info {
        display: contents !important;
    }

    /* 5. Расставляем элементы по своим местам */
    .products-list[data-layout="table"] .product-card-table-v2 .pct-image {
        grid-area: img !important;
        margin: 0 !important;
        align-self: start !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 .pct-image a {
        width: 75px !important;
        height: 75px !important;
        margin: 0 !important;
    }

    .products-list[data-layout="table"] .product-card-table-v2 .pct-sku {
        grid-area: sku !important;
        margin: 0 !important;
        font-size: 13px !important;
        color: #888 !important;
    }

    /* Бейджи встанут прямо справа от артикула */
    .products-list[data-layout="table"] .product-card-table-v2 .pct-badges {
        grid-area: badges !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    .products-list[data-layout="table"] .product-card-table-v2 .pct-name {
        grid-area: name !important;
        margin: 2px 0 6px 0 !important;
        align-self: start !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 .pct-name a {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .products-list[data-layout="table"] .product-card-table-v2 .pct-action {
        grid-area: action !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        margin: 0 !important;
        border-top: none !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 .pct-price {
        margin: 0 !important;
        align-items: flex-start !important;
    }
}

/* Дополнительная усадка для мобильных телефонов */
@media (max-width: 480px) {
    .products-list[data-layout="table"] .products-list__item {
        padding: 14px 10px !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 {
        grid-template-columns: 65px auto 1fr !important;
        gap: 4px 12px !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 .pct-image a {
        width: 65px !important;
        height: 65px !important;
    }
    .products-list[data-layout="table"] .product-card-table-v2 .pct-cart {
        padding: 8px 14px !important;
        font-size: 14px !important;
    }
}

/* ============================================
   МОДАЛЬНОЕ ОКНО ВЫБОРА ОПЦИЙ — V2
   ============================================ */

.option-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.option-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.option-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 9999;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option-modal.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Шапка */
.option-modal__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.option-modal__image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    flex-shrink: 0;
}

.option-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.option-modal__info {
    flex: 1;
    min-width: 0;
}

.option-modal__name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 4px;
}

.option-modal__price {
    font-size: 20px;
    font-weight: 800;
    color: #4CAF50;
}

.option-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.option-modal__close:hover {
    background: #ffebee;
    color: #e53935;
}

/* Тело */
.option-modal__body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

/* Группа опций */
.option-group {
    margin-bottom: 20px;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.option-group__label .required {
    color: #e53935;
    margin-left: 2px;
}

/* Радио-опции */
.option-group__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-radio {
    position: relative;
}

.option-radio__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-radio__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    color: #555;
}

.option-radio__label:hover {
    border-color: #c8e6c9;
    background: #f0faf0;
}

.option-radio__input:checked + .option-radio__label {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    color: #2e7d32;
    font-weight: 600;
}

.option-radio__color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Селект */
.option-group__select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.option-group__select:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* Чекбокс */
.option-group__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s;
}

.option-group__checkbox:hover {
    background: #f0faf0;
}

.option-group__checkbox input {
    display: none;
}

.option-group__checkmark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}

.option-group__checkmark i {
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.option-group__checkbox input:checked + .option-group__checkmark {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
}

.option-group__checkbox input:checked + .option-group__checkmark i {
    opacity: 1;
    transform: scale(1);
}

.option-group__check-text {
    font-size: 15px;
    color: #555;
}

/* Текстовое поле / textarea */
.option-group__input,
.option-group__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.option-group__input:focus,
.option-group__textarea:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.option-group__textarea {
    min-height: 100px;
    resize: vertical;
}

/* Дата / время */
.option-group__datetime {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    outline: none;
}

/* Файл */
.option-group__file {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-group__file-input {
    display: none;
}

.option-group__file-btn {
    padding: 10px 18px;
    background: #f0f0f0;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.option-group__file-btn:hover {
    border-color: #4CAF50;
    color: #2e7d32;
    background: #f0faf0;
}

.option-group__file-name {
    font-size: 14px;
    color: #888;
}

/* Подсказка */
.option-group__hint {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
}

/* Футер */
.option-modal__footer {
    padding: 20px 28px 24px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.option-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.option-modal__btn--primary {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 14px rgba(76,175,80,0.35);
}

.option-modal__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76,175,80,0.5);
}

.option-modal__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.option-modal__btn--secondary {
    background: #fff;
    color: #555;
    border: 2px solid #e8e8e8;
}

.option-modal__btn--secondary:hover {
    border-color: #4CAF50;
    color: #2e7d32;
    background: #f0faf0;
}

/* Количество */
.option-modal__qty {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: auto;
}

.option-modal__qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e8e8e8;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    transition: all 0.2s;
}

.option-modal__qty-btn:first-child {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.option-modal__qty-btn:last-child {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.option-modal__qty-btn:hover {
    background: #f0faf0;
    color: #4CAF50;
}

.option-modal__qty-input {
    width: 50px;
    height: 40px;
    border: 2px solid #e8e8e8;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    outline: none;
    font-family: inherit;
}

/* Адаптив */
@media (max-width: 576px) {
    /* шрифт увеличен */
.option-modal {
        max-width: calc(100% - 32px);
        max-height: 90vh;
        border-radius: 16px;
    }

    .option-modal__header {
        padding: 20px 20px 16px;
    }

    .option-modal__image {
        width: 52px;
        height: 52px;
    }

    .option-modal__name {
        font-size: 18px;
    }

    .option-modal__body {
        padding: 20px;
    }

    .option-modal__footer {
        padding: 16px 20px 20px;
        flex-direction: column;
    }

    .option-modal__qty {
        margin-right: 0;
        justify-content: center;
    }

    .option-modal__btn {
        width: 100%;
    }
}


/* ============================================
   ОПИСАНИЕ КАТЕГОРИИ ПОСЛЕ ТОВАРОВ — V2
   ============================================ */

/* Скрываем старую карточку описания, если она мешает */
.block-split__item-content .card.mb-4.mt-4 {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.block-split__item-content .card.mb-4.mt-4 .card-body {
    padding: 0 !important;
    background: transparent !important;
}

/* Новый стиль описания */
.cat-description-v2 {
    margin: 48px 0 32px;
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.cat-description-v2:hover {
    border-color: #c8e6c9;
    box-shadow: 0 12px 48px rgba(76,175,80,0.12);
}

/* Шапка с иконкой */
.cat-description-v2__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 20px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-bottom: 2px solid #e8f5e9;
}

.cat-description-v2__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(76,175,80,0.35);
    flex-shrink: 0;
}

.cat-description-v2__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.cat-description-v2__title span {
    color: #4CAF50;
}

/* Тело описания */
.cat-description-v2__body {
    padding: 28px 32px 32px;
}

/* Стилизация типографики внутри описания */
.cat-description-v2__body .typography,
.cat-description-v2__body > div {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.cat-description-v2__body .typography p,
.cat-description-v2__body > div p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.8;
}

.cat-description-v2__body .typography p:last-child,
.cat-description-v2__body > div p:last-child {
    margin-bottom: 0;
}

/* Заголовки H2-H4 внутри описания */
.cat-description-v2__body .typography h2,
.cat-description-v2__body > div h2,
.cat-description-v2__body .typography h3,
.cat-description-v2__body > div h3,
.cat-description-v2__body .typography h4,
.cat-description-v2__body > div h4 {
    font-family: inherit;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 16px;
    line-height: 1.3;
}

.cat-description-v2__body .typography h2,
.cat-description-v2__body > div h2 {
    font-size: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}

.cat-description-v2__body .typography h2::after,
.cat-description-v2__body > div h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    border-radius: 2px;
}

.cat-description-v2__body .typography h3,
.cat-description-v2__body > div h3 {
    font-size: 20px;
    color: #2e7d32;
}

.cat-description-v2__body .typography h4,
.cat-description-v2__body > div h4 {
    font-size: 18px;
    color: #4CAF50;
}

/* Списки */
.cat-description-v2__body .typography ul,
.cat-description-v2__body > div ul,
.cat-description-v2__body .typography ol,
.cat-description-v2__body > div ol {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.cat-description-v2__body .typography ul li,
.cat-description-v2__body > div ul li,
.cat-description-v2__body .typography ol li,
.cat-description-v2__body > div ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.cat-description-v2__body .typography ul li::before,
.cat-description-v2__body > div ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    flex-shrink: 0;
}

.cat-description-v2__body .typography ol li,
.cat-description-v2__body > div ol li {
    counter-increment: list-counter;
}

.cat-description-v2__body .typography ol li::before,
.cat-description-v2__body > div ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ссылки */
.cat-description-v2__body .typography a,
.cat-description-v2__body > div a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}

.cat-description-v2__body .typography a:hover,
.cat-description-v2__body > div a:hover {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

/* Жирный текст */
.cat-description-v2__body .typography strong,
.cat-description-v2__body > div strong,
.cat-description-v2__body .typography b,
.cat-description-v2__body > div b {
    color: #1a1a2e;
    font-weight: 700;
}

/* Выделенный текст / маркер */
.cat-description-v2__body .typography mark,
.cat-description-v2__body > div mark {
    background: linear-gradient(120deg, #C8E6C9 0%, #C8E6C9 100%);
    color: #1B5E20;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Таблицы */
.cat-description-v2__body .typography table,
.cat-description-v2__body > div table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cat-description-v2__body .typography th,
.cat-description-v2__body > div th {
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    color: #2e7d32;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #c8e6c9;
}

.cat-description-v2__body .typography td,
.cat-description-v2__body > div td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #555;
}

.cat-description-v2__body .typography tr:hover td,
.cat-description-v2__body > div tr:hover td {
    background: #f9fffe;
}

.cat-description-v2__body .typography tr:last-child td,
.cat-description-v2__body > div tr:last-child td {
    border-bottom: none;
}

/* Цитаты */
.cat-description-v2__body .typography blockquote,
.cat-description-v2__body > div blockquote {
    margin: 20px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-left: 4px solid #4CAF50;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Разделитель */
.cat-description-v2__body .typography hr,
.cat-description-v2__body > div hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, transparent);
    margin: 28px 0;
    border-radius: 2px;
}

/* Изображения */
.cat-description-v2__body .typography img,
.cat-description-v2__body > div img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 16px 0;
}

/* Раскрывающийся блок (если текст длинный) */
.cat-description-v2__toggle {
    display: flex;
    justify-content: center;
    padding: 0 32px 24px;
}

.cat-description-v2__toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cat-description-v2__toggle-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
    background: #f0faf0;
}

.cat-description-v2__toggle-btn i {
    transition: transform 0.3s ease;
}

.cat-description-v2__toggle-btn.is-expanded i {
    transform: rotate(180deg);
}

/* Скрытый текст (для раскрытия) */
.cat-description-v2__body.is-collapsed {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.cat-description-v2__body.is-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

/* ============================================
   АДАПТИВ ОПИСАНИЯ
   ============================================ */

@media (max-width: 991px) {
    /* шрифт увеличен */
.cat-description-v2 {
        margin: 32px 0 24px;
        border-radius: 16px;
    }

    .cat-description-v2__header {
        padding: 20px 24px 16px;
        gap: 12px;
    }

    .cat-description-v2__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 19.2px;
    }

    .cat-description-v2__title {
        font-size: 21.6px;
    }

    .cat-description-v2__body {
        padding: 20px 24px 24px;
    }

    .cat-description-v2__body .typography,
    .cat-description-v2__body > div {
        font-size: 18px;
        line-height: 1.7;
    }

    .cat-description-v2__body .typography h2,
    .cat-description-v2__body > div h2 {
        font-size: 24px;
    }

    .cat-description-v2__body .typography h3,
    .cat-description-v2__body > div h3 {
        font-size: 21.6px;
    }

    .cat-description-v2__body .typography table,
    .cat-description-v2__body > div table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    /* шрифт увеличен */
.cat-description-v2 {
        margin: 24px 0 16px;
        border-radius: 14px;
    }

    .cat-description-v2__header {
        padding: 16px 20px 12px;
    }

    .cat-description-v2__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 16.8px;
    }

    .cat-description-v2__title {
        font-size: 19.2px;
    }

    .cat-description-v2__body {
        padding: 16px 20px 20px;
    }

    .cat-description-v2__body .typography,
    .cat-description-v2__body > div {
        font-size: 16.8px;
        line-height: 1.65;
    }

    .cat-description-v2__body .typography h2,
    .cat-description-v2__body > div h2 {
        font-size: 21.6px;
        margin: 20px 0 12px;
    }

    .cat-description-v2__body .typography h3,
    .cat-description-v2__body > div h3 {
        font-size: 19.2px;
    }

    .cat-description-v2__body .typography ul li,
    .cat-description-v2__body > div ul li {
        padding-left: 24px;
        font-size: 16.8px;
    }
}


/* ============================================
   КАРТОЧКА ТОВАРА — V2 (prod-v2- префикс)
   ============================================ */

/* Скрываем старые конфликтующие элементы, если мешают */
.product--layout--full .product__card--one,
.product--layout--full .product__card--two {
    display: none !important;
}

/* ===== ОСНОВНАЯ ОБЁРТКА ===== */
.prod-v2-wrap {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 15px;
    align-items: start;
    margin: 32px 0;
}

/* ===== ЛЕВАЯ КОЛОНКА: Галерея + Инфо ===== */
.prod-v2-left {
    min-width: 0;
}

/* ===== ГАЛЕРЕЯ ===== */
.prod-v2-gallery {
    background: #fff;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.35s ease;
}

.prod-v2-gallery:hover {
    border-color: #c8e6c9;
    box-shadow: 0 8px 32px rgba(76,175,80,0.1);
}

.prod-v2-gallery__featured {
    position: relative;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #fafafa;
}

.prod-v2-gallery__featured img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.prod-v2-gallery__featured:hover img {
    transform: scale(1.03);
}

/* ===== КНОПКА ЗУМА — ЗЕЛЁНАЯ ТЕМА ===== */
.prod-v2-gallery__zoom {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
}

.prod-v2-gallery__zoom:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.prod-v2-gallery__zoom:active {
    transform: scale(0.95);
}

/* SVG иконка — белая */
.prod-v2-gallery__zoom svg {
    width: 25px;
    height: 25px;
    stroke: white;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.prod-v2-gallery__zoom:hover svg {
    transform: scale(1.15);
}

/* Миниатюры */
.prod-v2-gallery__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.prod-v2-gallery__thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    padding: 4px;
}

.prod-v2-gallery__thumb:hover,
.prod-v2-gallery__thumb.is-active {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76,175,80,0.2);
    transform: translateY(-2px);
}

.prod-v2-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== ЗАГОЛОВОК ===== */
.prod-v2-header {
    margin-bottom: 20px;
	margin-top: 30px;
}

.prod-v2-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

/* Бейдж статуса */
.prod-v2-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
}

.prod-v2-status__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-v2-status__icon svg {
    fill: white;
    width: 10px;
    height: 10px;
}

/* ===== КРАТКОЕ ОПИСАНИЕ ===== */
.prod-v2-excerpt {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

/* ===== ХАРАКТЕРИСТИКИ ===== */
.prod-v2-features {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.prod-v2-features__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.prod-v2-features__title-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.prod-v2-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prod-v2-features__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.prod-v2-features__item:hover {
    background: #f0faf0;
}

.prod-v2-features__name {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    min-width: 140px;
}

.prod-v2-features__value {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 600;
    flex: 1;
}

/* Ссылка "Все характеристики" */
.prod-v2-features__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #4CAF50;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 10px;
    background: #f9fffe;
    border: 2px solid #e8f5e9;
}

.prod-v2-features__all:hover {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    border-color: #4CAF50;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
}

/* ===== ПРАВАЯ КОЛОНКА: Карточка покупки ===== */
.prod-v2-right {
    position: sticky;
    top: 24px;
}

.prod-v2-buy {
    background: #fff;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.prod-v2-buy:hover {
    border-color: #c8e6c9;
    box-shadow: 0 12px 48px rgba(76,175,80,0.12);
}

/* Бейджи */
.prod-v2-buy__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 20px 24px 0;
}

.prod-v2-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.prod-v2-badge--sale {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: white;
    box-shadow: 0 3px 10px rgba(229,57,53,0.4);
}

.prod-v2-badge--new {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    box-shadow: 0 3px 10px rgba(21,101,192,0.4);
}

.prod-v2-badge--hot {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    box-shadow: 0 3px 10px rgba(76,175,80,0.4);
}

/* Цены */
.prod-v2-buy__prices {
    padding: 20px 24px;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prod-v2-price__current {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.prod-v2-price__new {
    font-size: 32px;
    font-weight: 800;
    color: #e53935;
    line-height: 1;
}

.prod-v2-price__old {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
}

.prod-v2-price__tax {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* Наличие */
.prod-v2-buy__stock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f9fffe;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-buy__stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    animation: prodV2Pulse 2s infinite;
}

@keyframes prodV2Pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

.prod-v2-buy__stock-text {
    font-size: 17px;
    font-weight: 600;
    color: #2e7d32;
}

/* Мета-инфо (артикул, бренд) */
.prod-v2-buy__meta {
    padding: 16px 24px;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.prod-v2-meta-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.prod-v2-meta-table tr:last-child {
    border-bottom: none;
}

.prod-v2-meta-table th {
    padding: 10px 0;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    text-align: left;
    width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prod-v2-meta-table td {
    padding: 10px 0;
    font-size: 16px;
    color: #1a1a2e;
    font-weight: 600;
}

.prod-v2-meta-table a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.2s;
}

.prod-v2-meta-table a:hover {
    color: #2e7d32;
    text-decoration: underline;
}

/* ===== ОПЦИИ ===== */
.prod-v2-options {
    padding: 20px 24px;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-option {
    margin-bottom: 16px;
}

.prod-v2-option:last-child {
    margin-bottom: 0;
}

.prod-v2-option__label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

/* Радио-цвета */
.prod-v2-option__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prod-v2-color {
    position: relative;
    cursor: pointer;
}

.prod-v2-color__input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.prod-v2-color__swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.prod-v2-color__swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.prod-v2-color__input:checked + .prod-v2-color__swatch {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.3), 0 2px 8px rgba(0,0,0,0.15);
}

.prod-v2-color__swatch::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #1a1a2e;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.prod-v2-color:hover .prod-v2-color__swatch::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Радио-опции (не цвета) */
.prod-v2-option__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prod-v2-radio {
    position: relative;
}

.prod-v2-radio__input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.prod-v2-radio__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    border: 2px solid #e8e8e8;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    color: #555;
}

.prod-v2-radio__label:hover {
    border-color: #c8e6c9;
    background: #f0faf0;
}

.prod-v2-radio__input:checked + .prod-v2-radio__label {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    color: #2e7d32;
    font-weight: 600;
}

.prod-v2-radio__img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

/* Селект */
.prod-v2-option__select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.prod-v2-option__select:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* Чекбоксы */
.prod-v2-option__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prod-v2-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s;
}

.prod-v2-checkbox:hover {
    background: #f0faf0;
}

.prod-v2-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.prod-v2-checkbox__box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}

.prod-v2-checkbox__box svg {
    width: 12px;
    height: 12px;
    fill: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.prod-v2-checkbox__input:checked + .prod-v2-checkbox__box {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
}

.prod-v2-checkbox__input:checked + .prod-v2-checkbox__box svg {
    opacity: 1;
    transform: scale(1);
}

.prod-v2-checkbox__text {
    font-size: 15px;
    color: #555;
}

/* Текстовое поле */
.prod-v2-option__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.prod-v2-option__input:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* ===== КОЛИЧЕСТВО + КНОПКИ ===== */
.prod-v2-actions {
    padding: 20px 24px;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-qty {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.prod-v2-qty__btn {
    width: 48px;
    height: 48px;
    border: 2px solid #e8e8e8;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    transition: all 0.2s;
    user-select: none;
}

.prod-v2-qty__btn:first-child {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.prod-v2-qty__btn:last-child {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.prod-v2-qty__btn:hover {
    background: #f0faf0;
    color: #4CAF50;
}

.prod-v2-qty__input {
    width: 60px;
    height: 48px;
    border: 2px solid #e8e8e8;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    outline: none;
    font-family: inherit;
}

/* Кнопка в корзину */
.prod-v2-addcart {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76,175,80,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.prod-v2-addcart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(76,175,80,0.5);
}

.prod-v2-addcart:active {
    transform: scale(0.97);
}

.prod-v2-addcart svg {
    fill: white;
    width: 20px;
    height: 20px;
}

/* Кнопки действий (избранное, сравнение) */
.prod-v2-actions__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 2px solid #f5f5f5;
}

.prod-v2-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.prod-v2-action-btn:hover {
    border-color: #4CAF50;
    color: #2e7d32;
    background: #f0faf0;
    transform: translateY(-1px);
}

.prod-v2-action-btn svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* ===== ПРЕИМУЩЕСТВА МАГАЗИНА — 2 В РЯД ===== */
.prod-v2-shop-features {
    padding: 20px 24px;
}

.prod-v2-shop-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2 колонки */
    gap: 16px;
}

.prod-v2-shop-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: #F9FFFE;
    border-radius: 14px;
    border: 2px solid #E8F5E9;
    transition: all 0.3s ease;
}

.prod-v2-shop-feature:hover {
    border-color: #C8E6C9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.1);
}

.prod-v2-shop-feature__icon {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #A5D6A7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}

.prod-v2-shop-feature__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.prod-v2-shop-feature__info {
    flex: 1;
    min-width: 0;
}

.prod-v2-shop-feature__title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 4px;
    line-height: 1.3;
}

.prod-v2-shop-feature__subtitle {
    font-size: 15px;
    color: #888;
    line-height: 1.5;
}

/* На планшете остаётся 2 колонки, но компактнее */
@media (max-width: 1199px) {
    .prod-v2-shop-features__list {
        gap: 12px;
    }
    
    .prod-v2-shop-feature {
        padding: 12px;
    }
}

/* На мобильном — 1 колонка */
@media (max-width: 576px) {
    /* шрифт увеличен */
.prod-v2-shop-features__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .prod-v2-shop-feature__icon {
        width: 44px;
        height: 44px;
        padding: 8px;
    }
    
    .prod-v2-shop-feature__title {
        font-size: 16.8px;
    }
    
    .prod-v2-shop-feature__subtitle {
        font-size: 14.4px;
    }
}

/* ===== ТАБЫ (Описание, Характеристики...) ===== */
.prod-v2-tabs {
    margin-top: 48px;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.prod-v2-tabs__nav {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-bottom: 2px solid #e8f5e9;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.prod-v2-tabs__nav::-webkit-scrollbar {
    display: none;
}

.prod-v2-tabs__btn {
    padding: 18px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 17px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    position: relative;
}

.prod-v2-tabs__btn:hover {
    color: #4CAF50;
    background: rgba(76,175,80,0.05);
}

.prod-v2-tabs__btn.is-active {
    color: #2e7d32;
    border-bottom-color: #4CAF50;
    background: #fff;
}

.prod-v2-tabs__content {
    padding: 32px;
}

.prod-v2-tabs__pane {
    display: none;
    animation: fadeInPane 0.3s ease;
}

.prod-v2-tabs__pane.is-active {
    display: block;
}

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

/* Таб: Характеристики (spec) */
.prod-v2-spec {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prod-v2-spec__section {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.prod-v2-spec__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}

.prod-v2-spec__title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    border-radius: 2px;
}

.prod-v2-spec__row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.prod-v2-spec__row:last-child {
    border-bottom: none;
}

.prod-v2-spec__name {
    width: 280px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}

.prod-v2-spec__value {
    flex: 1;
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 600;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1199px) {
    /* шрифт увеличен */
.prod-v2-wrap {
        grid-template-columns: 1fr 2fr;
        gap: 24px;
    }

    .prod-v2-title {
        font-size: 28.8px;
    }

    .prod-v2-gallery__featured img {
        height: 320px;
    }
}

@media (max-width: 991px) {
    .prod-v2-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .prod-v2-right {
        position: static;
        max-width: 100%;  /* Растягиваем на всю ширину */
    }

    .prod-v2-gallery__featured img {
        height: 360px;
    }
}

@media (max-width: 576px) {
    /* шрифт увеличен */
.prod-v2-gallery {
        padding: 16px;
        border-radius: 16px;
    }

    .prod-v2-gallery__featured img {
        height: 280px;
    }

    .prod-v2-gallery__thumb {
        width: 56px;
        height: 56px;
    }

    .prod-v2-title {
        font-size: 24px;
    }

    .prod-v2-excerpt,
    .prod-v2-features {
        padding: 16px;
        border-radius: 14px;
    }

    .prod-v2-buy {
        border-radius: 16px;
    }

    .prod-v2-buy__badges,
    .prod-v2-buy__prices,
    .prod-v2-buy__stock,
    .prod-v2-buy__meta,
    .prod-v2-options,
    .prod-v2-actions,
    .prod-v2-actions__secondary,
    .prod-v2-shop-features {
        padding-left: 16px;
        padding-right: 16px;
    }

    .prod-v2-price__current,
    .prod-v2-price__new {
        font-size: 31.2px;
    }

    .prod-v2-tabs__btn {
        padding: 14px 16px;
        font-size: 15.6px;
    }

    .prod-v2-tabs__content {
        padding: 20px;
    }

    .prod-v2-spec__name {
        width: 140px;
        font-size: 14.4px;
    }

    .prod-v2-spec__value {
        font-size: 15.6px;
    }
}


/* Тултип для опций-картинок (цветов) при наведении */
.prod-v2-radio__label[data-tooltip] {
    position: relative;
}

.prod-v2-radio__label[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #1a1a2e;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

/* Появление тултипа при наведении */
.prod-v2-radio:hover .prod-v2-radio__label[data-tooltip]::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Убираем дефолтные стрелки вверх/вниз у поля количества */
.prod-v2-qty__input[type="number"]::-webkit-inner-spin-button,
.prod-v2-qty__input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prod-v2-qty__input[type="number"] {
    -moz-appearance: textfield; /* Для Firefox */
    appearance: textfield; /* Стандарт */
}

/* Выстраиваем количество и кнопку в один ряд */
.prod-v2-actions {
    display: flex;
    align-items: center;
    gap: 16px; /* Расстояние между блоком количества и кнопкой */
}

/* Убираем отступ снизу и запрещаем блоку количества сжиматься */
.prod-v2-qty {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

/* Заставляем кнопку корзины занять всё оставшееся пространство справа */
.prod-v2-addcart {
    width: auto !important;
    flex: 1; 
}

/* Адаптив: если экран совсем узкий (старые смартфоны), возвращаем их друг под друга, чтобы не было тесно */
@media (max-width: 400px) {
    .prod-v2-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .prod-v2-addcart {
        width: 100% !important;
    }
}

/* Делаем блок количества более компактным */
.prod-v2-qty__btn {
    width: 25px !important;   /* Уменьшили ширину (было 48) */
    height: 44px !important;  /* Уменьшили высоту (было 48) */
    font-size: 18px !important; /* Чуть меньше значки +/- */
}

.prod-v2-qty__input {
    width: 48px !important;   /* Уменьшили ширину поля (было 60) */
    height: 44px !important;  /* Уменьшили высоту (было 48) */
    font-size: 15px !important;
}

/* Слегка уменьшаем высоту кнопки корзины, чтобы она не казалась огромной рядом с новым полем */
.prod-v2-addcart {
    padding: 10px 24px !important; /* Уменьшили отступы сверху/снизу */
    font-size: 18px !important;
}



/* ===== ЛЕНТОЧКА SKU / ЦЕНА ЗА УПАКОВКУ ===== */
.prod-v2-sku-ribbon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 8px 0 14px;
    background: linear-gradient(135deg, #FFF8E1, #FFF3E0);
    border-left: 4px solid #FF9800;
    border-radius: 0 10px 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #E65100;
    line-height: 1.4;
    position: relative;
}

/* Выделение числа жирным */
.prod-v2-sku-ribbon strong,
.prod-v2-sku-ribbon b {
    color: #BF360C;
    font-weight: 800;
}

/* ===== МОДАЛЬНОЕ ОКНО ЗУМА ===== */
dialog.prod {
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: modalZoomIn 0.3s ease;
}

dialog.prod::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: modalBackdropIn 0.3s ease;
}

dialog.prod .gal {
    display: block;
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 16px;
    padding: 16px;
}

/* Кнопка закрытия */
dialog.prod .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
    transition: all 0.3s ease;
    z-index: 10;
}

dialog.prod .modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* Анимации */
@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* ===== МИНИАТЮРЫ ОПЦИЙ ===== */
.prod-v2-gallery__thumb[data-type="option"] {
    position: relative;
    border-color: #E8F5E9;
}

.prod-v2-gallery__thumb[data-type="option"]:hover,
.prod-v2-gallery__thumb[data-type="option"].is-active {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

/* Подпись под миниатюрой опции */
.prod-v2-gallery__thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 2px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.prod-v2-gallery__thumb:hover .prod-v2-gallery__thumb-label,
.prod-v2-gallery__thumb.is-active .prod-v2-gallery__thumb-label {
    opacity: 1;
}

/* Разделитель групп */
.prod-v2-gallery__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Индикатор типа — маленькая точка */
.prod-v2-gallery__thumb[data-type="option"]::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF9800;
    border: 2px solid white;
}


/* ===== СТИЛИЗАЦИЯ ТЕКСТА ВО ВКЛАДКАХ (как в категории) ===== */
.prod-v2-tabs__pane .typography,
.prod-v2-tabs__pane > div {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.prod-v2-tabs__pane .typography p,
.prod-v2-tabs__pane > div p {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.8;
}

.prod-v2-tabs__pane .typography p:last-child,
.prod-v2-tabs__pane > div p:last-child {
    margin-bottom: 0;
}

/* Заголовки H2-H4 */
.prod-v2-tabs__pane .typography h2,
.prod-v2-tabs__pane > div h2,
.prod-v2-tabs__pane .typography h3,
.prod-v2-tabs__pane > div h3,
.prod-v2-tabs__pane .typography h4,
.prod-v2-tabs__pane > div h4 {
    font-family: inherit;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 16px;
    line-height: 1.3;
}

.prod-v2-tabs__pane .typography h2,
.prod-v2-tabs__pane > div h2 {
    font-size: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}

.prod-v2-tabs__pane .typography h2::after,
.prod-v2-tabs__pane > div h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    border-radius: 2px;
}

.prod-v2-tabs__pane .typography h3,
.prod-v2-tabs__pane > div h3 {
    font-size: 20px;
    color: #2e7d32;
}

.prod-v2-tabs__pane .typography h4,
.prod-v2-tabs__pane > div h4 {
    font-size: 18px;
    color: #4CAF50;
}

/* Списки */
.prod-v2-tabs__pane .typography ul,
.prod-v2-tabs__pane > div ul,
.prod-v2-tabs__pane .typography ol,
.prod-v2-tabs__pane > div ol {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.prod-v2-tabs__pane .typography ul li,
.prod-v2-tabs__pane > div ul li,
.prod-v2-tabs__pane .typography ol li,
.prod-v2-tabs__pane > div ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.prod-v2-tabs__pane .typography ul li::before,
.prod-v2-tabs__pane > div ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
}

.prod-v2-tabs__pane .typography ol li,
.prod-v2-tabs__pane > div ol li {
    counter-increment: list-counter;
}

.prod-v2-tabs__pane .typography ol li::before,
.prod-v2-tabs__pane > div ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ссылки */
.prod-v2-tabs__pane .typography a,
.prod-v2-tabs__pane > div a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}

.prod-v2-tabs__pane .typography a:hover,
.prod-v2-tabs__pane > div a:hover {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

/* Жирный текст */
.prod-v2-tabs__pane .typography strong,
.prod-v2-tabs__pane > div strong,
.prod-v2-tabs__pane .typography b,
.prod-v2-tabs__pane > div b {
    color: #1a1a2e;
    font-weight: 700;
}

/* Маркер */
.prod-v2-tabs__pane .typography mark,
.prod-v2-tabs__pane > div mark {
    background: linear-gradient(120deg, #C8E6C9 0%, #C8E6C9 100%);
    color: #1B5E20;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Таблицы */
.prod-v2-tabs__pane .typography table,
.prod-v2-tabs__pane > div table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.prod-v2-tabs__pane .typography th,
.prod-v2-tabs__pane > div th {
    background: linear-gradient(135deg, #f0faf0, #e8f5e9);
    color: #2e7d32;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid #c8e6c9;
}

.prod-v2-tabs__pane .typography td,
.prod-v2-tabs__pane > div td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #555;
}

.prod-v2-tabs__pane .typography tr:hover td,
.prod-v2-tabs__pane > div tr:hover td {
    background: #f9fffe;
}

.prod-v2-tabs__pane .typography tr:last-child td,
.prod-v2-tabs__pane > div tr:last-child td {
    border-bottom: none;
}

/* Цитаты */
.prod-v2-tabs__pane .typography blockquote,
.prod-v2-tabs__pane > div blockquote {
    margin: 20px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-left: 4px solid #4CAF50;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Разделитель */
.prod-v2-tabs__pane .typography hr,
.prod-v2-tabs__pane > div hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, transparent);
    margin: 28px 0;
    border-radius: 2px;
}

/* Изображения */
.prod-v2-tabs__pane .typography img,
.prod-v2-tabs__pane > div img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 16px 0;
}

/* Адаптив */
@media (max-width: 576px) {
    /* шрифт увеличен */
.prod-v2-tabs__pane .typography,
    .prod-v2-tabs__pane > div {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .prod-v2-tabs__pane .typography h2,
    .prod-v2-tabs__pane > div h2 {
        font-size: 24px;
    }
    
    .prod-v2-tabs__pane .typography h3,
    .prod-v2-tabs__pane > div h3 {
        font-size: 21.6px;
    }
    
    .prod-v2-tabs__pane .typography table,
    .prod-v2-tabs__pane > div table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.discount-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.discount-card {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #e8f5e9;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.discount-card:hover {
    border-color: #4CAF50;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(76,175,80,0.12);
}

.discount-card__sum {
    font-size: 17px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.discount-card__percent {
    font-size: 42px;
    font-weight: 800;
    color: #4CAF50;
    line-height: 1;
    margin-bottom: 8px;
}

.discount-card__note {
    font-size: 17px;
    color: #555;
    margin-bottom: 12px;
}

.discount-card__except {
    font-size: 15px;
    color: #999;
    line-height: 1.4;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
}

.discount-card--highlight {
    background: linear-gradient(135deg, #f9fffe, #f0faf0);
    border-color: #4CAF50;
}

.discount-card__badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}

.discount-footer {
    text-align: center;
    padding: 16px;
    background: #FFF8E1;
    border-radius: 12px;
    color: #E65100;
    font-size: 17px;
    font-weight: 500;
}

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

@media (max-width: 576px) {
    .discount-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== ДОСТАВКА V2 ===== */
.delivery-v2 {
    font-size: 18px;                    /* было 15 → 18 */
    line-height: 1.6;
    color: #555;
}

/* Шапка */
.delivery-v2__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.delivery-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 17px;                    /* было 14 → 17 */
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
}

.delivery-v2__badge svg {
    stroke: white;
    flex-shrink: 0;
}

.delivery-v2__min {
    font-size: 18px;                    /* было 15 → 18 */
    color: #666;
}

.delivery-v2__min strong {
    color: #1a1a2e;
    font-size: 22px;                    /* было 18 → 22 */
}

/* Способы */
.delivery-v2__methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.delivery-method {
    text-align: center;
    padding: 26px 20px;
    background: #f9fffe;
    border-radius: 16px;
    border: 2px solid #e8f5e9;
    transition: all 0.3s ease;
}

.delivery-method:hover {
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76,175,80,0.12);
}

.delivery-method__icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.delivery-method__icon svg {
    transition: transform 0.3s ease;
}

.delivery-method:hover .delivery-method__icon svg {
    transform: scale(1.1);
}

.delivery-method__title {
    font-size: 18px;                    /* было 15 → 18 */
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.delivery-method__desc {
    font-size: 15px;                    /* было 13 → 15 */
    color: #888;
    line-height: 1.4;
}

.delivery-method--self {
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-color: #ffe0b2;
}

/* Условия */
.delivery-v2__terms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 14px;
    font-size: 17px;                    /* было 14 → 17 */
}

.term-item__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.term-item__icon i,
.term-item__icon .fas,
.term-item__icon .fa {
    color: white !important;        /* белая галочка */
    font-size: 12px;
    line-height: 1;
}

.term-item__icon svg {
    stroke: white;
}

/* Этапы */
.delivery-v2__steps {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    position: relative;
}

.delivery-v2__steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12%;          /* отступ слева */
    right: 12%;         /* отступ справа */
    width: 76%;         /* 100 - 12 - 12 */
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, #4CAF50);
    z-index: 0;
}

.d-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.d-step__num {
    width: 48px;                        /* было 40 → 48 */
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 20px;                    /* было 16 → 20 */
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.25);
}

.d-step__title {
    font-size: 17px;                    /* было 14 → 17 */
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.d-step__desc {
    font-size: 15px;                    /* было 12 → 15 */
    color: #888;
    line-height: 1.4;
}

/* Контакты */
.delivery-v2__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 14px;
    font-size: 17px;                    /* было 14 → 17 */
    color: #666;
}

.delivery-v2__contact svg {
    flex-shrink: 0;
}

.delivery-v2__contact a {
    color: #4CAF50;
    font-weight: 700;
    text-decoration: none !important;        /* убираем любое подчёркивание */
    border-bottom: 1px solid #4CAF50;        /* своё, одинарное */
    transition: all 0.2s;
}

.delivery-v2__contact a:hover {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

/* Адаптив */
@media (max-width: 991px) {
    .delivery-v2__methods {
        grid-template-columns: repeat(2, 1fr);
    }
    .delivery-v2__steps::before {
        display: none;
    }
    .delivery-v2__steps {
        gap: 20px;
        flex-wrap: wrap;
    }
    .d-step {
        flex: 1 1 40%;
    }
}

@media (max-width: 576px) {
    .delivery-v2__methods {
        grid-template-columns: 1fr;
    }
    .delivery-v2__terms {
        grid-template-columns: 1fr;
    }
    .d-step {
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .d-step__num {
        margin: 0;
        flex-shrink: 0;
    }
}

.delivery-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #A5D6A7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    font-size: 20px;
}

.delivery-icon--orange {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-color: #FFB74D;
    color: #FF9800;
}


/* ===== ОПЛАТА V2 ===== */
.payment-v2 {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* Шапка */
.payment-v2__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 17px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
}

.payment-v2__badge i {
    font-size: 16px;
}

.payment-v2__min {
    font-size: 18px;
    color: #666;
}

.payment-v2__min strong {
    color: #1a1a2e;
    font-size: 22px;
}

/* Способы */
.payment-v2__methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.payment-method {
    text-align: center;
    padding: 26px 20px;
    background: #f9fffe;
    border-radius: 16px;
    border: 2px solid #e8f5e9;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76,175,80,0.12);
}

.payment-method__icon {
    margin-bottom: 12px;
}

.payment-method__icon i {
    font-size: 32px;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.payment-method:hover .payment-method__icon i {
    color: #2e7d32;
    transform: scale(1.1);
}

.payment-method__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.payment-method__desc {
    font-size: 15px;
    color: #888;
    line-height: 1.4;
}

/* Условия */
.payment-v2__terms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

/* Этапы */
.payment-v2__steps-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}

.payment-v2__steps-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2e7d32);
    border-radius: 2px;
}

.payment-v2__steps {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    position: relative;
}

.payment-v2__steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12%;          /* отступ слева */
    right: 12%;         /* отступ справа */
    width: 76%;         /* 100 - 12 - 12 */
    height: 2px;
    background: linear-gradient(to right, #e8f5e9, #4CAF50);
    z-index: 0;
}

.p-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.p-step__num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.25);
}

.p-step__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.p-step__desc {
    font-size: 15px;
    color: #888;
    line-height: 1.4;
}

/* Контакты */
.payment-v2__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 14px;
    font-size: 17px;
    color: #666;
}

.payment-v2__contact i {
    color: #4CAF50;
    font-size: 18px;
}

.payment-v2__contact a {
    color: #4CAF50;
    font-weight: 700;
    text-decoration: none;
    position: relative;
}

.payment-v2__contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #4CAF50;
    transition: background 0.2s;
}

.payment-v2__contact a:hover {
    color: #2e7d32;
}

.payment-v2__contact a:hover::after {
    background: #2e7d32;
}

/* Адаптив */
@media (max-width: 991px) {
    .payment-v2__methods {
        grid-template-columns: repeat(2, 1fr);
    }
    .payment-v2__steps::before {
        display: none;
    }
    .payment-v2__steps {
        gap: 20px;
        flex-wrap: wrap;
    }
    .p-step {
        flex: 1 1 40%;
    }
}

@media (max-width: 576px) {
    .payment-v2__methods {
        grid-template-columns: 1fr;
    }
    .payment-v2__terms {
        grid-template-columns: 1fr;
    }
    .p-step {
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .p-step__num {
        margin: 0;
        flex-shrink: 0;
    }
}

/* По умолчанию мобильный блок скрыт, десктопный виден */
.mobile-banner-wrap {
    display: none;
}
.desktop-banner-wrap {
    display: block;
}

/* На мобильных устройствах меняем их местами */
@media (max-width: 576px) {
    .desktop-banner-wrap {
        display: none !important;
    }
    .mobile-banner-wrap {
        display: block !important;
        margin-top: 10px;
    }

    .banner-mobile {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        background: #fff;
        margin-bottom: 16px;
        border: 2px solid #f0f0f0;
    }

    .banner-image img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

    .banner-content {
        padding: 16px;
        background: #fff;
		text-align: center;
    }

    .banner-mobile .badge {
        background: #4CAF50; /* Фирменный зеленый цвет проекта */
        color: white;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        display: inline-block;
        margin-bottom: 6px;
    }

    .banner-mobile h2 {
        font-size: 24px;
        font-weight: 800;
        color: #1a1a2e;
        margin: 8px 0 14px 0;
        line-height: 1.2;
    }

    .banner-mobile .btn {
        display: block;
        background: linear-gradient(135deg, #4CAF50, #2e7d32);
        color: white;
        text-align: center;
        padding: 14px;
        border-radius: 12px;
        font-size: 19px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
        transition: all 0.3s ease;
    }
    
    .banner-mobile .btn:hover {
        opacity: 0.95;
        color: white;
        text-decoration: none;
    }
}

/* ============================================
   ЗАГОЛОВОК НОВИНКИ — АДАПТАЦИЯ cat-heading-v9
   ============================================ */

/* Если используете Font Awesome вместо картинки */
.cat-heading-v9__icon--fa {
    font-size: 24px;
    color: white;
}

.cat-heading-v9__icon--fa i,
.cat-heading-v9__icon--fa .fas,
.cat-heading-v9__icon--fa .fa {
    color: white !important;
}

/* Убираем filter: invert для Font Awesome */
.cat-heading-v9__icon--fa img {
    display: none;
}

/* Специфика для страницы новинок — можно добавить модификатор */
.cat-heading-v9--novinki .cat-heading-v9__icon {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.35);
}

.cat-heading-v9--novinki:hover .cat-heading-v9__icon {
    box-shadow: 0 8px 28px rgba(255, 152, 0, 0.45);
}

.cat-heading-v9--novinki .cat-heading-v9__subtitle::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.cat-heading-v9--novinki:hover .cat-heading-v9__title {
    color: #E65100;
}

/* Применяем стили для экранов уже 991px (планшеты и мобильные) */
@media (max-width: 991px) {
    
    /* 1. Находим общий flex-контейнер и разрешаем перенос колонок друг под друга */
    .block > div[style*="flex-wrap: nowrap"] {
        flex-wrap: wrap !important;
    }

    /* 2. Находим левую колонку (фильтр) по её уникальной ширине и растягиваем на 100% */
    .block > div[style*="flex-wrap: nowrap"] > div[style*="width: 325px"] {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 24px !important; /* Добавляем отступ, чтобы товары не прилипали к фильтру */
    }
    
    /* 3. На всякий случай гарантируем, что правая колонка (товары) тоже займет всю ширину */
    .block > div[style*="flex-wrap: nowrap"] > div:last-child {
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    /* Перехватываем управление позицией у JavaScript */
    .filter-ajax-popup {
        position: fixed !important; /* Отвязываем от родительского блока */
        top: auto !important; /* Сбрасываем расчеты скрипта по высоте */
        bottom: 24px !important; /* Прибиваем к низу экрана */
        left: 50% !important; /* Ставим по центру */
        width: calc(100% - 32px) !important; /* Растягиваем почти на весь экран */
        transform: translate(-50%, 20px) !important; /* Смещаем для правильного центрирования и подготовки к анимации */
        justify-content: space-between !important; /* Расталкиваем текст и кнопку по краям */
        box-sizing: border-box !important;
        z-index: 10000 !important; /* Выводим поверх всего */
        white-space: normal !important; /* Разрешаем перенос текста, если понадобится */
    }

    /* Анимация появления (всплывает снизу вверх) */
    .filter-ajax-popup.is-active {
        transform: translate(-50%, 0) !important; 
    }

    /* Убираем боковой треугольник-указатель, так как плашка теперь внизу */
    .filter-ajax-popup::before {
        display: none !important;
    }
}

.filters-button--v2 .filters-button__icon--v2,
.filters-button .filters-button__icon {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important; /* Размер иконки в круглой кнопке */
}

    @media (max-width: 991px) {
    /* ============================================
       КНОПКА ФИЛЬТРА — FAB (Floating Action Button)
       ============================================ */
    
    .filters-button,
    .filters-button--v2 {
        position: fixed !important;
        left: 16px !important;           /* Справа — удобно для большого пальца */
        bottom: 24px !important;          /* Снизу — не перекрывает шапку и товары */
        right: auto !important;            /* Отменяем прижатие к левому краю */
        top: auto !important;
        transform: none !important;       /* Убираем лишний transform */
        
        /* Размеры — круглая кнопка 56×56 (Material Design standard) */
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        padding: 0 !important;
        
        /* Визуал — объёмная, с тенью */
        background: linear-gradient(135deg, #4CAF50, #2e7d32) !important;
        color: #fff !important;
        border-radius: 50% !important;    /* Круглая */
        box-shadow: 0 4px 16px rgba(76, 175, 80, 0.45), 
                    0 2px 6px rgba(0, 0, 0, 0.15) !important;
        border: none !important;
        margin: 0 !important;
        
        /* Центрируем иконку */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        z-index: 100 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        
        /* Скрываем текст, оставляем только иконку */
        font-size: 0 !important;
    }

    /* Иконка фильтра — белая, крупная */
    .filters-button--v2 .filters-button__icon--v2,
    .filters-button .filters-button__icon {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .filters-button--v2 .filters-button__icon--v2 svg,
    .filters-button .filters-button__icon svg {
        width: 24px !important;
        height: 24px !important;
        fill: #fff !important;
    }

    /* Счётчик выбранных фильтров — маленький бейдж */
    .filters-button--v2 .filters-button__counter,
    .filters-button .filters-button__counter {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 5px !important;
        background: #e53935 !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4) !important;
        border: 2px solid #fff !important;
    }

    /* Hover / Active эффекты */
    .filters-button--v2:hover,
    .filters-button:hover {
        transform: scale(1.08) !important;
        box-shadow: 0 6px 24px rgba(76, 175, 80, 0.55), 
                    0 3px 8px rgba(0, 0, 0, 0.2) !important;
    }

    .filters-button--v2:active,
    .filters-button:active {
        transform: scale(0.92) !important;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3) !important;
    }

    /* Скрываем заголовок кнопки (текст "Фильтр") */
    .filters-button--v2 .filters-button__title,
    .filters-button .filters-button__title {
        display: none !important;
    }

    /* ============================================
       ПОКАЗ/СКРЫТИЕ ПРИ ПРОКРУТКЕ (опционально)
       ============================================ */
    
    /* Кнопка скрывается при прокрутке вниз, появляется при прокрутке вверх */
    .filters-button--v2.is-hidden,
    .filters-button.is-hidden {
        transform: translateY(100px) scale(0.8) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 767px) {
    /* 1. Настраиваем главный контейнер: выстраиваем в ряд и расталкиваем по краям */
    .view-options__body--v2 {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 16px !important;
        gap: 12px !important;
    }

    /* 2. Переключатель вида (Сетка/Список) — ставим СЛЕВА (первым) */
    .layout-switcher--v2 {
        order: 1 !important;
        margin: 0 !important;
    }

    /* 3. Сортировка — ставим СПРАВА (второй) */
    .view-options__select--v2 {
        order: 2 !important;
        margin: 0 !important;
        flex: 1 !important; /* Занимает всё оставшееся место */
        max-width: calc(100% - 100px) !important; /* Защита от наезжания на переключатель */
        display: flex !important;
        justify-content: flex-end !important; /* Прижимаем селект вправо */
    }

    /* Снимаем жесткое ограничение ширины в 220px, чтобы селект влез на экран */
    .select-wrapper--v2 {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Выравниваем селект по высоте с переключателем и немного уменьшаем шрифт */
    .select-wrapper--v2 select {
        height: 42px !important; 
        line-height: 42px !important;
        font-size: 18px !important; 
        padding: 0 30px 0 12px !important;
    }

    /* 4. Легенда (Показано Х товаров) — ставим СНИЗУ (третьей) */
    .view-options__legend--v2 {
        order: 3 !important;
        width: 100% !important; /* Растягиваем на всю ширину, чтобы она перенеслась на новую строку */
        justify-content: center !important;
        padding-top: 12px !important;
        margin-top: 0 !important;
        border-top: 1px solid #f0f0f0 !important; /* Оставляем красивый разделитель */
        font-size: 16px !important; /* Делаем текст чуть аккуратнее */
    }
}

@media (max-width: 767px) {
    .block-products-v2-wrapper .product-card__actions-list {
        top: 10px !important;        /* Прибиваем к верхнему краю */
        bottom: auto !important;     /* Отвязываем от нижнего края */
        right: 10px !important;      /* Ставим отступ справа */
        flex-direction: column !important; /* Выстраиваем друг под друга (в столбик) */
        opacity: 1 !important;       /* Оставляем всегда видимыми, так как нет ховера */
        transform: none !important;  /* Убираем анимацию выезда */
    }
}

/* По умолчанию (на ПК) показываем кнопки, прячем мобильный селект */
.mobile-categories-v2 {
    display: none;
}
.desktop-categories-v2 {
    display: block;
}

@media (max-width: 767px) {
    /* На телефонах прячем кнопки, показываем мобильный селект */
    .desktop-categories-v2 {
        display: none !important;
    }
    .mobile-categories-v2 {
        display: block !important;
        width: 100% !important;
        margin-top: 10px;
    }

    /* Растягиваем селект на 100% ширины карточки */
    .mobile-categories-v2 .select-wrapper--v2 {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* Выстраиваем заголовок и селект друг под другом */
    .view-options__body--categories-v2 {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 14px 16px !important;
    }

    .view-options__label--categories {
        padding-bottom: 0 !important;
    }
}

/* ============================================
   ФИКС ВЫЛЕЗАНИЯ ЗА ЭКРАН НА МОБИЛЬНОМ
   ============================================ */

@media (max-width: 767px) {
  /* Запрещаем горизонтальный скролл странице */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Любые карточки/контейнеры не шире экрана */
  .container,
  .card,
  [class*="review"],
  [class*="testimonial"],
  [class*="comment"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Flex/grid элементы внутри карточек обязаны сжиматься */
  .card *,
  [class*="review"] *,
  [class*="testimonial"] * {
    min-width: 0 !important;
  }

  /* Перенос длинных слов */
  body {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Если внутри карточки есть flex-ряд с аватаром */
  .card > div,
  [class*="review"] > div,
  [class*="testimonial"] > div {
    flex-wrap: wrap !important;
  }
}

/* 1. Убираем выделение (фокус/рамку) при клике на табы */
.prod-v2-tabs__btn {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* Убирает серое мигание при тапе на iOS/Android */
}

.prod-v2-tabs__btn:focus,
.prod-v2-tabs__btn:active {
    outline: none !important;
}

/* 2. Мобильные стили: табы в несколько строк и фикс шагов доставки/оплаты */
@media (max-width: 767px) {
    /* Делаем так, чтобы табы переносились на новые строки */
    .prod-v2-tabs__nav {
        display: flex;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        white-space: normal !important;
        gap: 8px; /* Отступы между кнопками-табами */
    }
    
    .prod-v2-tabs__btn {
        flex: 1 1 calc(50% - 8px); /* Табы будут аккуратно выстраиваться по 2 в ряд */
        text-align: center;
        white-space: normal;
        padding: 10px 12px;
    }

    /* Исправляем схлопывание в шагах доставки (.d-step) и оплаты (.p-step) */
    .d-step, 
    .p-step {
        display: grid !important;
        grid-template-columns: auto 1fr;
        gap: 4px 16px;
        text-align: left;
        align-items: start;
    }

    /* Заставляем кружок с цифрой занимать 2 строки, как в других блоках */
    .d-step__num, 
    .p-step__num {
        grid-row: span 2;
        margin: 0 !important;
        flex-shrink: 0;
    }

    .d-step__title, 
    .p-step__title {
        margin-bottom: 0 !important;
    }
}

/* ============================================
   АДАПТИВ СРАВНЕНИЯ ДЛЯ МОБИЛЬНЫХ (V2)
   ============================================ */

@media (max-width: 767px) {
    /* 1. Убираем отступы контейнера, чтобы таблица была на весь экран */
    .compare-v2 {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 0 -15px; /* Компенсируем padding контейнера Bootstrap */
    }
    
    .compare-v2__table-wrap {
        padding: 0;
    }

    /* 2. Сильно сужаем левую закрепленную колонку и разрешаем перенос текста */
    .compare-v2__col--header {
        width: 85px !important;
        min-width: 85px !important;
        padding: 10px 6px !important;
        font-size: 11px !important;
        white-space: normal !important; /* Важно: разрешаем перенос длинных слов */
        word-wrap: break-word;
        line-height: 1.2;
        box-shadow: 4px 0 8px rgba(0,0,0,0.04); /* Тень для эффекта наслоения */
        z-index: 10;
        background: #f9fffe; /* Чтобы текст под ней не просвечивал */
    }
    
    /* Заголовок группы характеристик (отменяем sticky, чтобы он скроллился) */
    .compare-v2__col--group {
        position: static !important;
        font-size: 13px !important;
        padding: 10px 15px !important;
        text-align: left !important;
    }

    /* 3. Колонки с товарами */
    .compare-v2__col--product {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 10px 6px !important;
        text-align: center !important; /* Возвращаем центрирование для мобилок */
    }

    /* Карточка товара в шапке таблицы */
    .compare-v2__product-card {
        align-items: center !important; 
    }

    .compare-v2__product-image {
        width: 70px;
        height: 70px;
        margin: 0 auto 8px;
        padding: 4px;
    }

    .compare-v2__product-name {
        font-size: 13px !important;
        line-height: 1.3 !important;
        min-height: 3.9em; /* Строго 3 строки */
        padding: 0 !important;
        text-align: center !important;
    }

    /* Цены */
    .compare-v2__prices {
        align-items: center !important;
    }
    
    .compare-v2__price {
        font-size: 16px !important;
    }

    /* 4. Кнопки (Корзина / Удалить) */
    .compare-v2__btn-cart,
    .compare-v2__btn-remove {
        width: 100%;
        justify-content: center;
        padding: 8px !important;
        font-size: 12px !important;
    }

    .compare-v2__btn-cart i,
    .compare-v2__btn-remove i {
        font-size: 11px !important;
    }
    
    /* 5. Бейдж наличия (делаем компактным) */
    .compare-v2__stock {
        padding: 4px 6px;
        font-size: 11px;
        white-space: normal;
        text-align: center;
        display: inline-flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .compare-v2__stock i { 
        margin: 0; 
    }
    
    /* Скрываем фейковую колонку на мобильных */
    .compare-v2__col--fake {
        display: none !important;
    }
}

/* ===== НАЛИЧИЕ — отдельная строка ===== */
.block-products-v2-wrapper .product-card__stock {
    font-size: 14px !important;
    color: #4CAF50 !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}

/* ===== БЕЗ НДС — под ценой ===== */
.block-products-v2-wrapper .product-card__tax {
    font-size: 12px !important;
    color: #aaa !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
}

/* ===== ФУТЕР: колонка, наличие сверху, цена снизу ===== */
.block-products-v2-wrapper .product-card__footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
}

.block-products-v2-wrapper .product-card__prices {
    align-items: flex-start !important;
}

/* Кнопка корзины — абсолютное позиционирование справа */
.block-products-v2-wrapper .product-card__footer {
    position: relative !important;
}

.block-products-v2-wrapper .product-card__addtocart-icon {
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;
    margin: 0 !important;
}

/* ===== НАЛИЧИЕ в таблице ===== */
.products-list[data-layout="table"] .pct-stock {
    font-size: 13px;
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ===== БЕЗ НДС в таблице ===== */
.products-list[data-layout="table"] .pct-tax {
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Адаптив для мобильного табличного вида */
@media (max-width: 991px) {
    .products-list[data-layout="table"] .pct-stock {
        grid-area: stock !important;
        font-size: 13px !important;
        color: #4CAF50 !important;
        font-weight: 600 !important;
    }
    
    .products-list[data-layout="table"] .pct-tax {
        grid-area: price !important;  /* рядом с ценой или над ней */
        font-size: 12px !important;
        color: #aaa !important;
        margin-bottom: 2px !important;
    }
}



/* ===== ЦЕНА ЗА 1 ШТ. ===== */
.prod-v2-price__unit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #555;
}

.prod-v2-price__unit i {
    color: #4CAF50;
    font-size: 19px;
}

.prod-v2-price__unit-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.prod-v2-price__unit-label {
    font-size: 19px;
    color: #888;
}

/* ===== ПРЕДУПРЕЖДЕНИЕ О ЦВЕТЕ ИЗОБРАЖЕНИЯ ===== */
.prod-v2-color-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    margin: 16px 0 24px;
    background: linear-gradient(135deg, #FFF8E1, #FFF3E0);
    border-radius: 12px;
    border: 1px solid #FFE0B2;
    font-size: 14px;
    color: #E65100;
    line-height: 1.5;
}

.prod-v2-color-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #FF9800;
}

/* Адаптив */
@media (max-width: 576px) {
    .prod-v2-price__unit {
        padding: 6px 0px;
        margin-top: 6px;
    }
    .prod-v2-price__unit-value {
        font-size: 16px;
    }
    .prod-v2-price__unit-label {
        font-size: 13px;
    }
    .prod-v2-color-notice {
        padding: 12px 14px;
        font-size: 13px;
        margin: 12px 0 20px;
    }
}

.prod-v2-price__notice {
    font-size: 18px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.5;
    padding: 8px 12px;
    background: #fff8e1;
    border-left: 3px solid #ffb74d;
    border-radius: 0 8px 8px 0;
	margin: 8px 18px;
}

/* ===== СЕКЦИЯ WILDBERRIES ===== */
.wb-marketplace-section {
    padding: 40px 0;
    background: #f5f5f5;
    position: relative; /* Обязательно добавляем позиционирование */
    z-index: 1;         /* Отправляем блок на задний план */
}

.wb-marketplace-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.wb-marketplace-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 50px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  position: relative;
}

/* Декоративная зелёная полоса слева */
.wb-marketplace-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #3a9c3f, #2d7d31);
  border-radius: 16px 0 0 16px;
}

/* ===== ЛЕВАЯ ЧАСТЬ — ТЕКСТ ===== */
.wb-marketplace-content {
  flex: 1;
  min-width: 0;
}

.wb-marketplace-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3a9c3f;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.wb-marketplace-title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 14px 0;
}

.wb-highlight {
  background: linear-gradient(135deg, #cb11ab, #ff4081);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wb-marketplace-desc {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 420px;
}

/* Список преимуществ */
.wb-marketplace-features {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-marketplace-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: #444;
  font-weight: 500;
}

.wb-marketplace-features li svg {
  flex-shrink: 0;
}

/* Кнопка */
.wb-marketplace-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #cb11ab, #ff4081);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(203, 17, 171, 0.3);
}

.wb-marketplace-btn:hover {
  background: linear-gradient(135deg, #a50d8c, #e0306e);
  box-shadow: 0 6px 20px rgba(203, 17, 171, 0.45);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.wb-marketplace-btn:active {
  transform: translateY(0);
}

/* ===== ПРАВАЯ ЧАСТЬ — ВИЗУАЛ ===== */
.wb-marketplace-visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Обёртка с логотипом WB и пузырями */
.wb-logo-wrapper {
  position: relative;
  width: 350px;
  height: 210px;
  background: linear-gradient(135deg, #cb11ab 0%, #9b00d9 50%, #ff4081 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(203, 17, 171, 0.35);
}

/* Пузыри как в стиле Wildberries */
.wb-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.wb-bubble-1 { width: 80px; height: 80px; top: -20px; left: -20px; }
.wb-bubble-2 { width: 50px; height: 50px; top: 10px; left: 50px; background: rgba(255,255,255,0.08); }
.wb-bubble-3 { width: 60px; height: 60px; bottom: -15px; right: -15px; }
.wb-bubble-4 { width: 35px; height: 35px; bottom: 15px; left: 20px; background: rgba(255,255,255,0.09); }
.wb-bubble-5 { width: 45px; height: 45px; top: -10px; right: 30px; background: rgba(255,255,255,0.07); }
.wb-bubble-6 { width: 25px; height: 25px; top: 50%; right: 10px; background: rgba(255,255,255,0.1); }

.wb-logo-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.wb-logo-text {
  display: block;
  color: white;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
}

.wb-marketplace-sub {
  font-size: 18px;
  color: #888;
  text-align: center;
  margin: 0;
  font-style: italic;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .wb-marketplace-card {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }

  .wb-marketplace-card::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 5px;
    border-radius: 16px 16px 0 0;
  }

  .wb-marketplace-title {
    font-size: 30px;
  }

  .wb-marketplace-desc {
    max-width: 100%;
  }

  .wb-marketplace-features {
    align-items: center;
  }

  .wb-marketplace-features li {
    justify-content: center;
  }

  .wb-marketplace-btn {
    justify-content: center;
    width: 100%;
  }

  .wb-marketplace-visual {
    width: 100%;
  }

  .wb-logo-wrapper {
    width: 100%;
    max-width: 300px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .wb-marketplace-section {
    padding: 24px 0;
  }

  .wb-marketplace-card {
    padding: 24px 20px;
    gap: 24px;
  }

  .wb-marketplace-title {
    font-size: 26px;
  }

  .wb-marketplace-badge {
    font-size: 14px;
  }
}

