/* ===================================

    Crafto - Fashion store

====================================== */

/* font */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&display=swap');

/* variable */

:root {     

    --base-color: #F68B1F; 

    --alt-font: 'Outfit', sans-serif;

    --primary-font: 'Figtree', sans-serif;

    --medium-gray: #828282;

}

/* reset */

body {

    font-size: 17px;

    line-height: 32px; 

}

a:hover {

    color: var(--dark-gray);

}

.input-small, .textarea-small, .select-small {

    font-size: 14px;

}

.input-small {

    padding: 9px 15px;

}

/* header */

header .navbar-brand img {

    max-height: 34px;

}

header .navbar-brand {

    padding: 22px 0;

    left: 44.5% !important;

}

.navbar.center-logo .navbar-nav .nav-link {

    padding: 25px 16px;

    /*font-size: 19px;*/

}

.header-icon .icon > a {

    padding-left: 20px;

}

.header-icon .icon .header-language > a, .header-icon .icon .header-cart > a {

    padding-left: 18px;

}

.header-cart-icon .cart-count {

    color: var(--dark-gray);

}

header .widget {

    font-size: 17px;

    display: inline-block;

}

.navbar .navbar-nav .submenu-content ul .sub-title {

    font-size: 17px;

    margin-bottom: 3px;

}

.navbar .navbar-nav .dropdown .dropdown-menu a {

    font-size: 16px;

    padding-bottom: 3px;

    font-weight: 300;

    border-color: transparent;

}

.header-cart-icon .header-cart .cart-item-list {

    border-radius: 0;

}

.header-cart-icon .header-cart .cart-item-list .cart-item .product-detail a {

    font-size: 16px;

    line-height: 28px;

}

.header-cart-icon .cart-count {

    background-color: var(--dark-gray);

}

.navbar.center-logo .navbar-left, .navbar.center-logo .navbar-right {

    width: 39%

}

/* bg color */

.bg-nero-grey, .bg-nero-grey:focus {

    background-color: #1B1B1B;

}

/* min-width */

.min-w-150px {

    min-width: 150px;

}

.min-w-170px {

    min-width: 170px;

}

/* btn */

.btn.btn-large { 

    padding: 15px 30px;

}

.btn {

    text-transform: inherit;

}

.btn.btn-dark-gray {

    font-weight: 400;

}

.btn.btn-extra-large {

    font-size: 19px;

    padding: 20px 38px;

}

.btn.btn-large {

    font-size: 18px;

    padding: 15px 30px;

}

.btn.btn-medium {

    font-size: 16px;

    padding: 13px 26px;

}

.btn.btn-small {

    font-size: 16px;

    padding: 10px 20px;

}

.btn.btn-very-small {

    font-size: 14px;

    padding: 9px 20px;

}

.btn.btn-link {

    padding: 0 0 2px;

}

/* page title */

.page-title-extra-large h1 {

    font-size: 3.5rem;

    line-height: 3.5rem;

}

/* top bottom left right class */

.left-15 {

    left: 15%;

}

/* interactive banner */

.interactive-banner-style-09 .image-content:hover .content-arrow {

    opacity: 1;

}

/* tab style 04 */

.tab-style-04 .nav-tabs .nav-item .nav-link {

    line-height: 50px;

}

/* progress bar 02 */

.progress-bar-style-02 .progress {

    height: 10px; 

}

/* footer */

.footer-dark, .footer-dark p, .footer-dark a {

    color: var(--medium-gray); 

}

footer .footer-logo img {

    max-height: 34px;

}

footer .nav-link {

    color: var(--white);

    padding: 0 20px;

}

footer ul li {

    margin-bottom: 0;

}

footer .elements-social.social-icon-style-02 li {

    margin: 0 14px 0 0;

}

/* tab style 07 */

.tab-style-07 .nav-tabs .nav-item .nav-link {

    padding: 20px 30px;

}

.tab-style-07 .nav-tabs .nav-item .nav-link.active span,

.tab-style-07 .nav-tabs .nav-item .nav-link:hover span {

    color: var(--dark-gray);

}

/* tooltip */

.tooltip.show {

    opacity: 1;

}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before {

    border-top-color: var(--dark-gray);

    top: -2px;

}

.tooltip .tooltip-inner {

    background-color: var(--dark-gray);

    border-radius: 3px;

    font-size: 10px;

    text-transform: uppercase;

    padding: 5px 10px;

    font-weight: 500;

}



.katimagebox{

    min-height: 500px;

}







/* media query responsive */

@media (max-width: 1399px) {

    .sticky-wrap.shadow-in { left: 25px; }

    .center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link {

        padding-left: 13px;

        padding-right: 13px;

    }

}

@media (max-width: 1250px){

    .sticky-wrap.shadow-in { left: 10px; }

    

    

}

@media (max-width: 991px) {

    header .navbar-brand img {max-height: 21px;}

    header .navbar-brand {

        left: 56.5% !important;

    }

    .tab-style-07 .nav-tabs .nav-item .nav-link { padding: 20px; }

    .navbar.center-logo .navbar-left, .navbar.center-logo .navbar-right { width: 100%; }



    .navbar .navbar-nav .dropdown .dropdown-menu a, .navbar .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-modern-inner .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-full-screen-menu-inner .navbar-nav .dropdown .dropdown-menu li.sub-title { line-height: normal; }

    .header-icon .icon > a, .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 12px; }

    footer .nav-link { padding: 0 12px; }

    .tab-style-04 .nav-tabs .nav-item { padding: 0 16px; }

    .shop-sidebar { order: 2;}

    .feature-box.feature-box-left-icon-middle {padding-left: 50px !important;}



}

@media (max-width: 767px) {

    .tab-style-04 .nav-tabs .nav-item .nav-link { line-height: 35px; }

    .swiper-number-pagination-progress-vertical .swiper-pagination-wrapper { right: 15px;}

    .btn.btn-large { font-size: 17px; padding: 13px 25px; }

}

@media (min-width: 1301px) and (max-width: 1399px) {

    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 13px; padding-right: 13px; font-size: 16px; }

}

@media (min-width: 1200px) and (max-width: 1300px) {

    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 11px; padding-right: 11px; font-size: 15px; }

    .header-icon .icon > a { font-size: 16px; padding-left: 13px; }

}

@media (min-width: 992px) and (max-width: 1199px) {

    .header-icon .icon > a { font-size: 16px; padding-left: 10px; }

    .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 10px; font-size: 16px; }

    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 14px; padding-right: 14px; font-size: 15px; }

    .btn.btn-switch-text.btn-large>span { padding: 16px 28px; }

}



/* ha kisebb a képernyő */

@media screen and (max-width: 1500px){

    .uniform-height-images2 {

        height: 230px !important;

    }

    .katimagebox{

        min-height: 280px;

    }

    .categories-box{

        height: 280px !important;

    }

}





.uniform-height-images {

    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */

    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */

    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */

}

.uniform-height-images2 {

    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */

    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */

    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */

}



.two-line-limit {

    min-height: 3em;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;

    max-height: 40px;

    line-height: 20px;

}



.uniform-height-images-for-cat {

    height: 500px; /* vagy bármely más érték, amely megfelel az igényeidnek */

    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */

    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */

}



.uniform-height-images-for-prod {

    height: 300px; /* vagy bármely más érték, amely megfelel az igényeidnek */

    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */

    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */

}



.catbox-incat{

    margin-bottom: 35px;

}





.lable.sale{

    background-color: #f68b1f;

    color: white;

    padding: 5px 10px;

    border-radius: 50%;

    position: absolute;

    top: 10px;

    right: 10px;

    width: 80px;

    height: 80px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 20px;

}



.shop-image .lable .sale {

    padding: 0 8px;

    position: absolute;

    right: 10px;

    left: auto  !important;

    top: 10px;

    color: var(--white);

    font-size: 9px;

    line-height: 21px;

    border-radius: 2px;

    text-transform: uppercase;

    font-weight: 700;

}



.shop-image .lable .hot {

    padding: 0 8px;

    position: absolute;

    right: 10px;

    left: auto  !important;

    top: 10px;

    color: var(--white);

    font-size: 9px;

    line-height: 21px;

    border-radius: 2px;

    text-transform: uppercase;

    font-weight: 700;

}



.termek-nev {

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;  

    overflow: hidden;

    text-overflow: ellipsis;

    height: auto; /* Állítsd be a magasságot szükség szerint */

    line-height: 1.5; /* Állítsd be a sorok közötti távolságot szükség szerint */

    min-height: 60px;

}



.fixed-sidebar {

    position: -webkit-sticky; /* Safari */

    position: sticky;

    /*wmargin-top: 120px;

    top:120px;

    width: 200px;  Vagy a sidebar szélessége */

}



.shop-sidebar .shop-filter li.active .product-cb:after  {

    opacity: 1;

}



 .lazy {

    opacity: 0;

    transition: opacity 1s ease-in-out;

    background-image: none;

    background-color: #F1F1FA;

}



.lazy-loaded {

    opacity: 1;

}



.viszel-inner .title {

    font-weight: 700;

    max-lines: 2;

    line-height: 18px;

    height: 40px;

}







.login-top, .basket-top {

    float: left;

    line-height: 59px;

    font-size: 17px;

    cursor: pointer;

}

.huszhusz{

        height:200px;position: absolute;top:0;right: 0;

        float: right;

        z-index: 4;

    }

@media screen and (max-width: 700px){

    .huszhusz{

    }
}
@media (max-width: 1250px){
    .sticky-wrap.shadow-in { left: 10px; }
    
    
}
@media (max-width: 991px) {
    header .navbar-brand img {max-height: 21px;}
    header .navbar-brand {
        left: 56.5% !important;
    }
    .tab-style-07 .nav-tabs .nav-item .nav-link { padding: 20px; }
    .navbar.center-logo .navbar-left, .navbar.center-logo .navbar-right { width: 100%; }

    .navbar .navbar-nav .dropdown .dropdown-menu a, .navbar .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-modern-inner .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-full-screen-menu-inner .navbar-nav .dropdown .dropdown-menu li.sub-title { line-height: normal; }
    .header-icon .icon > a, .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 12px; }
    footer .nav-link { padding: 0 12px; }
    .tab-style-04 .nav-tabs .nav-item { padding: 0 16px; }
    .shop-sidebar { order: 2;}
    .feature-box.feature-box-left-icon-middle {padding-left: 50px !important;}

}
@media (max-width: 767px) {
    .tab-style-04 .nav-tabs .nav-item .nav-link { line-height: 35px; }
    .swiper-number-pagination-progress-vertical .swiper-pagination-wrapper { right: 15px;}
    .btn.btn-large { font-size: 17px; padding: 13px 25px; }
}
@media (min-width: 1301px) and (max-width: 1399px) {
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 13px; padding-right: 13px; font-size: 16px; }
}
@media (min-width: 1200px) and (max-width: 1300px) {
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 11px; padding-right: 11px; font-size: 15px; }
    .header-icon .icon > a { font-size: 16px; padding-left: 13px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-icon .icon > a { font-size: 16px; padding-left: 10px; }
    .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 10px; font-size: 16px; }
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 14px; padding-right: 14px; font-size: 15px; }
    .btn.btn-switch-text.btn-large>span { padding: 16px 28px; }
}

