/* Normal  :1366px. */
@media (min-width: 1200px) and (max-width: 1500px) {
/*Menu css*/
.uthr-menu > ul > li + li {
    margin-left: 32px;
}

/*slider buton*/
.custom-slider-btn .htslider-slider .slick-arrow {
    left: 15px;
}
.custom-slider-btn .htslider-slider .slick-arrow.slick-next {
    left: 50px;
}
/*other's*/
.custom-bg-heading .elementor-heading-title {
    font-size: 131px!important;
}

}

/* Normal desktop :992px. */

@media (min-width: 992px) and (max-width: 1200px) {
.container, .container-lg, .container-md, .container-sm {
    max-width: 95%;
}
.newsletter_subscribe form {
    width: 100%;
}
/*Menu css*/
.uthr-menu > ul > li + li {
    margin-left: 20px;
}
.uthr-menu > ul > li > a{
    font-size: 16px;
}
/*slider buton*/
.custom-slider-btn .htslider-slider .slick-arrow {
    left: 15px;
    bottom: 60px;
}
.custom-slider-btn .htslider-slider .slick-arrow.slick-next {
    left: 50px;
}
.custom-bg-heading .elementor-heading-title {
    font-size: 113px!important;
}

.uthr-blog-content .entry-title {
    font-size: 18px;
}


}

@media (max-width: 991px) {
.uthr-header.is-sticky .uthr-header-inner {
    padding: 0 15px;
}
/*Header*/
.uthr-header-top-inner.d-flex {
    flex-direction: column;
}

/*shop*/
.custom-shop .ht-tab-menus {
    margin-bottom: 40px;
}
.htmove-feature-list.htmove-row .htmove-feature:first-child {
    padding-right: 15px !important;
}
.htmove-feature-list.htmove-row .htmove-feature:last-child {
    padding-right: 0px !important;
    padding-left: 15px !important;
}
.product-details-right {
    margin-top: 24px;
}
.shop-main-column-right {
    margin-bottom: 40px;
}
.related-product-section .single-product, .up-sells .single-product{
    margin-bottom: 40px;
}
.related-product-section {
    margin-top: 59px;
    margin-bottom: 80px;
}
.shop_banner_text h2 {
    font-size: 30px;
    line-height: 32px;
}
.custom-flex .elementor-image-box-wrapper {
    display: flex;
}
.shop-page-area {
    padding-top: 60px;
}

.uthr-blog-content .entry-title {
    font-size: 18px;
}
.uthr-single-blog {
    margin-bottom: 40px;
}
.newsletter_subscribe form {
    width: 100%;
}

.uthr-newsletter-text h2 {
    font-size: 21px;
}
.uthr-newsletter-section {
    padding-top: 70px;
}
.uthr-footer-bottom {
    padding: 70px 0 40px;
    position: relative;
}
.uthr-header {
    padding: 0;
}
.uthr-sidebar-widget {
    max-width: 400px;
}
.product-details-page{
  padding-top: 70px;
}
.product_zoom_gallery {
    margin-bottom: 40px;
    overflow: hidden;
}

.product-tab-section {
    margin-top: 33px;
}
.woocommerce div.product .summary p.price, .woocommerce div.product .summary span.price {
    font-size: 1.3em;
}


}


/* Tablet desktop :768px. */

@media (min-width: 768px) and (max-width: 991px) {
 .container{
    max-width: 100%!important;
 }   
/*slider buton*/
.custom-slider-btn .htslider-slider .slick-arrow,.custom-slider-btn.btn2 .htslider-slider .slick-arrow {
    left: 15px;
    bottom: 0px;
    margin-left: 0;
}
.custom-slider-btn .htslider-slider .slick-arrow.slick-next,.custom-slider-btn.btn2 .htslider-slider .slick-arrow.slick-next {
    left: 50px;
    margin-left: 0;
}

}

/* small mobile :320px. */

