.ocf-theme-light-block .ocf-search-btn-static, .ocf-theme-light-block .ocf-search-btn-popover, .ocf-theme-light-block .ocf-search-btn-static.ocf-disabled, .ocf-theme-light-block .ocf-search-btn-popover.ocf-disabled, .ocf-noUi-connect:before, .ocf-noUi-handle {background-color:rgba(48, 48, 48, 0.94) !important;}
:root {--ds-primary-color:rgba(48, 48, 48, 0.94);}
:root {--ds-body-bg-light-color:rgb(48, 48, 48);}
:root {--ds-links-color:rgb(170, 170, 170);}
.light-theme .ds-header {background:rgb(248, 248, 248);}
.ds-dropdown-links .blue-link, .ds-switcher button {color:rgb(249, 249, 249);}
.ds-dropdown-links .blue-link:hover {color:rgb(213, 213, 213);}
:root {--ds-footer-bg-light-color:rgb(249, 249, 249);}
.light-theme .ds-footer-subscribe-text, .light-theme .ds-footer-item .secondary-text, .light-theme .ds-footer-socials .secondary-text {color:rgb(136, 136, 136);}
.ds-footer .blue-link {color:rgb(255, 255, 255);}
.ds-footer .blue-link:hover {color:rgb(212, 175, 55);}
.light-theme .ds-footer-links li a, .light-theme ul.ds-footer-item li a {color:rgb(170, 170, 170);}
.ds-footer-links li a:hover, ul.ds-footer-item li a:hover {color:rgb(212, 175, 55);}
.light-theme .ds-footer-item-title {color:rgb(34, 34, 34);}
.light-theme .ds-footer-item-title svg path {fill:rgb(34, 34, 34);}
:root {--ds-interactive-color:rgb(82, 187, 56);}
.ds-price-new.red-text {color:rgb(213, 56, 61);}
.ds-header-wishlist-button, .ds-mobile-bottom-nav-item-wishlist, .ds-wishlist-btn {display: none!important;}
.oct_dynamic_stylesheet_begin{display: none;}
.ds-module-img-box.position-relative {
  z-index: 999;
}

body,
.ds-product-main-actions,
.ds-product-main-attributes-item,
.ds-product-attributes-item:nth-child(2n+1) {
    background: transparent !important;
}

/* Правильно закрытый блок */
.content-block p:not(.light-text, .dark-text, .secondary-text, .green-text, .red-text, .required),
.ocf-description p:not(.light-text, .dark-text, .secondary-text, .green-text, .red-text, .required) {
    color: rgb(34, 34, 34);
}

