/* Doladenie responzivity (mobil < 768 px, tablet 768–1199 px). Dizajn sa nemení, len zalamovanie a rozmery.
   style.min.css sa nepregenerováva – úpravy sú tu a načítavajú sa po ňom (header.blade.php). */

/* ---------- Ikony (Lucide, sprite /frontend/assets/icons/icons.svg, @icon v Blade) ---------- */

:root {
	--ico-chevron-down: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' ><path d='m6 9 6 6 6-6' /></svg>");
	--ico-chevron-left: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' ><path d='m15 18-6-6 6-6' /></svg>");
	--ico-chevron-right: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' ><path d='m9 18 6-6-6-6' /></svg>");
	--ico-house: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' ><path d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8' /><path d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z' /></svg>");
	--ico-check: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' ><path d='M20 6 9 17l-5-5' /></svg>");
}
.ico-i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-style: normal;
}
.ico {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}
/* plné varianty: obľúbený produkt, hodnotenie */
.action.wishlist.active .ico,
.rating-product .ico {
	fill: currentColor;
}

/* Ikony kreslené v CSS (pôvodne písmom Ionicons) – rovnaká sada cez masku */
.shop-select .nice-select:after,
.slider-nav-style-1 .swiper-button-next:after,
.slider-nav-style-1 .swiper-button-prev:after,
.checkbox-default input:checked::after {
	content: "" !important;
	font-family: inherit !important;
	background-color: currentColor;
	-webkit-mask: var(--ico-chevron-down) center / contain no-repeat;
	mask: var(--ico-chevron-down) center / contain no-repeat;
}
.shop-select .nice-select:after {
	width: 14px;
	height: 14px;
	top: 50% !important;
	margin-top: -7px;
	border: 0 !important;
	transform: none !important;
}
.shop-select .nice-select.open:after {
	transform: rotate(180deg) !important;
}
.slider-nav-style-1 .swiper-button-next:after,
.slider-nav-style-1 .swiper-button-prev:after {
	width: 22px;
	height: 22px;
}
.slider-nav-style-1 .swiper-button-next:after {
	-webkit-mask-image: var(--ico-chevron-right);
	mask-image: var(--ico-chevron-right);
}
.slider-nav-style-1 .swiper-button-prev:after {
	-webkit-mask-image: var(--ico-chevron-left);
	mask-image: var(--ico-chevron-left);
}
.checkbox-default input:checked::after {
	-webkit-mask-image: var(--ico-check);
	mask-image: var(--ico-check);
}

/* ---------- Všeobecné ---------- */

/* Šablóny používajú col-xs-6 (2 produkty vedľa seba na mobile), Bootstrap 5 ju však nepozná → 1 stĺpec. */
@media (max-width: 575.98px) {
	.row > .col-xs-6 {
		flex: 0 0 auto;
		width: 50%;
	}
}

/* Obrázky z CMS (články, stránky) nesmú pretiecť šírku stránky. */
.single-blog-post img,
.blog-posts img,
.shop-bottom-area img,
.product-details-content img,
.tab-content img {
	max-width: 100%;
	height: auto;
}

/* Stránkovanie: na úzkej obrazovke sa zalomí namiesto rozšírenia stránky. */
.pagination-wrapper .pagination,
.pagination {
	flex-wrap: wrap;
	row-gap: 6px;
}
@media (max-width: 575.98px) {
	.pagination-wrapper .pagination {
		justify-content: center;
	}
	.pagination .page-link {
		padding: 6px 11px;
	}
}

/* ---------- Úvodný slider ---------- */

