/*
Theme Name:     Baby Patron (child)
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Mon Alba (DNAJ)
Author URI:     https://monalba.cz/it/
Template:       hello-elementor
Version:        0.1.1
*/


/* login / logout / registrace odkazy */
#mymenubarid a.loginout {
	font-size: 15px;
	padding: 5px 0px;
	color: #fff;
}
#mymenubarid a.loginout:hover {
	color: #ffe07b;
}

#mobilmenubarid a.loginout {
	font-size: 14px;
	color: #a33803;
}
#mobilmenubarid a.loginout:hover {
	color: #fa5d0f;
}
#mymenubarid .sep, #mobilmenubarid  .sep {
	color: #CEB09F;
}

#mymenubarid nav a svg {
	position: relative;
    top: -4px;
}

@media only screen and (max-width: 768px) {
	#mymenubarid a.loginout {
		font-size: 13px;
		padding: 8px 0px;
	}
}



/* zobrazeni podkategorii - shortcode my_categories */

ul.product-cats {
	/*background-color: #37506E30;*/
    border-radius: 10px;
    padding: 20px;
	display: flex;
	gap: 20px;
	margin: 0px;
	flex-flow: row wrap;
	/* justify-content: space-around; */
	justify-content: center;
	list-style: none;
}
ul.product-cats li.category {
	display: flex;
    align-items: end;
    justify-content: center;
	background: #ffffff;
	border: 0px solid #ddd;
	border-radius: 10px;
	padding: 0px;
	width: calc((100% - 80px) / 5);
	margin: 0px;
	color: white;
	transition: background .3s,border .3s,border-radius .3s,box-shadow .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;
}
ul.product-cats li a {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
}
ul.product-cats li:hover {
	box-shadow: 0px 0px 12px #66666680;
}
ul.product-cats li img {
    margin: 0 auto; 
}
ul.product-cats li a .catimg {
	min-width: 100px;
	min-height: 100px;
	background-repeat: no-repeat;
	/*background-size: 80% 80%;*/
	background-size: contain;
    background-position: 50%;
}
ul.product-cats li a .catcontent {
	flex-grow: 1;
	display: flex;
	align-items: center;
    justify-content: center;
	padding: 5px 10px 5px 10px;
}
ul.product-cats li a .catcontent h3 {
	font-size: 15px;
	font-weight: 400;
	vertical-align: middle;
	text-align: center;
	color: #222222;
	margin: 0;
}
ul.product-cats li.category-back {
	border: 0px solid #ddd;
	padding: 0px;
	width: 24%;
	margin-top: 10px;
	text-align: center;
	transition: background .3s,border .3s,border-radius .3s,box-shadow .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;
}
ul.product-cats li a.back-button .catcontent {
	background-color: #FFFFFF00;
	min-height: 80px;
}
ul.product-cats li a.back-button .catcontent h3 {
	color: #666;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.kateg-label {
	color: rgba(114, 114, 113, 0.5);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
	letter-spacing: 5px;
	padding: 0px 0px 0px 40px;
}
.woocommerce div.product .elementor-add-to-cart .stock {
	font-size: 1.2em;
	font-weight: normal;
}

form.woocommerce-checkout {
	padding-top: 30px;
}


@media only screen and (max-width: 1024px)  {
	ul.product-cats {
		gap: 10px;
	}
	ul.product-cats li.category {
		width: calc((100% - 40px) / 5);
	}
	ul.product-cats li a .catimg {
		min-height: 75px;
	}
	ul.product-cats li a .catcontent h3 {
		font-size: 15px;
	}
	ul.product-cats {
		padding: 10px;
	}
}

@media only screen and (max-width: 768px) {
	ul.product-cats {
		gap: 10px;
	}
	ul.product-cats li.category {
		width: calc((100% - 20px) / 3);
	}
	ul.product-cats li a .catcontent h3
	{
		font-size: 14px;
	}
}


/* ------------- Woocommerce widgets --------------*/

