/* debug: shoptet.cookie.create('debugTimestamp', 1, {days: 1}); */

/* Grid navigace na strance značky */
.kat-grid-container {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(
		auto-fit,
		minmax(250px, 1fr)
	); /* Slightly wider to accommodate inline layout */
	margin: 15px 0;

	.grid-item {
		display: flex;
		flex-direction: row; /* Changed to row to align items horizontally */
		align-items: center;
		padding: 15px;
		background-color: white;
		border: 1px solid #e0e0e0;
		border-radius: 4px;
		text-align: left; /* Changed to left align */
		text-decoration: none;
		color: inherit;
		transition: box-shadow 0.2s;

		&:hover {
			box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		}

		img {
			width: 50px; /* Smaller image */
			height: 50px;
			margin-right: 15px; /* Added right margin instead of bottom */
			margin-bottom: 0; /* Removed bottom margin */
			object-fit: contain;
		}
	}
}

/* Rozbalení tabulky parametru u produktu*/
.all-param {
	display: none !important;
}
.extended-description:not(.otevreno) table tr:nth-child(n + 9) {
	display: table-row;
}

/* tlacitkova novela - text na tlacitku objednat "zavazujici k platbe" */
/*.order-button-suffix {display: none;}*/

/* provozni doba k tel. v hlavicce */
@media screen and (min-width: 992px) {
	.top-navigation-bar .project-phone::after {
		content: '(po-pá: 10:00 - 18:00)';
	}
	.top-navigation-bar .project-phone::after {
		color: #a3a3a3;
		font-size: 13px;
		font-weight: 400;
		margin-left: 5px;
		display: inline-block;
	}
}

/* Cookies lista */
@media (min-width: 768px) {
	.siteCookies--center {
		width: 95%;
		height: 95%;
		background-color: rgba(0, 0, 0, 0.7);
	}
	.siteCookies--center .siteCookies__form {
		top: 40%;
	}
}
/* EAN u vypisu variant produktu */
span.productEan {
	display: none !important;
}

/* Cofidis v detailu */
div.cofidis-wrap {
	width: 100%;
	margin: 1em 0 0;
}
a#cofidis {
	text-transform: none;
	padding: 1.8em;
	color: #656565;
	font-weight: normal;
	float: right;
	transition: color 300ms ease-out 0s;
}
a#cofidis:hover {
	color: var(--color-secondary);
}

/* Zmena barvy Jízdních kol v menu */
/*
nav#navigation li.menu-item-717 > a {
	background-color: #f56e48;
	color: white;
}
nav#navigation li.menu-item-717 > a span.submenu-arrow {
	color: white !important;
}
nav#navigation li.menu-item-717 > a:hover {
	background-color: #f56e48;
	color: white;
}
*/
/* Zmena barvy Cykloservisu v menu */
nav#navigation li.menu-item-929 > a {
	background-color: darkred;
	color: white;
}
nav#navigation li.menu-item-929 > a:hover {
	background-color: red;
	color: white;
}

/* Zmena barvy Quad Lock v menu */
nav#navigation li.menu-item-2805 > a {
	background-color: #0070bc;
	color: white;
}
nav#navigation li.menu-item-2805 > a span.submenu-arrow {
	color: white !important;
}
nav#navigation li.menu-item-2805 > a:hover {
	background-color: #0267ab;
	color: white;
}

/* Zmena barvy Zimních sportů v menu */
nav#navigation li.menu-item-711 > a {
	background-color: #14b1ef;
	color: white;
}

nav#navigation li.menu-item-711 > a span.submenu-arrow {
	color: white !important;
}
nav#navigation li.menu-item-711 > a:hover {
	background-color: #00b2e3;
	color: white;
}

/* Zmena velikosti loga v hlavicce */
#header .site-name a img {
	max-height: 109px;
}
/* Zmena radkovani */
body {
	line-height: 1.4 !important;
}
div.basic-description p {
	margin-bottom: 1.5em;
}
div.basic-description div.lead.headline {
	margin-bottom: 1.5em;
}
.variant-table .table-row {
	padding: 10px 24px;
}

/* ZMĚNA BARVY POZADÍ HLAVNÍHO MENU */

@media screen and (min-width: 768px) {
	#header::after {
		background-color: #44484c;
	} /* BARVA POZADÍ MENU */
	.navigation-in {
		background-color: transparent;
	}
	.navigation-in > ul > li > a {
		color: #e2ca7c;
	} /* BARVA TEXTU V MENU */
}

/* Zarovnání popisu parametru "?" v levém menu */
div.sidebar-inner div.filters-wrapper span.show-tooltip.question-tooltip {
	float: right;
}

/* Schování křížku na zavření info proužku */
div.site-msg div.close {
	visibility: hidden;
}

/* TABLE v popisu a článcích */
div.basic-description table,
div.news-item-detail table,
table.description {
	width: 100%;
	margin-top: 1.5em;
}
div.basic-description table th,
div.news-item-detail table th,
table.description th {
	border: 1px solid #bbb;
	padding: 0.1em 1em;
	background-color: #ddd;
}
div.basic-description table td,
div.news-item-detail table td,
table.description td {
	border: 1px solid #ddd;
	padding: 0.1em 1em;
}
div.basic-description table tbody tr:nth-child(odd),
div.news-item-detail table tbody tr:nth-child(odd),
table.description tbody tr:nth-child(odd) {
	background-color: #efefef;
}
table.description th {
	position: sticky;
	top: -1px;
	z-index: 10;
}
table.description tbody tr:hover {
	background-color: lightgrey;
}