/* Nižší hero (pôvodne 660 / 600 / 500 / 450 px a na mobile skoro celá výška displeja). */
@media (min-width: 1200px) {
	.slider-height {
		background-position: center 25%;
	}
	.hero-slide-content .title-1 {
		line-height: 1.12;
		margin-bottom: 14px;
	}
	.hero-slide-content .btn {
		margin-top: 18px !important;
	}
}
@media (min-width: 1600px) {
	.slider-height {
		height: 540px;
	}
	.hero-slide-content {
		max-width: 560px;
	}
	.hero-slide-content .title-1 {
		font-size: 64px;
	}
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
	.slider-height {
		height: 480px;
	}
	.hero-slide-content {
		max-width: 500px;
	}
	.hero-slide-content .title-1 {
		font-size: 56px;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.slider-height {
		height: 420px;
	}
	.hero-slide-content {
		max-width: 440px;
	}
	.hero-slide-content .title-1 {
		font-size: 46px;
		line-height: 1.15;
	}
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.slider-height {
		height: 380px;
	}
	.hero-slide-content {
		max-width: 340px;
	}
	.hero-slide-content .title-1 {
		font-size: 36px;
		line-height: 1.15;
	}
	.hero-slide-content p {
		font-size: 16px;
	}
}

/* Tablet: obrázok je pre desktop – jemný biely prechod zľava pod textom kvôli čitateľnosti. */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.hero-slide-item {
		position: relative;
	}
	.hero-slide-item::before {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .5) 40%, rgba(255, 255, 255, 0) 62%);
		pointer-events: none;
	}
	.hero-slide-item > .container {
		position: relative;
		z-index: 1;
	}
}

/* Tlačidlo podľa textu (pôvodne pevných 120 px – „Pozrieť produkty" sa nezmestilo). */
@media (max-width: 991.98px) {
	.hero-slide-content .btn {
		width: auto;
		padding: 0 22px;
	}
}

/* Mobil: obrázok na výšku, texty hore (obloha), dom a postava dole. Orezáva sa obloha nad textom. */
@media (max-width: 767.98px) {
	.hero-slide-item.has-mobile-image {
		background-image: var(--mobile-bg-image) !important;
		background-position: center 85%;
		height: clamp(460px, 135vw, 580px);
	}
	.hero-slide-item.has-mobile-image > .container {
		align-self: flex-start !important;
		padding-top: 22px;
	}
	.hero-slide-item.has-mobile-image .hero-slide-content .title-1 {
		font-size: 29px;
		line-height: 1.15;
		margin-bottom: 8px;
	}
	.hero-slide-item.has-mobile-image .hero-slide-content p {
		font-size: 15px;
		line-height: 1.45;
		max-width: 340px;
		margin-bottom: 0;
	}
	.hero-slide-item.has-mobile-image .hero-slide-content .btn {
		margin-top: 12px !important;
	}
}

/* ---------- Hlavička (mobil, tablet) ---------- */

/* Logo bez rozmerov sa roztiahlo na celý stĺpec (pri 768 px ~290 px). */
.header-bottom.d-lg-none .header-logo img {
	width: 100%;
	max-width: 180px;
	height: auto;
}

/* ---------- Úvod: výhody (4 ikony) ---------- */

/* Tablet: 2 × 2 namiesto 4 úzkych stĺpcov (text sa lámal na 5 riadkov) alebo 3 + 1. */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.feature-wrap .row > .col-md {
		flex: 0 0 auto;
		width: 50%;
	}
}

/* ---------- Úvod: boxy kategórií (2 vedľa seba aj na tablete) ---------- */

/* Rovnaké hodnoty ako téma používa pre 992–1199 px. */
@media (min-width: 768px) and (max-width: 991.98px) {
	.banner-2 .info {
		padding: 24px 20px;
	}
	.banner-2 .info .content .title {
		max-width: 50%;
		font-size: 18px;
		line-height: 26px;
		margin-bottom: 12px;
	}
}

/* ---------- Karta produktu (2 vedľa seba na mobile) ---------- */

@media (max-width: 575.98px) {
	.product .content .title a {
		font-size: 14px;
	}
	.product .content .title {
		margin-top: 10px;
	}
	.product-item-price-box .price {
		font-size: 15px;
	}
	.product.mb-40px {
		margin-bottom: 28px !important;
	}
}

