/* ==========================================================================
   moredarcekov.sk – redesign 2026
   Načítava sa v header.tpl ako posledný (po skin25-toys), takže prepisuje
   farby a rozloženie skinu. Obsah (logo, slideshow, bannery, kategórie)
   zostáva riadený z administrácie OpenCartu.
   ========================================================================== */

:root {
	--md-width: 1400px; /* max. šírka layoutu */
	--md-red: #f0384f;
	--md-red-dark: #d9263d;
	--md-red-soft: #fff0f2;
	--md-navy: #1d2b4f;
	--md-text: #3d465c;
	--md-muted: #8a92a6;
	--md-line: #eceef3;
	--md-bg-soft: #fbf7f5;
	--md-mint: #ebf7f4;
	--md-teal: #23a99a;
	--md-star: #f6a823;
	--md-radius: 16px;
	--md-shadow: 0 4px 18px rgba(29, 43, 79, .07);
	--md-shadow-hover: 0 10px 28px rgba(29, 43, 79, .13);
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */
body {
	background: #fff;
	color: var(--md-text);
	font-family: 'Nunito', Arial, Helvetica, sans-serif;
	font-size: 14px;
}
body, button, select, input, .form-control, .menu_label,
.btn-default, .btn-primary, .price, .price-new, .price-old, .price-reg,
h1, h2, h3, h4, h5, h6, .panel-heading, #features .f-title, .box-category-home .name,
#menu #homepage a, #menu .main-menu > li > a {
	font-family: 'Nunito', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6, .panel-heading, #features .f-title, .box-category-home .name,
#menu #homepage a, #menu .main-menu > li > a, .nav-tabs > li > a, legend, .sidebar-nav > .sidebar-title {
	text-transform: none;
	letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6, .panel-default > .panel-heading, .product-thumb h4 a, legend {
	color: var(--md-navy);
}
a, a:focus, .list-group a { color: var(--md-navy); }
a:hover, .breadcrumb a:hover, .list-group a:hover, .list-group a.active { color: var(--md-red); }
small, #content p, .breadcrumb a, .cat-description { color: var(--md-text); }

/* Hlavička a top lišta v rovnakej šírke ako obsah (layout „boxed“ dáva headeru 100 %) */
#md-topbar > .container, header#md-header > .container, .wrapper.boxed header#md-header .container,
#menu > .container {
	width: 100%;
	max-width: var(--md-width);
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}
footer { opacity: 1 !important; }

/* Širší layout: téma má pri „boxed“ pevne 1170px, tu max. 1400px */
@media (min-width: 1200px) {
	.wrapper.boxed > .container,
	.wrapper.boxed > #title_above_content > .container,
	.wrapper.boxed #features .container,
	.wrapper.boxed #information .container,
	.wrapper.boxed #powered .container,
	.wrapper.boxed #footer_custom .container {
		width: calc(100% - 40px);
		max-width: var(--md-width);
	}
	#md-topbar > .container, header#md-header > .container, .wrapper.boxed header#md-header .container,
	#menu > .container {
		width: calc(100% - 40px);
	}
}

/* Nadpisy sekcií (moduly na homepage, kategórie…) */
#content h1, #content h2 { padding-bottom: 0; }
#content h1:before, #content h2:before,
#content h1::before, #content h2::before { display: none; border: 0; }
#content .panel-default > .panel-heading,
#content .panel-heading.module-heading {
	background: transparent;
	border: 0;
	padding: 0 30px;
	text-align: left;
}
#content .panel-heading h2,
#content > h1 {
	display: inline-block;
	position: relative;
	margin: 0 0 22px;
	font-size: 28px;
	font-weight: 800;
	color: var(--md-navy);
	text-align: left;
}
#content .panel-heading h2:after {
	content: "\f004";
	font-family: 'FontAwesome';
	font-size: 16px;
	font-weight: normal;
	color: var(--md-red);
	margin-left: 12px;
	vertical-align: 6px;
	opacity: .85;
}
#content .panel, #content .panel-default {
	background: transparent;
	border: 0;
	box-shadow: none;
}

/* Tlačidlá */
.btn { border-radius: 999px !important; }
.btn-primary, #cart .btn-primary, #information a.btn-primary, #sidebar-wrapper-contact a.btn-primary {
	background: var(--md-red);
	border: 2px solid var(--md-red);
	color: #fff;
	font-weight: 700;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, #cart .btn-primary:hover,
#information a.btn-primary:hover, #sidebar-wrapper-contact a.btn-primary:hover {
	background: var(--md-red-dark);
	border: 2px solid var(--md-red-dark);
	color: #fff;
}
.btn-default, #cart .btn-default {
	background: #fff;
	border: 2px solid var(--md-line);
	color: var(--md-navy);
	font-weight: 700;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, #cart .btn-default:hover {
	background: var(--md-red-soft);
	border: 2px solid var(--md-red);
	color: var(--md-red);
}
.pagination > li > a, .pagination > li > span { border-radius: 10px !important; }
.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover, .pagination > .active > span:hover {
	background: var(--md-red);
	border-color: var(--md-red);
}

/* Dropdowny (účet, košík, menu) – svetlé namiesto tyrkysových */
.dropdown-menu, .dropdown-menus, #cart .dropdown-menu, .my-account-dropdown-menu li {
	background-color: #fff;
}
.dropdown-menu, #cart .dropdown-menu, #menu .dropdown-menus {
	border: 1px solid var(--md-line);
	border-radius: 14px;
	box-shadow: var(--md-shadow-hover) !important;
	overflow: hidden;
}
.dropdown-menu a, #top .dropdown-menu a, .dropdown-menu a:hover,
#cart span.name a, #cart span.quantity, #cart .table.cart-total > tbody > tr > td,
#cart .dropdown-menu li p, #cart span.price, #cart .table.cart-total > tbody > tr > td:first-child {
	color: var(--md-navy);
}
.dropdown-menu li, .dropdown-menus li, #cart .table > tbody > tr > td, #cart .checkout {
	border-color: var(--md-line);
}
.my-account-dropdown-menu li.logout, #cart .checkout { background-color: var(--md-bg-soft); }
.my-account-dropdown-menu li:nth-child(2n) { border-left: 1px solid var(--md-line); }
.my-account-dropdown-menu i, #cart button.item-remove { color: var(--md-red) !important; }
.my-account-dropdown-menu li a:hover { background: var(--md-red-soft); }

