/* Dětský Smích - pohodlná navigace a jednotné ovládání katalogu. */
body.detskysmich .tj-mega :is(.tj-mega-grid section>a,.tj-mega-all){
	display:block;
	box-sizing:border-box;
	max-width:100%;
	padding:10px 12px;
	color:#164b50;
	line-height:1.5;
	text-decoration:none;
	overflow-wrap:anywhere;
	transition:background-color .18s ease,color .18s ease;
}
body.detskysmich .tj-mega .tj-mega-grid section>a:first-child{padding:12px;border-radius:10px}
body.detskysmich .tj-mega .tj-mega-grid section>a strong{color:inherit}
body.detskysmich .tj-mega .tj-mega-all{padding:14px 12px;border-radius:6px}
body.detskysmich .tj-mega :is(.tj-mega-grid section>a,.tj-mega-all):is(:hover,:focus-visible){background:#e8f8f6;color:#164b50}

/* Levá navigace: jen názvy kategorií a nenápadné rozbalování. */
body.detskysmich #column-left .tj-category-nav img{display:none}
body.detskysmich #column-left .tj-category-row>button,
body.detskysmich #column-left .tj-category-row>button:is(:hover,:focus-visible,[aria-expanded="true"]){
	flex-basis:28px;
	width:28px;
	height:30px;
	border-color:transparent;
	border-radius:0;
	background:transparent;
	color:#4f7073;
	box-shadow:none;
	font-size:9px;
}
body.detskysmich #column-left .tj-category-row>button:is(:hover,:focus-visible){color:#164b50}
@media(max-width:575.98px){
	body.detskysmich #column-left .tj-category-row>button,
	body.detskysmich #column-left .tj-category-row>button:is(:hover,:focus-visible,[aria-expanded="true"]){flex-basis:34px;width:34px;height:36px}
}

