@charset "UTF-8";

/* KATEGORIE */
/**************************************************/

.category-perex>ul:last-of-type{
	padding-left: 0;
	display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 50%);
    grid-column-gap: 0.5em;
    grid-row-gap: 0.5em;
}

.category-perex>ul:last-of-type>li{
	display: block;
	padding: 0.5em;
    background: #329a9d;
}

.category-perex>ul:last-of-type>li>a{
	font-weight: 700;
	color: #fff;
	display: block;
}

/* velikost položek v kategorii */
.categories .topic>a {
	text-transform: uppercase;
}

.categories a {
	font-size: 12px;
}

/* KATEGORIE NAVIGACE */
/**************************************************/
body.type-category #content div.category-perex ul.expanded,
body.type-category #content ul.category-horizontal{
    --category-flex-gap: 1em;
    --category-flex-row-number: 6;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: var(--category-flex-gap);
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    margin-bottom: 2em;
    margin-top: 2em;
}

body.type-category #content div.category-perex ul.expanded li,
body.type-category #content ul.category-horizontal li{
    display: flex;
    background: var(--brand-color-white);
    border: 1px solid var(--brand-color-primary);
    width: calc((100% - (var(--category-flex-gap) * (var(--category-flex-row-number) - 1))) / var(--category-flex-row-number));
    text-align: center;
}

body.type-category #content div.category-perex ul.expanded li a,
body.type-category #content ul.category-horizontal li a{
    display: inline-block;
    width: 100%;
    margin: auto;
    color: var(--brand-color-primary);
    line-height: 1.2em;
    padding-top: 1em;
    padding-bottom: 1em;
    text-decoration: none;
}

body.type-category #content ul.category-horizontal li:hover{
    border-color: var(--brand-color-secondary);
}

body.type-category #content ul.category-horizontal li a:hover{
    color: var(--brand-color-secondary);
}

body.type-category #content div.category-perex ul.expanded li{
    background: var(--brand-color-primary);
}

body.type-category #content div.category-perex ul.expanded li a{
    color: var(--brand-color-white);
}

body.type-category #content div.category-perex ul.expanded li:hover{
    border-color: var(--brand-color-secondary);
    background: var(--brand-color-secondary);
}

@media only screen and (max-width: 1200px){
    body.type-category #content div.category-perex ul.expanded,
    body.type-category #content ul.category-horizontal{
        --category-flex-gap: 1em;
        --category-flex-row-number: 4;
    }
}

@media only screen and (max-width: 767px){
    body.type-category #content div.category-perex ul.expanded,
    body.type-category #content ul.category-horizontal{
        --category-flex-gap: 1em;
        --category-flex-row-number: 3;
    }
}

@media only screen and (max-width: 500px){
    body.type-category #content div.category-perex ul.expanded,
    body.type-category #content ul.category-horizontal{
        --category-flex-gap: 1em;
        --category-flex-row-number: 2;
    }
}

/* STRÁNKA PRODUKTU */
/**************************************************/

/* zobrazení podobných položek na stránce produktu */
#productsRelated{
	display: block!important;
	opacity: 1!important;
	margin-top: 3vw;
}

/* Skryje záložku podobných položek na stránce produktu */
[data-testid=tabRelatedProducts] {
  display: none!important;
}

.basic-description #productsRelated:before{
    display: none;
}

body.type-product .p-detail-inner-header h1{
	margin-top: 0;
}

body.type-product .p-short-description .flags-description{
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 auto;
	margin-top: 3rem;
}

body.type-product .p-short-description .flags-description .flag{
	display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
	gap: 8px;
	max-width: 120px;
	padding: 0;
	margin: 0;
	font-size: 10px;
	text-align: center;
	text-transform: none;
	line-height: 1.2;
	color: var(--brand-color-black);
	background-color: transparent!important;
}

body.type-product .p-short-description .flags-description .flag:before{
	content: "";
	position: relative;
	display: block;
	left: auto;
	right: auto;
	width: 64px;
	height: 64px;
	transform: none;
}

body.type-product .p-short-description .flags-description .flag.flag-custom1:before{
	background: url("/user/documents/css/ikony/vyrobeno_v_ceske_republice.png");
	background-position: center center;
	background-size: contain;
}

body.type-product .p-short-description .flags-description .flag.flag-custom2:before{
	background: url("/user/documents/css/ikony/vyrobeno_v_yoga_day.png");
	background-position: center center;
	background-size: contain;
}

body.type-product .p-short-description .flags-description .flag.flag-postarame-se-o-vas:before{
	background: url("/user/documents/css/ikony/postarame_se_o_vas.png");
	background-position: center center;
	background-size: contain;
}

body.type-product .p-short-description .flags-description .flag.flag-pece-o-kazdy-detail:before{
	background: url("/user/documents/css/ikony/pece_o_kazdy_detail.png");
	background-position: center center;
	background-size: contain;
}

body.type-product .p-short-description .flags-description .flag.flag-nakup-bez-starosti:before{
	background: url("/user/documents/css/ikony/nakup_bez_starosti.png");
	background-position: center center;
	background-size: contain;
}

@media only screen and (max-width: 600px){
	body.type-product .p-short-description .flags-description{
		justify-content: flex-start;
		max-width: 95vw;
	}
}