:root {
	--wd-text-font: "Ubuntu", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Ubuntu", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(142,203,222);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(142,203,222);
	--btn-accented-bgcolor-hover: rgb(115,190,214);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
}
.wd-footer {
	background-color: rgb(84,84,84);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 30px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}



.wd-page-title {
background-color: rgb(255,255,255);
}

@font-face {
	font-family: "Manrope3";
	font-weight: 100;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Manrope3";
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Manrope3";
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

/* ==================================================
   MOBIL MENÜ
   ================================================== */

/* Mobilmenü jobbról nyíljon */
.mobile-nav.wd-side-hidden.wd-left {
    left: auto !important;
    right: 0 !important;
    transform: translate3d(100%, 0, 0) !important;
}

.mobile-nav.wd-side-hidden.wd-left.wd-opened {
    transform: none !important;
}

/* Mobilmenü – főmenühöz igazított stílus */
body .wd-nav-mobile li > a {
    color: #222222 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
}

/* Mobilmenü hover / focus */
body .wd-nav-mobile li > a:hover,
body .wd-nav-mobile li > a:focus {
    color: #2D7F3D !important;
}

/* Aktuális oldal */
body .wd-nav-mobile li.current-menu-item > a,
body .wd-nav-mobile li.current-menu-parent > a,
body .wd-nav-mobile li.current-menu-ancestor > a,
body .wd-nav-mobile li.current_page_item > a {
    color: #145C3C !important;
    font-weight: 400 !important;
}


/* ==================================================
   ASZTALI FEJLÉC
   ================================================== */

@media (min-width: 1025px) {

    /* Főmenü ikonok */
    .wd-header-nav .wd-nav-img {
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        object-fit: contain;
        margin-right: 5px;
        flex: 0 0 42px;
    }

    /* Ikon és felirat középre */
    .wd-header-nav .woodmart-nav-link {
        display: flex;
        align-items: center;
    }

    /* Főmenü feliratméret */
    .wd-header-nav .menu > li > a,
    .wd-header-nav .wd-nav > li > a,
    .wd-header-nav .woodmart-nav-link {
        font-size: 17px !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }

    /* myKEMIKAL asztali mérete */
    .mykemikal-link {
        font-size: 17px !important;
    }


    /* Főmenü hover */
    .wd-header-nav .wd-nav > li:hover > a,
    .wd-header-nav .wd-nav > li:hover > a .nav-link-text,
    .wd-header-nav .woodmart-nav-link:hover,
    .wd-header-nav .woodmart-nav-link:hover .nav-link-text {
        color: #2D7F3D !important;
    }
}


/* ==================================================
   myKEMIKAL – ASZTALI
   ================================================== */

.mykemikal-link {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 20;
    pointer-events: auto !important;
    white-space: nowrap;
    color: #545454 !important;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
}

.mykemikal-link__icon {
    display: block;
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    flex: 0 0 28px;
    margin: 0;
}

.mykemikal-link__text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.mykemikal-link__my {
    font-weight: 400 !important;
    text-transform: lowercase !important;
}

.mykemikal-link__name {
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.mykemikal-link:hover,
.mykemikal-link:focus {
    color: #2D7F3D !important;
}


/* ==================================================
   myKEMIKAL – MOBIL
   ================================================== */

.mykemikal-mobile-wrap {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin-right: 0 !important;
}

.mykemikal-mobile-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
    text-decoration: none !important;
}

.mykemikal-mobile-link img {
    display: block;
    width: 28px;
    height: 28px;
    max-width: 28px;
    object-fit: contain;
}


/* ==================================================
   SZAKMAI CIKKEK
   ================================================== */

/* Metaadatok elrejtése egyedi cikkoldalon */
body.single-post .wd-post-cat,
body.single-post .meta-categories-wrapp,
body.single-post .wd-entry-meta,
body.single-post .woodmart-entry-meta,
body.single-post .entry-meta,
body.single-post .wd-post-meta {
    display: none !important;
}

/* Metaadatok elrejtése bloglistában */
.blog-post-loop .wd-entry-meta,
.blog-post-loop .woodmart-entry-meta {
    display: none !important;
}

/* Cikkcímek */
.blog-post-loop .wd-entities-title,
.blog-post-loop .wd-entities-title a,
.blog-post-loop .post-title,
.blog-post-loop .post-title a,
.wd-post .wd-entities-title,
.wd-post .wd-entities-title a,
.wd-post .post-title,
.wd-post .post-title a {
    color: #373737 !important;
    opacity: 1 !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

/* Cikkcím hover */
.blog-post-loop .wd-entities-title a:hover,
.blog-post-loop .post-title a:hover,
.wd-post .wd-entities-title a:hover,
.wd-post .post-title a:hover {
    color: #2D7F3D !important;
}

/* Mobil cikkcím */
@media (max-width: 767px) {

    .blog-post-loop .wd-entities-title,
    .blog-post-loop .wd-entities-title a,
    .blog-post-loop .post-title,
    .blog-post-loop .post-title a,
    .wd-post .wd-entities-title,
    .wd-post .wd-entities-title a,
    .wd-post .post-title,
    .wd-post .post-title a {
        font-size: 24px !important;
    }
}

/* Szakmai cikkek – kép hover zoom kikapcsolása */
.blog-post-loop .post-img-wrapp,
.blog-post-loop .post-img-wrapp a,
.blog-post-loop .post-img-wrapp img,
.blog-post-loop:hover .post-img-wrapp,
.blog-post-loop:hover .post-img-wrapp a,
.blog-post-loop:hover .post-img-wrapp img {
    transform: none !important;
    -webkit-transform: none !important;
    scale: 1 !important;
}


/* ==================================================
   LÁBLÉC
   ================================================== */

.footer-container,
.footer-container p {
    color: #d9d9d9;
}

/* Oszlopcímek */
.footer-container .widget-title,
.footer-container h2,
.footer-container h3,
.footer-container h4 {
    color: #ffffff !important;
}

/* Menüpontok */
.footer-container .widget_nav_menu a,
.footer-container .menu a,
.footer-container .product-categories a {
    color: #d9d9d9 !important;
    transition: color 0.2s ease;
}

/* Aktuális oldal */
.footer-container .current-menu-item > a,
.footer-container .current_page_item > a {
    color: #ffffff !important;
    font-weight: 700;
}

/* Hover */
.footer-container .widget_nav_menu a:hover,
.footer-container .menu a:hover,
.footer-container .product-categories a:hover {
    color: #2D7F3D !important;
}

/* Telefon és e-mail */
.footer-container a[href^="tel:"],
.footer-container a[href^="mailto:"] {
    color: #ffffff !important;
    font-weight: 600;
}

/* Telefon / e-mail hover */
.footer-container a[href^="tel:"]:hover,
.footer-container a[href^="mailto:"]:hover {
    color: #2D7F3D !important;
}


/* ==================================================
   MOBIL FOOTER – ELÉRHETŐSÉG MINDIG NYITVA
   ================================================== */

@media (max-width: 767px) {

    #text-3 .textwidget {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    #text-3 > *:not(.widget-title) {
        display: block !important;
    }

    #text-3 .widget-title {
        pointer-events: none !important;
        cursor: default !important;
    }

    #text-3 .widget-title::before,
    #text-3 .widget-title::after {
        display: none !important;
    }
}