/* Porovnání, pohled, filtry a řazení používají stejnou tyrkysovou paletu. */
body.detskysmich .breadcrumb a:not(:has(i,svg)){
	padding-bottom:3px;
	background-image:linear-gradient(currentColor,currentColor);
	background-repeat:no-repeat;
	background-position:left bottom;
	background-size:0 1px;
	text-decoration:none;
	box-decoration-break:clone;
	-webkit-box-decoration-break:clone;
	transition:background-size .25s ease,color .18s ease;
}
body.detskysmich .breadcrumb a:not(:has(i,svg)):is(:hover,:focus-visible){background-size:100% 1px;text-decoration:none;color:#087f83}
@media(prefers-reduced-motion:reduce){body.detskysmich .breadcrumb a{transition:none}}

body.detskysmich :is(.tj-toolbar,#display-control),
body.detskysmich .tj-mobile-filter{
	--btn-light-color-background:#e8f8f6;
	--btn-light-color-text:#164b50;
	--btn-light-color-border:#c7e8e3;
	--btn-light-hover-color-background:#e8f8f6;
	--btn-light-hover-color-text:#164b50;
	--btn-light-hover-color-border:#39bfb4;
}
body.detskysmich :is(.tj-toolbar,#display-control){
	grid-template-columns:auto auto minmax(210px,1fr) minmax(130px,.55fr);
	align-items:center;
	min-width:0;
	max-width:100%;
	gap:12px;
	padding:16px 0;
	border-color:#c7e8e3;
}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total,
body.detskysmich :is(.tj-toolbar,#display-control) .tj-view-switch,
body.detskysmich .tj-mobile-filter{
	border:1px solid #c7e8e3;
	border-radius:9px;
	background:#e8f8f6;
	color:#164b50;
	box-shadow:none;
}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total,
body.detskysmich .tj-mobile-filter{min-height:42px;padding:10px 13px;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total{min-width:0;max-width:100%;white-space:normal}
body.detskysmich :is(.tj-toolbar,#display-control) .tj-view-switch{padding:3px;gap:3px}
body.detskysmich :is(.tj-toolbar,#display-control) .tj-view-switch .btn{--btn-light-color-background:transparent;--btn-light-color-text:#4f7073;min-width:36px;min-height:34px;padding:7px 10px;border:0;background:transparent;color:#4f7073;box-shadow:none}
body.detskysmich :is(.tj-toolbar,#display-control) .tj-view-switch .btn:is(.active,[aria-pressed="true"]){--btn-light-color-background:#164b50;--btn-light-color-text:#e8f8f6;--btn-light-hover-color-background:#06676b;--btn-light-hover-color-text:#e8f8f6;background:#164b50;color:#e8f8f6}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total:is(:hover,:focus-visible),
body.detskysmich .tj-mobile-filter:is(:hover,:focus-visible),
body.detskysmich :is(.tj-toolbar,#display-control) .tj-view-switch .btn:not(.active):is(:hover,:focus-visible){background:#e8f8f6;color:#164b50}
body.detskysmich :is(.tj-toolbar,#display-control) .input-group{width:100%;max-width:none;min-width:0;gap:7px}
body.detskysmich :is(.tj-toolbar,#display-control) .input-group-text{padding:0;border:0;background:transparent;color:#164b50;font-size:14px;font-weight:600;line-height:1.5}
body.detskysmich :is(.tj-toolbar,#display-control) .form-select{min-width:0;height:42px;border:1px solid #c7e8e3;border-radius:9px!important;background-color:#e8f8f6;color:#164b50;font-size:14px;box-shadow:none;cursor:pointer}
body.detskysmich :is(:is(.tj-toolbar,#display-control),.tj-mega) :is(a,button,select):focus-visible,
body.detskysmich .tj-mobile-filter:focus-visible{outline:2px solid #087f83;outline-offset:3px}

/* Stránkování na celé šířce, počet záznamů pod ním. */
body.detskysmich .pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;max-width:100%;margin:0}
body.detskysmich .pagination{float:none!important;width:100%;margin-inline:auto!important;justify-content:center!important}
body.detskysmich .row:has(.pagination)>:is(.col-sm-6,.col-md-6){flex:0 0 100%;width:100%;max-width:100%;text-align:center!important}
body.detskysmich #product-category .tj-category-intro>h1{border:0;box-shadow:none;padding-bottom:0}
body.detskysmich #product-category .tj-category-intro>h1::after{display:none}
body.detskysmich .row:has(>div>.pagination){row-gap:12px;text-align:center}
body.detskysmich .row:has(>div>.pagination)>div{flex:0 0 100%;width:100%;max-width:100%;text-align:center!important}
body.detskysmich .pagination .page-link{margin:0;border-color:#c7e8e3;background:#fff;color:#164b50;box-shadow:none}
body.detskysmich .pagination .page-link:is(:hover,:focus-visible){border-color:#39bfb4;background:#e8f8f6;color:#164b50}
body.detskysmich .pagination .active>.page-link{border-color:#164b50;background:#164b50;color:#e8f8f6}

/* Informační stránky využívají celou dostupnou šířku obsahu. */
body.detskysmich #information-information #content{min-width:0}
body.detskysmich #information-information .tj-information{width:100%;max-width:none;margin-inline:0}
body.detskysmich #information-information .tj-information-body{max-width:100%;color:#164b50;overflow-wrap:anywhere}
body.detskysmich #information-information .tj-information-body :is(img,iframe,video){max-width:100%}
body.detskysmich #information-information .tj-information-body table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

@media(max-width:1199.98px){
	body.detskysmich :is(.tj-toolbar,#display-control){grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:767.98px){
	body.detskysmich :is(.tj-toolbar,#display-control){gap:12px 10px}
	body.detskysmich :is(.tj-toolbar,#display-control) .input-group{display:flex;flex-wrap:wrap;align-items:stretch}
	body.detskysmich :is(.tj-toolbar,#display-control) .input-group-text{width:100%;white-space:normal}
	body.detskysmich :is(.tj-toolbar,#display-control) .form-select{width:100%;flex-basis:100%;margin-left:0!important}
}
@media(max-width:479.98px){
	body.detskysmich :is(.tj-toolbar,#display-control) .input-group{grid-column:1/-1}
	body.detskysmich :is(.tj-toolbar,#display-control) #compare-total{padding-inline:10px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){
	body.detskysmich .tj-mega :is(.tj-mega-grid section>a,.tj-mega-all){transition:none}
}

/* Dětský Smích - stejné rozměry ikon a světlé řazení bez podkladu. */
body.detskysmich :is(.tj-toolbar,#display-control){display:grid;grid-template-columns:42px 82px minmax(0,1fr) minmax(140px,.55fr)}
body.detskysmich #display-control>[class*="col-"]{display:contents!important}
body.detskysmich #display-control .mb-3:has(>#compare-total){display:contents}
body.detskysmich #display-control .input-group{margin:0!important}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total{display:inline-flex!important;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0!important;background:transparent;font-size:0!important;line-height:1;white-space:nowrap}
body.detskysmich :is(.tj-toolbar,#display-control) #compare-total>i{font-size:16px;line-height:1}
body.detskysmich #display-control #compare-total>span{display:none!important}
body.detskysmich :is(.tj-toolbar .tj-view-switch,#display-control .btn-group){display:inline-flex;justify-self:start;align-items:center;width:82px;height:42px;min-height:42px;padding:0;gap:0;border:1px solid #c7e8e3;border-radius:7px;overflow:hidden;background:transparent;box-shadow:none}
body.detskysmich :is(.tj-toolbar .tj-view-switch,#display-control .btn-group) .btn{display:inline-flex;align-items:center;justify-content:center;flex:1;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:0;background:transparent;color:#4f7073;font-size:16px;line-height:1;box-shadow:none}
body.detskysmich :is(.tj-toolbar .tj-view-switch,#display-control .btn-group) .btn:is(.active,[aria-pressed="true"]){background:#164b50;color:#fff}
body.detskysmich :is(.tj-toolbar,#display-control) .input-group-text{color:#4f7073;font-size:13px;font-weight:600}
body.detskysmich :is(.tj-toolbar,#display-control) .form-select{height:42px;border-color:#d6e7e3;border-radius:7px!important;background-color:transparent;font-size:14px;font-weight:500}
body.detskysmich :is(.tj-toolbar,#display-control) .form-select:focus{border-color:#087f83;box-shadow:none}
@media(max-width:767.98px){
	body.detskysmich :is(.tj-toolbar,#display-control){grid-template-columns:42px minmax(0,1fr)}
	body.detskysmich :is(.tj-toolbar,#display-control) .input-group{grid-column:1/-1}
	body.detskysmich :is(.tj-toolbar .tj-view-switch,#display-control .btn-group){justify-self:end}
}
