@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.objednaj.online/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.4.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//www.objednaj.online/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-brd-radius: 20px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,140,0);
	--wd-alternative-color: rgb(45,108,121);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-weight: 900;
	--btn-accented-transform: uppercase;
	--btn-accented-bgcolor: rgb(126,220,65);
	--btn-accented-bgcolor-hover: rgb(56,188,0);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,122,255);
	--wd-link-color-hover: rgb(0,63,255);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 15px;
	text-transform: none;
}
html .product.wd-product del {
	font-weight: 300;
	font-size: 10px;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-size: 30px;
	text-transform: capitalize;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a, html .wd-nav.wd-layout-drilldown > li > a, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a, html .wd-nav.wd-layout-drilldown .woocommerce-MyAccount-navigation-link > a {
	text-transform: none;
}
html table th {
	text-transform: none;
}
html .wd-product .price {
	font-weight: 600;
	font-size: 13px;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	color: rgb(0,0,0);
	background: rgb(126,220,65);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(102,141,50);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(126,220,65);
	color: rgb(0,0,0);
}
.product-labels .product-label.new {
	background-color: rgba(255,150,22,0.91);
	color: rgb(0,0,0);
}
.product-labels .product-label.featured {
	background-color: rgba(226,31,38,0.87);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(13,6,37);
	color: rgb(255,255,255);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(30,115,190);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 800px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 50px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 22px;
	}
	.woocommerce-product-gallery.thumbs-position-left {
		--wd-thumbs-width: 75px;
	}

}
:root{
--wd-container-w: 1660px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}



.wd-page-title {
background-color: rgb(246,245,248);
}

/* SINGLE PRODUCT - Vynútenie štvorca 1:1 */

/* 1. Nastavenie hlavného rámu galérie na štvorec */
.product-images-inner,
.woocommerce-product-gallery__wrapper {
    width: 100%;
    /* Toto vynúti štvorec */
    aspect-ratio: 1 / 1 !important;
    /* Pre istotu fixná výška pre staršie prehliadače, ak aspect-ratio zlyhá */
    min-height: 500px; 
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

/* 2. Úprava samotného slide-u v galérii */
.woocommerce-product-gallery__image {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 3. Úprava obrázka - aby sa vtesnal (contain) */
.woocommerce-product-gallery__image img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    /* Vycentrovanie */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* ABSOLÚTNE ZMENŠENIE LOGA A AVATAROV */
div[class*="testimonial"] img, 
div[class*="testim"] img,
.testimonial-avatar,
.wd-testim-avatar {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    min-width: 50px !important;
    flex: 0 0 50px !important;
}

/* ZMENŠENIE BIELYCH BUBLÍN (OBSAHU) */
div[class*="testimonial-content"], 
div[class*="testim-text"] {
    padding: 10px 15px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    border-radius: 10px !important;
}

/* ZMENŠENIE MENA A HVIEZDIČIEK */
div[class*="testimonial-name"], 
div[class*="testim-name"] {
    font-size: 12px !important;
    margin-top: 5px !important;
}

.star-rating {
    font-size: 12px !important;
    width: 80px !important;
}
/* ODSTRÁNENIE ZBYTOČNÝCH MEDZIER */
div[class*="testimonial"], 
div[class*="testim"] {
    margin-bottom: 5px !important;
    padding-top: 0 !important;
}
/* Overlay pozadie - vycentrovanie */
#custom-search-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Tmavšie pozadie pre lepší kontrast */
    z-index: 1000000;
    display: none; /* JS prepne na 'flex' pri otvorení */
    align-items: center; /* Vertikálne vycentrovanie */
    justify-content: center; /* Horizontálne vycentrovanie */
    padding: 20px;
}
/* Biely popup box */
.search-container-inner {
    background: #ffffff;
    width: 100%;
    max-width: 1200px;
    height: 85vh;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}
.search-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
#custom-search-input {
    flex: 1;
    background: #f4f4f4;
    border: 1px solid #eee !important;
    border-radius: 8px;
    padding: 12px 20px !important;
    font-size: 18px !important;
    outline: none !important;
}
.search-close-btn {
    cursor: pointer;
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}
/* Bočný panel */
.search-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.sidebar-box {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}
.sidebar-title {
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
/* Fix pre samotnú kartu produktu na PC */
.search-item {
    height: auto !important; /* Karta bude mať len potrebnú výšku */
    max-height: 400px; /* Poistka, aby neboli obrovské */
}
/* Plocha s výsledkami */
.search-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.search-filters {
    display: none !important;
}
#custom-search-results {
    flex: 1 1 auto !important; /* Povolíme flexibilitu */
    overflow-y: auto !important; /* Zapne scrollbar */
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding-right: 10px;
    min-height: 0 !important; /* KRITICKÉ: bez tohto na PC nejde scroll */
    position: relative;
    z-index: 10;
}