/* Text v carouselu */
div.wide-carousel div.item span.extended-banner-texts > * {
	display: block;
	float: left;
}
div.wide-carousel div.item span.extended-banner-texts {
	margin: 6%;
	bottom: 0;
	right: 0;
	padding: 0;
	width: 55%;
	background-color: rgba(255, 255, 255, 0);
}
div.wide-carousel div.item span.extended-banner-title {
	padding: 0.25em;
	margin-bottom: 0.2em;
	font-size: 2.8em;
	line-height: 1em;
	background-color: rgba(255, 255, 255, 0.6);
}
div.wide-carousel div.item span.extended-banner-text {
	font-size: 2em;
}
div.wide-carousel div.item span.extended-banner-link {
	padding: 0.25em 0.5em;
	margin-bottom: 1px;
	font-size: 1.3333em;
	line-height: 1em;
	background-color: rgba(255, 255, 255, 0.6);
	color: #000 !important;
	clear: left;
	overflow-wrap: break-word;
	height: auto !important;
}

/* Skryt dostupnost ve vyhledavani */
div.search span.p-availability {
	display: none;
}

/* Styly pro hodnoceni obchodu */
div.votes-wrap div.heureka-rating-group {
	width: 100%;
}
div.votes-wrap div.heureka-rating-group.plus {
	color: green;
	font-weight: bold;
}
div.votes-wrap div.heureka-rating-group.minus {
	color: red;
	font-weight: bold;
}

/* Skryt cenu darku */
/* div.p-gift div.p-gift-name span.nowrap {display:none;} */

/* Skryt filtrovani SKLADEM */
/*div#filters div.filter-section.filter-section-boolean {display: none;}*/

/* Zobrazovani vsech podkategorii v hlavnim menu */
@media screen and (min-width: 768px) {
	.navigation-in > ul > li.ext > ul > li > div > ul {
		height: auto;
	}
	.more-items-trigger {
		display: none !important;
	}
	.navigation-in > ul > li.ext > ul > li > div > ul > li {
		font-size: 0;
		line-height: 0;
		display: block;
	}
	.navigation-in > ul > li.ext > ul > li > div > ul > li > a {
		font-size: 14px;
		line-height: 22px;
	}
	.submenu-visible .navigation-in > ul > li.ext.exp > ul {
		align-items: flex-start;
	}
}
/* Stylovani ceny a slevy produktu ve vypisu kategorie
.products-block .flag.flag-discount {font-size: 14px;background-color: transparent;width: 100%;padding: 0;text-align: left;display: flex;margin: 0 0 8px 0;}
.products-block .price-save {margin-left: 10px;}
.products-block .price-standard {color: #444 !important;}
*/
/* schovat pocet produktu skladem na vypisu kategorie */
div.product span.availability-amount {
	display: none;
}

/* tlačítko pro rezervaci */
a.button {
	display: block;
	margin: 0;
	padding: 0.3em 1em;
	background-color: var(--color-primary);
	text-align: center;
	font-size: 120%;
}

/* stylovany blok */
div.row.pop {
	background-color: #eee;
	padding: 2em;
	margin: 2em auto;
	width: 100%;
}
div.row.blue-pop {
	background-color: #e4f7fc;
	padding: 2em;
	margin: 2em auto;
	color: #12829b;
	width: 100%;
}

/* Hodnoceni obchodu na strane produktu */
/*
.votes-homepage-container {
 
}
.votes-homepage-stars {
    flex-basis: 100%;
    text-align: center;
    font-size: 18px;
    padding: 1em 0;
}
.votes-homepage-stars .rate-average {
    font-size: 2em;
}
.votes-wrap-homepage {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    padding: 1em;
}
.votes-wrap-homepage .vote-wrap {
    flex-basis: 23%;
    border: 1px solid #E4E4E4;
    padding: 1em;
    margin: 0.5em 0.5em;
}
.vote-content {
    max-height: 310px;
    overflow: auto;
}

.vote-content {
    margin-top: 10px;
    text-align: center;
}
.votes-wrap {
margin-left: auto;
margin-right: auto;
}
span.vote-name.vote-name--nowrap {
text-align: center;
display: none;
}
*/
div.ratings-in .vote-time {
	display: none;
}

/* stylovani bloku produktů v článku */
div.news-item-detail div.products-block .flags {
	display: none;
}
div.news-item-detail div.products-block .p-desc {
	display: none;
}

/* Add a wrapper div around both elements if needed */
.variants-section {
	display: flex;
	flex-direction: column;
}

/* Change the order of elements */
#variants {
	order: 1;
}

.benefitBanner {
	order: 2;
}

/* Styling for truncated category description */
.category-perex {
	position: relative;
}

.category-perex-fade {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 1) 100%
	);
	pointer-events: none;
	transition: opacity 0.3s ease-out;
}

.show-more-wrapper {
	text-align: center;
	margin: 10px 0;
}

.show-more-btn {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.show-more-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