/* Bočné panely (Informácie, mobilné menu) */
#sidebar-wrapper, #sidebar-wrapper-contact, #menu-mobile { background-color: #fff; }
.sidebar-nav > .sidebar-title { color: var(--md-navy); background: var(--md-red-soft); }
.sidebar-nav li a, #sidebar-wrapper-contact div, .sidebar-nav h5 { color: var(--md-navy); }
.sidebar-nav li a:hover { color: var(--md-red); }
.sidebar-nav.list-group li { border-bottom: 1px solid var(--md-line); }
#menu-toggle-close span, #contact-toggle-close span, #menu-mobile-toggle-close span { color: var(--md-red); }
.accordion li.dcjq-parent-li > a + .dcjq-icon { color: var(--md-red); }

/* Oznam „eshop je na predaj“ */
.content_header_topleft { background-color: var(--md-red-soft) !important; }

/* --------------------------------------------------------------------------
   Top lišta
   -------------------------------------------------------------------------- */
#md-topbar {
	background: var(--md-bg-soft);
	border-bottom: 1px solid var(--md-line);
	font-size: 12px;
	color: var(--md-navy);
}
#md-topbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}
#md-topbar ul { margin: 0; padding: 0; }
#md-topbar .md-usp { display: flex; flex: 1; justify-content: space-around; }
#md-topbar .md-usp li { padding: 0 10px; }
#md-topbar .md-usp i { color: var(--md-red); margin-right: 6px; font-size: 14px; }
#md-topbar .md-toplinks { white-space: nowrap; }
#md-topbar .md-toplinks li + li { border-left: 1px solid #d9dce4; }
#md-topbar .md-toplinks li { padding: 0 10px; }
#md-topbar a { color: var(--md-navy); }
#md-topbar a:hover { color: var(--md-red); }
@media (max-width: 991px) {
	#md-topbar .md-usp li:nth-child(3) { display: none; }
}

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */
header#md-header {
	background: #fff;
	min-height: 0;
	padding: 18px 0;
}
#md-header .md-header-row {
	display: flex;
	align-items: center;
	gap: 28px;
}
#md-header #logo {
	flex: 0 0 auto;
	margin: 0;
	max-height: none;
	line-height: 1;
	text-align: left;
	width: auto;
	max-width: 280px;
}
#md-header #logo img { max-height: 70px; max-width: 100%; width: auto; height: auto; }
#md-header .md-search { flex: 1 1 0; min-width: 0; max-width: 560px; margin: 0 auto; }

/* Vyhľadávanie */
#md-header #search {
	margin: 0;
	position: relative;
	display: flex;
	width: 100%;
	background: #fff;
	border: 1.5px solid #e3e5eb;
	border-radius: 999px;
	padding: 4px;
	transition: border-color .15s, box-shadow .15s;
}
#md-header #search:focus-within { border-color: var(--md-red); box-shadow: 0 0 0 4px rgba(240, 56, 79, .1); }
#md-header #search .form-control {
	flex: 1;
	height: 40px;
	border: 0;
	box-shadow: none;
	background: transparent;
	padding: 0 16px;
	font-size: 14px;
	color: var(--md-navy);
	border-radius: 999px;
}
#md-header #search .form-control::placeholder { color: var(--md-muted); }
#md-header #search .input-group-btn { width: auto; }
#md-header #search .btn {
	width: 48px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px !important;
	background: var(--md-red);
	color: #fff;
	font-size: 16px;
}
#md-header #search .btn:hover { background: var(--md-red-dark); }
#md-header #livesearch_search_results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 1002;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 14px;
	box-shadow: var(--md-shadow-hover);
}
#md-header #livesearch_search_results li { border: 0; }
#md-header #livesearch_search_results li a { display: block; padding: 8px 18px; color: var(--md-navy); }
#md-header #livesearch_search_results li a:hover,
#md-header #livesearch_search_results li.highlighted a { background: var(--md-red-soft); color: var(--md-red); }

/* Účet / Obľúbené / Košík */
#md-header .md-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 22px;
}
#md-header .md-action > a, #md-header a.md-action {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--md-navy);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
#md-header .md-action i { font-size: 22px; color: var(--md-navy); transition: color .15s; }
#md-header .md-action:hover i, #md-header .md-action > a:hover i { color: var(--md-red); }
#md-header .md-action-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
#md-header .my-account-dropdown-menu { margin-top: 12px; min-width: 240px; padding: 0; }

/* Košík (common/cart.tpl ostáva pôvodný, upravené len CSS) */
#md-header #cart {
	float: none;
	width: auto;
	height: auto;
	padding: 0;
	border: 0 !important;
	position: relative;
}
#md-header #cart > .btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 4px;
	overflow: visible;
	border-radius: 0 !important;
	color: var(--md-navy);
	box-shadow: none;
}
#md-header #cart > .btn:before {
	content: "\f07a";
	font-family: 'FontAwesome';
	font-size: 24px;
	line-height: 1;
	color: var(--md-navy);
	transition: color .15s;
}
#md-header #cart > .btn:hover:before { color: var(--md-red); }
#md-header #cart #cart-tt { position: absolute; top: -9px; left: 50%; margin-left: 6px; }
#md-header #cart #cart-total {
	width: auto;
	height: auto;
	min-width: 20px;
	padding: 2px 6px;
	border-radius: 999px;
	background: var(--md-red);
	color: #fff;
	font-family: 'Nunito', Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
	white-space: nowrap;
}
#md-header #cart span.button-text { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--md-navy); }
#md-header #cart .dropdown-menu { margin-top: 14px; right: -10px; }

/* Mobil */
#md-header .md-burger { font-size: 24px; color: var(--md-navy); }
@media (max-width: 1199px) {
	#md-header .md-actions { gap: 16px; }
	#md-header .md-action-text { display: none; }
	#md-header #cart span.button-text { display: none; }
}
@media (max-width: 767px) {
	header#md-header { padding: 15px 0; }
	#md-header .md-header-row { flex-wrap: wrap; gap: 15px 12px; }
	/* logo sa zmenší, aby menu + logo + ikony ostali v jednom riadku */
	#md-header #logo { flex: 1 1 0; min-width: 0; max-width: none; }
	#md-header #logo img { max-height: 40px; max-width: 100%; }
	#md-header .md-burger { flex: 0 0 auto; }
	#md-header .md-search { order: 10; flex: 1 1 100%; max-width: none; }
	#md-header .md-actions { flex: 0 0 auto; gap: 14px; }
	#md-header .md-action i { font-size: 20px; }
	#md-header #cart > .btn:before { font-size: 21px; }
	#md-header .md-actions { padding-right: 8px; }
	#md-header #cart #cart-tt { left: auto; right: -12px; margin-left: 0; }
}
/* --------------------------------------------------------------------------
   Hlavné menu – kategórie v jednom riadku
   -------------------------------------------------------------------------- */