@media (max-width: 767px) {
    /*woolentor overight*/
.elementor-section .elementor-container {
    padding: 0 0px;
}
.container{
    max-width: 100%;
 }  
.custom-slider-btn .htslider-slider .slick-arrow,.custom-slider-btn.btn2 .htslider-slider .slick-arrow {
    left: 15px;
    top: 50%;
    margin-left: 0;
}
.custom-slider-btn .htslider-slider .slick-arrow.slick-next,.custom-slider-btn.btn2 .htslider-slider .slick-arrow.slick-next {
    left: auto;
    right: 15px;
}

.woocommerce div.product .product_title {
    font-size: 20px;
}
.entry-content.wc-tab h2{
    font-size: 25px;
}
.woocommerce .comment-reply-title {
    font-size: 20px;
}

/*Feature css*/
.htmove-feature-list.htmove-row .htmove-feature:last-child {
    padding-left: 0px !important;
}
.custom-testimonial .ht-single-testimonial-wrap .ht-client-content p {
    display: block;
} 
.comment-form-email {
    width: 100%;
    margin-left: 0 !important;
}
.comment-form-author {
    width: 100%;
}

.uthr-blog-content-area,.blog-list-bg .uthr-blog-content-area {
    flex-direction: column;
}
.uthr-blog-thumb {
    margin-bottom: 25px;
}
.uthr-blog-content,.uthr-blog-content.no-thumbnail {
    padding-right: 0;
    padding-left: 0;
}
blockquote, .single-blog-area .uthr-excerpt blockquote > p, blockquote p {
    font-size: 25px;
    line-height: 35px;
}



.footer-left-content {
    margin-bottom: 40px;
}

.uthr-footer-menu ul {
    justify-content: flex-start;
    padding-left: 0;
}
ul.uthr-footer-social {
    justify-content: flex-start;
    padding: 5px 0 47px;
}
.uthr-copyright {
    text-align: left;
}
}

@media (max-width: 576px) {
.container{
    max-width: 100%;
 }  
 .uthr-free-shipping-text {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 8px;
}
.uthr-header-contact-info ul {
    flex-direction: column;
    text-align: center;
}
.uthr-header-contact-info ul li + li {
    margin-left: 0;
}
/*Header css*/
.uthr-login + .uthr-login {
    margin-left: 4px;
}
.uthr-login>i, .uthr-login>img{
    margin-left: 9px;
}

.uthr-header-mini-cart {
    width: 260px;
}

.uthr-page-header-content .title {
    font-size: 25px;
    line-height: 30px;
}
.menu-login-menu-container {
    left: auto;
    right: 0;
}
.woocommerce div.product form.cart .button {
    padding: 0px 40px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 13px;
}
.uthr-blog-content .entry-title {
    font-size: 20px;
    line-height: 28px;
}
.uthr-excerpt p {
    font-size: 15px;
    line-height: 28px;
}
blockquote {
    display: block;
}
.uthr-newsletter-inner {
    flex-direction: column;
    align-items: unset!important;
}
.uthr-newsletter-text {
    margin-bottom: 23px;
}
.htslider-slider .slick-arrow {
    display: none!important;
}

.htmove-banner-six.position-left-middle .htmove-banner-info {
    left: 4px!important;
}
.htmove-banner-title br {
    display: none;
}

.uthr-shop-topbar p.woocommerce-result-count{
    display: none;
}
.grid_list .single-product-box {
    display: block;
    margin-bottom: 40px;
}
.grid_list .product_list_content {
    padding-left: 0;
    margin-top: 22px;
}
.shop_banner {
	min-height: 150px;
    padding: 15px 0 ;
}
.shop_banner_text {
	padding-left: 20px;
}
.shop_banner_text h2 {
	font-size: 25px;
}
}

/* ================================================================
   MOBILE OPTIMIZATION
   ================================================================ */

/* ----------------------------------------------------------------
   1. HEADER MOBILE LAYOUT (≤ 991px)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {

    /* Топ-хедер: прихований на мобільному */
    .uthr-header-top {
        display: none !important;
    }

    /* Хедер: фіксований, тільки білий бар */
    .uthr-header {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
        height: 70px !important;
        min-height: 70px !important;
    }
    .admin-bar .uthr-header {
        top: 32px !important;
    }
    .uthr-header .uthr-header-inner {
        height: 70px !important;
        min-height: 70px !important;
        padding: 0 15px !important;
        position: relative;
    }

    /* Компенсація для вмісту */
    #page.site {
        padding-top: 70px;
    }
    .admin-bar #page.site {
        padding-top: 102px; /* 70 + 32 */
    }

    /* Row: розтягнути на висоту хедера */
    .uthr-header .uthr-header-inner .container-fluid > .row {
        min-height: 70px;
        align-items: stretch !important;
    }

    /* Ліва колонка: бургер по центру вертикально */
    .uthr-header .col-5,
    .uthr-header .col-sm-5 {
        height: 70px;
        display: flex !important;
        align-items: center !important;
        padding-left: 0;
    }

    /* Права колонка: контекст для абсолютних іконок */
    .uthr-header .col-7,
    .uthr-header .col-sm-7 {
        position: relative;
        height: 70px;
        padding-left: 0;
        padding-right: 0;
    }
    .uthr-header .col-7 > .row,
    .uthr-header .col-sm-7 > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Іконки: справа по центру вертикально */
    .uthr-header .col-7 .col-auto.header-right-bar-content,
    .uthr-header .col-sm-7 .col-auto.header-right-bar-content {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        padding: 0;
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap !important;
    }

    /* Прибрати зайвий padding іконок */
    .uthr-login.header-right-bar {
        padding: 3px 0 !important;
    }
    .uthr-login + .uthr-login {
        margin-left: 10px !important;
    }

    /* Бургер (новий, у лівій колонці) */
    .mobile-burger-wrap {
        display: flex;
        align-items: center;
    }
    .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle {
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding: 8px 0;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle i {
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        margin: 0 auto;
        transition: transform 0.3s ease, width 0.3s ease;
        border-radius: 2px;
        overflow: visible;
    }
    .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle i::before,
    .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle i::after {
        display: none !important;
    }

    /* Бургер → X при відкритому меню: лінії виростають до 34px (= 24×√2) щоб X мав ширину 24px */
    .mobile-menu-open .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle .icon-top {
        width: 34px;
        transform: translateY(4.5px) rotate(45deg);
    }
    .mobile-menu-open .mobile-burger-wrap .uthr-mobile-menu-toggle .toggle .icon-bottom {
        width: 34px;
        transform: translateY(-4.5px) rotate(-45deg);
    }

    /* Mini-cart dropdown */
    .uthr-header-mini-cart {
        right: 0;
        width: 280px;
    }
}