.oct-gallery.d-block.video_active {
    position: relative;
}
.video_active video {
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.fancybox-slide--video .fancybox-content {
    height: 100% !important;
    width: 100% !important;
}

.btn_video_play:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #303030bf;
    top: 0;
    background-image: url(/image/play.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px;
}

/* Остальные блоки оставляем как есть */
@media (max-width: 1199px) {
    .ds-product-images-additional {
        width: 100%;
        height: 100px;
        bottom: 0;
    }
    .ds-product-images-main {
        margin-bottom: 100px;
    }
  	.ds-product-images-additional .swiper-slider-btn-prev, 
    .ds-product-images-additional .swiper-slider-btn-next {
        display: none;
    }
}

@media (min-width: 576px) {
    .ds-product-attributes-item > :first-child {
        width: 25% !important;
    }
}

.ds-product-attributes-item {
    padding: 0.2rem !important;
}

@media (max-width: 800px) {
    .ds-category-wall-item {
        width: 49% !important;
    }
    .content-block,
    .ocf-description {
        padding: 0.2rem !important;
    }
    .ds-menu-catalog-item {
        padding: 1.2rem;
    }
    header .fsz-14 {
        font-size: 1.1rem !important;
    }
    .ds-module-buttons {
        display: none !important;
    }
}

.ds-module-img-box.position-relative {
    position: relative;
    display: block;
    overflow: hidden;
}

.ds-module-img img {
    transition: transform 1s ease-in-out;
    display: block;
    width: 100%;
}

.ds-module-img-box:hover img,
.ds-module-img-box.touch-active img {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1199px) {
    .ds-module-caption:hover img {
        transform: scale(1.1);
        border-radius: 0.25rem;
    }
    /* Коли наводимо на заголовок — збільшується картинка */
    .ds-module-item .ds-module-title:hover ~ .ds-module-img-box img,
    .ds-module-item:hover .ds-module-img-box img {
        transform: scale(1.2);
        transition: transform 0.7s ease-in-out;
    }
}

@media (min-width: 1200px) {
    .ds-module-img:hover img {
        transform: scale(1.1);
        border-radius: 0.25rem;
    }
  
}

@media (max-width: 767.98px) {
    .ds-subcategories-item {
        max-width: 25% !important;
    }
    .ds-subcategories-title {
        text-align: center !important;
    }
}

@media (min-width: 1200px) {
    .ds-subcategories-item {
        max-width: 25%;
    }
}


  .oct-checkout-block.payment-method .form-check-item:has(:checked),
.oct-checkout-block.shipping-method .form-check-item:has(:checked) {
    background-color: #fff !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
    border-radius: 6px;
}  
  
  /* Ссылки в выпадающих меню и переключателях */
.ds-dropdown-links .blue-link,
.ds-switcher button {
    color: var(--ds-links-color);       /* основной цвет ссылок по теме */
    transition: color 0.3s ease;       /* плавное изменение при наведении */
    text-decoration: none;             /* без подчеркивания */
}

/* При наведении */
.ds-dropdown-links .blue-link:hover,
.ds-switcher button:hover {
    color: var(--ds-primary-color);    /* цвет hover из темы */
    text-decoration: underline;        /* подчеркнуть при наведении для читаемости */
}

/* Ссылки телефонов в подвале */
.ds-footer .blue-link {
    color: var(--ds-links-color);         /* основной цвет ссылок из темы */
    transition: color 0.3s ease;          /* плавное изменение цвета при hover */
    text-decoration: none;                /* без подчеркивания */
}

/* Hover эффект для подвала */
.ds-footer .blue-link:hover {
    color: var(--ds-primary-color);       /* цвет при наведении */
    text-decoration: underline;           /* подчёркивание при наведении для читаемости */
}





/* Названия групп: Роздріб и Опт */
.gp-prices .gp-group {
    font-weight: 500;
    margin-right: 0.3rem;
    color: rgb(80, 80, 80); /* мягкий тёмно-серый */
}

/* Слово "Опт" крупнее */
.gp-prices .gp-group3 {
    font-size: 1.15rem; /* увеличено */
    font-weight: 600;
}

/* Розничная цена */
.gp-prices .gp-group1 .gp-price {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(80, 80, 80);
}

/* Оптовая цена — крупнее и мягкий тёмно-серый */
.gp-prices .gp-group3 .gp-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(60, 60, 60); /* мягкий темный, не черный */
}

/* Скрываем дубли */
.gp-prices .gp-price span.price-usd:nth-child(n+2) {
    display: none;
}

/* Hover эффект для оптовой цены */
.gp-prices .gp-group3 .gp-price:hover {
    color: rgb(50, 50, 50);
    cursor: default;
}

.content-block ul {
  padding-left: 0;
}
/* === FIX Nova Poshta Autocomplete dropdown === */
.ui-autocomplete,
.autocomplete-suggestions,
.np-autocomplete {
    z-index: 99999 !important;
    position: absolute !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    max-height: 300px;
    overflow-y: auto;
}

/* Разрешаем списку быть видимым за пределами блока */
.oct-checkout-block,
.oct-checkout-block.shipping-method,
.oct-checkout-block.payment-method {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Иногда обёртка автокомплита в OCT скрыта */
.ui-helper-hidden-accessible {
    display: none !important;
}
.oct_dynamic_stylesheet_end{display: none;}
