.elementor-53935 .elementor-element.elementor-element-ecdaee9{--display:flex;}/* Start custom CSS for container, class: .elementor-element-ecdaee9 *//* Omezení šířky kontejneru celé galerie */
.woocommerce-product-gallery {
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Oprava šířky jednotlivých slidů v wrapperu */
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery .woocommerce-product-gallery__image {
    max-width: 500px !important;
}

/* Zajištění, aby se samotné obrázky přizpůsobily */
.woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
}

@media only screen and (min-width: 767px)  {
	.woocommerce div.product div.product-images-summary{
    	grid-template-columns: 35% 65%;
	}
}


/*8 sloupcu*/
/* Zajištění, že se grid vejde do šířky stránky */
/* --- ZÁKLADNÍ NASTAVENÍ (DESKTOP nad 1440px) --- */
/* Výchozí stav je 8 sloupců */
.wooco_component_product_selection_grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -5px !important; /* Záporný margin pro kompenzaci mezer */
    width: calc(100% + 10px) !important;
    box-sizing: border-box !important;
}

.wooco_component_product_selection_grid_item {
    box-sizing: border-box !important;
    padding: 5px !important; /* Vnitřní mezera */
    
    /* 8 sloupců: 100% / 8 = 12.5% */
    width: 12.5% !important;
    flex: 0 0 12.5% !important;
    max-width: 12.5% !important;
}

/* Zajištění, aby obrázky a inputy nepřetékaly */
.wooco_component_product_selection_grid_item img,
.wooco_component_product_selection_item_qty {
    max-width: 100% !important;
    height: auto !important;
}

/* --- MENŠÍ DESKTOP / LAPTOP (1025px až 1440px) --- */
@media screen and (max-width: 1440px) {
    .wooco_component_product_selection_grid_item {
        /* 6 sloupců: 100% / 6 = 16.666% */
        width: 16.666% !important;
        flex: 0 0 16.666% !important;
        max-width: 16.666% !important;
    }
}

/* --- TABLET / MENŠÍ LAPTOP (769px až 1024px) --- */
/* Zde doporučuji jít na 4 sloupce, 6 už by bylo moc úzkých */
@media screen and (max-width: 1024px) {
    .wooco_component_product_selection_grid_item {
        /* 4 sloupce: 100% / 4 = 25% */
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* --- MOBIL (Pod 769px) --- */
/* Zde nechat vaše původní nastavení nebo nastavit 2 sloupce */
@media screen and (max-width: 768px) {
    .wooco_component_product_selection_grid_item {
        /* 2 sloupce pro mobily */
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}


.wooco-wrap .wooco-summary {
    display: block;
}

.wooco-selected-images-label , .wooco-main-label {
    font-weight: 700;
    font-size: large;
}

.wooco-selected-images{
    padding-top: 10px;
}

.wooco_before_text {
    padding: 20px 0px 5px 0px;
}

.wooco_component_layout_grid_4 .wooco_component_product_selection_grid_item_name,.wooco_component_layout_grid_4 .wooco_component_product_selection_grid_item_desc,.wooco_component_layout_grid_4 .wooco-minus, .wooco_component_layout_grid_4 .wooco-plus,.wooco_component_layout_grid_4 .wooco-qty-input .quantity .ts-screen-reader-text {
	display:none;
}

.wooco-qty-input .quantity input.qty{
	padding-top: 0px;
    padding-bottom: 0px;
}    

.wooco-qty-input .quantity .minus,.wooco-qty-input .quantity .plus, .wooco-qty-input .quantity .number-button:before, .wooco-qty-input .quantity .number-button:after {
    width: 26px;
    line-height: 37px;
}

.wooco_component_product_selection_grid .wooco_component_product_selection_grid_item {
    margin: 0px;
	border: none;
}

.wooco_components .wooco_component{
	border: 1px solid #dddddd;
    padding: 10px;	
}
.wooco_component_layout_ddslick .wooco-minus, .wooco_component_layout_ddslick .wooco-plus,.wooco_component_layout_ddslick .wooco_component_product .wooco_qty {
	background-color: var(--loobek-quantity-bg);
	border: none;
	border-radius: 10px;
	height: 26px;
    line-height: 25px;
	margin-left: -15px;
}

.wooco_component_product_none::after {
	content:"X Není skladem! X";
	margin-top: 5px;
    margin-left: 5px;
    margin-right: -5px;	
	color:red;
	font-weight: 600;
}

/* --- 1. HLAVNÍ VYBRANÁ POLOŽKA (např. Bambusové pleny) --- */

/* Pokud produkt obsahuje hlídacího psa, přebarvíme název na šedo */
.dd-selected:has(.yith-wcwtl-output) .dd-selected-text {
    color: #6d6d6d !important;
}

/* A za název přidáme červené upozornění */
.dd-selected:has(.yith-wcwtl-output) .dd-selected-text::after {
    content: "Není skladem!";
    color: red; /* Musí být red, jinak by to bylo taky šedé */
    font-weight: bold;
    margin-left: 5px;
    display: block;
}


/* --- 2. POLOŽKY V ROZBALOVACÍM MENU (např. Olej 200ml) --- */

/* Název na šedo */
.dd-option:has(.yith-wcwtl-output) .dd-option-text {
    color: #6d6d6d !important;
}

/* Upozornění červeně */
.dd-option:has(.yith-wcwtl-output) .dd-option-text::after {
    content: "Není skladem!";
    color: red;
    font-weight: bold;
    margin-left: 5px;
    display: block;
}

.wooco_component_product_selection .dd-selected-text,
.wooco_component_product_selection .dd-option-text {
    color: initial;
}

.wooco_component_product .dd-desc {
    display:none;
}


.wooco-alert {
    color: #ffffff;
    background-color: #fe4172;
    border: none;
}

.wooco-wrap .wooco-summary .wooco-total {
    font-size: 20px;
   /* font-weight: var(--loobek-main-font-bold-weight);*/
}


@media only screen and (max-width: 1200px) and (min-width: 768px) {
    .wooco-wrap .wooco-summary .wooco-total {
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px) {
    .wooco-wrap .wooco-summary .wooco-total {
        font-size: 16px;
    }
}/* End custom CSS */