/* ---------- Kategória: bočný panel (podkategórie + filter) ---------- */

.shop-sidebar-toggle {
	display: none;
}
@media (max-width: 991.98px) {
	/* Na mobile/tablete bol panel až pod všetkými produktmi a stránkovaním. */
	.shop-category-area .shop-sidebar-col {
		order: -1 !important;
		margin-bottom: 24px !important;
	}
	.shop-sidebar-col:not(.is-open) > :not(.shop-sidebar-toggle) {
		display: none !important;
	}
	.shop-sidebar-toggle {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		padding: 14px 20px;
		border: 0;
		background: #ebebeb;
		color: #000;
		font-size: 15px;
		font-weight: 500;
		text-align: left;
	}
	.shop-sidebar-toggle strong {
		color: #fc8801;
		font-weight: 500;
	}
	.shop-sidebar-toggle i {
		transition: transform .2s;
	}
	.shop-sidebar-col.is-open .shop-sidebar-toggle {
		margin-bottom: 20px;
	}
	.shop-sidebar-col.is-open .shop-sidebar-toggle i {
		transform: rotate(180deg);
	}
	.shop-top-bar {
		padding: 12px 16px 4px;
		flex-wrap: wrap;
		gap: 4px 16px;
	}
}

/* ---------- Kontakt ---------- */

.single-contact-info .contact-info-dec a,
.single-contact-info .contact-info-dec p {
	overflow-wrap: anywhere;
}

/* ---------- Registrácia (/profil/registracia) ---------- */

.login-registration-section > .container-fluid {
	max-width: 1230px;
	margin: 0 auto;
	padding: 30px 15px 60px;
}
.login-registration-section article {
	max-width: 640px;
}
.login-registration-section .button {
	height: 50px;
	padding: 0 24px;
	border: 0;
	background: rgba(228, 226, 222, .576);
	color: #0e1011;
	font-size: 16px;
	line-height: 50px;
	transition: background .2s;
}
.login-registration-section .button:hover {
	background: #fc8801;
	color: #fff;
}

/* Ikony výhod na úvode a telefón v hlavičke (pôvodne obrázky) */
.feature .icon .feature-ico {
	font-size: 46px;
	color: #1d1d1d;
}
.feature .icon .feature-ico .ico {
	stroke-width: 1.4;
}
.header-top-massege .header-phone-ico {
	font-size: 28px;
	color: #9a9a9a;
	margin-right: 10px;
}
.header-top-massege .header-phone-ico .ico {
	stroke-width: 1.5;
}

/* ---------- Breadcrumb (všetky stránky s .breadcrumb-area) ---------- */

/* Cesta nad nadpisom, bežné písmo namiesto VEĽKÝCH s rozostupmi, oddeľovač šípka, domov s ikonou. */
.breadcrumb-area {
	padding-top: 26px !important;
	padding-bottom: 30px !important;
}
.breadcrumb-area .breadcrumb_box {
	flex-direction: column-reverse;
	row-gap: 10px;
}
.breadcrumb-area .breadcrumb_box > [class*="col-"] {
	text-align: left !important;
}
.breadcrumb-area .breadcrumb-title {
	font-size: 30px;
	line-height: 1.25;
}
.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}
.breadcrumb-list li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
}
.breadcrumb-list li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6b6b6b;
	text-decoration: none;
	transition: color .15s;
}
.breadcrumb-list li a::after {
	display: none;
}
.breadcrumb-list li a:hover {
	color: #fc8801;
}
.breadcrumb-list .breadcrumb-item + .breadcrumb-item {
	padding-left: 0;
}
.breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
	content: "" !important;
	width: 14px;
	height: 14px;
	margin: 0 8px;
	padding: 0;
	float: none;
	background-color: #b5b5b5;
	-webkit-mask: var(--ico-chevron-right) center / contain no-repeat;
	mask: var(--ico-chevron-right) center / contain no-repeat;
}
.breadcrumb-list .breadcrumb-home a::before {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--ico-house) center / contain no-repeat;
	mask: var(--ico-house) center / contain no-repeat;
}
.breadcrumb-list li.active {
	color: #1d1d1d;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
@media (max-width: 767.98px) {
	.breadcrumb-area {
		padding-top: 18px !important;
		padding-bottom: 22px !important;
	}
	.breadcrumb-area .breadcrumb-title {
		font-size: 22px;
	}
	.breadcrumb-list li {
		font-size: 13px;
	}
	.breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
		margin: 0 5px;
	}
}

