:root {
    --orange      : #FF7F2A;
    --orange-hover: #FFD3A0;
    --fon         : #f4f4f4;
    --heading     : #2d2d2d;
    --text        : #333333;
    --line        : #cccccc;
}

.product-thumb .btn-general {
    background-color: var(--orange);
}

.product-thumb:focus .cart .btn-general,
.product-thumb:hover .cart .btn-general,
.product-thumb:active .cart .btn-general {
    background-color: var(--orange-hover) !important;
}

.btn-general .icon-cart-add {
    background: #fff;
}

.btn-general:focus .icon-cart-add,
.btn-general:hover .icon-cart-add,
.btn-general:active .icon-cart-add,
.product-thumb:hover .cart .btn-general .icon-cart-add {
    background: var(--text);
}

.btn-menu,
.btn-menu-top {
    background-color: var(--orange);
    color           : #fff;
}

#menu-vertical.open-mob .btn-menu,
#menu-vertical.open .btn-menu,
.btn-menu:hover,
.btn-menu:active,
.btn-menu.active,
.btn-menu.disabled,
.btn-menu-top:hover,
.btn-menu-top:focus {
    background-color: var(--orange-hover);

}

#menu-vertical.open-mob .btn-menu .icon-menu-line,
#menu-vertical.open .btn-menu .icon-menu-line,
.btn-menu:hover .icon-menu-line,
.btn-menu:active .icon-menu-line,
.btn-menu.active .icon-menu-line,
.btn-menu.disabled .icon-menu-line,
.btn-menu-top:hover .icon-menu-line,
.btn-menu-top:focus .icon-menu-line {
    color: var(--text);
}

.fixed-goods-menu .viewed-quantity,
.btn-mob-cart .cart-total,
#cart .cart-total,
.wishlist-quantity,
.compare-quantity {
    background: var(--orange);
}

.btn-primary,
.chm-btn-primary {
    color           : #ffffff;
    background-color: var(--orange);
}

.btn-primary.disabled,
.btn-primary.disabled.active,
.btn-primary.disabled.focus,
.btn-primary.disabled:active,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled].active,
.btn-primary[disabled].focus,
.btn-primary[disabled]:active,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:disabled,
.btn-primary:active,
.btn-primary:active:focus,
.chm-btn-primary:focus,
.chm-btn-primary:hover,
.chm-btn-primary:hover {
    background-color: var(--orange);
    color           : #ffffff;
}

.chm-btn-white:focus,
.chm-btn-white:hover,
.chm-btn-white:hover {
    color: var(--orange);
}

.fixed-goods-menu .viewed-quantity,
.btn-mob-cart .cart-total,
#cart .cart-total,
.wishlist-quantity,
.compare-quantity {
    background: var(--orange);
}

.swiper .swiper-fp-prod-pagination .swiper-pagination-bullet-active,
.megasliderpro .swiper-ms-pagination .swiper-pagination-bullet-active {
    background: var(--orange) !important;
}

.box-menu-top .icon-menu,
.box-menu-top .icon-menu-line,
.box-menu-top .icon-arrow,
.btn-menu-top.vh1-bl,
.btn-menu-top.vh2,
.btn-menu-top {
    color: #fff;
}

.mobm-list-item .mm-icon-catalog {
    background: var(--orange)
}

.icon-menu,
.icon-menu-line {
    color: #fff;

}

.mob-fix-panel .btn-go-home.active-bg .text-a-icon {
    color: var(--orange);
}

.mob-fix-panel .btn-go-home.active-bg {
    background: #557DC026;
}

.mob-fix-panel .btn-go-home.active-bg svg {
    color: var(--orange);
}

.ms-price .ms-price-cont {
    background: var(--orange);
}

.ms-price .ms-price-from,
.ms-price .ms-price-text {
    color: #fff;
}

