html {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html body { background-color: #f0f0f1}
.container {background-color:white;font-family: 'Exo';}

.grid-menu {
  padding: 10px 20px;
}

.grid-menu [class*="col-"] {
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 0.95em;
  text-align: left;
  line-height: 1.5;
  background-color: #ffffff;  
  padding-left:14px;        
}

.yamm {margin:2px }
.yamm .navbar-nav > li > a { font-size:15px; color:#222; font-weight:600; }
.yamm .nav,
.yamm .collapse,
.yamm .dropup,
.yamm .dropdown {
  position: static; 
}
.yamm .container {
  position: relative;
}
.yamm .dropdown-menu {
  left: auto;
}
.yamm .yamm-content {
  padding: 20px 30px;
}
.yamm .dropdown.yamm-fw .dropdown-menu {
  left: 0;
  right: 0;
}

#livesearch
  {
      position: absolute; 
      top: 2.5em;
      width: auto;
      height: auto;
      border:1px solid #aaa;
      z-index: 10; background-color:white; display:none;
      width:120%;
  }
  
.hr {
      border:0px; height:1px; margin:4px;
      background-color:#ddd;
}

.uplogo {
	height:auto;max-width: 80%
}

h1.logo {margin:0px;padding:0px}
h1.produkt {text-transform: uppercase; font-size:150%; font-weight:bold; color: #06b; line-height:1em;}
.produkt2 {font-size:100%; color: #393;}
h2.nadpis { 
	font-size:145%; font-weight:bold; padding-top:5px; padding-bottom:5px; color:#48a; text-decoration:underline dotted #48a;text-decoration-skip-ink: none
}
.qsearch { background-color:#e8fff0 }

a.kategorie {width:105%;border: 1px solid #aaa; border-radius: 5px;display: inline-flex; height: 52px;
				-webkit-box-align: center;-ms-flex-align: center;align-items: center; }
a.kategorie:hover {border:2px solid #06b;text-decoration:none;}
img.kategorie {width:50px;height:50px;flex-shrink:0;padding:3px;}	
h2.kategorie {font-size:15px}
/*polozka z ceniku*/
#item {}
#item .card { transition: border-color .18s; border: 1px solid transparent; }
#item .card:hover { border-color: #a8cce8; }
.itemtitle {font-size:175%; color:#06b; margin-top:0px;}
.itemcena {font-size:250%; color:#f54; font-weight:bold;font-family: 'Arial';}
.itemcenaS {font-size:150%; color:#f54; font-weight:bold;font-family: 'Arial';}
.itemcenaXS {font-size:100%; color:#888; font-weight:normal;font-family: 'Arial';}
.title { color: #038; height: 5rem}
.title:hover { color: #04a; text-decoration:underline; }
.footer2 {font-size:80%;text-align:center;}
.skladem {color:#393; font-weight:bold;font-size:75%}
.nadotaz {color:#333; font-weight:bold;font-size:75%}
.cena {font-size:150%; font-weight:bold; color:#555; line-height:2.2em; color:#f54; font-family: 'Arial';white-space:nowrap}
.alert {padding:5px}
.button-item:before {
    content: "";
	  width: 24px;
    height: 24px;
    vertical-align: text-top; 
    display: inline-block;
    margin-right: 10px;    
    background-position : center center;
    background-repeat:no-repeat;        
}
.button-item-p:before{
     background-image : url(/img/ico_porovnat.png);
}
.button-item-f:before{
     background-image : url(/img/ico_oblibene.png);
}

:focus{
  outline:none;
}
.radio1 {
  -webkit-appearance:button;
  -moz-appearance:button;
  appearance:button;
  border:2px solid #aaa;
  border-top-color:#bbb;
  border-left-color:#bbb;
  background:#fff;
  width:20px;
  height:20px;
  border-radius:50%;
}
.radio1:checked{
  border:2px solid #222; background:#f08000;
}

/*tlacitko koupit*/
.koupit {
  display: inline-block;
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 22px;
  padding: 6px;
  width: 136px;
  max-width: 100%;
  transition: all 0.2s;
  cursor: pointer;
  margin: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  line-height: normal;
}
.koupit2 {
  display: inline-block;
  border-radius: 4px;
  background-color: #50a810;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  padding: 6px;
  width: 136px;
  cursor: pointer;
  margin: 5px;
}
.koupit span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.2s;
}

.koupit span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.2s;
}

.koupit:hover span {
  padding-right: 20px;
}

.koupit:hover span:after {
  opacity: 1;
  right: 0;
}

.params {
	padding-left:15px; margin-bottom:6px
}
.params2 {
	padding-left:8px; margin-bottom:4px; margin-top:6px; color:#333;
	background-color:#e0e0e2; border-radius:3px; font-size:13px; font-weight:bold; padding-top:3px; padding-bottom:3px;
}
.params2 dt, .params2 strong { font-size:13px; padding:3px 0; color:#333; display:block; }
.params3 { padding-left:8px; margin-bottom:0; margin-top:2px; color:#444; font-size:12px; font-weight:bold; }
.params3 dt, .params3 strong { font-size:12px; padding:2px 0; color:#444; display:block; }
.plus { }

.porovnat {
  display: inline-block;
  border-radius: 4px;
  background-color: #888;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 10px;
  padding: 1px;
  width: 30px;
  transition: all 0.2s;
  cursor: pointer;
  margin: 5px;
}

.card-footer {
	border-bottom:1px solid #ddd; 
}

.card-text {
	height:9rem; font-size:85%; background-color:#eee; padding:5px; border:1px solid #ddd;
}

.cart_anchor{ float:right;vertical-align:top; background: url('../img/cart-icon.png') no-repeat center center / 100% auto;width: 32px;height: 32px; margin-top: 10px;margin-right: 15px}
.compare_anchor{ float:right;vertical-align:top; background: url('../img/compare_icon.png') no-repeat center center / 100% auto;width: 32px; height: 32px; margin-top: 10px;margin-right: 15px}
.favorite_anchor{ float:right;vertical-align:top; background: url('../img/favorite_icon.png') no-repeat center center / 100% auto;width: 32px;height: 32px; margin-top: 10px;margin-right: 15px}

.dnavig2 {
	background-image:url('../img/dnav2.gif');background-repeat: no-repeat; padding:4px 4px 4px 18px; color:#888;
}
.dnavig {
	background-image:url('../img/dnav.gif');background-repeat: no-repeat; padding:4px 4px 4px 18px; color:#888;
}
.dnavig:hover { background-color:#f8f8f8}
.dnavig0 {
	padding:4px 4px 4px 0px; 
}
.dnavig0:hover { background-color:#f8f8f8}

.height10 {min-height:7em}
.w64 {width:64px}
.center {text-align:center}
.newsdiv {height:100px; padding-top:4px; text-align:center;}
.newsdiv2 {text-align:center; font-size:90%; height:40px;}

tr.header {background-color:#eee}
div.header {background-color:#eee}
.txtbold {font-weight:bold;}
.zvyrazneni {font-size:125%; color:green;font-weight:bold;}

#myCarousel .list-group {
	position:absolute;
	top:0;
	right:0;	
	font-family: 'Exo';
}
#myCarousel .list-group-item {
	border-radius:0px; color:#000;
	cursor:pointer; border:0px; height:40px;
}
#myCarousel .list-group .active {
	background-color:#eee;	font-weight:bold;
}
@media (min-width: 992px) { 
	#myCarousel {padding-right:33.3333%;}
	#myCarousel .carousel-controls {display:none;} 	
}
@media (max-width: 991px) { 
	.carousel-caption p,
	#myCarousel .list-group {display:none;} 
}
@media (max-width: 768px) {
	#levy {font-size:150%;}	
}

@media (max-width: 1200px) {
	.footdiv {width:20px;}	
}

@media (max-width:768px) {
	#nadpiskatalog {display:block;}
	#itempopis {display:none;}
	.footer2 {display:none;}
	.item2kod {display:none;}
	#livesearch {width:250%;}	
	#searchlogo {width:75px}
	#searchinput {width:100%;}
	#searchcart {width:25px}
	#comparecnt {width:25px}
	#favcnt {width:25px}
	#adminbutton {font-size:63%; padding:2px; margin-right:2px;}
	#adm-btns-bar { text-align: right; }
	.footer-wrap ul li a { font-size: 11px; }
}

@media (min-width:768px) {
	#nadpiskatalog {display:none;}
	.item2kod {font-size:66%;}
	#searchlogo {width:40%}
	#admin-links-toggle { display: none; }
	#admin-links-plain { display: inline; }
	#admin-links { display: none !important; }
}

/* Product page layout */
.prod-price-block { margin: 12px 0 8px; }
.prod-price-block .itemcena { display: block; line-height: 1.1; }
.prod-price-block .itemcenaXS { display: block; margin-top: 2px; }

.prod-cta-btn {
	display: block !important;
	width: 100% !important;
	margin: 10px 0 6px !important;
	font-size: 20px !important;
	padding: 10px 16px !important;
	box-sizing: border-box;
}

.prod-trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 12px;
	color: #555;
	margin: 8px 0 14px;
	padding: 8px 10px;
	background: #f6fff6;
	border: 1px solid #d6ecd6;
	border-radius: 4px;
}
.prod-trust-strip span { display: flex; align-items: center; gap: 4px; }
.prod-trust-icon { color: #3a3; font-weight: bold; font-size: 14px; }

.prod-availability {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 7px 12px;
	margin-bottom: 8px;
	font-size: 14px;
}
.prod-availability div { display: flex; align-items: center; gap: 6px; }
.prod-av-label { color: #777; font-size: 12px; flex-shrink: 0; min-width: 68px; }

.prod-dodinfo { color: #06b; font-size: 13px; margin: 6px 0; }

.prod-meta { font-size: 12px; color: #777; margin: 8px 0 10px; }

.prod-secondary-actions { margin: 6px 0 10px; }

.prod-dalsi { font-size: 13px; color: #666; margin: 10px 0 4px; }

/* Search page */
.search-section-label { font-size:12px; font-weight:bold; color:#555; text-transform:uppercase; letter-spacing:1px; margin:6px 0 6px; }
.search-badges { margin-bottom:4px; }
.search-badge { margin:2px 4px 2px 0 !important; }
.nav-tabs.search-tabs { border-bottom: 3px solid #06b; margin-bottom:12px; }
.nav-tabs.search-tabs > li > a { color:#06b !important; background:#d6eaf8 !important; border:1px solid #06b !important; border-bottom:none !important; font-weight:bold; transition:background 0.15s; padding:6px 10px; font-size:13px; }
.nav-tabs.search-tabs > li > a:hover { background:#b3d7f0 !important; }
.nav-tabs.search-tabs > li.active > a,
.nav-tabs.search-tabs > li.active > a:hover,
.nav-tabs.search-tabs > li.active > a:focus { background:#06b !important; color:#fff !important; border-color:#06b !important; }
/* Product title clamp */
.item-title-clamp { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:48px; font-size:14px; }
.card-img-top { max-width:100%; max-height:150px; width:auto; height:auto; object-fit:contain; }

.nav-tabs.prod-desc-tabs { margin-top: 20px; border-bottom: 3px solid #06b; }
.nav-tabs.prod-desc-tabs > li > a {
	font-size: 14px;
	font-weight: bold;
	padding: 8px 14px;
	color: #06b !important;
	background: #d6eaf8 !important;
	border: 1px solid #06b !important;
	border-bottom: none !important;
	border-radius: 4px 4px 0 0;
	margin-right: 4px;
	transition: background 0.15s, color 0.15s;
}
.nav-tabs.prod-desc-tabs > li > a:hover { background: #b3d7f0 !important; color: #06b !important; }
.nav-tabs.prod-desc-tabs > li.active > a,
.nav-tabs.prod-desc-tabs > li.active > a:hover,
.nav-tabs.prod-desc-tabs > li.active > a:focus {
	background: #06b !important;
	color: #fff !important;
	border-color: #06b !important;
	border-bottom-color: #06b !important;
}
.prod-tab-content {
	border: 1px solid #ddd;
	border-top: none;
	padding: 20px 16px;
	border-radius: 0 0 4px 4px;
}

/* Galerie produktu */
.prod-gallery { position:relative; }

.prod-gallery-main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9f9f9;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	height: 400px;
	overflow: hidden;
	padding: 10px;
}

.prod-gallery-main img#large-image {
	max-width: 100%;
	max-height: 380px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.15s;
}

.prod-gallery-thumbs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 6px;
	padding: 8px 0 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: auto;
	scrollbar-color: #aaa #f0f0f0;
}

.prod-gallery-thumbs::-webkit-scrollbar { height: 8px; }
.prod-gallery-thumbs::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 4px; }
.prod-gallery-thumbs::-webkit-scrollbar-thumb { background:#aaa; border-radius:4px; }
.prod-gallery-thumbs::-webkit-scrollbar-thumb:hover { background: #888; }

.prod-gallery-thumbs img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border: 2px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	flex-shrink: 0;
	background: #f9f9f9;
	padding: 3px;
	transition: border-color 0.15s;
}

.prod-gallery-thumbs img:hover { border-color: #06b; }
.prod-gallery-thumbs img.thumb-active { border-color: #06b; box-shadow: 0 0 0 1px #06b; }

.prod-gallery-thumbs-wrap {
	display: flex;
	align-items: center;
	gap: 4px;
}
.prod-gallery-thumbs-wrap .prod-gallery-thumbs {
	flex: 1;
	min-width: 0;
}
.gal-arrow {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: border-color 0.15s, color 0.15s, opacity 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.gal-arrow:hover { border-color: #06b; color: #06b; }
.gal-arrow.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 767px) {
	.gal-arrow { display: none; }

	.prod-gallery-main {
		height: 280px;
	}
	.prod-gallery-main img#large-image {
		max-height: 260px;
	}
	.prod-gallery-thumbs img {
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 767px) {
	.container { padding-left: 4px !important; padding-right: 4px !important; }
	.row { margin-left: -4px !important; margin-right: -4px !important; }
	[class*="col-"] { padding-left: 4px !important; padding-right: 4px !important; }
	.params2 { margin-top:2px; margin-bottom:2px; padding-top:2px; padding-bottom:2px; font-size:17px; }
	.params2 dt, .params2 strong { padding:1px 0; font-size:17px; }
	.kat-vrstevnici { font-size: 17px !important; }
	.hr { margin:2px; }
	#left { margin-bottom:4px; }
	header .nav-tabs { display: flex; flex-wrap: wrap; }
	header .nav-tabs > li { flex: 1; text-align: center; white-space: nowrap; }
	header .nav-tabs > li.pull-right { flex: 0; margin-left: auto; }
	header table.table { margin-bottom: 0; }
	#admin-links-toggle { display: inline; }
	#admin-links-plain { display: none; }
	header .nav-tabs > li.pull-right button { font-size: 50%; padding: 2px 4px; }
	header .nav-tabs > li > a { padding: 6px 4px; font-size: 17px; display: block; }
	header #myBtn { font-size: 17px; padding: 4px 6px; }
}

/* ── Responsive fixes ──────────────────────────────────────────────────────── */

/* Product image wrapper height */
.item-img-wrap { height: 160px; }

@media (max-width: 767px) {
	/* Mensi obrazek produktu na mobilu */
	.item-img-wrap { height: 110px; }

	/* Border mezi kartami zbytecny na mobilu */
	.col-xs-6[style*="border-right"] { border-right: none !important; }

	/* Sort taby scrollovatelne misto zalamovani */
	.nav-tabs.search-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; border-bottom: none; }
	.nav-tabs.search-tabs > li { flex-shrink: 0; }

	/* Drobeckova navigace - zalamovani */
	.kat-vrstevnici { display: inline-flex; flex-wrap: wrap; align-items: center; line-height: 1.8; }
}

@supports (-moz-appearance: none) {
  @media (max-width: 767px) {
    header .nav-tabs { flex-wrap: wrap; }
    header .nav-tabs > li > a { font-size: 11px; padding: 5px 4px; }
    header #myBtn { font-size: 11px; padding: 3px 5px; }
    #searchbtn { font-size: 11px; padding: 0 6px; height: 30px; }
    #qsearch { height: 30px; font-size: 13px; padding: 4px 6px; }
    #searchlogo { width: 50px; }
    #home-tabs > li > a { font-size: 12px; padding: 5px 6px; }
  }
}