#menu {
	background: #fff;
	border-top: 1px solid var(--md-line);
	border-bottom: 1px solid var(--md-line);
	min-height: 0;
}
#menu .navbar-collapse { padding: 0; }
#menu .main-menu {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}
#menu .main-menu > li,
#homepage, .menu_oc, #menu_ver, #menu_hor, #menu_brands, .menu_links, #menu_custom_menu, .menu_custom_block {
	margin: 0;
	border: 0 !important;
	background: transparent !important;
}
#menu .main-menu > li.homepage-dontshow { display: none; }
#menu .main-menu > li > a,
#menu .menu_oc > a, #menu .menu_links a {
	position: relative;
	padding: 0 12px;
	line-height: 54px;
	font-size: 15px;
	font-weight: 700;
	color: var(--md-navy) !important;
	white-space: nowrap;
	letter-spacing: 0;
}
#menu .main-menu > li > a:after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	height: 3px;
	border-radius: 3px;
	background: var(--md-red);
	transform: scaleX(0);
	transition: transform .2s;
}
#menu .main-menu > li:hover > a { color: var(--md-red) !important; }
#menu .main-menu > li:hover > a:after { transform: scaleX(1); }
@media (min-width: 768px) and (max-width: 1199px) {
	#menu .main-menu > li > a { padding: 0 7px; font-size: 13px; }
	#menu .main-menu > li > a:after { left: 7px; right: 7px; }
}

/* Podmenu */
#menu .dropdown-menus { margin-top: -6px; background-color: #ffffff;}
#menu .dropdown-menus a { min-width: 240px; padding: 11px 22px; color: var(--md-navy); font-weight: 600; }
#menu .dropdown-menus a:hover, #menu .dropdown-menus li a:hover { color: var(--md-red); background: var(--md-red-soft); }
#menu .dropdown-menus li, .menu_oc ul > li { border-bottom: 1px solid var(--md-line); }
#menu .dropdown-menus li:last-child { border-bottom: 0; }

/* Lepivé menu */
.is-sticky #menu { background: #fff; box-shadow: 0 4px 16px rgba(29, 43, 79, .08); }
.is-sticky #logo-menu-container { height: 54px; padding: 4px 24px 4px 0; }
.is-sticky #logo-menu img { max-height: 40px; }

/* Lišta pod menu (text z adminu) */
#custom-bar-wrapper { background: var(--md-red-soft) !important; color: var(--md-navy) !important; }
#custom-bar-wrapper h3, #custom-bar-wrapper h3 span { text-transform: uppercase; margin: 0px 0; font-size: 18px; color: var(--md-navy) !important; }

/* --------------------------------------------------------------------------
   Obsah – všeobecné
   -------------------------------------------------------------------------- */
#content { background: transparent; }
#menu.navbar { margin-bottom: 24px; }
.common-home #content { padding-top: 0; }
@media (max-width: 767px) {
	#menu.navbar { min-height: 0; margin-bottom: 12px; border: 0; }
}
.breadcrumb { background: transparent; padding-left: 0;     float: right;     margin-top: 0;}

/* Slideshow (hero) – obrázky sa menia v Design > Bannery */
.slideshow-module {
	border-radius: 22px;
	overflow: hidden;
	margin-bottom: 40px;
	box-shadow: var(--md-shadow);
}
.slideshow-module .owl-wrapper-outer { border-radius: 22px; }
.slideshow-module .item img { width: 100%; border-radius: 22px; }
.slideshow-module .owl-controls .owl-buttons div {
	width: 44px;
	height: 44px;
	line-height: 44px;
	margin-top: -22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92) !important;
	color: var(--md-navy) !important;
	box-shadow: var(--md-shadow);
	text-align: center;
}
.slideshow-module .owl-controls .owl-buttons div:hover { color: var(--md-red) !important; }
.slideshow-module .owl-controls .owl-buttons i.fa-5x { font-size: 16px; line-height: 44px; }
.slideshow-module .owl-controls .owl-pagination { /*position: absolute;*/ left: 0; right: 0; bottom: 14px; }

/* Bodky carouselov */
.owl-controls .owl-page span { background: #dfe2e9 !important; width: 9px; height: 9px; }
.owl-controls .owl-page.active span { background: var(--md-red) !important; width: 22px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Kategórie na homepage (modul UP! Theme Category Wall)
   -------------------------------------------------------------------------- */
#homepage-category-wall { margin-bottom: 40px; }
#homepage-category-wall .box-category-home {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 14px;
	margin: 0;
}
@media (min-width: 992px) {
	#homepage-category-wall .box-category-home { grid-template-columns: repeat(9, 1fr); }
}
#homepage-category-wall .box-category-home:before,
#homepage-category-wall .box-category-home:after { display: none; }
#homepage-category-wall .box-category-home > div {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
#homepage-category-wall .box-category-home > div > a {
	display: block;
}
#homepage-category-wall .box-category-home > div {
	display: flex;
	flex-direction: column;
	border-radius: var(--md-radius);
	overflow: hidden;
	background: #fdeef0;
	transition: transform .2s, box-shadow .2s;
}
#homepage-category-wall .box-category-home > div:hover { transform: translateY(-4px); box-shadow: var(--md-shadow-hover); }
#homepage-category-wall .box-category-home > div:nth-child(9n+2) { background: #fdf3dc; }
#homepage-category-wall .box-category-home > div:nth-child(9n+3) { background: #e3f5f1; }
#homepage-category-wall .box-category-home > div:nth-child(9n+4) { background: #eef4df; }
#homepage-category-wall .box-category-home > div:nth-child(9n+5) { background: #e4eefb; }
#homepage-category-wall .box-category-home > div:nth-child(9n+6) { background: #efe8fb; }
#homepage-category-wall .box-category-home > div:nth-child(9n+7) { background: #fde9ef; }
#homepage-category-wall .box-category-home > div:nth-child(9n+8) { background: #e6edfb; }
#homepage-category-wall .box-category-home > div:nth-child(9n+9) { background: #fde8e3; }
#homepage-category-wall .box-category-home .image {
	margin: 0;
	padding: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