/* .product-thumb .btn-general {
    background-color: #F7F8FB;
}

.btn-general {
    color: #000;
}

#product-options.product-thumb .btn-general,
.kit-cart .btn-general,
.add-to-cart-footer .btn-general,
#popup-quickview .cart .btn-general,
#product .cart .btn-general {
    background-color: var(--orange);
    color           : #fff;
}

#product-options.product-thumb .btn-general .icon-cart-add,
.add-to-cart-footer .btn-general .icon-cart-add,
#popup-quickview .cart .btn-general .icon-cart-add,
#product .cart .btn-general .icon-cart-add {
    background: #fff;
}

.product-thumb:hover .cart .btn-general {
    background-color: var(--orange);
    color           : #fff;
}

.btn-general:focus,
.btn-general:hover,
.btn-general:active {
    color           : #fff;
    background-color: var(--orange) !important;
}

.btn-general:focus .icon-cart-add,
.btn-general:hover .icon-cart-add,
.btn-general:active .icon-cart-add,
.product-thumb:hover .cart .btn-general .icon-cart-add {
    background: #fff;
} */

.footer-ribbon {
    background-color: var(--orange);
}

.footer-ribbon-box::after {
    background-color: var(--orange);
}

footer .btn-newsletter {
    background-color: var(--orange);
}

footer .btn-newsletter:hover,
footer .btn-newsletter:active,
footer .btn-newsletter:focus {
    background-color: var(--orange);
    border          : 0px;
    color           : #ffffff;
}

footer.ch-light-theme .title-f,
footer.ch-light-theme .title-f-contact {
    color: var(--heading);
}

#phone .contact-header .additional-tel a {
    color: var(--heading);
}

footer.ch-light-theme .title-nl {
    color: var(--heading);

}

footer.ch-light-theme .footer-top,
footer.ch-light-theme .footer-center,
footer.ch-light-theme .footer-bottom,
#top {
    background-color: var(--fon);
}

#top .container {
    background-color: var(--fon);
}

.banner-blocks-container .banner-item .banner-info .banner-title {
    color: var(--heading);
}
/* Business Segments */
.business-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.segment-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
}
.segment-label i {
    font-size: 10px;
}

/* Product Segments Block */
.product-segments {
    background: var(--fon);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.product-segments__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 16px;
}
.product-segments__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-segments__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}
.product-segments__item:hover {
    border-color: var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-segments__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
    margin-bottom: 12px;
}
.product-segments__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.4;
}
@media (max-width: 991px) {
    .product-segments__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 575px) {
    .product-segments {
        padding: 16px;
    }
    .product-segments__grid {
        grid-template-columns: 1fr;
    }
}

/* Segment Filter Module — Desktop */
.segment-filter {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 15px;
}
.segment-filter__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.segment-filter__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.segment-filter__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--fon);
    cursor: pointer;
    transition: background 0.15s;
    font-size: 14px;
    color: var(--text);
}
.segment-filter__label:last-child {
    border-bottom: none;
}
.segment-filter__label:hover {
    color: var(--heading);
}
.segment-filter__checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--segment-color, var(--orange));
    cursor: pointer;
    flex-shrink: 0;
}
.segment-filter__icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.segment-filter__name {
    flex: 1;
    font-weight: 500;
}
.segment-filter__count {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}
.segment-filter__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.segment-filter__apply-btn {
    flex: 1;
    padding: 8px 16px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.segment-filter__apply-btn:hover {
    background: var(--orange-hover);
    color: var(--text);
}
.segment-filter__reset-btn {
    padding: 8px 16px;
    background: none;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.segment-filter__reset-btn:hover {
    border-color: var(--text);
}

/* Segment Filter — Mobile button */
.segment-filter-mob-btn {
    display: none;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 127, 42, 0.3);
}
.segment-filter-mob-btn:active {
    transform: scale(0.98);
}
.segment-filter-mob-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--orange);
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