/* Poistka pre hlavný layout, aby nepretekal */
.search-main-layout {
    display: flex;
    gap: 30px;
    flex: 1;
     overflow-y: auto;
    align-items: flex-start;
}
/* Štýl scrollbaru */
#custom-search-results::-webkit-scrollbar { width: 5px; }
#custom-search-results::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
@media (max-width: 768px) {
    .search-container-inner {
        width: 100%;
        height: 100vh; /* Na mobile cez celú obrazovku pre lepší komfort */
        border-radius: 0;
        padding: 15px;
    }
    .search-main-layout {
        flex-direction: column; /* Kategórie pôjdu nad produkty alebo ich skryjeme */
        overflow-y: auto;
    }
    .search-sidebar {
        width: 100%;
        max-height: 150px; /* Obmedzíme výšku kategórií na mobile */
        margin-bottom: 10px;
    }
    #custom-search-results {
        grid-template-columns: repeat(2, 1fr); /* 2 produkty vedľa seba na mobile */
        gap: 10px;
    }
    .search-header {
        padding-top: 10px;
    }
    #custom-search-input {
        font-size: 16px !important; /* Prevencia zoomovania iPhonu pri písaní */
    }
	/* Pridá miesto na spodku, aby bolo vidno tlačidlo na mobile */
#custom-search-results {
    padding-bottom: 100px !important; 
}

/* Zabezpečí, aby tlačidlo nebolo príliš veľké a nezmizlo */
#custom-search-results a.btn-color-primary {
    margin-bottom: 30px !important;
    display: inline-block !important;
}

} toto je moje css teraz
/* Pridajte na koniec vášho CSS */
.product-info-inline {
    line-height: 1.3;
    text-align: center;
}

.product-info-inline span:first-child {
    /* Limit pre názov, aby SKU neodletelo príliš ďaleko pri extrémnom texte */
    display: inline; 
}

@media (max-width: 1024px) {
    /* 1. Popup na celú obrazovku */
    #custom-search-modal {
        padding: 0 !important;
        align-items: flex-start !important;
        background: #ffffff !important;
        z-index: 10000000 !important;
    }

    .search-container-inner {
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 10px !important;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
    }

    /* --- NOVÉ: OPRAVA HLAVIČKY (Input + X) --- */
    .search-header {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
    }

    #custom-search-input {
        flex: 1 !important;
        font-size: 16px !important;
        padding: 10px 15px !important;
    }

    .search-close-btn {
        font-size: 0 !important; /* Skryje nápis "Zatvoriť" */
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .search-close-btn:before {
        content: "\2715"; /* Symbol X */
        font-size: 28px !important;
        color: #333;
        font-weight: bold;
    }

    /* 2. Zarovnanie produktov */
    #custom-search-results {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        display: grid !important;
        padding-bottom: 100px !important;
    }

    .search-item {
        display: flex !important;
        flex-direction: column !important;
        height: 220px !important; /* Pevná výška, aby nelietali ceny */
        padding: 10px !important;
        justify-content: space-between !important;
    }

    /* --- NOVÉ: Názov v jednom riadku s bodkami --- */
    .product-info-inline {
        height: 20px !important;
        margin: 5px 0 !important;
        overflow: hidden !important;
        display: block !important;
        white-space: nowrap !important; /* Jeden riadok */
        text-overflow: ellipsis !important; /* Tri bodky (...) */
        text-align: center;
    }

    .product-info-inline span:first-child {
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    /* Skrytie SKU na mobile pre úsporu miesta */
    .product-info-inline span:last-child {
        display: none !important;
    }

    .search-item img {
        max-height: 80px !important;
        object-fit: contain !important;
        margin-bottom: 5px !important;
    }

    /* 3. Skrytie sidebar-u */
    .search-sidebar {
        display: none !important;
    }
}
/* 3. DOPLNKOVÉ FIXY (Názov a SKU v riadku) */
.product-info-inline {
    line-height: 1.3;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}
#custom-search-modal {
    z-index: 99999999 !important; /* Extrémne vysoká priorita */
}

/* Selektor pre tlačidlo */
.single_add_to_cart_button,
.wd-sticky-add-to-cart .single_add_to_cart_button {
    position: relative;
    /* Dôležité: outline sa vykresľuje mimo elementu */
}

.single_add_to_cart_button,
.wd-sticky-add-to-cart .single_add_to_cart_button {
    animation: sonarEffectOnly 2.0s infinite;
}

@keyframes sonarEffectOnly {
    0% {
        /* Tenká linka 2px tesne na okraji, plne viditeľná */
        outline: 2px solid rgba(126, 220, 65, 1);
        outline-offset: 0px;
        opacity: 1;
    }
    100% {
        /* Linka si drží 2px, ale odskočí o 10px von a zmizne */
        outline: 2px solid rgba(126, 220, 65, 0);
        outline-offset: 10px;
        opacity: 1;
    }
}
/* Zabezpečí, že kontajner štítkov bude zoradený pod sebou a váš label pôjde na začiatok */
.product-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Ak má váš label špecifickú triedu (napr. .custom-label), dajte mu order: -1 */
.your-custom-label-class {
    order: -1;
    margin-bottom: 5px;
    max-width: fit-content; /* Zabráni zbytočnému rozťahovaniu */
}