#homepage-category-wall .box-category-home .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
#homepage-category-wall .box-category-home > div:hover .image img { transform: scale(1.05); }
#homepage-category-wall .box-category-home .name {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin: 0;
	padding: 10px 8px;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--md-navy) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
	overflow: visible;
}
#homepage-category-wall .box-category-home > div:hover .name { color: var(--md-red) !important; }
#homepage-category-wall .box-category-home .subcat { display: none; }
@media (max-width: 767px) {
	#homepage-category-wall .box-category-home { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* --------------------------------------------------------------------------
   Produktové karty (moduly, kategórie, vyhľadávanie)
   -------------------------------------------------------------------------- */
.product-module { margin-bottom: 36px; }
.product-items .owl-wrapper-outer { padding: 6px 0 14px; }
.product-layout-slider.product-grid { padding-left: 9px; padding-right: 9px; }

.product-grid .product-thumb {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px 10px 16px;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.product-grid .product-thumb:hover { box-shadow: var(--md-shadow-hover); transform: translateY(-3px); }
.product-grid .product-thumb .image {
	position: static;
	border-radius: 12px;
	overflow: hidden;
	background: #f7f8fa;
}
.product-grid .product-thumb .image a { position: relative; }
.product-grid .product-thumb .image img { border: 0 !important; border-radius: 12px; }

/* skryť pôvodné hover prvky témy */
.product-grid .flybar, .product-grid .compare, .product-grid .info,
#content .box-product .compare, #content .box-product .info { display: none !important; }

/* Štítky (zľava / novinka) */
.product-grid span.badge-wrapper { top: 18px; left: 18px; }
.product-grid span.badge.sale, .product-grid span.badge.new,
span.badge.sale, span.badge.new {
	display: inline-block;
	float: none;
	width: auto;
	height: auto;
	padding: 3px 10px;
	margin: 0 6px 6px 0;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 18px;
	color: #fff;
}
span.badge.sale { background-color: var(--md-red) !important; }
span.badge.new { background-color: var(--md-teal) !important; }

/* Text karty */
.product-grid .product-thumb .caption {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	padding: 12px 6px 0;
	text-align: left;
}
.product-grid .name, .product-grid .price, .product-grid .rating, .product-grid .product_box_brand,
#content .box-product .name, #content .box-product .price, #content .box-product .rating { text-align: left; }
.product-grid .product-thumb h4 { margin: 0 0 6px; line-height: 1.3; min-height: 2.6em; }
.product-grid .product-thumb h4 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--md-navy);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}
.product-grid .product-thumb h4 a:hover { color: var(--md-red); }
.product-grid .product_box_brand { margin: 0 0 4px; }
.product-grid .product_box_brand:empty { display: none; }
.product-thumb .rating { padding: 0 0 2px; }
.rating .fa-star { color: var(--md-star) !important; font-size: 13px; }
.rating .fa-star-o { color: #e3e5ea; font-size: 13px; }

#content .product-grid .product-thumb p.price,
.product-grid .product-thumb p.price {
	margin: auto 0 12px;
	padding-top: 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--md-navy);
}
.price-new { color: var(--md-red) !important; font-weight: 800; }
.price-old, .product-thumb .price-tax { color: var(--md-muted) !important; font-size: 12px; font-weight: 400; margin-left: 6px; }

/* Do košíka + srdiečko */
.product-grid .product-list-buttons { display: flex; align-items: center; padding: 0; margin: 0; }
.product-grid .caption .cart { display: block !important; opacity: 1 !important; }
.product-grid .caption .cart .btn {
	padding: 8px 22px;
	font-size: 13px;
	line-height: 18px;
	border-width: 0 !important;
}
.product-grid .product-thumb .wishlist,
#content .product-grid .product-thumb button.wishlist {
	top: auto !important;
	right: 16px !important;
	bottom: 16px;
	left: auto;
	width: 34px;
	height: 34px;
	padding: 0;
	opacity: 1 !important;
	border: 1.5px solid var(--md-line) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--md-navy) !important;
	font-size: 14px;
	line-height: 31px;
	z-index: 6;
}
.product-grid .product-thumb .wishlist i:before { content: "\f08a"; }
.product-grid .product-thumb .wishlist:hover { border-color: var(--md-red) !important; color: var(--md-red) !important; background: var(--md-red-soft) !important; }
.product-grid .product-thumb .wishlist:hover i:before { content: "\f004"; }

/* Zoznamové zobrazenie v kategórii */
.product-list .product-thumb {
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: var(--md-radius);
	box-shadow: var(--md-shadow);
	margin-bottom: 18px;
}
.product-list .product-thumb .image img { border-radius: 12px; }

/* Ľavý/pravý stĺpec – box kategórií */
#column-left .panel-heading, #column-right .panel-heading,
#column-left .panel-default > .panel-heading h2, #column-right .panel-default > .panel-heading h2 {
	color: var(--md-navy) !important;
	letter-spacing: 0;
	font-weight: 800;
}
#column-left .panel-default.panel-category a, #column-right .panel-default.panel-category a { color: var(--md-navy); }
#column-left .panel-default.panel-category .cat-mod-child a, #column-right .panel-default.panel-category .cat-mod-child a,
#column-left .accordion li ul li a.list-group-item { color: var(--md-text); }
#column-left .panel-default.panel-category a:hover, #column-right .panel-default.panel-category a:hover,
#column-left .panel-default.panel-category a.list-group-item.active, #column-right .panel-default.panel-category a.list-group-item.active,
#column-left .panel-default.panel-category .cat-mod-child a:hover { color: var(--md-red) !important; }

/* Filter / zoradenie v kategórii */
.product-filter { border-radius: 14px; background: var(--md-bg-soft) !important; border: 0 !important; margin-bottom: 20px;     margin-left: -5px;
    margin-right: -5px;}

/* --------------------------------------------------------------------------
   Promo bannery (UP! Theme Banner modul) – napr. 2 vedľa seba
   -------------------------------------------------------------------------- */
.up-theme-banner { margin-bottom: 36px; display: flex; flex-wrap: wrap; gap: 20px; }
.up-theme-banner .up-theme-banner-item {
	flex: 1 1 300px;
	width: auto;
	padding: 0;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--md-shadow);
}
.up-theme-banner .up-theme-banner-item img { width: 100%; transition: transform .3s; }
.up-theme-banner .up-theme-banner-item:hover img { transform: scale(1.03); }
.banner-module, .carousel-module { border-radius: 20px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Pätička – výhody (#features), informácie, copyright
   -------------------------------------------------------------------------- */
footer { background: #fff; }
#features {
	background: transparent !important;
	border: 0 !important;
	padding: 10px 0 34px;
}
#features > .container > .row {
	margin: 0!important;
	padding: 18px 10px;
	background: var(--md-mint);
	border-radius: 18px;
}
#features .up-theme-modal { padding: 8px 15px; }
#features .up-theme-modal + .up-theme-modal { border-left: 1px solid rgba(35, 169, 154, .18); }
#features .f-content {
	display: grid;
	grid-template-columns: 46px 1fr;
	column-gap: 14px;
	align-items: center;
	text-align: left;
}
#features span.f-icon {
	grid-row: span 2;
	width: 46px;
	height: 46px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	text-align: center;
	line-height: 46px;
}
#features span.f-icon i { font-size: 20px; margin: 0; line-height: 46px; color: var(--md-teal) !important; }
#features .f-title { display: block; margin: 0; font-size: 14px; font-weight: 700; color: var(--md-navy) !important; }
#features span.f-subtitle { display: block; font-size: 13px; color: var(--md-text) !important; }
#features span.f-subtitle a { color: var(--md-text); }
@media (max-width: 991px) {
	#features .up-theme-modal + .up-theme-modal { border-left: 0; }
}