@media (max-width: 576px) {
    .uthr-login + .uthr-login {
        margin-left: 6px !important;
    }

    .uthr-login a,
    .uthr-login i,
    .search-box-btn i {
        font-size: 19px !important;
    }

    .uthr-header-mini-cart {
        width: 250px;
    }
}

/* ----------------------------------------------------------------
   2. MOBILE MENU: Replace green #6A7964 with white
   ---------------------------------------------------------------- */

/* Main slide-in panel */
.uthr-site-main-mobile-menu {
    background-color: #ffffff;
}

/* Header strip inside the panel: помаранчевий бар (X зліва + UA|RU справа) */
.uthr-mobile-menu-header {
    background-color: #ff5500;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: 56px;
    flex-shrink: 0;
}

/* Кнопка X всередині меню — прихована, X тепер у хедері */
.uthr-mobile-menu-close {
    display: none;
}

/* UA|RU перемикач мов у мобільному меню */
.mobile-menu-lang .tdk-lang-sw__link {
    color: rgba(255, 255, 255, 0.65);
}
.mobile-menu-lang .tdk-lang-sw__link.is-active {
    color: #fff;
}
.mobile-menu-lang .tdk-lang-sw__link:not(.is-active):hover {
    color: #fff;
}
.mobile-menu-lang .tdk-lang-sw__sep {
    color: rgba(255, 255, 255, 0.4);
}

/* Лого в оранжевій полосці */
.mob-menu-logo a {
    display: flex;
    align-items: center;
}
.mob-menu-logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

