@media only screen and (max-width: 767px) {
  body {
    background: var(--md-sys-color-surface-light) !important;
  }
  body.admin-logged {
    padding-top: 0;
  }
  .navigation-window-visible{
    overflow: hidden;
  }
  footer {
    padding-bottom: 128px;
  }
  .navigation-in ul li.appended-category {
    display: block !important;
  }
  #header .header-top .top-nav-button-login > span,
  #topnav,
  .bottomBar,
  .dklabDetailZakoupil,
  .langVersions,
  .popup-widget.login-widget:after,
  .top-navigation-bar .msg-part {
    display: none!important;
  }
  .md-imageNav{
	flex-direction: column;
  }
  .md-imageNav.col5 .navItem{
	width: 100%;
  }
  .navigation-window-visible #header #navigation {
    padding: 16px 0 4px;
  }
  body {
    padding-top: 64px !important;
  }
  #header .site-name img {
    margin-top: 0;
  }
  #header .search fieldset button {
    background: 0 0;
    color: var(--md-sys-color-on-surface-light);
    width: 48px;
    height: 48px;
  }
  #header .search fieldset {
    padding: 0;
  }
  .product-top .p-detail-info .flags {
    position: relative;
  }
  .product-top .p-detail-info .flags {
    display: none;
  }
  #header .header-top .top-nav-button-login {
    position: relative;
    top: unset;
    right: unset;
    margin-left: auto;
  }
  #header .navigation-buttons .btn .cart-price {
    display: none;
  }
  #header .navigation-buttons a#oblibeneBtn {
    display: none !important;
  }
  .breadcrumbs-wrapper .breadcrumbs > span > a.navigation-bullet,
  .breadcrumbs-wrapper .breadcrumbs > span > span.navigation-bullet {
    padding: 7px 3px;
  }
  .breadcrumbs-wrapper .navigation-home-icon-wrapper #navigation-first a {
    padding: 0;
  }
  .top-navigation-bar {
    display: none;
  }
  #header {
    background: var(--md-sys-color-surface-light);
    height: 64px;
    top: 0 !important;
  }
  body.headerScrolled #header {
    top: 0 !important;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
      0 3px 1px -2px rgba(0, 0, 0, 0.12);
  }
  #header .header-top .top-nav-button-login,
  #header .navigation-buttons .btn,
  .mobile-navigation-icon,
  .mobile-search-icon {
    display: flex;
    order: 4;
    width: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    top: unset;
  }
  .mobile-navigation-icon {
    order: 1 !important;
  }
  .mobile-navigation-icon + div {
    order: 2;
  }
  #header .header-top .top-nav-button-login {
    order: 3;
  }
  #header .navigation-buttons {
    order: 5;
  }
  .mobile-search-icon::before {
    content: "\e8b6";
    font-family: "Material Icons Outlined";
    font-size: 24px;
    color: var(--md-sys-color-on-surface-light);
  }
  #header .search .mobile-search-icon::before {
    content: "\e5cd";
  }
  .mobile-navigation-icon::before {
    content: "\e5d2";
    font-family: "Material Icons Outlined";
    font-size: 24px;
    color: var(--md-sys-color-on-surface-light);
  }
  #header .site-name {
    margin-left: 8px;
    top: 0;
  }
  #header .header-top .top-nav-button-login:before,
  #header .navigation-buttons .btn:before {
    font-size: 24px;
    background: 0 0;
    color: var(--md-sys-color-on-surface-light);
    position: relative;
    top: unset;
    margin-right: 0;
  }
  .navigation-buttons > a[data-target="cart"] i {
    background: var(--md-ref-palette-error50);
    top: 5px;
    right: 5px;
    left: unset;
  }
  #header .site-name a {
    display: flex;
    align-items: center;
  }
  #header .site-name a img {
    max-height: 28px !important;
    min-width: unset !important;
  }
  #header .search {
    top: 0 !important;
    left: 0;
    background: var(--md-sys-color-surface-light);
    height: 64px !important;
    width: 100% !important;
    display: none;
    box-shadow: inset 0 -1px 0 0 rgb(0 0 0 / 12%);
    max-width: unset;
  }
  body.headerScrolled #header .search {
    box-shadow: none;
  }
  .search-window-visible #header .search {
    padding: 8px !important;
    display: flex;
  }
  #header .search fieldset {
    height: 48px;
  }
  #header .search .search-form {
    margin-right: 0;
  }
  #header .search fieldset {
    box-shadow: none !important;
    background: 0 0 !important;
  }
  .product-top .add-to-cart button[type="submit"] {
    font-size: 0!important;
  }
  .product-top .add-to-cart button[type="submit"]::after {
    content: "Do košíka";
    font-size: 14px;
  }
  form.quantity-form.js-quantity-form {
    display: flex;
    justify-content: center;
  }
  .breadcrumbs-wrapper .breadcrumbs {
    margin: -10px 0 10px 0;
  }
  .overall-wrapper {
    padding-top: 0 !important;
  }
  .product-top .add-to-cart .quantity input {
    width: 100%;
  }
  .m3.header .content {
    display: none;
  }
  .search-whisperer {
    border-radius: 0;
    max-width: 100% !important;
    width: 100%;
    top: 63px;
    position: fixed;
    left: 0;
    border: 0;
    border-top: 1px solid rgb(0 0 0 / 14%);
    bottom: 0;
    overflow-x: scroll;
    line-height: 1rem;
  }
  img[src*="building"] {
    height: auto !important;
  }
  .image360-holder {
    position: initial;
  }
  a.show360image.highlighted {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product-top .p-detail-info > div.stars-wrapper + div {
    display: none;
  }
  .price-line {
    display: flex !important;
  }
  .materialContactInfoP {
    letter-spacing: 0;
  }
  li:first-of-type ul.menu-level-2 {
    display: flex !important;
    flex-direction: column;
  }
  #header #navigation {
    background: var(--md-sys-color-surface-light);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    left: -100%;
    margin: 4px 0;
    max-width: calc(100% - 8px);
  }
  .overall-wrapper:after {
    content: none;
  }
  body.navigation-window-visible .header-top::before {
    content: "";
    display: block;
    background: var(--md-ref-palette-neutral-variant20);
    opacity: 0.4;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
  }
  .product-top .add-to-cart {
    padding-top: 0;
  }
  .p-detail .p-info-wrapper {
    margin-top: 1rem;
  }
  .products-block.products .product {
    padding: 0 !important;
  }
  .products-block.products .product .p-in .p-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    width: 100%;
    flex: 100%;
    max-width: unset;
  }
  .products-block.products .product .prices .price-final strong {
    font-size: 18px;
  }
  .products-block.products .product .prices .price-final {
    text-align: center;
    margin: 8px 0;
  }
  .products-block.products .product .availability {
    display: none;
  }
  li.menu-item-749 ul.menu-level-2 {
    display: block !important;
  }
  li.menu-item-749 .submenu-arrow {
    display: none;
  }
  li.menu-item-1169,
  li.menu-item-1502,
  li.menu-item-707,
  li.menu-item-740,
  li.menu-item-968 {
    display: none !important;
  }
  .navigation-window-visible #header #navigation {
    left: 4px;
  }
  #productsAlternative .slick-track .product,
  .products-related .slick-track .product {
    width: 47% !important;
    flex: 0 0 47%;
  }
  /*#productsAlternative .slick-track .product:nth-of-type(1n + 7),
  .products-related .slick-track .product:nth-of-type(1n + 7) {
    display: none;
  }*/
  .product-top .detail-parameters {
    margin-bottom: 6px;
  }
  form .js-validator-msg,
  form .validator-msg {
    margin-top: 4px;
    margin-bottom: 8px;
  }
  form .js-validator-msg:before,
  form .validator-msg:before {
    left: 6px;
    bottom: 23px;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid;
    border-top: 1px solid;
  }
  #colorbox[role="dialog"] #cboxClose {
    right: 10px;
    top: 10px;
  }
  #cboxClose {
    border-radius: 5px;
    top: -44px;
  }
  #cboxOverlay,
  #cboxWrapper,
  #colorbox {
    overflow: visible;
  }
  .type-manufacturer-detail iframe {
    max-width: 100%;
    max-height: 700px;
  }
  .popup-widget.cart-widget {
    position: fixed !important;
    height: min-content;
    top: 64px !important;
  }
  .popup-widget-inner .cart-widget-products {
    margin-bottom: 0;
  }
  .cart-widget-button {
    position: relative;
  }
  .navigation-in a.menu-image {
    display: none !important;
  }
  #header #navigation .navigation-in ul li ul li a {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    color: rgb(0 0 0 / 87%);
  }
  ul.menu-level-2 li a:before {
    font-family: "Material Icons Outlined";
    width: 40px;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: rgb(0 0 0 / 54%);
    flex: 0 0 40px;
  }
  ul.menu-level-2 li.menu-item-761 a::before {
    content: "\ef39";
  }
  ul.menu-level-2 li.menu-item-752 a::before {
    content: "\efda";
  }
  ul.menu-level-2 li.menu-item-911 a::before {
    content: "\f19d";
  }
  ul.menu-level-2 li.menu-item-836 a::before {
    content: "\e30e";
  }
  ul.menu-level-2 li.menu-item-785 a::before {
    content: "\f039";
  }
  ul.menu-level-2 li.menu-item-887 a::before {
    content: "\f061";
  }
  ul.menu-level-2 li.menu-item-851 a::before {
    content: "\f076";
  }
  ul.menu-level-2 li.menu-item-5306 a::before {
    content: "\e1bb";
  }
  ul.menu-level-2 li.menu-item-3902 a::before {
    content: "\e871";
  }
  ul.menu-level-2 li.menu-item-2246 a::before {
    content: "\e8c2";
  }
  ul.menu-level-2 li.menu-item-4130 a::before {
    content: "\e3fa";
  }
  ul.menu-level-2 li.menu-item-860 a::before {
    content: "\e3aa";
  }

  ul.menu-level-2 li.menu-item-1010 a::before {
    content: "\f061";
  }
  ul.menu-level-2 li.menu-item-8120 a::before {
    content: "\f203";
  }
  ul.menu-level-2 li.menu-item-49862 a::before {
    content: "\e94d";
  }

  ul.menu-level-2 li.menu-item-998 a::before {
    content: "\e1c4";
  }
  ul.menu-level-2 li.menu-item-2957 a::before {
    content: "\efe8";
  }
  ul.menu-level-2 li.menu-item-4160 a::before {
    content: "\e8ee";
  }
  ul.menu-level-2 li.menu-item-932 a::before {
    content: "\e518";
  }
  ul.menu-level-2 li.menu-item-1082 a::before {
    content: "\e1e0";
  }
  ul.menu-level-2 li.menu-item-2897 a::before {
    content: "\e8c1";
  }
  ul.menu-level-2 li.menu-item-2078 a::before {
    content: "\e8c1";
  }
  ul.menu-level-2 li.menu-item-2054 a::before {
    content: "\e156";
  }
  ul.menu-level-2 li.menu-item-5255 a::before {
    content: "\f006";
  }
  ul.menu-level-2 li.menu-item-989 a::before {
    content: "\eb3b";
  }
  ul.menu-level-2 li.menu-item-2039 a::before {
    content: "\f102";
  }
  ul.menu-level-2 li.menu-item-3092 a::before {
    content: "\e0dd";
  }
  ul.menu-level-2 li.menu-item-2144 a::before {
    content: "\efe6";
  }
  ul.menu-level-2 li.menu-item-1571 a::before {
    content: "\f059";
  }
  ul.menu-level-2 li.menu-item-6947 a::before {
    content: "\e873";
  }
  ul.menu-level-2 li.menu-item-7841 a::before {
    content: "\f107";
  }
  #mat-odporucene {
    display: none;
  }
  #productsAlternative .slick-track .product .p-desc{
    display: none!important;
  }
  .cart-window-visible .popup-widget.cart-widget {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    height: min-content !important;
    max-height: calc(100% - 64px) !important;
    z-index: 999999999;
  }
  .popup-widget-inner {
    height: auto !important;
  }
  .cart-widget-button {
    position: relative !important;
  }
  .popup-widget.login-widget {
    box-shadow: none;
  }
  .subcategories li {
    width: 100%;
    padding: 6px;
  }
  #colorbox.shoptet-modal-lg #products {
    padding: 0;
  }
  #colorbox.shoptet-modal-lg .product {
    width: calc(50% - 12px);
  }
  .md-nav.col4 .md-nav-item {
    flex: 0 0 calc(100% / 2 - 1rem);
  }
  .md-nav .md-nav-item {
    flex: 0 0 calc(100% / 2 - 1rem);
  }
  .kalkDosky {
    cursor: pointer;
    width: 100%;
    flex: 0 1 100%;
    flex-direction: column !important;
  }
  .cart-table tr {
    justify-content: space-between;
  }
  .cart-table tr > td.p-name {
    flex: 1 1 100%;
  }
  .cart-table .p-availability {
    flex: 1 1 100%;
  }
  .cart-table tr > td.cart-p-image {
    margin: 0 auto;
  }
  .cart-table tr > td.p-quantity.p-cell {
    padding: 8px 0;
    flex: 0;
  }
  .cart-table tr td.p-price {
    flex: 1;
    font-size: 24px;
    text-align: right !important;
  }
  .cart-table .p-total {
    margin: 16px 0 0;
  }
  .cart-table .p-availability .p-label {
    display: inline-block;
  }
  .cart-table .p-discount.p-cell .p-label {
    display: none;
    margin: 0 4px;
  }
  .cart-table .p-availability .p-label::after {
    content: ":";
  }
  .cart-table .p-total {
    flex: 1;
  }
  .cart-table .p-discount {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .cart-content .cart-summary,
  .cart-content .delivery-time {
    padding: 16px 8px !important;
  }
  .cart-content .discount-coupon .applied-coupon form fieldset {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin: 8px 0 8px 8px;
  }
  .cart-table tr {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cart-table tr td.p-total {
    text-align: left !important;
    flex: 1 1 100%;
  }
  .md-tree-item.span2,
  .md-tree-item.span3 {
    width: calc(100% - 1rem);
    flex: 1 1 calc(100% - 1rem);
  }
  #carousel .carousel-slide-caption h2,
  #carousel .carousel-slide-caption p {
    margin: 4px 0;
  }
  .md-imageNav.col6 .navItem {
    width: 100%;
  }
  .votes-wrap.discussion .btn {
    position: relative;
    top: 0;
    left: 0;
    right: unset;
    margin: -8px 0 -8px auto !important;
  }
  .ytv-list ul li {
    flex: 0 1 calc(50% - 0.5rem) !important;
  }
  .md-section.narrow {
    width: 50%;
  }
  div[itemprop="about"] table,
  div[itemprop="about"] table tbody {
    width: 100% !important;
    display: flex;
  }
  div[itemprop="about"] table tr {
    display: flex;
    flex-direction: column;
  }
  div[itemprop="about"] table tr td {
    width: 100% !important;
  }
  .admin-bar {
    display: flex;
    position: relative !important;
    height: auto !important;
  }
  .admin-bar .container > ul {
    height: auto;
    padding: 0;
    justify-content: center;
  }
  .admin-bar ul li:nth-of-type(1n + 2) {
    display: none;
  }
  .admin-bar a,
  .admin-bar span {
    line-height: normal !important;
    color: #fff;
  }
  #navigation .button-wrap {
    justify-content: left;
    margin: 0 12px;
  }
  .mobileLang {
    padding: 0 20px 16px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    order: 3;
  }
  span.languagesMenu__list__name {
    display: none;
  }
  .languagesMenu__list__link {
    display: flex;
  }
  .mobileLangButton::after {
    content: "\e5cf";
    font-family: "Material Icons Outlined";
    display: flex;
    margin-left: 8px;
  }
  .mobileLangButton.show::after {
    content: "\e5ce";
  }
  .languagesMenu__header--name::after {
    content: ":";
  }
  .mobileLang .languagesMenu__header--actual:first-of-type::after {
    content: "\00a0/\00a0";
  }
  .mobileLang .languagesMenu__list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    flex: 0 0 50%;
    display: flex;
    flex-flow: row wrap;
    align-items: start;
    justify-content: start;
    height: fit-content;
  }
  .mobileLangWrap {
    display: none;
  }
  .mobileLangWrap.show {
    display: flex;
    margin: 8px -4px;
    width: 100%;
  }
  .navigation-close::after {
    content: "Zavrieť";
  }
  .navigation-close::before {
    content: "\e5cd";
    position: relative;
    height: 24px;
    width: 24px;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .navigation-close {
    position: relative;
    order: 1;
  }
  .mobileAccountWrap {
    order: 2;
  }
  .navigation-in {
    order: 4;
    padding-bottom: 100px;
  }
  .mobileLang .shp-flag-CZ {
    background-image: url(https://www.atria.sk/user/documents/img/flags/4x3/cz.svg);
  }
  .mobileLang .shp-flag-SK {
    background-image: url(https://www.atria.sk/user/documents/img/flags/4x3/sk.svg);
  }
  .mobileLang .shp-flag-GB {
    background-image: url(https://www.atria.sk/user/documents/img/flags/4x3/gb.svg);
  }
  .mobileLang .shp-flag-DE {
    background-image: url(https://www.atria.sk/user/documents/img/flags/4x3/de.svg);
  }
  .mobileLang .shp-flag-HU {
    background-image: url(https://www.atria.sk/user/documents/img/flags/4x3/hu.svg);
  }
  .mobileLang .shp-flag-PL {
    background-image: url(https://www.atria-slovensko.sk/user/documents/upload/d/pl.svg);
  }
  .mobileLang .shp-flag-RO {
    background-image: url(https://www.atria-slovensko.sk/user/documents/upload/d/ro.svg);
  }
  .mobileLang .shp-flag {
    width: 54px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 4px;
    border-radius: 8px;
  }
  .mobileLang .shp-flag use {
    display: none;
  }
  .navigation-buttons .favProducts {
    display: none;
  }
  #navigation .favProducts::after {
    content: "Obľúbené produkty";
  }
  #navigation .favProducts::before {
    content: "\e87e";
    font-family: "Material Icons Outlined" !important;
  }
  #navigation .favProducts i {
    order: 999;
    font-style: normal;
    font-weight: 400;
    font-family: Lexend !important;
    font-size: 16px;
    margin: 0 0 0 4px;
  }
  #navigation .favProducts i::before {
    content: "(";
  }
  #navigation .favProducts i::after {
    content: ")";
  }
  .regInfoVO a.m3.button.filled.tonal.elevated.with-icon {
    margin: 0.5rem !important;
    width: 240px !important;
  }
  .mobileLang .languagesMenu__list .m3.chip {
    height: 40px !important;
  }
  .p-detail .p-code {
    padding: 0 10px !important;
  }
  .retino-badge-container-icon.in-article {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .retino-badge-icon {
    width: 70%;
  }
  .variant-table .table-row .table-col.variant-name-wrapper {
    flex: 1 1 100%;
  }

  .cart-row .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ordering-process .cart-empty .col-md-4 .cart-content,
  .ordering-process .checkout-box,
  .ordering-process .checkout-box-wrapper {
    height: auto;
  }
  .ordering-process #content-wrapper {
    padding-top: auto !important;
  }
  .in-kosik .back-shopping-link{
    display: block;
  }
  .back-shopping-link .products-block{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .back-shopping-link .products-block .product{
    width: 100%;
  }

}