#information {
	background: var(--md-bg-soft) !important;
	border-top: 0 !important;
	color: var(--md-text) !important;
	padding: 40px 0 24px;
}
#information h5 { color: var(--md-navy) !important; font-size: 16px; font-weight: 800; text-transform: none; margin-bottom: 14px; }
#information a { color: var(--md-text) !important; }
#information a:hover { color: var(--md-red) !important; }
#information li { padding: 3px 0; }

#powered {
	background: var(--md-navy) !important;
	border-top: 0 !important;
	color: #c9cfdd !important;
	padding: 14px 0;
	font-size: 13px;
}
#powered p { margin: 0; color: #c9cfdd; }
#powered a { color: #fff !important; }
#powered a:hover { color: #ffb3bd !important; }

#toTop { background-color: var(--md-red) !important; border-radius: 50%; }

/* ==========================================================================
   Kategória – nadpis a podkategórie
   ========================================================================== */
.cat-description h1,
#content .cat-description h1 {
	margin: 0 0 18px;
	font-size: 30px;
	font-weight: 800;
	color: var(--md-navy);
	text-align: left;
}
.product-grid .product-thumb .image { background: #fff; }

/* Podkategórie ako kartičky */
#content .category-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin: 0 0 26px;
	padding: 0;
}
#content .category-list:before, #content .category-list:after { display: none; }
#content .category-list > div {
	float: none;
	width: auto;
	padding: 0;
	margin: 0;
}
#content .category-list a { display: block; height: 100%; }
#content .category-list .image {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	height: 100%;
	margin: 0;
	padding: 12px 10px 14px;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 14px;
	text-align: center;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
#content .category-list .image img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 10px;
}
#content .category-list .subcatname {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--md-navy);
}
#content .category-list a:hover .image { border-color: #f5a3ae; box-shadow: var(--md-shadow); transform: translateY(-2px); }
#content .category-list a:hover .subcatname { color: var(--md-red); }

/* ==========================================================================
   Produktová stránka
   ========================================================================== */
/* Hlavný obrázok + náhľady */
.product-left .image-main img,
.product-left .thumbnails img {
	border: 1px solid var(--md-line) !important;
	border-radius: var(--md-radius);
	background: #fff;
}
.product-left .thumbnails li:not(.image-main) img { border-radius: 10px; }
.product-left .thumbnails a:hover img { border-color: #f5a3ae !important; }

/* Nákupný box */
.product-buy .product-buy-wrapper {
	padding: 26px 28px;
	background: var(--md-bg-soft);
	border-radius: 18px;
}
#content .product-buy h1 {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--md-navy);
	text-align: left;
}
.product-buy hr { border-color: #ece6e2; margin: 16px 0; }
.product-buy ul.pf { margin: 0; color: var(--md-muted); font-size: 13px; }
.product-buy ul.pf li { padding: 2px 0; }
.product-buy ul.pf span { color: var(--md-navy); font-weight: 700; }
.product-buy ul.pf .stock {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	background: #e3f5f1;
	color: #17705f;
}
.product-buy ul.pp { margin: 0; color: var(--md-muted); font-size: 13px; }
#content .product-buy ul.pp h2 { margin: 0 0 2px; }
.product-buy .price-reg,
.product-buy .price-new {
	font-size: 34px;
	font-weight: 900;
	color: var(--md-navy);
	letter-spacing: -.5px;
}
.product-buy .price-new { color: var(--md-red) !important; }
.product-buy .price-old { font-size: 18px; }
.product-buy .rating p { margin: 0; font-size: 13px; }
.product-buy .rating a { margin-right: 12px; color: var(--md-text); }
.product-buy .rating a:hover { color: var(--md-red); }

/* Množstvo + Do košíka */
.product-buy .qty .control-label { font-size: 13px; font-weight: 700; color: var(--md-navy); }
.product-buy .qty { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.product-buy .qty br { display: none; }
.product-buy .qty .control-label { flex: 0 0 100%; margin-bottom: 8px; }
.product-buy input.dec,
.product-buy input.inc,
.product-buy input#input-quantity {
	height: 48px;
	margin: 0;
	background: #fff !important;
	border: 1.5px solid #e1e4ea !important;
	color: var(--md-navy) !important;
	font-size: 18px;
	font-weight: 700;
	box-shadow: none;
}
.product-buy input.dec { width: 44px; border-radius: 999px 0 0 999px !important; border-right: 0 !important; }
.product-buy input.inc { width: 44px; border-radius: 0 999px 999px 0 !important; border-left: 0 !important; }
.product-buy input#input-quantity { width: 52px; border-radius: 0 !important; text-align: center; padding: 0; }
.product-buy input.dec:hover, .product-buy input.inc:hover { color: var(--md-red) !important; background: var(--md-red-soft) !important; }
.product-buy #button-cart {
	height: 48px;
	margin-left: 14px;
	padding: 0 38px;
	font-size: 16px;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(240, 56, 79, .28);
}
.product-buy .btn-default.wcs {
	width: 40px;
	height: 40px;
	margin-top: 14px;
	padding: 0;
	background: #fff;
	border: 1.5px solid #e1e4ea !important;
	border-radius: 50% !important;
	color: var(--md-navy);
	line-height: 37px;
}
.product-buy .btn-default.wcs:hover { border-color: var(--md-red) !important; color: var(--md-red); background: var(--md-red-soft); }

/* Záložky Popis / Recenzie */
#product-tabs { margin-top: 30px; }
#product-tabs .nav-tabs { border-bottom: 2px solid var(--md-line); }
#product-tabs .nav-tabs > li > a,
#product-tabs .nav-tabs > li > a:hover,
#product-tabs .nav-tabs > li.active > a,
#product-tabs .nav-tabs > li.active > a:hover,
#product-tabs .nav-tabs > li.active > a:focus {
	margin-bottom: -2px;
	padding: 12px 20px;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--md-muted);
}
#product-tabs .nav-tabs > li > a:hover { color: var(--md-navy); }
#product-tabs .nav-tabs > li.active > a,
#product-tabs .nav-tabs > li.active > a:hover,
#product-tabs .nav-tabs > li.active > a:focus { color: var(--md-navy); border-bottom-color: var(--md-red) !important; }
#product-tabs .tab-content { padding: 22px 4px; font-size: 15px; line-height: 1.65; }
#content #product-tabs .tab-content p,
#product-tabs .tab-content li { color: var(--md-text); }
#product-tabs .tab-content ul li { margin-bottom: 4px; }
#product-tabs .tab-content ul li::marker { color: var(--md-red); }