/* ha kisebb a képernyő */
@media screen and (max-width: 1500px){
    .uniform-height-images2 {
        height: 230px !important;
    }
    .katimagebox{
        min-height: 280px;
    }
    .categories-box{
        height: 280px !important;
    }
}


.uniform-height-images {
    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}
.uniform-height-images2 {
    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.two-line-limit {
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px;
    line-height: 20px;
}

.uniform-height-images-for-cat {
    height: 500px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.uniform-height-images-for-prod {
    height: 300px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.catbox-incat{
    margin-bottom: 35px;
}


.lable.sale{
    background-color: #f68b1f;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.shop-image .lable .sale {
    padding: 0 8px;
    position: absolute;
    right: 10px;
    left: auto  !important;
    top: 10px;
    color: var(--white);
    font-size: 9px;
    line-height: 21px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-image .lable .hot {
    padding: 0 8px;
    position: absolute;
    right: 10px;
    left: auto  !important;
    top: 10px;
    color: var(--white);
    font-size: 9px;
    line-height: 21px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.termek-nev {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto; /* Állítsd be a magasságot szükség szerint */
    line-height: 1.5; /* Állítsd be a sorok közötti távolságot szükség szerint */
    min-height: 60px;
}

.fixed-sidebar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    /*wmargin-top: 120px;
    top:120px;
    width: 200px;  Vagy a sidebar szélessége */
}

.shop-sidebar .shop-filter li.active .product-cb:after  {
    opacity: 1;
}

 .lazy {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-image: none;
    background-color: #F1F1FA;
}
.lazy-loaded {
    opacity: 1;
}

.viszel-inner .title {
    font-weight: 700;
    max-lines: 2;
    line-height: 18px;
    height: 40px;
}
@media screen and (max-width: 700px){
    .viszel-inner .title {
        height: 80px;
    }
}

/* Brand Header & Category Redesign Styles */
.brand-header-section {
    padding: clamp(35px, 5vw, 60px) 0 clamp(25px, 3.5vw, 40px);
    position: relative;
    background-color: #f8f9fa;
    margin-bottom: 25px;
}
.brand-header-title {
    color: #232323 !important;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.6vw, 2.5rem);
    line-height: 1.2;
}

/* Kategória és listázó oldali rendező sáv (túlcsordulás és rálógás mentes) */
.category-sort-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}
.category-sort-bar select {
    min-width: 200px;
    max-width: 100%;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    border: 1px solid #dcdde1;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    outline: none;
    transition: border-color 0.2s ease;
}
.category-sort-bar select:focus {
    border-color: var(--base-color, #F68B1F);
}
@media (max-width: 767.98px) {
    .brand-header-section {
        padding: 30px 0 20px;
        margin-bottom: 15px;
    }
    .brand-header-title {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
    }
    .category-sort-bar {
        justify-content: stretch;
        margin-bottom: 20px;
    }
    .category-sort-bar select {
        width: 100%;
    }
    /* A fenti clamp nem érvényesült: a téma erősebb ".page-title-extra-large h1"
       szabálya 42 px-et adott, így a "Termékkategóriák" / "Törölközőszárító" szó
       375 px alatt kilógott a képernyőből (vízszintes görgetés). A méret marad
       42 px, csak keskeny telefonon csökken a szélesség 10%-ára. */
    .page-title-extra-large h1.brand-header-title {
        font-size: min(42px, 10vw);
        line-height: 1.15;
        overflow-wrap: break-word;
    }
}

/* Home Category Grid Design */
.home-category-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.home-category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.home-category-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.home-category-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.home-category-bottom-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.home-category-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.home-category-arrow {
    color: #fff;
    font-size: 20px;
}



.login-top, .basket-top {
    float: left;
    line-height: 59px;
    font-size: 17px;
    cursor: pointer;
}
.huszhusz{
        height:200px;position: absolute;top:0;right: 0;
        float: right;
        z-index: 4;
    }
@media screen and (max-width: 700px){
    .huszhusz{
    }
}
@media (max-width: 1250px){
    .sticky-wrap.shadow-in { left: 10px; }
    
    
}
@media (max-width: 991px) {
    header .navbar-brand img {max-height: 21px;}
    header .navbar-brand {
        left: 56.5% !important;
    }
    .tab-style-07 .nav-tabs .nav-item .nav-link { padding: 20px; }
    .navbar.center-logo .navbar-left, .navbar.center-logo .navbar-right { width: 100%; }

    .navbar .navbar-nav .dropdown .dropdown-menu a, .navbar .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-modern-inner .navbar-nav .dropdown .dropdown-menu li.sub-title, .navbar-full-screen-menu-inner .navbar-nav .dropdown .dropdown-menu li.sub-title { line-height: normal; }
    .header-icon .icon > a, .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 12px; }
    footer .nav-link { padding: 0 12px; }
    .tab-style-04 .nav-tabs .nav-item { padding: 0 16px; }
    .shop-sidebar { order: 2;}
    .feature-box.feature-box-left-icon-middle {padding-left: 50px !important;}

}
@media (max-width: 767px) {
    .tab-style-04 .nav-tabs .nav-item .nav-link { line-height: 35px; }
    .swiper-number-pagination-progress-vertical .swiper-pagination-wrapper { right: 15px;}
    .btn.btn-large { font-size: 17px; padding: 13px 25px; }
}
@media (min-width: 1301px) and (max-width: 1399px) {
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 13px; padding-right: 13px; font-size: 16px; }
}
@media (min-width: 1200px) and (max-width: 1300px) {
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 11px; padding-right: 11px; font-size: 15px; }
    .header-icon .icon > a { font-size: 16px; padding-left: 13px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-icon .icon > a { font-size: 16px; padding-left: 10px; }
    .header-icon .icon .header-language > a, .header-icon .icon .header-cart > a { padding-left: 10px; font-size: 16px; }
    .navbar.center-logo .navbar-nav .nav-link, header.sticky .center-logo .navbar-nav .nav-link { padding-left: 14px; padding-right: 14px; font-size: 15px; }
    .btn.btn-switch-text.btn-large>span { padding: 16px 28px; }
}

/* ha kisebb a képernyő */
@media screen and (max-width: 1500px){
    .uniform-height-images2 {
        height: 230px !important;
    }
    .katimagebox{
        min-height: 280px;
    }
    .categories-box{
        height: 280px !important;
    }
}


.uniform-height-images {
    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}
.uniform-height-images2 {
    height: 400px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.two-line-limit {
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px;
    line-height: 20px;
}

.uniform-height-images-for-cat {
    height: 500px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.uniform-height-images-for-prod {
    height: 300px; /* vagy bármely más érték, amely megfelel az igényeidnek */
    width: auto; /* Megőrzi a képek szélességét, de beállíthatod fix szélességre is */
    object-fit: cover; /* Biztosítja, hogy a kép kitöltse a konténert anélkül, hogy torzulna */
}

.catbox-incat{
    margin-bottom: 35px;
}


.lable.sale{
    background-color: #f68b1f;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.shop-image .lable .sale {
    padding: 0 8px;
    position: absolute;
    right: 10px;
    left: auto  !important;
    top: 10px;
    color: var(--white);
    font-size: 9px;
    line-height: 21px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-image .lable .hot {
    padding: 0 8px;
    position: absolute;
    right: 10px;
    left: auto  !important;
    top: 10px;
    color: var(--white);
    font-size: 9px;
    line-height: 21px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.termek-nev {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto; /* Állítsd be a magasságot szükség szerint */
    line-height: 1.5; /* Állítsd be a sorok közötti távolságot szükség szerint */
    min-height: 60px;
}

.fixed-sidebar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    /*wmargin-top: 120px;
    top:120px;
    width: 200px;  Vagy a sidebar szélessége */
}

.shop-sidebar .shop-filter li.active .product-cb:after  {
    opacity: 1;
}

 .lazy {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-image: none;
    background-color: #F1F1FA;
}

.lazy-loaded {
    opacity: 1;
}

.viszel-inner .title {
    font-weight: 700;
    max-lines: 2;
    line-height: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.home-category-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.home-category-arrow {
    color: #fff;
    font-size: 20px;
}


/* =============================================================================
   V2 — Termekoldali badge-ek a kep jobb felso sarkaban (.product-image-badges)
   A kartyakkal egyseges: Akcio (sale) / Uj (hot) / Nem elerheto (outofstock).
   A .shop-image .lable* kartya-szabalyok ide NEM ernek el (mas kontener), ezert
   a hatterszineket es a teljes stilust itt, .product-image-re scope-olva adjuk meg.
   ============================================================================= */
.product-image-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    /* A swiper (kep-slider) es klonjai/nav-elemei z-index:1..10 kozott mozognak;
       a badge-nek EZEK FOLE kell kerulnie, kulonben a kep takarja (a learazas-badge
       "a kep moge kerult" hiba). 50 = biztosan a slider folott, de a Bootstrap
       overlay-ek (modal/dropdown 1000+) alatt. */
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}
/* Teglalap badge-ek (Uj, Nem elerheto) — egyseges megjelenes. A font-size !important
   legyozi a globalis ".lable.new,.lable.hot { font-size:20px !important }" szabalyt. */
.product-image-badges .lable.hot,
.product-image-badges .lable.outofstock {
    position: static !important;
    margin: 0;
    padding: 5px 12px !important;
    color: var(--white);
    font-size: 13px !important;
    line-height: 1.2;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.product-image-badges .lable.hot { background-color: var(--base-color); }   /* Uj - a kartyaval egyezo --base-color (Sanimix narancs, #F68B1F) */
.product-image-badges .lable.outofstock { background-color: var(--black); } /* Nem elerheto - fekete */
/* Akcio (sale): megtartja a kor alakot (80x80, narancs); csak az abszolut poziciot
   semlegesitjuk, hogy a flex-oszlopba simuljon. */
.product-image-badges .lable.sale {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0;
}
/* Mobil: kisebb teglalap badge-ek; az akcio-kor a kartyakkal egyezoen marad. */
@media (max-width: 575px) {
    .product-image-badges { top: 10px; right: 10px; gap: 7px; }
    .product-image-badges .lable.hot,
    .product-image-badges .lable.outofstock {
        font-size: 11px !important;
        padding: 4px 9px !important;
    }
}

/* =============================================================================

   Mobil navigacio es hamburger gomb javitas (iOS WebKit es erintokijelzok)

   ============================================================================= */

.navbar-toggler {

    cursor: pointer;

    touch-action: manipulation;

    -webkit-tap-highlight-color: transparent;

}

.navbar-toggler .navbar-toggler-line {

    pointer-events: none;

}

@media (max-width: 991px) {

    /* Stabil mobil fejlec es navbar - fix top pozicio, soha ne ugorjon lejjebb */

    header {

        position: static !important;

    }

    header .header-top-bar {

        display: none !important;

        height: 0 !important;

    }

    header .navbar {

        position: absolute !important;

        top: 0 !important;

        left: 0 !important;

        width: 100% !important;

        z-index: 1050 !important;

    }

    header .navbar-collapse {

        top: 100% !important;

        overflow-y: auto;

        -webkit-overflow-scrolling: touch;

        z-index: 1051 !important;

    }

    .navbar-backdrop {

        display: none;

        position: fixed;

        inset: 0;

        width: 100vw;

        height: 100vh;

}
}
/* ^ Ez a zaro kapocs hianyzott: a 978. sorban nyilo @media (max-width: 991px) miatt
   a fajl minden tovabbi szabalya csak 991 px alatt elt (hamburger, kereso, stb.). */
/* =============================================================================
   Mobil navigacio es hamburger gomb javitas (iOS WebKit es erintokijelzok)
   ============================================================================= */
.navbar-toggler {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.navbar-toggler .navbar-toggler-line {
    pointer-events: none;
}
@media (max-width: 991px) {
    /* Stabil mobil fejlec es navbar - fix top pozicio, soha ne ugorjon lejjebb */
    header {
        position: static !important;
    }
    header .header-top-bar {
        display: none !important;
        height: 0 !important;
    }
    header .navbar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1050 !important;
    }
    header .navbar-collapse {
        top: 100% !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1051 !important;
    }
    .navbar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1040;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    body.navbar-collapse-show .navbar-backdrop {
        display: block;
    }
}

/* ==========================================================================
   Élő kereső (Instant Search Autocomplete) stílusok
   ========================================================================== */
.show-search-popup .search-form-wrapper {
    overflow-y: auto !important;
}
.show-search-popup .search-form-wrapper .search-form {
    min-height: 50%;
    height: auto !important;
    padding: 60px 0 40px;
    align-items: flex-start;
}
.search-form-wrapper .search-form-box {
    width: 55%;
    max-width: 800px;
}
@media (max-width: 991px) {
    .search-form-wrapper .search-form-box {
        width: 90%;
    }
}
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.search-autocomplete-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18), 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    margin-top: 12px;
    z-index: 1050;
    max-height: 480px;
    overflow-y: auto;
    text-align: left;
    display: none;
}
.search-autocomplete-box::-webkit-scrollbar {
    width: 6px;
}
.search-autocomplete-box::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.search-auto-loading {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 15px;
}
.search-auto-loading i {
    font-size: 22px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-bottom: 8px;
    color: #b0c91f;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
.search-auto-categories {
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.search-auto-cat-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}
.search-auto-cat-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.15s ease;
}
.search-auto-cat-pill:hover {
    background: #b0c91f;
    border-color: #b0c91f;
    color: #ffffff;
}
.search-auto-products {
    padding: 8px 0;
}
.search-auto-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
    cursor: pointer;
}
.search-auto-item:last-child {
    border-bottom: none;
}
.search-auto-item:hover, .search-auto-item.active {
    background-color: #f1f7e8;
}
.search-auto-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: #f9f9f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
    margin-right: 16px;
}
.search-auto-info {
    flex-grow: 1;
    min-width: 0;
    padding-right: 12px;
}
.search-auto-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-auto-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}
.search-auto-sku {
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #334155;
}
.search-auto-stock.in-stock {
    color: #15803d;
    font-weight: 500;
}
.search-auto-stock.out-of-stock {
    color: #94a3b8;
}
.search-auto-price {
    text-align: right;
    flex-shrink: 0;
}
.search-auto-price .price-curr {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}
.search-auto-price .price-old {
    font-size: 13px;
    text-decoration: line-through;
    color: #94a3b8;
    display: block;
}
.search-auto-footer {
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    text-align: center;
    border-radius: 0 0 12px 12px;
}
.search-auto-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #657e10;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.search-auto-all-link:hover {
    color: #4b5e0a;
    text-decoration: underline;
}
.search-auto-empty {
    padding: 24px 18px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* SweetAlert2 gombok — Sanimix-narancs. Csak a .swal2-popup-on belül, a téma
   btn-primary kékje és az átlátszó hover helyett (azon a fehér felirat eltűnt). */
.swal2-popup .swal2-confirm.btn,
.swal2-popup .swal2-styled.swal2-confirm {
    background-color: var(--base-color, #F68B1F);
    border: 2px solid var(--base-color, #F68B1F);
    color: #fff;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease;
}
/* Billentyűzet-fókusz: narancs marad + gyűrű. (A swal2 megnyitáskor ráfókuszál az
   OK-ra, ezért a fókusz nem lehet szürke — akkor alapból is az lenne.) */
.swal2-popup .swal2-confirm.btn:focus-visible,
.swal2-popup .swal2-styled.swal2-confirm:focus-visible {
    outline: 3px solid rgba(246, 139, 31, .45);
    outline-offset: 2px;
}
/* Egérrel fölötte / lenyomva: szürke alap, fehér felirat. */
.swal2-popup .swal2-confirm.btn:hover,
.swal2-popup .swal2-confirm.btn:active,
.swal2-popup .swal2-styled.swal2-confirm:hover,
.swal2-popup .swal2-styled.swal2-confirm:active {
    background-color: #5c5c5c;
    border-color: #5c5c5c;
    color: #fff;
    box-shadow: none;
    outline: none;
}
/* Másodlagos (Mégse) gomb: semleges szürke, ne maradjon kék. */
.swal2-popup .swal2-cancel.btn,
.swal2-popup .swal2-styled.swal2-cancel {
    background-color: transparent;
    border: 2px solid #9a9a9a;
    color: #4a4a4a;
    box-shadow: none;
}
.swal2-popup .swal2-cancel.btn:hover,
.swal2-popup .swal2-cancel.btn:active,
.swal2-popup .swal2-styled.swal2-cancel:hover,
.swal2-popup .swal2-styled.swal2-cancel:active {
    background-color: #5c5c5c;
    border-color: #5c5c5c;
    color: #fff;
    box-shadow: none;
    outline: none;
}

/* Tartalék a régi sweetalert1-hez, ha a sanijs/main.js nem futna le. */
.sweet-alert button.confirm,
.sweet-alert .sa-confirm-button-container button.confirm {
    background-color: var(--base-color, #F68B1F) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.sweet-alert button.confirm:hover,
.sweet-alert button.confirm:active,
.sweet-alert button.confirm:focus {
    background-color: #5c5c5c !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Kosár-értesítés (SweetAlert2 toast) a jobb alsó sarokban: a lebegő süti-gomb fölé. */
.swal2-container.swal2-bottom-end {
    padding-bottom: 5.5rem;
}
/* Tömör, keskeny sáv: az alapértelmezett toast 339x140 px volt, ebből a cím sora egymaga
   57 px. Itt csak a toastot szűkítjük - a középre kitett ablakokat (pl. sikeres
   regisztráció) nem érinti. */
.swal2-popup.swal2-toast {
    width: auto;
    max-width: 320px;
    padding: 10px 14px;
    font-size: 14px;
    align-items: center;
}
/* Az ikon belső vonalai a SweetAlert2-ben az ikon saját betűméretéhez igazodnak, ezért azt
   NEM csökkentjük - különben szétesik a pipa. */
.swal2-popup.swal2-toast .swal2-icon {
    font-size: 16px;
    margin: 0 10px 0 0;
}
/* Az időzítő-csík a doboz aljára, ne a cím alá. */
.swal2-popup.swal2-toast .swal2-timer-progress-bar-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 3px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}
/* A cím <h2>, és a téma minden h2-nek narancs alsó keretet ad - a felugró ablakokban ez
   aláhúzásnak látszott. */
.swal2-popup .swal2-title {
    border: 0;
}
.swal2-popup.swal2-toast .swal2-title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.25;
    text-align: left;
}
.swal2-popup.swal2-toast .swal2-html-container {
    margin: 1px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.3;
    color: var(--medium-gray, #828282);
    text-align: left;
}

/* =============================================================================
   Termékkártya design — Termékek / Kategóriák / Ajánlatok / Akciók / Keresés
   (Főoldal akciós kártyáit NEM érinti: ott a lista nem .shop-modern)
   ============================================================================= */

/* --- Rács ---------------------------------------------------------------------
   A listát eddig két JS rakta ki abszolút pozícióval (main.js: Isotope,
   kategoria.php: Masonry). Masonry-módban a kártya mindig a legrövidebb oszlop
   alá kerül, ezért 1-2 px magasság-különbségtől is felborult a sorrend (az ár
   szerinti rendezésnél is), átméretezéskor pedig 0,4 mp-ig egymásra csúsztak.
   Most a CSS grid rendez: a sorrend mindig a HTML-sorrend, és nincs mozgás.
   A JS ettől még lefut, de az inline left/top/transform/height értékeit itt
   felülírjuk, ezért a sablonokon és a JS-en nem kellett változtatni.
   Oszlopszám: annyi kártya fér egymás mellé, amennyi --card-min szélességgel
   kifér — szélesebb ablakban több oszlop lesz, nem szélesebb kártya. */
.shop-modern.shop-wrapper {
    --card-min: 215px;
    --card-gap: 32px;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr));
    gap: var(--card-gap);
    align-items: stretch;
    height: auto !important;
    margin: 0 0 var(--card-gap);
    padding: 0;
    overflow: visible;
    opacity: 1 !important;          /* a téma [data-anime] szabálya 0-ról indítaná */
}
/* Oszlopszám = a régi (masonry-s) listáé: 1920 px-en 4, 1440 px-en 4, 1280 px-en 3,
   1024 px-en 3, 900 px-en 3, 600 px-en 2 — a kártya legfeljebb 1-2%-kal keskenyebb a réginél */
@media (min-width: 1600px) {
    .shop-modern.shop-wrapper { --card-min: 240px; }
}
@media (max-width: 1199px) {
    .shop-modern.shop-wrapper { --card-min: 190px; --card-gap: 28px; }
}
@media (max-width: 991px) {
    .shop-modern.shop-wrapper { --card-min: 210px; --card-gap: 28px; }
}
/* Telefonon mindig két oszlop, ne egy hosszan kinyúló kártya */
@media (max-width: 575px) {
    .shop-modern.shop-wrapper {
        --card-gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* A betöltés-jelző pörgő és a sablonok üres segéd-elemei ne foglaljanak cellát */
.shop-modern.shop-wrapper::before,
.shop-modern.shop-wrapper::after,
.shop-modern.shop-wrapper > .grid-sizer,
.shop-modern.shop-wrapper .uj-cimke {
    display: none !important;
}
/* ajanlatok.php: a kártyák .termeklista > .termekbox burokban vannak, kategoria.php:
   üres .termekbox div minden kártya előtt — egyik se legyen saját doboz */
.shop-modern.shop-wrapper .termeklista,
.shop-modern.shop-wrapper .termekbox {
    display: contents;
}

/* Egy cella = egy kártya. A !important az Isotope/Masonry/anime inline stílusa ellen kell.
   A display-t szándékosan NEM írjuk felül: a kategoria/ajanlatok sablon a .show osztály
   nélküli kártyát display:none-nal rejti (ezt használja az oldalsó ár-szűrő). */
.shop-modern.shop-wrapper .grid-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    container-type: inline-size;    /* a kártya belseje a saját szélességéhez igazodik */
}

/* --- Kártya ------------------------------------------------------------------- */
.shop-modern .grid-item .shop-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;                   /* a sor legmagasabb kártyájáig nyúlik -> egyforma sorok */
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(35, 35, 35, 0.05);
    overflow: hidden;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover (csak egérrel): narancs keret — a 2. pixel árnyékgyűrű, így a méret nem változik */
@media (hover: hover) {
    .shop-modern .grid-item .shop-box:hover {
        border-color: var(--base-color, #F68B1F);
        box-shadow: 0 0 0 1px var(--base-color, #F68B1F),
                    0 14px 28px -10px rgba(35, 35, 35, 0.14),
                    0 6px 18px rgba(246, 139, 31, 0.14);
        transform: translateY(-3px);
    }
}
/* Billentyűzettel bejárva ugyanaz a kiemelés, és a Kosárba gomb is megjelenik */
.shop-modern .grid-item .shop-box:focus-within {
    border-color: var(--base-color, #F68B1F);
    box-shadow: 0 0 0 1px var(--base-color, #F68B1F);
}
.shop-modern .grid-item .shop-box a:focus-visible {
    outline: 2px solid var(--base-color, #F68B1F);
    outline-offset: 2px;
}
.shop-modern .grid-item .shop-box:focus-within .shop-image .shop-buttons-wrap .btn {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* --- Képmező: négyzet, a kártyával együtt nő -----------------------------------
   A fotók vegyesek (kb. fele fekvő, harmada álló), ezért a négyzet a legjobb
   közös keret. Multiply-keverés: a fehér hátterű termékfotók fehérje
   beleolvad a szürke mezőbe, nem látszik "fehér doboz a szürkében". */
.shop-modern .grid-item .shop-box .shop-image {
    flex: none;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0;
    overflow: hidden;
    background-color: #f4f4f4 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-blend-mode: multiply;
}
/* Lazy-kép (ajanlatok.php): a mező és a címkék azonnal látszanak, csak a fotó érkezik később */
.shop-modern .grid-item .shop-box .shop-image.lazy {
    opacity: 1;
}

/* Sötét overlay: nyugalomban nincs, hoverre csak egy leheletnyi */
.shop-modern .grid-item .shop-box .shop-image .shop-overlay {
    opacity: 0 !important;
}
.shop-modern .grid-item .shop-box:hover .shop-image .shop-overlay {
    opacity: 0.15 !important;
}

/* --- Címkék a képen ------------------------------------------------------------ */
/* Akció: a termékoldalival egyező narancs kör, de a kártyához arányosan kisebb */
.shop-modern .grid-item .shop-image .lable.sale {
    width: 54px;
    height: 54px;
    padding: 0;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(246, 139, 31, 0.3);
}
/* Új / Nem elérhető: kis lekerekített címke balra fent (a globális 20px !important helyett) */
.shop-modern .grid-item .shop-image .lable.hot,
.shop-modern .grid-item .shop-image .lable.outofstock {
    padding: 5px 9px !important;
    border-radius: 7px;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 12.5px !important;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.4px;
    white-space: nowrap;
}
/* Címkesor (2026-10-12): a képet lefedő link a címkék közös sora. Balra a téglalap
   címkék (Új, Nem elérhető), jobbra az akciós kör — egymás mellett, ha elférnek;
   ha nem, a kör a következő sorba törik (jobbra marad). Így soha nem fedik és
   nem tolják el egymást. Lista- és „Kapcsolódó termékek” kártyára is. */
.shop-box .shop-image > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 6px;
    padding: 10px;
}
.shop-box .shop-image > a > .lable {
    position: static;
    flex: none;
    margin: 0;
}
.shop-box .shop-image > a > .lable.sale {
    margin-left: auto;
}

/* --- Kosárba gomb (egérrel hoverre, billentyűzettel fókuszra jelenik meg) ---- */
.shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap {
    left: 12px;
    bottom: 12px !important;
    width: calc(100% - 24px);
    z-index: 3;
}
.shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    color: #232323 !important;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 9px 12px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white i {
    margin-right: 6px;
    vertical-align: middle;
}
.shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white:hover,
.shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white:active {
    background-color: var(--base-color, #F68B1F) !important;
    border-color: var(--base-color, #F68B1F) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(246, 139, 31, 0.42) !important;
}

/* --- Lábléc: név fent, ár mindig a kártya alján --------------------------------- */
.shop-modern .grid-item .shop-box .shop-footer {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px;
    border-top: 1px solid #ededed;
    background-color: #ffffff;
    text-align: left !important;
}

/* Terméknév: mindig pontosan 2 sor helye, így minden kártya egyforma magas */
.shop-modern .grid-item .shop-box .shop-footer .termek-nev {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    margin: 0;
    overflow-wrap: anywhere;        /* hosszú cikkszám/összetett szó se lógjon ki keskeny kártyán */
    font-family: var(--alt-font, 'Outfit', sans-serif) !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.4 !important;
    text-align: left !important;
    color: #2d2d2d !important;
    transition: color 0.25s ease;
}
.shop-modern .grid-item .shop-box:hover .shop-footer .termek-nev,
.shop-modern .grid-item .shop-box .shop-footer .termek-nev:hover {
    color: var(--base-color, #F68B1F) !important;
}

/* Ár: az aktuális ár a .price szövege, az eredeti ár a <del> */
.shop-modern .grid-item .shop-box .shop-footer .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    margin-top: auto;
    font-family: var(--alt-font, 'Outfit', sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    letter-spacing: -0.2px;
    text-align: left !important;
    color: #232323 !important;
}
.shop-modern .grid-item .shop-box .shop-footer .price del {
    margin-right: 0;
    font-size: 13px !important;
    font-weight: 400;
    letter-spacing: 0;
    color: #767676 !important;      /* 4,5:1 kontraszt fehéren (a #8c8c8c csak 3,4:1 volt) */
}

/* --- Keskeny kártya (pl. telefonon két oszlopban): minden arányosan kisebb ----- */
@container (max-width: 189px) {
    .shop-modern .grid-item .shop-box .shop-footer {
        gap: 8px;
        padding: 10px 11px 12px;
    }
    .shop-modern .grid-item .shop-box .shop-footer .termek-nev {
        font-size: 13px !important;
    }
    .shop-modern .grid-item .shop-box .shop-footer .price {
        column-gap: 6px;
        font-size: 15px !important;
    }
    .shop-modern .grid-item .shop-box .shop-footer .price del {
        font-size: 12px !important;
    }
    .shop-modern .grid-item .shop-image .lable.sale {
        width: 44px;
        height: 44px;
        font-size: 12px;
    }
    .shop-modern .grid-item .shop-image .lable.hot,
    .shop-modern .grid-item .shop-image .lable.outofstock {
        padding: 4px 8px !important;
        border-radius: 6px;
        font-size: 11.5px !important;
    }
    .shop-modern .grid-item .shop-image > a {
        gap: 5px;
        padding: 8px;
    }
    .shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap {
        left: 8px;
        bottom: 8px !important;
        width: calc(100% - 16px);
    }
    .shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white {
        font-size: 13px;
        padding: 7px 8px;
    }
}

/* Csökkentett mozgás kérése esetén nincs emelkedés és áttűnés */
@media (prefers-reduced-motion: reduce) {
    .shop-modern .grid-item .shop-box,
    .shop-modern .grid-item .shop-box .shop-footer .termek-nev,
    .shop-modern .grid-item .shop-box .shop-image .shop-buttons-wrap .btn.btn-white {
        transition: none !important;
    }
    .shop-modern .grid-item .shop-box:hover {
        transform: none;
    }
}

/* =============================================================================
   Termékkategória kártyák — /termekek oldal (templates/kategoria.php alsó ága)
   Nagy kártyák: asztalon 3 (széles monitoron 4), tableten 2, telefonon 1 oszlop.
   A kategória neve a kártya legerősebb eleme — a kép önmagában nem mondja meg
   a vásárlónak, milyen kategória ez. A termékkártyákkal azonos nyelv: fehér
   kártya, 1 px keret, szürke képmező, narancs hover-keret; nincs képre tett
   sötét szövegdoboz.
   ============================================================================= */
.kat-section {
    padding-bottom: clamp(48px, 6vw, 96px);
}
.kat-grid {
    --kat-min: 320px;
    --kat-gap: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(var(--kat-min), 100%), 1fr));
    gap: var(--kat-gap);
}
@media (max-width: 1199px) {
    .kat-grid { --kat-gap: 24px; }
}
@media (max-width: 767px) {
    .kat-grid { --kat-min: 250px; --kat-gap: 20px; }
}
/* Telefonon egy nagy kártya soronként */
@media (max-width: 479px) {
    .kat-grid {
        --kat-gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kártya: az egész egy link */
.kat-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    container-type: inline-size;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(35, 35, 35, 0.05);
    overflow: hidden;
    color: #232323;
    text-decoration: none;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.kat-card:hover,
.kat-card:focus-visible {
    color: #232323;
}
.kat-card:focus-visible {
    border-color: var(--base-color, #F68B1F);
    outline: 2px solid var(--base-color, #F68B1F);
    outline-offset: 3px;
}

/* Képmező: négyzet, a kép teljes egészében látszik (nincs vágás); a fehér
   hátterű fotók a multiply-keveréssel beleolvadnak a szürke mezőbe */
.kat-card-kep {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #f4f4f4;
    overflow: hidden;
}
.kat-card-kep img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alsó sáv: a név nagy és vastag, közvetlenül alatta a darabszám; jobbra a
   nyíl-gomb. A név mindig a sáv tetején kezdődik, így soron belül a nevek egy
   vonalban vannak akkor is, ha valamelyik két soros. */
.kat-card-also {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 20px 20px 22px 24px;
    border-top: 1px solid #ededed;
}
.kat-card-szoveg {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}
/* h2 a szerkezet miatt (az oldal h1-e a „Termékkategóriák”); a téma h2-stílusát nullázzuk.
   Betűméret a kártya szélességéhez arányos: kb. 19 px (keskeny) – 26 px (széles). */
.kat-card .kat-card-nev {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 22px;
    font-size: clamp(19px, 6.4cqi, 26px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: #232323;
    text-transform: none;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}
.kat-card .kat-card-nev::before,
.kat-card .kat-card-nev::after {
    display: none;
}
.kat-card-db {
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #767676;
}
.kat-card-nyil {
    flex: none;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f4f4f4;
    color: #232323;
    font-size: 20px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover (egérrel): narancs keret, enyhe emelkedés és kép-nagyítás, narancs név */
@media (hover: hover) {
    .kat-card:hover {
        border-color: var(--base-color, #F68B1F);
        box-shadow: 0 0 0 1px var(--base-color, #F68B1F),
                    0 18px 36px -12px rgba(35, 35, 35, 0.16),
                    0 8px 22px rgba(246, 139, 31, 0.14);
        transform: translateY(-4px);
    }
    .kat-card:hover .kat-card-kep img {
        transform: scale(1.04);
    }
    .kat-card:hover .kat-card-nev {
        color: var(--base-color, #F68B1F);
    }
}
.kat-card:hover .kat-card-nyil,
.kat-card:focus-visible .kat-card-nyil {
    background-color: var(--base-color, #F68B1F);
    color: #ffffff;
    transform: translateX(3px);
}

/* Keskenyebb kártya: kisebb térközök és gomb */
@container (max-width: 299px) {
    .kat-card-also {
        gap: 12px;
        padding: 16px 16px 18px 18px;
    }
    .kat-card-db {
        font-size: 14px;
    }
    .kat-card-nyil {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kat-card,
    .kat-card-kep img,
    .kat-card-nyil,
    .kat-card .kat-card-nev {
        transition: none !important;
    }
    .kat-card:hover,
    .kat-card:hover .kat-card-kep img,
    .kat-card:hover .kat-card-nyil {
        transform: none;
    }
}

/* =============================================================================
   Oldalsáv — Kategória szűrés / Ár szerinti szűrés / Új termékek
   (templates/leftside.php: kategóriaoldalak, templates/leftside_akcios.php:
   ajánlatok/akciók). Csak megjelenés: a linkek, a csúszka JS-e és a swiper
   beállításai változatlanok. A kategórialista régi inline <style>-ja innen pótolva.
   ============================================================================= */

/* --- Szakaszcímek: mindhárom egyforma, rövid narancs vonallal ------------------ */
.shop-sidebar .shop-filter-title {
    position: relative;
    padding-bottom: 10px;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #232323 !important;
}
.shop-sidebar .shop-filter-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--base-color, #F68B1F);
}

/* --- Kategórialista: az egész sor kattintható, nincs ugráló mozgás ------------- */
.shop-sidebar .brand-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.shop-sidebar .brand-category-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 2px;
    padding: 0 8px 0 0;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.shop-sidebar .brand-category-list li a {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    min-height: 40px;               /* kényelmes kattintási felület */
    padding: 9px 0 9px 12px;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #3a3a3a;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}
/* a darabszámra kattintva is a kategória nyílik meg */
.shop-sidebar .brand-category-list li a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.shop-sidebar .brand-category-list li a .icon-indicator {
    display: none;                  /* a sor kiemelése jelzi az állapotot, a nyíl csak zaj volt */
}
.shop-sidebar .brand-category-list li .item-qty {
    position: static;
    flex: none;
    width: auto;
    min-width: 26px;
    height: 22px;
    margin: 0;
    padding: 0 7px;
    border-radius: 11px;
    background: #f2f2f2;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    color: #6b6b6b;
    transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) {
    .shop-sidebar .brand-category-list li:hover {
        background: #f6f6f6;
    }
    .shop-sidebar .brand-category-list li:hover a {
        color: var(--base-color, #F68B1F);
    }
}
/* Aktív kategória: halvány narancs sor, bal oldali jelölő, narancs darabszám */
.shop-sidebar .brand-category-list li.active {
    background: #fff3e8;
    box-shadow: inset 3px 0 0 var(--base-color, #F68B1F);
}
.shop-sidebar .brand-category-list li.active a {
    font-weight: 600;
    color: #c4600a;                 /* sötétebb narancs: 4,5:1 kontraszt a halvány háttéren */
}
.shop-sidebar .brand-category-list li.active .item-qty {
    background: var(--base-color, #F68B1F);
    color: #fff;
}
.shop-sidebar .brand-category-list li a:focus-visible {
    outline: none;
}
.shop-sidebar .brand-category-list li:focus-within {
    box-shadow: inset 0 0 0 2px var(--base-color, #F68B1F);
}

/* --- Ár szerinti szűrés --------------------------------------------------------- */
.shop-sidebar .price-filter {
    padding-bottom: 14px;           /* levegő a csúszka-fogók és a következő cím között */
}
.shop-sidebar .price-filter p {
    margin: 0 0 16px;
    line-height: 1.3;
}
.shop-sidebar .price-filter label[for="amount"] {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: #767676;
}
.shop-sidebar .price-filter #amount {
    width: 100%;
    padding: 0;
    background: transparent;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 16px;
    font-weight: 600 !important;
    color: #232323 !important;      /* az inline narancs helyett */
    outline: none;
}
.shop-sidebar #slider-range.ui-slider {
    height: 4px;
    margin: 0 11px 6px;             /* a fogók félig kilógnak, ne lógjanak ki az oszlopból */
    border: 0;
    border-radius: 4px;
    background: #e6e6e6;
}
.shop-sidebar #slider-range .ui-slider-range {
    border-radius: 4px;
    background: var(--base-color, #F68B1F);
}
.shop-sidebar #slider-range .ui-slider-handle {
    top: -9px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    border: 2px solid var(--base-color, #F68B1F) !important;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(35, 35, 35, 0.15);
    cursor: grab;
    touch-action: none;
    outline: none;
    transition: box-shadow 0.2s ease;
}
.shop-sidebar #slider-range .ui-slider-handle:hover,
.shop-sidebar #slider-range .ui-slider-handle:focus-visible,
.shop-sidebar #slider-range .ui-slider-handle.ui-state-active {
    box-shadow: 0 0 0 6px rgba(246, 139, 31, 0.18), 0 2px 6px rgba(35, 35, 35, 0.15);
}
.shop-sidebar #slider-range .ui-slider-handle.ui-state-active {
    cursor: grabbing;
}
/* Érintőképernyőn nagyobb fogó */
@media (pointer: coarse) {
    .shop-sidebar #slider-range.ui-slider {
        margin: 0 13px 6px;
    }
    .shop-sidebar #slider-range .ui-slider-handle {
        top: -11px;
        width: 26px;
        height: 26px;
        margin-left: -13px;
    }
}

/* --- Új termékek ------------------------------------------------------------------ */
/* Lapozó nyilak: 34 px-es kerek gombok (eddig 12x14 px-es kattintási felület volt) */
.shop-sidebar .slider-navigation-style-08 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 0 0 6px !important;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.shop-sidebar .slider-navigation-style-08::after {
    display: none;
}
.shop-sidebar .slider-navigation-style-08 i {
    font-size: 13px;
    color: #232323 !important;
    transition: color 0.2s ease;
}
.shop-sidebar .slider-navigation-style-08:hover,
.shop-sidebar .slider-navigation-style-08:focus-visible {
    border-color: var(--base-color, #F68B1F);
    background: var(--base-color, #F68B1F);
    outline: none;
}
.shop-sidebar .slider-navigation-style-08:hover i,
.shop-sidebar .slider-navigation-style-08:focus-visible i {
    color: #fff !important;
}
/* A swiper tört pixeles szélessége miatt a következő dia széle 0,2 px-nyit belógott
   (függőleges csík jobbra) -> a dia szélén üres sáv van, így az nem látszik */
.shop-sidebar .new-arribals {
    padding: 0 2px;
}
/* Termék-sor: egyforma négyzetes kép, 2 soros név, ár alatta */
.shop-sidebar .new-arribals > .d-flex {
    gap: 12px;
    margin: 0 !important;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.shop-sidebar .new-arribals > .d-flex:first-child {
    padding-top: 0;
}
.shop-sidebar .new-arribals > .d-flex:last-child {
    border-bottom: 0;
}
.shop-sidebar .new-arribals figure {
    flex: none;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f4f4;
}
.shop-sidebar .new-arribals figure a {
    display: block;
    width: 100%;
    height: 100%;
}
.shop-sidebar .new-arribals figure img {
    width: 100% !important;
    height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
    mix-blend-mode: multiply;       /* a fehér hátterű fotó beleolvad a szürke mezőbe */
}
.shop-sidebar .new-arribals .col {
    min-width: 0;
    padding-left: 0 !important;
}
.shop-sidebar .new-arribals .col > a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #2d2d2d !important;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}
.shop-sidebar .new-arribals > .d-flex:hover .col > a {
    color: var(--base-color, #F68B1F) !important;
}
/* Ár: az összeg és a Ft nem válik el; ha nem fér ki, az új ár egészében lép új sorba */
.shop-sidebar .new-arribals .col > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 6px;
    margin-top: 4px;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    white-space: nowrap;
    color: var(--base-color, #F68B1F);
}
.shop-sidebar .new-arribals .col > div del {
    margin: 0 !important;
    font-size: 12px;
    font-weight: 400;
    color: #767676;
}
.shop-sidebar .new-arribals .akcios-cimke {
    display: none;                  /* az áthúzott ár már jelzi az akciót */
}

@media (prefers-reduced-motion: reduce) {
    .shop-sidebar .brand-category-list li,
    .shop-sidebar .brand-category-list li a,
    .shop-sidebar .brand-category-list li .item-qty,
    .shop-sidebar .slider-navigation-style-08,
    .shop-sidebar .slider-navigation-style-08 i,
    .shop-sidebar .new-arribals .col > a,
    .shop-sidebar #slider-range .ui-slider-handle {
        transition: none;
    }
}

/* =============================================================================
   Tartósan alacsony ár — kártya (2026-10-06; sávos jelzés 2026-10-12)
   A .shop-box.tartos-ar osztályt és a .tartos-cimke sávot a sablonok teszik
   ki (protected/tartos_ar.inc.php). Nem akció: akció-/Új címke és áthúzott ár
   ilyenkor nincs (ezt a PHP intézi). Itt: szaggatott narancs keret + a kártya
   tetején végigfutó narancs sáv, fehér felirattal (a többi címkével azonos betű).
   Lista (.shop-modern) és termékoldali „Kapcsolódó termékek” kártyákra is.
   ============================================================================= */
.shop-box.tartos-ar,
.shop-modern .grid-item .shop-box.tartos-ar {
    position: relative;
    border: 1px dashed var(--base-color, #F68B1F);
    border-top-style: solid;                /* a felső vonal beleolvad a sávba */
    border-radius: 14px;
    overflow: hidden;
}
/* Hover/fókusz: a keret szaggatott marad — a teli 1 px-es gyűrű (box-shadow) itt nincs */
@media (hover: hover) {
    .shop-modern .grid-item .shop-box.tartos-ar:hover {
        box-shadow: 0 14px 28px -10px rgba(35, 35, 35, 0.14),
                    0 6px 18px rgba(246, 139, 31, 0.14);
    }
}
.shop-modern .grid-item .shop-box.tartos-ar:focus-within {
    box-shadow: none;
}

/* --- A sáv ---------------------------------------------------------------------
   A kártya bal felső sarkától a jobb felsőig; a kép tetejére fekszik (nem tolja
   le a tartalmat, így a szomszéd kártyákkal egy vonalban marad a kép). A kattintás
   átmegy a kép linkjére. A méret em-ben van megadva: a betűvel együtt nő a sáv. */
.shop-box.tartos-ar {
    --tartos-betu: 13px;                    /* konténer nélküli helyen (pl. csúszka) fix */
}
.shop-box.tartos-ar .tartos-cimke {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    box-sizing: border-box;
    height: calc(var(--tartos-betu) * 2.4);
    padding: 0 0.5em;
    overflow: hidden;
    background-color: var(--base-color, #F68B1F);
    color: #ffffff;
    font-family: var(--alt-font, 'Outfit', sans-serif);
    font-size: var(--tartos-betu);
    font-weight: 700;
    line-height: calc(var(--tartos-betu) * 2.4);
    letter-spacing: 0.02em;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}
/* Konténeres helyen (rács) a betű a kártya szélességét követi: a 139 px-es
   telefonos kártyán is egy sorban marad, asztalon nem nő 14 px fölé. */
@container (min-width: 1px) {
    .shop-box.tartos-ar {
        --tartos-betu: clamp(11px, 8.2cqi, 14px);
    }
}
/* A címkesor a sáv alatt kezdődik */
.shop-box.tartos-ar .shop-image > a {
    padding-top: calc(var(--tartos-betu) * 2.4 + 10px);
}

/* Wasserburg: a kulon terv arany keretes, szogletes kartyaja. A host alapjan
   kapott osztaly csak ezt az uj badge-tipust erinti. */
.shop-box.tartos-ar-wasserburg,
.shop-modern .grid-item .shop-box.tartos-ar-wasserburg {
    border-color: #B68A35;
    border-radius: 0;
}
.shop-box.tartos-ar .tartos-cimke.tartos-cimke-wasserburg {
    background-color: #B68A35;
}



/* ==========================================================================
   2026-10-07 — rendező, navbar-lenyíló, kosár-oldalsáv
   Új szabályok: a fentiek érintetlenek, ugyanazok a tokenek (14px sarok,
   #e4e4e4 keret, narancs hover, .16/1/.3/1 easing).
   ========================================================================== */

/* ---------- Rendező (kategória / ajánlatok) ---------- */
.category-sort-bar {
    gap: 10px;
}
.category-sort-bar::before {
    content: "Rendezés";
    font-family: var(--alt-font);
    font-size: 14px;
    color: #6b6b6b;
}
.category-sort-bar select {
    appearance: none;
    flex: 0 0 auto;
    width: auto;
    min-width: 220px;
    padding: 10px 40px 10px 16px;
    font-family: var(--alt-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #232323;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23F68B1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
    box-shadow: 0 1px 3px rgba(35, 35, 35, 0.05);
    transition: border-color .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s cubic-bezier(.16, 1, .3, 1);
}
.category-sort-bar select:hover,
.category-sort-bar select:focus-visible {
    border-color: var(--base-color);
    box-shadow: 0 0 0 1px var(--base-color);
}
@media (max-width: 767.98px) {
    .category-sort-bar::before { display: none; }
    .category-sort-bar select { width: 100%; }
}
/* Chrome/Edge: a lenyíló lista is stílusozható (más böngészőben marad a natív lista) */
@supports (appearance: base-select) {
    .category-sort-bar select,
    .category-sort-bar select::picker(select) {
        appearance: base-select;
    }
    .category-sort-bar select {
        background-image: none;
    }
    .category-sort-bar select::picker-icon {
        color: var(--base-color);
        transition: rotate .25s cubic-bezier(.16, 1, .3, 1);
    }
    .category-sort-bar select:open::picker-icon {
        rotate: 180deg;
    }
    .category-sort-bar select::picker(select) {
        margin-top: 6px;
        padding: 6px;
        border: 1px solid #e4e4e4;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 40px -12px rgba(35, 35, 35, .18), 0 2px 6px rgba(35, 35, 35, .06);
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1), overlay .25s allow-discrete, display .25s allow-discrete;
    }
    /* :open::picker(select) — a ::picker(select):popover-open alakot a Safari 27 nem ismeri (a lista láthatatlan maradt) */
    .category-sort-bar select:open::picker(select) {
        opacity: 1;
        transform: none;
    }
    @starting-style {
        .category-sort-bar select:open::picker(select) {
            opacity: 0;
            transform: translateY(-6px);
        }
    }
    .category-sort-bar select option {
        padding: 9px 12px;
        border-radius: 9px;
        font-size: 14px;
        transition: background-color .15s ease, color .15s ease;
    }
    .category-sort-bar select option:hover,
    .category-sort-bar select option:focus-visible {
        background: #fff4e8;
        color: var(--base-color);
        outline: none;
    }
    .category-sort-bar select option:checked {
        font-weight: 600;
    }
    .category-sort-bar select option::checkmark {
        order: 1;
        margin-left: 14px;
        color: var(--base-color);
    }
}

/* ---------- Navbar lenyílók ---------- */
.navbar .navbar-nav > .nav-item > .nav-link {
    transition: color .2s ease;
}
/* az aktív menüpont szürkéje (#7b7b7b) 4.2:1 volt, az olvashatósághoz 4.5 fölé kell */
.navbar .navbar-nav > .nav-item.active > .nav-link {
    color: #6b6b6b;
    opacity: 1;   /* a téma 0.6-os átlátszósága rontotta a kontrasztot */
}
.navbar .navbar-nav > .nav-item:hover > .nav-link,
.navbar .navbar-nav > .nav-item.open > .nav-link {
    color: var(--base-color);
}
.navbar .navbar-nav .dropdown .dropdown-menu {
    border-top: 1px solid #ececec;
    animation: navDropIn .25s cubic-bezier(.16, 1, .3, 1);
}
.navbar .navbar-nav .dropdown.open .dropdown-menu {
    animation: navDropIn .25s cubic-bezier(.16, 1, .3, 1);
}
@keyframes navDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}
/* nagy menü: kisebb függőleges tér, finom árnyék */
.navbar .navbar-nav .submenu-content {
    padding: 34px 0 20px;
    box-shadow: 0 28px 40px -20px rgba(35, 35, 35, .16);
}
/* kis menük (Letöltések, Viszonteladóink): kártya, a beégetett inline méretek felülírva */
.navbar .navbar-nav .submenu-content2 {
    min-width: 230px;
    max-width: none !important;
    padding: 8px !important;
    margin-top: 6px;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    box-shadow: 0 18px 40px -12px rgba(35, 35, 35, .18), 0 2px 6px rgba(35, 35, 35, .06);
}
.navbar .navbar-nav .submenu-content2 .row {
    margin: 0 !important;
}
.navbar .navbar-nav .submenu-content2 .col,
.navbar .navbar-nav .submenu-content2 .col2 {
    padding: 0;
    width: 100%;
}
/* linkek: pill-hover, balra csúszó narancs jelölő */
.navbar .navbar-nav .submenu-content ul,
.navbar .navbar-nav .submenu-content2 ul {
    margin: 0;
    padding: 0 12px 0 0;
}
.navbar .navbar-nav .submenu-content ul li a,
.navbar .navbar-nav .submenu-content2 ul li a {
    position: relative;
    display: block;
    padding: 8px 14px !important;
    border-radius: 10px;
    font-family: var(--alt-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    color: #2d2d2d;
    transition: background-color .2s ease, color .2s ease, padding-left .25s cubic-bezier(.16, 1, .3, 1);
}
.navbar .navbar-nav .submenu-content ul li a:hover,
.navbar .navbar-nav .submenu-content ul li a:focus-visible,
.navbar .navbar-nav .submenu-content2 ul li a:hover,
.navbar .navbar-nav .submenu-content2 ul li a:focus-visible {
    background: #fff4e8;
    color: var(--base-color);
    padding-left: 20px !important;
}
.navbar .navbar-nav .submenu-content ul li a::before,
.navbar .navbar-nav .submenu-content2 ul li a::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 2px;
    background: var(--base-color);
    transform: translateY(-50%);
    transition: height .25s cubic-bezier(.16, 1, .3, 1);
}
.navbar .navbar-nav .submenu-content ul li a:hover::before,
.navbar .navbar-nav .submenu-content2 ul li a:hover::before {
    height: 16px;
}
.navbar .navbar-nav .submenu-content .mega-menu {
    max-width: 1190px;
}

/* ---------- Kosár: oldalsáv (mint a wasserburgon) ---------- */
/* A régi lenyíló ugyanaz a <ul> (#cartDrawer), JS a <body>-ba költözteti, hogy a fejléc
   rétegei (sticky sáv, z-index) ne takarják; jobbról becsúszó panel. */
#cartDrawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    width: min(420px, 100vw);
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px 0 0 20px;
    box-shadow: -24px 0 60px -20px rgba(35, 35, 35, .28);
    transform: translateX(105%);
    visibility: hidden;
    list-style: none;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s;
    animation: none;
}
body.cart-open #cartDrawer {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
}
body.cart-open {
    overflow: hidden;
    padding-right: var(--sbw, 0);   /* a görgetősáv helyét a JS adja meg, így nem ugrik az oldal */
}
body.cart-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(35, 35, 35, .45);
    backdrop-filter: blur(2px);
    animation: cartFade .3s ease;
}
@keyframes cartFade { from { opacity: 0; } }

#cartDrawer .cart-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #ececec;
    font-family: var(--alt-font);
    font-size: 18px;
    font-weight: 600;
    color: #232323;
}
#cartDrawer .cart-head .cart-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    color: #232323;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
#cartDrawer .cart-head .cart-close:hover,
#cartDrawer .cart-head .cart-close:focus-visible {
    background: var(--base-color);
    color: #fff;
    transform: rotate(90deg);
}
#cartDrawer .cart-item {
    display: flex;
    position: relative;
    align-items: center;
    gap: 14px;
    padding: 16px 52px 16px 24px;
    border-top: 0;
    border-bottom: 1px solid #f0f0f0;
}
#cartDrawer .cart-item .product-image {
    flex: none;
    width: 72px;
    max-width: none;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f4f4;
}
#cartDrawer .cart-item .product-image img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
#cartDrawer .cart-item .product-detail {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-left: 0;
}
#cartDrawer .cart-item .product-detail a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--alt-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #2d2d2d;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
#cartDrawer .cart-item .product-detail a:hover {
    color: var(--base-color);
}
#cartDrawer .cart-item .product-detail .item-ammount {
    margin-top: 4px;
    font-size: 13px;
    color: #6b6b6b;
}
#cartDrawer .cart-item .close {
    position: absolute;
    top: 50%;
    right: 16px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #6b6b6b;
    transform: translateY(-50%);
    transition: background-color .2s ease, color .2s ease;
}
#cartDrawer .cart-item .close:hover {
    background: #fff4e8;
    color: var(--base-color);
}
#cartDrawer .cart-empty {
    margin: auto;
    padding: 40px 24px;
    text-align: center;
    font-family: var(--alt-font);
    font-size: 15px;
    line-height: 1.5;
    color: #6b6b6b;
}
#cartDrawer .cart-total {
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding: 20px 24px 24px;
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 -12px 24px -16px rgba(35, 35, 35, .12);
}
#cartDrawer .cart-total > div {
    display: flex;
    justify-content: space-between;
}
#cartDrawer .cart-total > div span {
    width: auto !important;
}
#cartDrawer .cart-total .btn {
    margin: 4px 0 0;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--base-color);
    color: #fff;
    font-family: var(--alt-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 6px 20px rgba(246, 139, 31, .32);
    transition: background-color .25s cubic-bezier(.16, 1, .3, 1), transform .25s cubic-bezier(.16, 1, .3, 1);
}
#cartDrawer .cart-total .btn:hover,
#cartDrawer .cart-total .btn:focus-visible {
    background: #232323;
    color: #fff;
    transform: translateY(-1px);
}
#cartDrawer a:focus-visible,
#cartDrawer button:focus-visible {
    outline: 2px solid var(--base-color);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    #cartDrawer,
    body.cart-open::after,
    .navbar .navbar-nav .dropdown .dropdown-menu,
    .navbar .navbar-nav .dropdown.open .dropdown-menu,
    .category-sort-bar select::picker(select) {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   2026-10-08 — Mobil / tablet „Szűrés” fiók (kategória / ajánlatok / akciók)
   992 px alatt az oldalsáv (Kategória szűrés, Ár szerinti szűrés, Új termékek)
   nem a terméklista alá kerül, hanem a „Szűrés” gombbal jobbról becsúszó panel —
   a wasserburg mintájára, a kosár-oldalsáv formanyelvével. 992 px felett minden
   változatlan. Működés: js/szuro-fiok.js (templates/leftside*.php tölti be).
   A fiók-módot a szerver adja (.shop-sidebar.szuro-fiok, ha a js/szuro-fiok.js kint
   van), így a panel már az első kirajzoláskor rejtett — telefonon nem villan fel a
   termékek előtt (a korábbi, a gombra épülő „:has” szelektor csak a később érkező gombnál
   kapcsolt). Termék nélküli oldalon (nincs gomb) a JS leveszi az osztályt: régi elrendezés.
   ========================================================================== */
.szuro-nyito,
.szuro-sav,
.shop-sidebar .szuro-fej {
    display: none;
}
@media (max-width: 991.98px) {
    /* --- Gomb a rendező mellett: azonos magasság, keret, sarok ------------------ */
    .szuro-sav {
        display: flex;
        margin-bottom: 20px;
    }
    .szuro-nyito {
        display: inline-flex;
        flex: none;
        order: -1;                      /* a „Rendezés” felirat elé, a sor elejére */
        align-items: center;
        gap: 8px;
        min-height: 44px;
        margin: 0 auto 0 0;             /* a rendező a sor végére kerül */
        padding: 0 18px;
        font-family: var(--alt-font);
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        color: #232323;
        background: #fff;
        border: 1px solid #e4e4e4;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(35, 35, 35, .05);
        cursor: pointer;
        transition: border-color .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s cubic-bezier(.16, 1, .3, 1);
    }
    .szuro-nyito svg {
        flex: none;
        color: var(--base-color);
    }
    .szuro-nyito:focus-visible {
        border-color: var(--base-color);
        box-shadow: 0 0 0 1px var(--base-color);
        outline: none;
    }
    /* érintőképernyőn a :hover a koppintás után beragadna */
    @media (hover: hover) {
        .szuro-nyito:hover {
            border-color: var(--base-color);
            box-shadow: 0 0 0 1px var(--base-color);
        }
    }
    .szuro-nyito ~ select {
        min-height: 44px;
    }
    /* telefonon a rendező a gomb melletti teljes maradékot kapja (eddig egyedül volt a sorban) */
    @media (max-width: 767.98px) {
        .szuro-nyito ~ select {
            flex: 1 1 0;
            width: auto;
            min-width: 0;
        }
    }

    /* --- A fiók: jobbról becsúszó panel (mint a kosár) ---------------------------- */
    .row > .shop-sidebar.szuro-fiok {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 100000;
        width: min(420px, 100vw);
        max-width: 100vw;
        margin: 0;
        padding: 0 24px 32px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border-radius: 20px 0 0 20px;
        box-shadow: -24px 0 60px -20px rgba(35, 35, 35, .28);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s;
    }
    /* teljes szélességű telefonos panelen nincs mit lekerekíteni */
    @media (max-width: 420px) {
        .row > .shop-sidebar.szuro-fiok {
            border-radius: 0;
        }
    }
    body.szuro-open .row > .shop-sidebar.szuro-fiok {
        transform: none;
        visibility: visible;
        transition-delay: 0s;
    }
    body.szuro-open {
        overflow: hidden;
        padding-right: var(--sbw, 0);   /* a görgetősáv helyét a JS adja meg, így nem ugrik az oldal */
    }
    body.szuro-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(35, 35, 35, .45);
        backdrop-filter: blur(2px);
        animation: cartFade .3s ease;
    }
    /* --- Fejléc: „Szűrés” + kerek X, görgetéskor is fent marad ------------------- */
    .row > .shop-sidebar.szuro-fiok .szuro-fej {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 -24px 24px;
        padding: 20px 24px;
        background: #fff;
        border-bottom: 1px solid #ececec;
        font-family: var(--alt-font);
        font-size: 18px;
        font-weight: 600;
        color: #232323;
    }
    .shop-sidebar .szuro-zar {
        position: relative;
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f4f4f4;
        color: #232323;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
    }
    /* 44×44 px-es kattintási felület (a látható kör 36 px marad) */
    .shop-sidebar .szuro-zar::after {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 50%;
    }
    .shop-sidebar .szuro-zar:focus-visible {
        background: var(--base-color);
        color: #fff;
        transform: rotate(90deg);
        outline: none;
    }
    @media (hover: hover) {
        .shop-sidebar .szuro-zar:hover {
            background: var(--base-color);
            color: #fff;
            transform: rotate(90deg);
        }
    }
}
@media (prefers-reduced-motion: reduce) {
    .row > .shop-sidebar.szuro-fiok,
    body.szuro-open::after,
    .shop-sidebar .szuro-zar,
    .szuro-nyito {
        transition: none;
        animation: none;
    }
}
/* Árcsúszka érintéssel (js/szuro-fiok.js): a fogó húzása nem görgeti a lapot / a fiókot,
   a sávon függőlegesen továbbra is lehet görgetni */
.shop-sidebar #slider-range {
    touch-action: pan-y;
}
.shop-sidebar #slider-range .ui-slider-handle {
    touch-action: none;
}
/* Belépés oldal címe: a „magánszemélyeknek” szó 42 px-en 389 px széles, telefonon kilógott a
   képernyőből (levágva). A betűméret a szélességhez igazodik, 467 px felett marad a 42 px. */
@media (max-width: 575.98px) {
    .page-title-extra-large h1.belepes-cim {
        font-size: min(42px, 9vw);
        line-height: 1.15;
        overflow-wrap: break-word;
    }
}

/* ==========================================================================
   Kategória- és ajánlat-fejléc: narancs mozaik (2026-10-09)
   templates/kategoria.php (kategória + /termekek), templates/ajanlatok.php — .brand-header-section
   A cím alól az aláhúzás kikerült (a fenti „Brand Header” blokkból). A háttér fehér, bal felül
   és jobb alul a márkanarancs árnyalataiból rakott négyzetmozaik, amely a közép felé ritkul
   (két SVG-háttér, 8×6 csempe).
   ≥1200 px:   32 px-es csempe; a cím doboza mindig ≥208 px-re van a széltől, a mozaik a szöveg
               magasságában legfeljebb 160 px széles.
   992–1199:   ugyanez 20 px-es csempével (a cím itt már 108 px-től indulhat).
   <992 px:    4 soros változat, teljes egészében a cím feletti/alatti üres sávban (768–991:
               16 px-es csempe 72 px-es sávban, mobilon 12 px 56 px-ben).
   Így egyetlen címhossznál sem érhet csempe a szöveghez (mérve: 32 oldal × 21 szélesség, plusz
   szóköz nélküli és 5 soros próbacímek — 0 ütközés, legkisebb távolság 5 px).
   ========================================================================== */
section.brand-header-section {
    --mozaik: 32px;
    background-color: #FFFFFF;
    border-top: 1px solid #F1F1F1;
    border-bottom: 1px solid #F1F1F1;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 6' shape-rendering='crispEdges'%3E%3Cdefs%3E%3ClinearGradient id='A' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FCD6AC'/%3E%3Cstop offset='1' stop-color='%23F8AE62'/%3E%3C/linearGradient%3E%3ClinearGradient id='B' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FEEAD3'/%3E%3Cstop offset='1' stop-color='%23FAC287'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='1' y='0' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='6' y='0' width='1' height='1' fill='%23FABD7F'/%3E%3Crect x='7' y='0' width='1' height='1' fill='url(%23B)'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='2' y='4' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23FABD7F'/%3E%3Crect x='0' y='5' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='1' y='5' width='1' height='1' fill='url(%23B)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 6' shape-rendering='crispEdges'%3E%3Cdefs%3E%3ClinearGradient id='A' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FCD6AC'/%3E%3Cstop offset='1' stop-color='%23F8AE62'/%3E%3C/linearGradient%3E%3ClinearGradient id='B' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FEEAD3'/%3E%3Cstop offset='1' stop-color='%23FAC287'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='6' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='7' y='0' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='6' y='1' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%23FABD7F'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23FABD7F'/%3E%3Crect x='5' y='4' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='6' y='4' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='7' y='4' width='1' height='1' fill='url(%23B)'/%3E%3Crect x='1' y='5' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='2' y='5' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='3' y='5' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='5' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='6' y='5' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='7' y='5' width='1' height='1' fill='%23FABD7F'/%3E%3C/svg%3E");
    background-position: left top, right bottom;
    background-size: calc(var(--mozaik) * 8) calc(var(--mozaik) * 6);
    background-repeat: no-repeat;
}
/* Hosszú, szóköz nélküli név se lógjon ki a cím dobozából (a mozaik-szabály a dobozra épül).
   „anywhere” kell, nem „break-word”: a cím inline-block, a doboza a leghosszabb szóhoz nőne
   (vízszintes görgetés), az „anywhere” a minimális szélességet is a törhető egységhez igazítja. */
section.brand-header-section .brand-header-title {
    overflow-wrap: anywhere;
}
/* A téma JS-e betöltés után a fejléc valódi magasságára állítja a sáv felső margóját
   (≥992 px: 40 px-es felső csík + 70 px-es menü = 110 px), a CSS-alapérték viszont 96 px volt:
   addig a menü 14 px-et rálógott a mozaik felső sorára, utána a sáv 14 px-et ugrott.
   A végső értéket előre megadjuk; ha a fejléc egyszer megváltozik, a JS ugyanúgy felülírja. */
@media (min-width: 992px) {
    section.brand-header-section.top-space-margin { margin-top: 110px; }
}
/* A sáv felső margója a <body>-n „átfolyt” (margin collapse); első látogatáskor a süti-ablak
   overflow:hidden-t tesz a body-ra, ami ezt megszünteti -> a body doboza 110 -> 0 px-et ugrott
   (látható mozgás nélkül, de ~0,1 CLS a Core Web Vitals-ban). flow-root mellett a margó mindig
   a body-n belül marad, így a süti-ablak nem változtat semmin. Csak ezeken az oldalakon. */
body:has(section.brand-header-section) {
    display: flow-root;
}
@media (max-width: 1199.98px) {
    /* 992 px-en a cím legszélesebb sora 108 px-től indulhat; a szöveg magasságába eső
       legszélesebb mozaiksor 5 csempe -> 5 × 20 = 100 px (24 px-nél 120 px ütközne) */
    section.brand-header-section { --mozaik: 20px; }
}
@media (max-width: 991.98px) {
    /* keskenyebb kijelzőn a cím közel kitölti a szélességet: a 4 soros változat teljes egészében
       a cím feletti és alatti üres sávba kerül (4 sor + 8 px tartalék) */
    section.brand-header-section {
        --mozaik: 16px;
        padding-top: 72px;
        padding-bottom: 72px;
        background-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4' shape-rendering='crispEdges'%3E%3Cdefs%3E%3ClinearGradient id='A' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FCD6AC'/%3E%3Cstop offset='1' stop-color='%23F8AE62'/%3E%3C/linearGradient%3E%3ClinearGradient id='B' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FEEAD3'/%3E%3Cstop offset='1' stop-color='%23FAC287'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='1' y='0' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='6' y='0' width='1' height='1' fill='%23FABD7F'/%3E%3Crect x='7' y='0' width='1' height='1' fill='url(%23B)'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23FEEEDD'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 4' shape-rendering='crispEdges'%3E%3Cdefs%3E%3ClinearGradient id='A' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FCD6AC'/%3E%3Cstop offset='1' stop-color='%23F8AE62'/%3E%3C/linearGradient%3E%3ClinearGradient id='B' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FEEAD3'/%3E%3Cstop offset='1' stop-color='%23FAC287'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='7' y='0' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='2' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%23F68B1F'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='3' y='3' width='1' height='1' fill='url(%23A)'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23FEEEDD'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23F8A24A'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%23FCD9B4'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%23FABD7F'/%3E%3C/svg%3E");
        background-size: calc(var(--mozaik) * 8) calc(var(--mozaik) * 4);
    }
}
@media (max-width: 767.98px) {
    section.brand-header-section {
        --mozaik: 12px;
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

/* 2026-10-12 — akciós badge teljes monitoron / laptopon kicsit nagyobb, és vele
   arányosan az Új / Nem elérhető címke is (az akciós kör telefonon és tableten
   változatlan; a Bomba-kártya badge-e az index.php-ban) */
@media (min-width: 1200px) {
    @container (min-width: 190px) {             /* keskeny kártyán marad a kisebb méret */
        .shop-modern .grid-item .shop-image .lable.sale {
            width: 62px;
            height: 62px;
            font-size: 15px;
        }
        .shop-modern .grid-item .shop-image .lable.hot,
        .shop-modern .grid-item .shop-image .lable.outofstock {
            padding: 6px 10px !important;
            font-size: 13.5px !important;
            letter-spacing: 0.3px;             /* a „Nem elérhető” + akciós kör így egy sorban fér el */
        }
    }
}

/* =============================================================================
   2026-10-12 — Mobil stabilizálás (iOS WebKit 27 + Android Chrome szimulált tesztek)
   Csak koppintási felület és átfedés; a látvány nem változik.
   ============================================================================= */
@media (max-width: 991px) {
    /* A középre igazított logó régi trükkje: a link dobozát 56,5%-kal jobbra toltuk, a
       képet -80 px-szel vissza. A láthatatlan linkdoboz így 320 px-en a kereső-, belépés-
       és kosárikonra lógott (oda koppintva a főoldal nyílt meg). Doboz és kép együtt marad. */
    header .navbar-brand {
        left: 0 !important;
    }
    header .navbar-brand .mobile-logo {
        left: 0;
    }
    /* Fejléc-ikonok: a látvány változatlan, a koppintható felület kb. 44 px magas */
    header .header-search-icon > a,
    header .header-icon .icon > a,
    header .header-icon .header-cart > a {
        position: relative;
    }
    header .header-search-icon > a::after,
    header .header-icon .icon > a::after,
    header .header-icon .header-cart > a::after {
        content: "";
        position: absolute;
        inset: -14px -2px;
    }
    header .navbar-toggler::after {
        content: "";
        position: absolute;
        inset: -15px -11px;
    }
    /* Mennyiség −/+: a mező teljes bal/jobb sávja koppintható (eddig 9×18 px — mellé
       koppintva a mező kapott fókuszt és feljött a billentyűzet) */
    .quantity button.qty-minus,
    .quantity button.qty-plus {
        top: 0;
        bottom: 0;
        width: 40px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none;
    }
    .quantity button.qty-minus {
        left: 0;
    }
    .quantity button.qty-plus {
        right: 0;
    }
    /* Közösségi ikonok és csúszka-pöttyök: nagyobb, láthatatlan koppintási felület */
    a.facebook, a.youtube, a.instagram, a.tiktok, a.linkedin,
    .swiper-pagination-bullet {
        position: relative;
    }
    a.facebook::after, a.youtube::after, a.instagram::after, a.tiktok::after, a.linkedin::after {
        content: "";
        position: absolute;
        inset: -10px -8px;
    }
    .swiper-pagination-bullet::after {
        content: "";
        position: absolute;
        inset: -10px -3px;
    }
}
/* Bekezdésben lévő hosszú link (pl. teljes URL) ne tolja ki a lapot (ÁSZF, 320 px) */
p a {
    overflow-wrap: anywhere;
}