/* Головна — вирівнювання з nav-пунктами */
.mob-menu-home {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mob-menu-home a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}
.mob-menu-home a:hover { color: #ff5500; }
.mob-menu-home a i {
    font-size: 17px;
    color: #555;
    flex-shrink: 0;
}

/* Контакти — вирівнювання з nav-пунктами */
.mob-menu-contacts {
    border-top: 1px solid rgba(0,0,0,0.08);
}
.mob-menu-contacts .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: #333;
    font-size: 15px;
}
.mob-menu-contacts .contact-item + .contact-item {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.mob-menu-contacts .contact-item i {
    font-size: 16px;
    color: #555;
    flex-shrink: 0;
}
.mob-menu-contacts .phone-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.mob-menu-contacts .phone-wrapper a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.mob-menu-contacts .phone-wrapper a:hover { color: #ff5500; }
.mob-menu-contacts .messenger-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mob-menu-contacts .messenger-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Рейтинг внизу меню */
.mobile-menu-ratings {
    padding: 20px 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: auto;
}
.mobile-menu-ratings a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}
.mobile-menu-ratings a:hover { color: #ff5500; }
.mobile-menu-ratings .mob-rating-stars { color: #FFE000; font-size: 15px; letter-spacing: 1px; }
.mobile-menu-ratings .mob-rating-score { font-weight: 700; color: #333; }
.mobile-menu-ratings .mob-rating-sep { opacity: 0.4; }
.mobile-menu-ratings .mob-rating-count { border-bottom: 1px solid transparent; }
.mobile-menu-ratings a:hover .mob-rating-count { border-bottom-color: #ff5500; }

/* Nav item text: dark */
.uthr-site-mobile-menu > ul > li > a {
    color: #333333;
}

/* Separator between top-level items */
.uthr-site-mobile-menu > ul > li + li > a {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Active/open item */
.uthr-site-mobile-menu > ul > li.open > a {
    color: #ff5500;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Submenu expand toggle button */
.uthr-site-mobile-menu > ul > li .menu-toggle {
    color: #555555;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.uthr-site-mobile-menu > ul > li .menu-toggle:hover,
.uthr-site-mobile-menu > ul > li.open > .menu-toggle {
    background-color: #f5ebe0;
    color: #ff5500;
    border-color: rgba(255, 85, 0, 0.4);
}

/* Submenu links */
.uthr-site-mobile-menu .uthr-sub-menu li > a {
    color: #555555;
}

.uthr-site-mobile-menu .uthr-sub-menu li + li > a {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.uthr-site-mobile-menu .uthr-sub-menu li.open > a {
    color: #ff5500;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.uthr-site-mobile-menu .uthr-sub-menu li .menu-toggle {
    color: #555555;
    border-color: rgba(0, 0, 0, 0.12);
}

.uthr-site-mobile-menu .uthr-sub-menu li.open > .menu-toggle {
    background-color: #f5ebe0;
    color: #ff5500;
}

/* Close button (X): use orange on hover */
.uthr-mobile-menu-close .toggle:hover i::before,
.uthr-mobile-menu-close .toggle:hover i::after {
    background-color: #ff5500;
}

/* Hamburger lines: orange on hover instead of green */
.uthr-mobile-menu-toggle .toggle:hover i::before,
.uthr-mobile-menu-toggle .toggle:hover i::after {
    background-color: #ff5500 !important;
}

/* Icon hover: keep orange on mobile (not green) */
@media (max-width: 991px) {
    .uthr-login a:hover,
    .uthr-login:hover > i {
        color: #ff5500 !important;
    }
}

/* ----------------------------------------------------------------
   3. CATEGORIES BENTO GRID: 1 per row on mobile (≤ 767px)
   ---------------------------------------------------------------- */
@media (max-width: 767px) {
    .categories-bento-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        aspect-ratio: auto !important;
    }

    .cat-item--pos-1,
    .cat-item--pos-2,
    .cat-item--pos-3,
    .cat-item--pos-4,
    .cat-item--pos-5 {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .cat-item--big .cat-item__name {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

/* ----------------------------------------------------------------
   4. SUBCATEGORY CARDS: 1 per row on mobile (≤ 767px)
   ---------------------------------------------------------------- */
@media (max-width: 767px) {
    .subcategories-grid .col-sm-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ----------------------------------------------------------------
   5. STICKY HEADER: прибрати зсув від admin-bar на мобільних
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
    /* WP залишає .admin-bar клас на body навіть коли бар прихований */
    .admin-bar .uthr-header.is-sticky .uthr-header-inner {
        top: 0 !important;
    }
}

/* ----------------------------------------------------------------
   6. HAMBURGER: скасувати hover-залипання на тач-пристроях
      Використовуємо .uthr-header для вищої специфічності
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-top::before,
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-bottom::before {
        transform: scaleX(1) translateZ(0) !important;
        -webkit-transform: scaleX(1) translateZ(0) !important;
    }
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-top::after,
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-bottom::after {
        transform: scaleX(0) translateZ(0) !important;
        -webkit-transform: scaleX(0) translateZ(0) !important;
    }
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-middle::before {
        transform: scaleX(1) translateZ(0) !important;
        -webkit-transform: scaleX(1) translateZ(0) !important;
    }
    .uthr-header .uthr-mobile-menu-toggle .toggle:hover i.icon-middle::after {
        transform: scaleX(0) translateZ(0) !important;
        -webkit-transform: scaleX(0) translateZ(0) !important;
    }
}

/* ================================================================
   7. LANGUAGE SWITCHER (власний UA|RU, без дропдауну)
   ================================================================ */

.tdk-lang-sw {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tdk-lang-sw .tdk-lang-sw__link {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    line-height: 1;
    transition: color 0.15s;
}
.tdk-lang-sw .tdk-lang-sw__link.is-active {
    font-weight: 600;
    pointer-events: none;
    cursor: default;
}
.tdk-lang-sw .tdk-lang-sw__link:not(.is-active):hover {
    color: #ff5500;
}
.tdk-lang-sw .tdk-lang-sw__sep {
    color: rgba(0, 0, 0, 0.3);
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
}

/* ================================================================
   8. MOBILE: захист від широких елементів
   ================================================================ */
img,
video,
iframe,
table,
.wp-block-table,
.wp-block-image {
    max-width: 100%;
}

/* Admin-bar на ≤782px: 46px (замість 32px) */
@media screen and (max-width: 782px) {
    .admin-bar .uthr-header {
        top: 46px !important;
    }
    .admin-bar #page.site {
        padding-top: 116px; /* 70 + 46 */
    }
}

/* Горизонтальний overflow + sticky: виправлено в style.css (html/body overflow-x: clip) */