/* Segment Filter — Modal */
.segment-modal {
    display: none;
}
.segment-modal.open {
    display: block;
}
.segment-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.segment-modal__content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 9999;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: segmentSlideUp 0.25s ease-out;
}
@keyframes segmentSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.segment-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    border-bottom: 1px solid var(--line);
}
.segment-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}
.segment-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.segment-modal__body {
    padding: 4px 16px;
    overflow-y: auto;
    flex: 1;
}
.segment-modal__body .segment-filter__label {
    padding: 12px 0;
    font-size: 15px;
}
.segment-modal__body .segment-filter__icon {
    font-size: 22px;
}
.segment-modal__footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
}
.segment-modal__footer .segment-filter__apply-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
}
.segment-modal__footer .segment-filter__reset-btn {
    padding: 12px 16px;
    font-size: 14px;
}

/* Responsive */
.segment-filter-mob-wrap {
    display: none;
}
@media (max-width: 991px) {
    .segment-filter-mob-wrap {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .segment-filter-mob-btn {
        display: flex;
    }
}
@media (min-width: 992px) {
    .segment-filter-mob-wrap {
        display: none !important;
    }
    .segment-modal {
        display: none !important;
    }
}
.product-segments {
    background: var(--fon);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.product-segments__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 16px;
}
.product-segments__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-segments__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
}
.product-segments__item:hover {
    border-color: var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-segments__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: left;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
    margin-bottom: 12px;
}
.product-segments__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .product-segments__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 575px) {
    .product-segments {
        padding: 16px;
    }
    .product-segments__grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Segment Landing Page Styles
   ============================================= */

/* Block 1: Hero */
.segment-hero {
    position: relative;
    height: 400px;
    background: #2E7D32;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 48px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0;
}
.segment-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.segment-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}
.segment-hero__breadcrumbs {
    font-size: 14px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.7);
}
.segment-hero__breadcrumbs a {
    color: #fff;
    text-decoration: none;
}
.segment-hero__breadcrumbs a:hover {
    text-decoration: underline;
}
.segment-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}
.segment-hero__subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 32px;
}
.segment-hero__cta {
    display: inline-block;
    background: #F7931E;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s;
}
.segment-hero__cta:hover {
    background: #e07f0a;
    color: #fff;
    text-decoration: none;
}

/* Block 2: Tasks */
.segment-section-title {
    font-size: 28px;
    text-align: center;
    margin: 60px 0 30px;
    font-weight: 700;
}
.segment-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}
.segment-task-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}
.segment-task-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
}
.segment-task-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.segment-task-card__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Block 3: "View all" button */
.segment-btn-all {
    display: inline-block;
    color: #F7931E;
    border: 2px solid #F7931E;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.segment-btn-all:hover {
    background: #F7931E;
    color: #fff;
    text-decoration: none;
}

/* Block 4: Realizations */
.segment-realizations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.segment-realization-card__photo {
    height: 300px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}
.segment-realization-card__photo--empty {
    background-color: #e0e0e0;
}
.segment-realization-card__title {
    margin: 0;
    font-size: 15px;
}

/* Block 5: Blog articles */
.segment-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.segment-blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.segment-blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}
.segment-blog-card__image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}
.segment-blog-card__image--empty {
    background-color: #f0f0f0;
}
.segment-blog-card__content {
    padding: 16px;
}
.segment-blog-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
}
.segment-blog-card__excerpt {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 767px) {
    .segment-hero {
        height: 450px;
        padding: 24px;
    }
    .segment-hero__title {
        font-size: 28px;
    }
    .segment-hero__subtitle {
        font-size: 16px;
    }
    .segment-realizations-grid {
        grid-template-columns: 1fr;
    }
    .segment-section-title {
        font-size: 22px;
        margin: 40px 0 20px;
    }
}

/* «Серія Конструктор» (29.09.2026): лише бейдж з кількістю товарів (.nv-cat-count від nvCountBadge у контролерах меню).
   Колір/рамку пункту не міняємо навмисно — інакше читається як активна вкладка. */
.nv-cat-count {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 10px;
    background: #F7931E;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    vertical-align: 1px;
    white-space: nowrap;
}
.sc-name .nv-cat-count {
    display: table;
    margin: 6px auto 0;
}