/* ---------- Hover efekty a farby ---------- */

/* Tlačidlá: triedy btn-hover-dark / btn-hover-primary v šablónach nemali pravidlo → oranžové tlačidlo pri hoveri nereagovalo. */
.btn-primary,
.btn-secondary {
	transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary:hover,
.btn-primary:focus-visible,
.btn.btn-hover-primary:hover {
	background-color: #e07800;
	border-color: #e07800;
	color: #fff;
}
.btn.btn-hover-dark:hover,
.btn.btn-hover-dark:focus-visible {
	background-color: #3b3b3b;
	border-color: #3b3b3b;
	color: #fff;
}
.btn.btn-default:hover {
	background: #fc8801;
	color: #fff;
}

/* Hlavička na oranžovom pozadí: hover bol oranžový → ikona/odkaz zmizli. */
.header-top .header-actions .header-action-btn:hover,
.header-top .header-actions > a:hover,
.header-top .header-actions .header-bottom-set > a:hover {
	color: #1d1d1d;
}
.header-actions .header-action-btn .ico-i {
	transition: color .15s, transform .15s;
}
.header-actions .header-action-btn:hover .ico-i {
	transform: translateY(-1px);
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
	background-color: #f6f6f6;
	color: #fc8801;
}

/* Obrázky pri hoveri: jemné priblíženie bez otočenia o 3° (produkty, boxy kategórií, články). */
.product:hover .thumb .image img,
.banner-2:hover img,
.single-blog:hover .blog-image img {
	transform: scale(1.05);
}

/* Odkazy v textoch a formulároch: farba značky namiesto modrej Bootstrapu (tmavší odtieň kvôli čitateľnosti). */
label a,
.single-blog-post p a,
.single-blog-post li a,
.login-registration-section p a,
.login-register-area p a,
.velkoobchod-registration a:not(.btn),
.product-description-wrapper a {
	color: #b86200;
	text-decoration: underline;
	text-underline-offset: 2px;
}
label a:hover,
.single-blog-post p a:hover,
.single-blog-post li a:hover,
.login-registration-section p a:hover,
.login-register-area p a:hover,
.velkoobchod-registration a:not(.btn):hover,
.product-description-wrapper a:hover {
	color: #fc8801;
}

/* Podkategórie pod boxmi na úvode: hover farbou značky (predtým bez reakcie). */
.childs a {
	transition: color .15s;
}
.childs a:hover {
	color: #fc8801 !important;
}

/* Viditeľné zameranie pre klávesnicu */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
	outline: 2px solid #fc8801;
	outline-offset: 2px;
}

/* O nás: tím bez fotiek (v šablóne boli len zástupné obrázky 200x200 so zlou cestou) */
.team-single .team-img .team-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #f4f5f7;
	color: #9a9a9a;
	font-size: 44px;
}
.team-single .team-img .team-avatar .ico {
	stroke-width: 1.4;
}

/* Filter: celý názov skupiny a text hodnoty sú klikateľné (footer.blade.php) */
#filter-form .filter-title,
#filter-form .sidebar-widget-list-left-2 a {
	cursor: pointer;
}

/* Mobilné menu: názvy tak, ako sú napísané („O nás“, nie „O Nás“) */
.offcanvas .inner .offcanvas-menu ul li a,
.offcanvas .inner .offcanvas-menu ul li a .menu-text {
	text-transform: none;
}