/* ==================================================
   TIKTOK
   ================================================== */

blockquote.tiktok-embed {
    border: none !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

blockquote.tiktok-embed::before,
blockquote.tiktok-embed::after {
    display: none !important;
    content: none !important;
}


/* ==================================================
   TERMÉKEK
   ================================================== */

/* Kategória elrejtése egyedi termékoldalon */
.single-product .product_meta .posted_in {
    display: none !important;
}

/* Kategória elrejtése termékkártyákon */
.wd-product .wd-product-cats {
    display: none !important;
}

/* Vissza gomb */
.single-product .kemikal-product-back-wrap {
    margin-bottom: 15px;
}

.single-product .kemikal-product-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #545454 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .2s ease;
}

.single-product .kemikal-product-back:hover {
    color: #2D7F3D !important;
}

/* Terméklista – rendezési legördülő elrejtése */
.woocommerce-ordering {
    display: none !important;
}

/* ==================================================
   ASZTALI FEJLÉC – egységes hover zoom
   ================================================== */

@media (min-width: 1025px) {

    /* Főmenü + myKEMIKAL alapállapot */
    .wd-header-nav .wd-nav > li > a,
    .mykemikal-link {
        transform: scale(1) !important;
        transform-origin: center center !important;

        transition:
            transform 0.18s ease,
            color 0.18s ease !important;
    }

    /* Ugyanaz a finom zoom mindegyiken */
    .wd-header-nav .wd-nav > li:hover > a,
    .mykemikal-link:hover {
        transform: scale(1.04) !important;
    }

    /* Hover szín is egységes */
    .wd-header-nav .wd-nav > li:hover > a,
    .wd-header-nav .wd-nav > li:hover > a .nav-link-text,
    .mykemikal-link:hover {
        color: #2D7F3D !important;
    }

    /* Az almenük ne mozduljanak, az ikonok és feliratok pedig
       ne külön, hanem az egész menüponttal együtt nagyuljanak */
    .wd-header-nav .menu-item .menu-item > a,
    .wd-header-nav .menu-item > a *,
    .wd-header-nav .wd-nav-img,
    .mykemikal-link * {
        transform: none !important;
        -webkit-transform: none !important;
        scale: 1 !important;
        animation: none !important;
    }

    .wd-header-nav .menu-item .menu-item:hover > a,
    .wd-header-nav .menu-item:hover > a *,
    .wd-header-nav .menu-item:hover .wd-nav-img,
    .mykemikal-link:hover * {
        transform: none !important;
        -webkit-transform: none !important;
        scale: 1 !important;
        animation: none !important;
    }

    /* myKEMIKAL függőlegesen picit lejjebb */
    .mykemikal-link {
        top: 3px !important;
    }
}

