/* Desktop overrides (min-width) */

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

/* Mobile overrides (max-width) */

@media (max-width: 1999px) {
	.ga-categories__items {--ga-columns:3;}
	.ga-category.--wip {display: none;}

	.welcome .ga-about__images {padding-left: 5%;}
	.welcome .ga-about__image.--first {width:30%;}
}

@media (max-width: 991px) {
	body {--ga-admin-bar-height:0px !important;}

	#header .header-top .site-name-wrapper {flex:0 1 160px;}
	#header .header-top>.search {flex:1;}
	#header .header-top>.navigation-buttons {flex:0 1 33.333333%;gap:10px;}

	/* Widgets */

	.user-action-in .popup-widget.login-widget {left:0;right:unset;top:var(--ga-header-bottom);}
	.user-action-in .popup-widget.cart-widget {left:0;right:unset;top:var(--ga-header-bottom);}
}

@media (max-width: 767px) {
	:root {--mobile-header-height:50px;}
	body {--ga-top-bar-height:0px;--ga-header-height:50px;}

	#content {margin-bottom: 50px;}
	.overall-wrapper {padding-top:var(--mobile-header-height);}
	.top-navigation-bar {display: none;}
	#header {position: fixed;top:0;background:var(--header-bg);}
/*	body.user-action-visible #header {background:#000;}*/
	#header .header-top .site-name-wrapper {flex:0;}
	#header .site-name {position: static;}
	#header .site-name a img {max-height: 45px;}
	#header .header-top>.navigation-buttons {gap:10px;flex:1;}
	#header .navigation-buttons>a[data-target=login] {display: block;}
	#header .ga-favourite-btn span {display: none;}
	#header .top-nav-button-login::before {width:30px;height:30px;}
	#header .top-nav-button-account::before {width:26px;height:26px;}
	#header .cart-count {position: relative;left: 0;right: auto;top: 0;display: inline-block;}
	#header .btn.cart-count i {line-height:9px;width:21px;height:21px;bottom:-6px;}
	#header .tb-vat-toggle {line-height: 1;}
	#header a[data-target=navigation] {background: none;position: static;height:40px;width:40px;line-height: unset;}
	#header a[data-target=navigation]::before {font-size: 24px;}

	.navigation-window-visible .navigation-buttons a[data-target=navigation], .navigation-window-visible .navigation-buttons a[data-target=navigation]:hover {color:#fff;}

	.scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .site-name {transform: none;}
	.scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .cart-count {transform: none;}

	.user-action-in div.popup-widget {top:var(--mobile-header-height);}
	.popup-widget.cart-widget, .popup-widget.login-widget {top:0;padding-top:0;right:0;width:100%;}

	#navigation {position: fixed;background: #fff;top:var(--mobile-header-height);padding:5px 0 10px 0;box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.15);}
	.navigation-window-visible #navigation {width: 100%;}
	.navigation-in>ul>li>a:hover {color:inherit;text-decoration: none;}
	.navigation-close {color:#fff;}
	.navigation-in a {color:#fff;}

	#navigation .navigationActions {display: none;}
	#navigation .appended-category {display: none;}
	.navigation-in>ul>li:last-child {border-bottom: 0;}

	.homepage-box.before-carousel {padding-top: 0;}
	#carousel .extended-banner-link::after {display: none;}

	.breadcrumbs:has(#navigation-2)>span:nth-last-child(1) {display: none;}
	.breadcrumbs:has(#navigation-2)>span:nth-last-child(2) a::after {display: none;}

	.ga-usps {padding:0 15px;display:grid;grid-template-columns: auto auto;justify-content: center;column-gap:35px;}

	.ga-categories__row {flex-flow:column;gap:25px;}
	.ga-categories__header {display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items: center;column-gap:20px;width:unset;}
	.ga-categories__header img {grid-row:1 / 3;}
	.ga-categories__title {margin:0;}

	.ga-brands {flex-flow:column;padding:20px 0;}
	.ga-brands__items {margin:-40px 0 0 0;width:100%;padding:70px 40px 30px;}

	.ga-about {flex-direction: column-reverse;gap:40px;}

	.category-perex {flex-direction: column;gap:0;}
	.ga-category-top-image {margin:0;width:100%;padding:0 0 15px;}
	.ga-category-top-image img:not(.ga-category-top-image__logo) {max-height: 200px;}

	.products-block.products.slick-slider .slick-prev {margin-left: -8px;}
	.products-block.products.slick-slider .slick-next {margin-right: -8px;}

	/* Favourite Products */

	body:is(.in-oblibene,.in-oblubene) .content-inner {display: flex;flex-flow:column;}
	body:is(.in-oblibene,.in-oblubene) .content-inner article {order:-2;}
	.favourite-products-share {order:-1;background: #F5F5F5;padding:10px;display:flex;flex-flow:column-reverse;row-gap:10px;margin-bottom: 20px;}
	.favourite-products-share__tooltip {display: block;position: static;padding:0;}
	.favourite-products-share__tooltip input {width: 100%;}

	/* Cart */

	.ordering-process .site-name {display: block;}
	.ordering-process .overall-wrapper {padding-top:var(--mobile-header-height);}
	ol.cart-header {position: static;}

	/* Footer */

	.ga-newsletter {flex-direction:column;gap:10px;padding-top:35px;padding-bottom: 35px;}
	.ga-footer-email {justify-content: center;margin-bottom: 20px;}

	.footer-rows {--ga-columns:2;padding:35px;row-gap:35px;}
	#footer .site-name {padding-top:20px;}
	#footer .site-name img {max-width: 160px;}
}

@media (max-width: 499px) {
	#header .container {padding-left:10px;padding-right: 10px;}

	.ga-usps {grid-template-columns: auto;justify-content: center;row-gap:5px;padding:0 5px;}

	.ga-categories__items {--ga-columns:2;}

	.footer-rows {--ga-columns:1;}
	.footer-bottom {flex-flow: column;}
}

@media (max-width: 479px) {
	.products-block.products .p-bottom>div {gap:15px;}
}

@media (max-width: 419px) {
	#header .header-top>.navigation-buttons {gap:7px;}
	#header .btn.cart-count::before {width:32px;height:32px;}
	#header .login::before {width:24px;height: 24px;}
	#header .ga-favourite-btn::before {width:26px;height:26px;}
}