li.widget.woocommerce {
	list-style: none;
}
li.xxxcat-item:before {
	content: "•";
	padding-right: 8px;
	color: #5B5B5B;
}
li.widget.woocommerce h2 {
	font-size: 17px;
	color: #999;
	padding: 30px 0 15px;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.widget ul, .widget ol {
	margin-top: 0px;
    margin-bottom: 0;
    padding-left: 0px;
}

.widget ul > :first-child {
	padding-left: 0;
}
.widget.widget_product_categories > ul > li {
	padding-top: 10px;
}
.widget.widget_product_categories .count {
	color: #aaa;
    font-size: 13px;
}


.widget ul li {
	list-style-type: none;
	padding: 4px 0 0px;
	font-size: 15px;
}

.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {
	color: #666;
	background-color: #ccc;
}

.woocommerce-page .woocommerce-result-count {
	font-size: 14px;
	color: #999;
	float: right;
}


.woocommerce div.product .stock.out-of-stock {
    color: #800000; /* barva pro "Není skladem" */
    font-size: 17px;
}
.woocommerce div.product .stock.in-stock {
    color: #008000; /* barva pro "Skladem" */
    font-size: 17px;
}


/* zarovnat tlačítko a cenu dolů */
.elementor-products-grid ul.products.elementor-grid li.product {
    display: flex !important; 
    flex-direction: column !important;
}
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link {
	display: flex !important;
    flex-direction: column;
    flex-grow: 1;
}
.elementor-products-grid ul.products.elementor-grid li.product .button {
	align-self: flex-start;
}
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link h2.woocommerce-loop-product__title {
    flex-grow: 1;
}


/* ----------- widgets */
.widget h2.widget-title {
	font-size: 19px;
	font-weight: bold;
	padding: 30px 0 10px;
    margin: 0;
	letter-spacing: 2px;
}
.widget h3.widget-subtitle {
	font-size: 16px;
	font-weight: bold;
}
.widget_categories .children {
    margin-left: 10px;
	padding-top: 0px;
}
ul.children {
    margin-left: 15px;
}
.widget_recent_entries ul li {
	padding-bottom: 5px;
}

/* toret plugin s dph / bez dph */
.custom-price-with-vat {
	font-size: 75%;
}


/* ----- woo product tabs */
.mydescbox .woocommerce-product-attributes.shop_attributes th {
    width: 38%;
	font-weight: normal;
    padding: 5px 15px;
	border: 1px solid rgba(0,0,0,.1);
    margin: 0;
	line-height: 1.2;
	background-color: inherit;
	text-align: left;
}
.mydescbox .woocommerce-product-attributes.shop_attributes td {
    font-style: normal;
    padding: 5px 15px;
    border: 1px solid rgba(0,0,0,.1);
    margin: 0;
    line-height: 1.2;
    background-color: inherit;
    text-align: left;
}
.mydescbox .woocommerce-product-attributes.shop_attributes td p {
	padding: 5px 15px;
}
.woocommerce-Tabs-panel h2 {display: none;}


/* --- kosik, pokladna --- */
.woocommerce .woocommerce-cart-form .coupon-error-notice {
    color: red;
    padding-top: 10px;
}
.woocommerce .checkout tr.order-total {
	background-color: #f7f5f5;
}
.woocommerce .checkout .shop_table tr>th, .woocommerce .checkout .shop_table tr>td {
	padding-left: 10px;
}
.select2-container .select2-dropdown li.select2-results__option:focus {
    color: #999;
}


/* ---- filtry a razeni produktu -------- */
.widget .wc-block-product-filter-price-slider .text input[type=text] {
    border: 1px solid #999;
    border-radius: 4px;
    font-size: .875em;
    margin: 0;
    max-width: 90px;
    min-width: 0;
    padding: 2px 4px;
    width: auto;
}
/* řazení - seznam se zobrazí v řádku */
ul.custom-sorting-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
ul.custom-sorting-links li {
    margin: 0 5px 15px 0px;
}
ul.custom-sorting-links li a {
    text-decoration: none;
    color: #666; 
    padding: 3px 3px;
    border-bottom: 1px solid transparent;
}
ul.custom-sorting-links li.active a {
    color: #222;
    font-weight: bold;
    border-bottom-color: #222;
}


/* ------ product tags ------ */

.mybadgecont {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: -10px;
    right: -14px;
	left: auto;
}
.mybadgecont.singleprod {
	position: relative;
	flex-direction: row;
	left: 0px;
	right: auto;
	top: 0;
}
.mybadgecont.singleprod .mybadge {
	margin: 0 6px 0 0;
	padding: 6px 12px;
	font-size: 13px;
}
.mybadge {
	margin: 0 0px 5px auto;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 4px 8px;
	background-color: #666;
	color: #ffffff;
    border-radius: 20px;
}
.mybadge.darek-zdarma {
	background-color: #FACB35;
}
.mybadge.prave-vyslo {
	background-color: #0b9444;
}
.mybadge.novinka {
	background-color: #6EC1E4;
}