/* ==================================================
   HERO ALATTI ZÖLD SÁV – kisebb desktop szélesség
   ================================================== */

@media (min-width: 1025px) and (max-width: 1500px) {

    .kemikal-green-strip {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Mindhárom rész kapjon helyet */
    .kemikal-green-strip > .e-con-inner > .e-con {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
    }

    /* Minden lehetséges cím/felirat kisebb legyen */
    .kemikal-green-strip h1,
    .kemikal-green-strip h2,
    .kemikal-green-strip h3,
    .kemikal-green-strip h4,
    .kemikal-green-strip h5,
    .kemikal-green-strip h6,
    .kemikal-green-strip p,
    .kemikal-green-strip a,
    .kemikal-green-strip .elementor-heading-title,
    .kemikal-green-strip .elementor-icon-box-title,
    .kemikal-green-strip .elementor-icon-box-title a,
    .kemikal-green-strip .info-box-title,
    .kemikal-green-strip .info-box-title a {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    /* Hosszabb szöveg soha ne legyen levágva */
    .kemikal-green-strip .elementor-widget-container,
    .kemikal-green-strip .elementor-heading-title,
    .kemikal-green-strip .elementor-icon-box-title,
    .kemikal-green-strip .info-box-title,
    .kemikal-green-strip a {
        min-width: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    /* Ikonok kicsit kisebbek */
    .kemikal-green-strip img {
        max-width: 60px !important;
        max-height: 60px !important;
        object-fit: contain;
    }
}


/* 1200 px környékén még egy picit kisebb */
@media (min-width: 1025px) and (max-width: 1200px) {

    .kemikal-green-strip h1,
    .kemikal-green-strip h2,
    .kemikal-green-strip h3,
    .kemikal-green-strip h4,
    .kemikal-green-strip h5,
    .kemikal-green-strip h6,
    .kemikal-green-strip p,
    .kemikal-green-strip a,
    .kemikal-green-strip .elementor-heading-title,
    .kemikal-green-strip .elementor-icon-box-title,
    .kemikal-green-strip .elementor-icon-box-title a,
    .kemikal-green-strip .info-box-title,
    .kemikal-green-strip .info-box-title a {
        font-size: 12px !important;
    }

    .kemikal-green-strip img {
        max-width: 54px !important;
        max-height: 54px !important;
    }
}

/* Szakmai cikkek – lapozó aktuális oldal KEMIKÁL zöld */
.wd-pagination .page-numbers.current,
.pagination .page-numbers.current,
.page-numbers.current {
    background-color: #2D7F3D !important;
    border-color: #2D7F3D !important;
    color: #ffffff !important;
}

/* Quick View – Termék megtekintése gomb */
.popup-quick-view .view-details-btn {
    background-color: #2D7F3D !important;
    border-color: #2D7F3D !important;
    color: #ffffff !important;
}

.popup-quick-view .view-details-btn:hover {
    background-color: #246B34 !important;
    border-color: #246B34 !important;
    color: #ffffff !important;
}

/* Footer – szürke KEMIKÁL logó körüli üres hely csökkentése */
#block-19 {
    margin-top: -85px !important;
    margin-bottom: -85px !important;
}

#block-19 .wp-block-wd-image,
#block-19 .wd-block-image {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== KEMIKÁL fejléc kereső ===== */

/* Külső felesleges dropdown doboz eltüntetése */
.wd-header-search .search-dropdown,
.wd-search-dropdown {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Teljes keresősáv */
.wd-header-search .searchform,
.wd-header-search-form .searchform {
    display: flex !important;
    align-items: stretch !important;
    height: 60px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 999px !important;

    overflow: hidden !important;
    box-shadow: none !important;
}

/* Rákattintva zöld keret */
.wd-header-search .searchform:focus-within,
.wd-header-search-form .searchform:focus-within {
    border-color: #2D7F3D !important;
}

/* Szövegmező */
.wd-header-search .searchform input[type="text"],
.wd-header-search .searchform input[type="search"],
.wd-header-search-form .searchform input {
    flex: 1 1 auto !important;

    height: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    background: transparent !important;
}

/* Keresőgomb – szürke alapból, hoverre zöld */
.wd-header-search .searchform button,
.wd-header-search .searchsubmit,
.wd-header-search-form .searchform button,
.wd-header-search-form .searchsubmit {
    align-self: stretch !important;

    width: 50px !important;
    height: 100% !important;
    min-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #73747A !important;
    color: #ffffff !important;
    box-shadow: none !important;

    transition: background-color .2s ease !important;
}

/* Hover → KEMIKÁL zöld */
.wd-header-search .searchform button:hover,
.wd-header-search .searchsubmit:hover,
.wd-header-search-form .searchform button:hover,
.wd-header-search-form .searchsubmit:hover {
    background: #2D7F3D !important;
    color: #ffffff !important;
}

/* Lábléc első oszlop – KEMIKÁL Zrt. */
footer .footer-column-1 .widget-title {
    text-transform: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* A cím alatti dekorációs vonal eltüntetése */
footer .footer-column-1 .widget-title::before,
footer .footer-column-1 .widget-title::after {
    display: none !important;
}

/* Ha maga a widget kapott alsó vonalat */
footer .footer-column-1 .widget {
    border-bottom: none !important;
}

/* Footer jogi linkek – alapból világos, hoverre zöld */
footer .copyrights-wrapper a,
footer .min-footer a,
footer .copyrights a {
    color: #f2f2f2 !important;
    transition: color .2s ease !important;
}

footer .copyrights-wrapper a:hover,
footer .min-footer a:hover,
footer .copyrights a:hover {
    color: #2D7F3D !important;
}

footer a.kemikal-cookie-settings {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #f2f2f2 !important;
}

footer a.kemikal-cookie-settings:hover {
    color: #2D7F3D !important;
}

/* ==================================================
OLDALSÓ MENÜ – DESKTOP + MOBIL
================================================== */

/* Menüpontok általános mérete */
.mobile-nav.wd-side-hidden .wd-nav-mobile > li > a {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    letter-spacing: 0 !important;
}

/* myKEMIKAL menüpont */
.mobile-nav.wd-side-hidden .wd-nav-mobile > li:first-child > a .nav-link-text {
    font-size: 0 !important;
    text-transform: none !important;
}

.mobile-nav.wd-side-hidden .wd-nav-mobile > li:first-child > a .nav-link-text::before {
    content: "my";
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: lowercase !important;
}

.mobile-nav.wd-side-hidden .wd-nav-mobile > li:first-child > a .nav-link-text::after {
    content: "KEMIKAL";
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* ==================================================
OLDALSÓ MENÜ / OFFCANVAS KERESŐ – ugyanúgy nézzen ki
mint a fejléc kereső
================================================== */

.mobile-nav .searchform,
.mobile-nav form[role="search"] {
    display: flex !important;
    align-items: stretch !important;
    height: 50px !important;
    margin: 12px 12px 18px 12px !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.mobile-nav .searchform:focus-within,
.mobile-nav form[role="search"]:focus-within {
    border-color: #2D7F3D !important;
}

.mobile-nav .searchform input[type="text"],
.mobile-nav .searchform input[type="search"],
.mobile-nav form[role="search"] input[type="text"],
.mobile-nav form[role="search"] input[type="search"] {
    flex: 1 1 auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #222222 !important;
}

.mobile-nav .searchform button,
.mobile-nav .searchsubmit,
.mobile-nav form[role="search"] button,
.mobile-nav form[role="search"] .searchsubmit {
    width: 50px !important;
    min-width: 50px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: #73747A !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transition: background-color .2s ease !important;
}

.mobile-nav .searchform button:hover,
.mobile-nav .searchsubmit:hover,
.mobile-nav form[role="search"] button:hover,
.mobile-nav form[role="search"] .searchsubmit:hover {
    background: #2D7F3D !important;
    color: #ffffff !important;
}
/* ==================================================
TERMÉKOLDALI KERESŐ – ugyanaz, mint az oldalsó menüben
================================================== */

.kemikal-product-search .searchform,
.kemikal-product-search form[role="search"],
.kemikal-product-search .woocommerce-product-search {
    display: flex !important;
    align-items: stretch !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.kemikal-product-search .searchform:focus-within,
.kemikal-product-search form[role="search"]:focus-within,
.kemikal-product-search .woocommerce-product-search:focus-within {
    border-color: #2D7F3D !important;
}

.kemikal-product-search .searchform input[type="text"],
.kemikal-product-search .searchform input[type="search"],
.kemikal-product-search form[role="search"] input[type="text"],
.kemikal-product-search form[role="search"] input[type="search"],
.kemikal-product-search .woocommerce-product-search input {
    flex: 1 1 auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.kemikal-product-search .searchform button,
.kemikal-product-search .searchsubmit,
.kemikal-product-search form[role="search"] button,
.kemikal-product-search .woocommerce-product-search button {
    width: 50px !important;
    min-width: 50px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #73747A !important;
    color: #ffffff !important;
    box-shadow: none !important;

    transition: background-color .2s ease !important;
}

.kemikal-product-search .searchform button:hover,
.kemikal-product-search .searchsubmit:hover,
.kemikal-product-search form[role="search"] button:hover,
.kemikal-product-search .woocommerce-product-search button:hover {
    background: #2D7F3D !important;
    color: #ffffff !important;
}

/* Terméklista – Megjelenítés blokk elrejtése */
.products-per-page,
.wd-products-per-page,
.woocommerce-products-per-page {
    display: none !important;
}

/* Forgalmazók – oldalankénti elemszám választó elrejtése */
.dt-length {
    display: none !important;
}

/* ==================================================
TERMÉKEK – MOBIL + TABLET
Szűrők balra, kereső jobbra
================================================== */

@media (max-width: 1024px) {

    /* Csak azt a tools sort célozzuk, amelyikben a kereső van */
    .shop-loop-head .wd-shop-tools:has(.kemikal-product-search) {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Szűrők bal oldal */
    .shop-loop-head .wd-shop-tools:has(.kemikal-product-search) .wd-show-sidebar-btn {
        order: 1 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    /* Kereső jobb oldal, kitölti a maradék helyet */
    .shop-loop-head .wd-shop-tools:has(.kemikal-product-search) .kemikal-product-search {
        order: 2 !important;
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .shop-loop-head .kemikal-product-search .wd-search-form,
    .shop-loop-head .kemikal-product-search .searchform {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .shop-loop-head .kemikal-product-search input[type="text"],
    .shop-loop-head .kemikal-product-search input[type="search"] {
        min-width: 0 !important;
    }
}

/* ==================================================
TERMÉKEK – MOBIL LAPOZÓ KATTINTHATÓ
================================================== */
@media (max-width: 1024px) {

    .wd-pagination,
    .woocommerce-pagination,
    .products-footer,
    .wd-loop-footer {
        position: relative !important;
        z-index: 50 !important;
        pointer-events: auto !important;
    }

    .wd-pagination a,
    .woocommerce-pagination a,
    .wd-pagination .page-numbers,
    .woocommerce-pagination .page-numbers {
        position: relative !important;
        z-index: 51 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

/* Termékoldali kereső szélesítése – csak asztali nézetben */
@media (min-width: 1025px) {
    body.woocommerce-shop .kemikal-product-search,
    body.woocommerce-shop .kemikal-product-search .wd-search-form,
    body.woocommerce-shop .kemikal-product-search form.searchform {
        width: 360px !important;
    }
}

a[href^="tel:"],
.kemikal-protected-email a {
    color: inherit !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

a[href^="tel:"]:hover,
a[href^="tel:"]:focus-visible,
.kemikal-protected-email a:hover,
.kemikal-protected-email a:focus-visible {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* Asztali lábléc: az elérhetőségek oszlopa szélesebb */
@media (min-width: 1025px) {
    .footer-container .footer-column-2 {
        --wd-col-lg: 2 !important;
    }

    .footer-container .footer-column-4 {
        --wd-col-lg: 4 !important;
    }
}

/* A külön létrehozott mobilcím kikapcsolása */
.single-product .kemikal-product-mobile-title {
    display: none !important;
}

@media (max-width: 767px) {
    /* Az eredeti terméknév ismét megjelenik a képgaléria alatt */
    .single-product .summary .product_title {
        display: block !important;
    }
}

.single-product h1.product_title {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    font-size: clamp(30px, 3vw, 40px) !important;
}

/* Mobil termékoldal: kategóriaútvonal, kép, terméknév */
@media (max-width: 767px) {
    .single-product .product-image-summary-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch;
    }

    .single-product .product-image-summary-inner > .summary,
    .single-product .summary > .summary-inner,
    .single-product .summary-inner > .single-breadcrumbs-wrapper {
        display: contents !important;
    }

    .single-product .summary-inner > * {
        order: 4;
        width: 100%;
    }

    .single-product .single-breadcrumbs-wrapper > .wd-breadcrumbs {
        order: 0;
        width: 100%;
        margin-bottom: 16px;
    }

    .single-product .product-image-summary-inner > .product-images {
        order: 1;
        width: 100%;
    }

    .single-product .summary-inner > h1.product_title {
        order: 2;
    }

    .single-product .single-breadcrumbs-wrapper > .wd-products-nav {
        order: 3;
        width: 100%;
    }
}