/* Predchádzajúci / ďalší produkt (bočné šípky) */
.prev, .next { background-color: #fff !important; box-shadow: var(--md-shadow-hover) !important; }
.prev-arrow i, .next-arrow i, .prev-arrow a, .next-arrow a { color: var(--md-navy) !important; }
.prev-name, .next-name { background-color: #fff !important; border-top: 1px solid var(--md-line) !important; color: var(--md-navy) !important; }
.prev-name:hover, .next-name:hover { color: var(--md-red) !important; }

@media (max-width: 767px) {
	.product-buy .product-buy-wrapper { padding: 20px 18px; margin-top: 16px; }
	#content .product-buy h1 { font-size: 23px; }
	.product-buy #button-cart { flex: 1; padding: 0 20px; }
	#content .category-list { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Kontakt (information/contact)
   ========================================================================== */
.information-contact #content > h1 { display: block; margin: 0 0 24px; font-size: 30px; }
.information-contact #content > .panel > .panel-body { padding: 0; }
.information-contact #content > .panel > .panel-body > .row { display: flex; flex-wrap: wrap; row-gap: 20px; }

/* ľavý stĺpec – kontaktné údaje */
.information-contact #content > .panel > .panel-body > .row > .col-sm-6:first-child {
	position: relative;
	z-index: 0;
	padding: 26px 43px; /* 15px medzera stĺpca + 28px vnútorné odsadenie karty */
	font-size: 15px;
	line-height: 1.75;
	color: var(--md-text);
}
.information-contact #content > .panel > .panel-body > .row > .col-sm-6:first-child:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 15px;
	right: 15px;
	z-index: -1;
	background: var(--md-bg-soft);
	border-radius: 18px;
}
.information-contact #content > .panel > .panel-body > .row > .col-sm-6:first-child b {
	display: inline-block;
	margin-bottom: 2px;
	font-size: 17px;
	font-weight: 800;
	color: var(--md-navy);
}
.information-contact #content .content_header_topleft {
	margin: 0 0 22px !important;
	padding: 14px 16px !important;
	border-radius: 12px;
	line-height: 1.5;
}

/* pravý stĺpec – formulár ako karta */
.information-contact #content form.form-horizontal {
	padding: 26px 28px;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 18px;
	box-shadow: var(--md-shadow);
}
.information-contact form fieldset > b {
	display: block;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--md-line);
	font-size: 18px;
	font-weight: 800;
	color: var(--md-navy);
}
.information-contact .form-horizontal .form-group { margin: 0 0 14px; }
.information-contact .form-horizontal .form-group > [class*="col-sm-"] { float: none; width: 100%; padding: 0; }
.information-contact .form-horizontal .control-label {
	display: block;
	margin-bottom: 6px;
	padding-top: 0;
	text-align: left;
	font-size: 13px;
	font-weight: 700;
	color: var(--md-navy);
}
.information-contact .form-group.required .control-label:before { color: var(--md-red); }
.information-contact .form-control {
	height: 44px;
	padding: 8px 14px;
	background: #fff !important;
	border: 1.5px solid #e1e4ea !important;
	border-radius: 10px !important;
	box-shadow: none;
	font-size: 14px;
	color: var(--md-navy);
	transition: border-color .15s, box-shadow .15s;
}
.information-contact textarea.form-control { height: 150px; resize: vertical; }
.information-contact .form-control:focus {
	border-color: var(--md-red) !important;
	box-shadow: 0 0 0 4px rgba(240, 56, 79, .1);
	outline: 0;
}
.information-contact .text-danger { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--md-red); }
.information-contact form .buttons { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--md-line); }
.information-contact form .buttons .pull-right { float: none !important; font-size: 13px; color: var(--md-text); line-height: 1.5; }
.information-contact form .buttons input[type="checkbox"] { accent-color: var(--md-red); width: 17px; height: 17px; margin: 0 6px 0 0; vertical-align: -3px; }
.information-contact form .buttons br { display: none; }
.information-contact form .buttons .btn-primary { display: block; width: 100%; min-height: 46px; margin-top: 16px; font-size: 16px; }

@media (max-width: 767px) {
	.information-contact #content > .panel > .panel-body > .row > .col-sm-6 { flex: 1 1 100%; width: 100%; }
	.information-contact #content > .panel > .panel-body > .row > .col-sm-6:first-child { padding: 20px 33px; }
	.information-contact #content form.form-horizontal { padding: 20px 18px; }
}

/* ==========================================================================
   Košík + pokladňa (checkout/cart, checkout/checkout) – len CSS,
   šablóny ostávajú štandardné z OpenCartu
   ========================================================================== */
.checkout-cart #content > h1,
.checkout-checkout #content > h1 { display: block; margin: 0 0 24px; font-size: 30px; }

/* Hlášky v pokladni/košíku – téma ich vyťahuje absolútne na vrch stránky */
.checkout-cart .alert,
.checkout-checkout .alert {
	position: static;
	width: auto;
	height: auto;
	margin: 0 0 18px;
	padding: 14px 44px 14px 18px;
	border: 0;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
}
.checkout-cart .alert-warning, .checkout-checkout .alert-warning { background: #fff6e0; color: #7a5300; }
.checkout-cart .alert-danger, .checkout-checkout .alert-danger { background: #ffeaec; color: #b3192d; }
.checkout-cart .alert-success, .checkout-checkout .alert-success { background: #e7f7f2; color: #17705f; }
.checkout-cart .alert a, .checkout-checkout .alert a { color: inherit; text-decoration: underline; }
.checkout-cart .alert .close, .checkout-checkout .alert .close { top: 0; right: -30px; }

/* --- Kroky pokladne (akordeón) --- */
.checkout-checkout #accordion > .panel,
.checkout-cart #accordion > .panel {
	margin: 0 0 14px;
	background: #fff !important;
	border: 1px solid var(--md-line) !important;
	border-radius: var(--md-radius) !important;
	box-shadow: var(--md-shadow) !important;
	overflow: hidden;
}
.checkout-checkout #accordion > .panel:has(> .panel-collapse.in) {
	border-color: rgba(240, 56, 79, .35) !important;
	box-shadow: 0 8px 26px rgba(240, 56, 79, .10) !important;
}
.checkout-checkout #accordion > .panel > .panel-heading,
.checkout-cart #accordion > .panel > .panel-heading {
	margin: 0 !important; /* téma posúva nadpis panelov o -30px */
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
}
.checkout-checkout #accordion > .panel:has(> .panel-collapse.in) > .panel-heading { background: var(--md-red-soft) !important; }
.checkout-checkout #accordion .panel-title,
.checkout-cart #accordion .panel-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 22px;
	font-size: 17px;
	font-weight: 800;
	color: var(--md-muted);
}
/* krúžok s ikonou kroku (číslo je už v texte nadpisu) */
.checkout-checkout #accordion .panel-title:before {
	content: "\f00c";
	font-family: 'FontAwesome';
	font-weight: normal;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #eef0f4;
	color: var(--md-muted);
	font-size: 15px;
	line-height: 34px;
	text-align: center;
}
.checkout-checkout #accordion > .panel:has(#collapse-checkout-option) .panel-title:before { content: "\f007"; }
.checkout-checkout #accordion > .panel:has(#collapse-payment-address) .panel-title:before { content: "\f0f6"; }
.checkout-checkout #accordion > .panel:has(#collapse-shipping-address) .panel-title:before { content: "\f041"; }
.checkout-checkout #accordion > .panel:has(#collapse-shipping-method) .panel-title:before { content: "\f0d1"; }
.checkout-checkout #accordion > .panel:has(#collapse-payment-method) .panel-title:before { content: "\f09d"; }
.checkout-checkout #accordion > .panel:has(#collapse-checkout-confirm) .panel-title:before { content: "\f00c"; }
/* krok je dostupný (titulok je odkaz) */
.checkout-checkout #accordion .panel-title:has(> a) { color: var(--md-navy); }
.checkout-checkout #accordion .panel-title:has(> a):before { background: var(--md-navy); color: #fff; }
.checkout-checkout #accordion > .panel:has(> .panel-collapse.in) .panel-title:before { background: var(--md-red); color: #fff; }
.checkout-checkout #accordion .panel-title > a,
.checkout-cart #accordion .panel-title > a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--md-navy) !important;
	text-decoration: none;
}
.checkout-checkout #accordion .panel-title > a:hover,
.checkout-cart #accordion .panel-title > a:hover { color: var(--md-red) !important; }
.checkout-checkout #accordion .panel-title .fa-caret-down,
.checkout-cart #accordion .panel-title .fa-caret-down { color: var(--md-muted); font-size: 16px; }
.checkout-checkout #accordion .panel-body,
.checkout-cart #accordion .panel-body {
	padding: 24px 26px 26px;
	border-top: 1px solid var(--md-line) !important;
	background: #fff;
}

/* nadpisy a texty vo vnútri krokov */
.checkout-checkout #accordion .panel-body h2,
.checkout-checkout #accordion .panel-body legend {
	display: block;
	margin: 0 0 16px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--md-line);
	font-size: 18px;
	font-weight: 800;
	color: var(--md-navy);
}
.checkout-checkout #accordion .panel-body h2:after { display: none; }
.checkout-checkout #accordion .panel-body p { color: var(--md-text); line-height: 1.55; }
.checkout-checkout #accordion .panel-body fieldset { margin-bottom: 10px; }

/* Krok 1 – nový zákazník / prihlásenie ako dva boxy */
.checkout-checkout #collapse-checkout-option .panel-body > .row { display: flex; flex-wrap: wrap; row-gap: 16px; }
.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 > * { position: relative; }
.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 {
	padding-top: 20px;
	padding-bottom: 22px;
	border-radius: 14px;
	background: var(--md-bg-soft);
	background-clip: content-box;
	box-shadow: none;
}
.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 > * { margin-left: 22px; margin-right: 22px; }
.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 > h2 { border-bottom-color: #ece6e2; }

/* Formulárové polia */
.checkout-checkout .form-group { margin-bottom: 14px; }
.checkout-checkout .control-label,
.checkout-cart .control-label {
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--md-navy);
}
.checkout-checkout .form-group.required .control-label:before { color: var(--md-red); }
.checkout-checkout #content .form-control,
.checkout-cart #content .form-control {
	height: 44px;
	padding: 8px 14px;
	background: #fff !important;
	border: 1.5px solid #e1e4ea !important;
	border-radius: 10px !important;
	box-shadow: none;
	font-size: 14px;
	color: var(--md-navy);
	transition: border-color .15s, box-shadow .15s;
}
.checkout-checkout textarea.form-control { height: 96px; resize: vertical; }
.checkout-checkout .form-control:focus,
.checkout-cart .form-control:focus {
	border-color: var(--md-red) !important;
	box-shadow: 0 0 0 4px rgba(240, 56, 79, .1);
	outline: 0;
}
.checkout-checkout .form-control::placeholder,
.checkout-cart .form-control::placeholder { color: #a7adbb; }
.checkout-checkout .has-error .form-control { border-color: var(--md-red) !important; }
.checkout-checkout .text-danger { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--md-red); }

/* Radio / checkbox */
.checkout-checkout input[type="radio"],
.checkout-checkout input[type="checkbox"] { accent-color: var(--md-red); width: 17px; height: 17px; margin-top: 1px; cursor: pointer; }
.checkout-checkout .radio label,
.checkout-checkout .checkbox label { font-size: 14px; color: var(--md-navy); }

/* Spôsob dodania / platby – voľby ako klikateľné boxy */
.checkout-checkout #collapse-shipping-method .radio,
.checkout-checkout #collapse-payment-method .radio,
.checkout-checkout #collapse-checkout-option .radio {
	margin: 0 0 10px;
}
.checkout-checkout #collapse-shipping-method .radio label,
.checkout-checkout #collapse-payment-method .radio label,
.checkout-checkout #collapse-checkout-option .radio label {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 12px 16px 12px 44px;
	background: #fff;
	border: 1.5px solid #e1e4ea;
	border-radius: 12px;
	font-weight: 700;
	transition: border-color .15s, background .15s;
}
.checkout-checkout #collapse-shipping-method .radio label:hover,
.checkout-checkout #collapse-payment-method .radio label:hover,
.checkout-checkout #collapse-checkout-option .radio label:hover { border-color: #f5a3ae; }
.checkout-checkout #collapse-shipping-method .radio label:has(input:checked),
.checkout-checkout #collapse-payment-method .radio label:has(input:checked),
.checkout-checkout #collapse-checkout-option .radio label:has(input:checked) {
	border-color: var(--md-red);
	background: var(--md-red-soft);
}
.checkout-checkout #collapse-shipping-method .radio input[type="radio"],
.checkout-checkout #collapse-payment-method .radio input[type="radio"],
.checkout-checkout #collapse-checkout-option .radio input[type="radio"] { margin-left: -28px; position: absolute; }
.checkout-checkout #collapse-shipping-method p > strong,
.checkout-checkout #collapse-payment-method p > strong {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: var(--md-navy);
}

/* Spodná lišta s tlačidlami v krokoch */
.checkout-checkout #accordion .buttons {
	display: flex;
	justify-content: flex-end;
	margin: 18px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--md-line);
}
.checkout-checkout #accordion .buttons .pull-right {
	float: none !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 14px;
	color: var(--md-text);
}
.checkout-checkout #accordion .buttons input[type="checkbox"] { margin: 0; }
.checkout-checkout .btn-primary,
.checkout-cart .buttons .btn,
.checkout-cart #accordion .btn-primary {
	min-height: 44px;
	padding: 10px 28px;
	font-size: 15px;
}
.checkout-checkout #button-confirm { padding: 12px 36px; font-size: 16px; box-shadow: 0 8px 20px rgba(240, 56, 79, .28); }

/* Tabuľky – košík, potvrdenie objednávky, súčty */
.checkout-cart .table-responsive,
.checkout-checkout #collapse-checkout-confirm .table-responsive {
	border: 1px solid var(--md-line);
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 18px;
}
.checkout-cart .table-bordered,
.checkout-checkout #collapse-checkout-confirm .table-bordered { margin: 0; border: 0; }
.checkout-cart .table-bordered > thead > tr > td,
.checkout-cart .table-bordered > tbody > tr > td,
.checkout-cart .table-bordered > tfoot > tr > td,
.checkout-checkout #collapse-checkout-confirm .table-bordered > thead > tr > td,
.checkout-checkout #collapse-checkout-confirm .table-bordered > tbody > tr > td,
.checkout-checkout #collapse-checkout-confirm .table-bordered > tfoot > tr > td {
	border: 0;
	border-top: 1px solid var(--md-line);
	padding: 14px 16px;
	vertical-align: middle;
	color: var(--md-text);
}
.checkout-cart .table > thead > tr > td,
.checkout-checkout #collapse-checkout-confirm .table > thead > tr > td {
	border-top: 0 !important;
	background: var(--md-bg-soft);
	font-size: 12px;
	font-weight: 800;
	color: var(--md-muted) !important;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.checkout-cart .table > tbody > tr > td a,
.checkout-checkout #collapse-checkout-confirm .table > tbody > tr > td a { font-weight: 700; color: var(--md-navy); }
.checkout-cart .table > tbody > tr:hover > td,
.checkout-checkout #collapse-checkout-confirm .table > tbody > tr:hover > td { background: #fcfcfd; }
.checkout-checkout #collapse-checkout-confirm .table > tfoot > tr > td { background: var(--md-bg-soft); padding-top: 10px; padding-bottom: 10px; }
.checkout-checkout #collapse-checkout-confirm .table > tfoot > tr:last-child > td,
.checkout-cart .col-sm-offset-8 .table tr:last-child td {
	font-size: 18px;
	font-weight: 800;
	color: var(--md-navy);
}
.checkout-checkout #collapse-checkout-confirm .table > tfoot > tr:last-child > td:last-child,
.checkout-cart .col-sm-offset-8 .table tr:last-child td:last-child { color: var(--md-red); }
.checkout-cart .img-thumbnail { border: 0; border-radius: 10px; padding: 0; }

/* Košík – množstvo + tlačidlá */
.checkout-cart .table .input-group { display: flex; max-width: 170px !important; }
.checkout-cart .table .input-group .form-control { width: 64px; flex: 0 0 64px; text-align: center; border-radius: 10px !important; }
.checkout-cart .table .input-group-btn { display: flex; gap: 6px; margin-left: 8px; width: auto; }
.checkout-cart .table .input-group-btn .btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50% !important;
	font-size: 15px;
	line-height: 1;
}
.checkout-cart .table .input-group-btn .btn i { margin: 0; font-size: 15px; color: inherit !important; }
.checkout-cart .table .input-group-btn .btn-primary { background: var(--md-red) !important; border: 0 !important; color: #fff !important; }
.checkout-cart .table .input-group-btn .btn-primary:hover { background: var(--md-red-dark) !important; }
.checkout-cart .table .input-group-btn .btn-danger { background: #fff !important; border: 1.5px solid #e1e4ea !important; color: var(--md-red) !important; }
.checkout-cart .table .input-group-btn .btn-danger:hover { background: var(--md-red-soft) !important; border-color: var(--md-red) !important; }

/* Košík – súčty ako karta, kupóny */
.checkout-cart #content > h2 { display: block; font-size: 20px; margin: 30px 0 6px; }
.checkout-cart #content > h2:after { display: none; }
.checkout-cart .col-sm-offset-8 .table {
	background: var(--md-bg-soft);
	border: 0;
	border-radius: 14px;
	overflow: hidden;
}
.checkout-cart .col-sm-offset-8 .table td { border: 0 !important; border-top: 1px solid #eee7e3 !important; padding: 12px 18px; }
.checkout-cart .col-sm-offset-8 .table tr:first-child td { border-top: 0 !important; }
.checkout-cart #accordion .panel-body .control-label { display: block; width: auto; float: none; padding: 0; margin-bottom: 8px; text-align: left; }
.checkout-cart #accordion .panel-body .input-group { display: flex; gap: 10px; max-width: 520px; }
.checkout-cart #accordion .panel-body .input-group .form-control { flex: 1; }
.checkout-cart #accordion .panel-body .input-group-btn { width: auto; }
.checkout-cart .buttons {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0 30px;
	padding-top: 20px;
	border-top: 1px solid var(--md-line);
}
.checkout-cart .buttons .pull-left, .checkout-cart .buttons .pull-right { float: none !important; }

@media (max-width: 767px) {
	.checkout-checkout #accordion .panel-body { padding: 18px 16px; }
	.checkout-checkout #accordion .panel-title { padding: 14px 16px; font-size: 15px; }
	.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 { flex: 1 1 100%; width: 100%; }
	.checkout-checkout #collapse-checkout-option .panel-body > .row > .col-sm-6 > * { margin-left: 16px; margin-right: 16px; }
	.checkout-checkout #accordion .buttons .pull-right { justify-content: stretch; }
	.checkout-checkout #accordion .buttons .btn { width: 100%; }
	.checkout-cart .buttons { flex-direction: column-reverse; }
	.checkout-cart .buttons .btn { width: 100%; }
}
