/*úprava vrchního menu*/
.navigation-in>ul>li.exp>a,
.navigation-in>ul>li>a:hover {
    background-color: unset !important;
    color: var(--color-secondary) !important;
}
.type-product .p-detail-full-width #tab-content {
    box-shadow: unset !important;
    padding: 0 !important;
}
.type-product .full-width.p-detail-full-width {
    padding: 0 !important;
}
.type-product .full-width.p-detail-full-width .container-full-width {
    max-width: 100%;
}
.type-product .full-width.p-detail-full-width .container-full-width > .shp-tabs-wrapper > .row > .col-sm-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.type-product .benefit-banners-full-width,
.type-product .full-width.p-detail-full-width .container-full-width > .shp-tabs-wrapper > .row > .responsive-nav,
.type-product .full-width.p-detail-full-width .container-full-width > .shp-tabs-wrapper > .row > .col-sm-12 > .tab-content .basic-description > h4:first-of-type {
    display: none !important;
}
.mobile .description-inner .basic-description, .one-column-body .description-inner .basic-description {
    padding: 0 !important;
}
.type-product .overall-wrapper {
    overflow: hidden !important;
}
.type-product .p-detail-inner > .p-data-wrapper > .p-short-description p {
  margin-bottom: 0 !important;
}
.p-detail-inner > .p-data-wrapper > .p-short-description p {
  padding-bottom: 0 !important;
}
.in-index .homepage-products-heading-2,
.in-index .products-wrapper:has(.homepage-products-2),
.in-index .welcome-wrapper {
  display: none !important;
}

#footer, .footer-bottom-full-width, .footer-bottom {
  background-color: #f8f8f8!important;
}
html, body {
  min-height: 100%;
}
body > .overall-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .overall-wrapper > #header {
  width: 100%;
}
body > .overall-wrapper > #content-wrapper {
  flex: 1 0 auto;
}
body > .overall-wrapper > #footer {
  margin-top: auto;
}
body.search-window-visible:before {
  background-color: rgba(0, 0, 0, .25);
}
:where(body.ums_page_element_headings--on) :where(.footer) .pageElement__heading:after {
  display: none!important;
}
.desktop .carousel-inner {
  min-height: unset !important;
}
@media (min-width: 1200px) and (max-width: 1499px) {
  .in-index .carousel .extended-banner-texts .extended-banner-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
  }
}
@media (min-width: 1500px) {
  .in-index .carousel .extended-banner-texts .extended-banner-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 80px;
    margin-left: -5px;
  }
}
/* úpravy menu pro desktop */
@media (min-width: 992px) {
    #header {
        display: grid !important;
        grid-template-columns: 100px 1fr 100px; /* 250px 1fr 250px; */
        align-items: center !important;
        padding: 10px 30px !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        /*min-height: 90px !important;*/
    }

    .header-top, .header-bottom,
    .header-top-wrapper, .header-bottom-wrapper {
        display: contents !important;
    }

    .site-name {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important; 
    }

    .site-name a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    .site-name img {
        display: block !important;
        width: 100% !important;
        max-width: 180px !important; 
        min-width: 100px !important; 
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-fit: contain !important;
    }

    #navigation {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .navigation-in, #navigation .menu-level-1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .navigation-buttons {
        grid-column: 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin: 0 !important;
        gap: 20px !important;
    }

    .navigation-tools, .user-action, .navigation-buttons a[data-target="navigation"] {
        display: none !important;
    }

    .user-action {
        display: block !important;
        position: absolute !important;
        top: 6% !important; 
        right: 0 !important;
        width: 100% !important;
        height: 0 !important;
        z-index: 1003 !important; 
    }

    .user-action-in {
        position: relative !important;
        width: 100% !important;
        max-width: 1450px !important; 
        margin: 0 auto !important;
    }

    .search-widget {
        position: fixed !important; 
        top: 90px !important; 
        left: 0 !important;
        width: 100vw !important;
        background-color: #ffffff !important;
        padding: 30px 0 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        z-index: 1005 !important; 
    }

    .search-widget .search-form {
        width: 100% !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        /*position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;*/
    }

    .search-widget-close {
        position: absolute !important;
        top: 20px !important;
        right: 40px !important;
        z-index: 1006 !important;
    }

    .user-action-cart, .user-action-login {
        position: absolute !important;
        top: 0 !important;
        right: 30px !important;
        left: auto !important;
        width: 500px !important;
        z-index: 1005 !important;
        background-color: #ffffff !important;
    }
    .benefitBanner .benefitBanner__item {
        flex-flow: row nowrap !important;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    .benefitBanner .benefitBanner__picture {
        margin: 0 16px 0 0 !important;
        flex: 0 0 auto;
    }

    .benefitBanner .benefitBanner__content {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .benefitBanner .benefitBanner__title {
        margin-bottom: 4px !important;
        display: block;
    }
}



/* Úpravy Desktop */
@media (min-width: 768px) {
    #header .header-top .header-top-wrapper .site-name,
    #header .header-top .header-top-wrapper h1.site-name {
        width: 15%;
    }
    .carousel .extended-banner-texts {
      width: 28% !important;
    }
}

/* Úpravy Mobil */
@media (max-width: 767px) {
    .benefitBanner {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .benefitBanner.position--benefitProduct {
      margin-top: 0px !important;
    }

    .benefitBanner.position--benefitHomepage .benefitBanner__item, .benefitBanner.position--benefitProduct .benefitBanner__item {
        width: 50% !important;
        box-sizing: border-box !important;
        flex: 0 0 50% !important;
    }
    .in-index > .overall-wrapper > .content-wrapper .benefit-banners-full-width > .container-full-width {padding: unset;}
    .type-product > .overall-wrapper > .content-wrapper .benefit-banners-full-width > .container-full-width {padding: unset;}

}


/* Kryty */
.magsafe-features-section {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  padding: 60px 0;
  width: 100%;
  box-sizing: border-box;
}
.magsafe-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  position: relative;
}
.info-item {
  flex: 1;
  text-align: center;
  padding: 0 15px;
  position: relative;
}
.info-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: #333333;
}
.info-item h3 {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin: 0 0 10px 0;
  font-weight: 500;
}
.info-item p {
  color: #666666;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}
.magsafe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}
.card-text {
  padding: 40px 30px 10px;
}
.card-text h2 {
  color: #000000;
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  font-weight: 700;
}
.card-text p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.card-image {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /*padding: 0 20px 20px;*/
}
.card-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.middle-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.stacked-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
@media (max-width: 992px) {
  .magsafe-grid {
    grid-template-columns: 1fr;
  }
  .middle-stack {
    flex-direction: row;
  }
  .info-row {
    flex-wrap: wrap;
    gap: 40px 0;
  }
  .info-item {
    flex: 0 0 50%;
  }
  .info-item:not(:last-child)::after {
    display: none; 
  }
  .info-item:nth-child(odd)::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e0e0e0;
  }
}
@media (max-width: 768px) {
  .info-item {
    flex: 0 0 50%;
    padding: 0 10px;
  }
  .magsafe-container {
    padding: 0 10px;
  }
  .info-item:nth-child(odd)::after {
    display: none;
  }
  .middle-stack {
    flex-direction: column;
  }
  footer .custom-footer h3 {
    margin-top: 10px;
  }
  footer .footer-rows .custom-footer>div {
    padding-top: 4px;
  }
  footer .footer-rows .contact-box {
    min-height: unset;
  }
}

.multiple-columns-body .wide-carousel .carousel {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.wide-carousel .carousel-inner .item a {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    background-color: #ffffff; 
    height: 600px; 
    overflow: hidden;
}

.wide-carousel .carousel-inner .item a img {
    /*width: 60%; */
    height: 100%;
    object-fit: cover;
    object-position: center; 
}

.navigation-in>ul>li>a.active>b {
  border-bottom: 3px solid #575756;
  font-weight: 700;
}

.type-category .category-title {
  /*display: none !important;*/
}
#dkLabTopFilters .filter-section, #dkLabTopFilters .filter-section-boolean, #dkLabTopFilters .slider-wrapper {
  border-color: var(--colors-foregrounds-borders-secondary)!important;
}
.desktop #dkLabTopFilters .filter-section h4, .desktop #dkLabTopFilters .slider-wrapper h4 {
  line-height: 12px;
}
#dkLabTopFilters #category-header > span.span--sort{
  border-color: var(--colors-foregrounds-borders-secondary)!important;
}
.slider-wrapper, .filter-section, .span--sort {
  border-radius: 8px;
}
.type-category .category-title {
  text-align:left;
  color: white;
  padding: 100px 50px;
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kryty/telefon-stul.jpg");
  background-position: center;
  background-size: cover;
  /*margin: 0px -115px;*/
}

.in-kryty.type-category .category-title {
  color: #575756!important;
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kategorie/kryt.jpg")!important;
}

.in-ostatni.type-category .category-title {
  color: #575756!important;
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kategorie/ostatni.jpg")!important;
}

.in-kabely-a-adaptery.type-category .category-title {
  /*color: #575756!important;*/
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kategorie/kabely.jpg")!important;
}

.in-ochranna-skla .category-title {
  color: #575756!important;
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kategorie/skla.jpg")!important;
}

.in-kontakty .content-inner article > header {
  padding: 100px 50px;
  background-image: url("https://cdn.myshoptet.com/usr/www.malum.cz/user/documents/img/kontakt.jpg");
  background-position: center;
  margin: 0px -115px;
}

.in-kontakty .content-inner article > header > h1 {
  color: white!important;
}

#dkLabTopFilters .filter-section > form, #dkLabTopFilters .slider-wrapper > .dkLab-slider-wrapper, #dkLabTopFilters .filter-section-boolean .param-filter-top, #dkLabTopFilters #category-header > form, #dkLabTopFilters #category-header .listSorting {
  border-color: var(--colors-foregrounds-borders-secondary) !important;
  border-radius: 8px;
}
.filter-section-count {
  display: none!important;
}
.type-category .itemsTotal {
  display: none !important;
}
.slider-wrapper {
  display: none !important;
}
.products-block>div .p .p-in .p-bottom>div .prices .price-final {
  /*flex-basis: unset !important;*/
}

.desktop.type-category .products-block .p-bottom .prices {
    flex-grow: 1;
    flex-shrink: 0;
    /*text-align: left;*/
}

.desktop.type-category .products-block .p-bottom .p-tools {
    flex-grow: 0;
    flex-shrink: 1;
    text-align: right;
}

.desktop.type-category .products-block .p-bottom>div {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
}

.desktop.type-category .products-block>div .p .p-in .p-bottom>div .prices .price-standard {
  margin-left: 0 !important;
}

.desktop.type-category .p-bottom {
  padding: 0px 12px;
}

.desktop.type-category .p-bottom .prices {
  text-align: left;
}
.desktop.type-category .products-block>div .p .p-in .p-bottom>div .prices {
  justify-content: flex-start!important;
}

@media (min-width: 768px) {
  #dkLabTopFilters #category-header > span.span--sort {
    padding: 14px 50px 14px 20px !important;
  }
}

#dkLabTopFilters .filter-count {
  top: unset !important;
}

.desktop .navigation-in li:last-of-type {
  margin-left: auto;
}
.desktop .navigation-in li:first-of-type {
  margin-left: auto;
}
@media (min-width: 992px) {
  .desktop.type-product .content-wrapper {
    max-width: 1400px !important;
    margin: 0 auto !important;
  }
  .p-detail-full-width {
    background-color: unset !important;
  }
  .desktop.type-product .description-inner { 
    padding-bottom: 20px;
  }
  .desktop.type-product main.content.wide {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  .desktop.type-product .p-detail-inner {
    width: 100% !important;
  }
  .desktop.type-product .full-width.p-detail-full-width .container-full-width {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
  }
  .desktop.type-product .full-width.p-detail-full-width .container-full-width > .shp-tabs-wrapper > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .desktop.type-product .full-width.p-detail-full-width .container-full-width > .shp-tabs-wrapper > .row > .col-sm-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .desktop .category-content-wrapper {
    padding: 0 30px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
  }
  .desktop .popup-widget.cart-widget {
    box-shadow: 0 0px 8px 5px rgba(0, 0, 0, .08);
  }
  .desktop .user-action-login.popup-widget.login-widget {
    box-shadow: 0 0px 8px 5px rgba(0, 0, 0, .08);
  }
  .desktop .popup-widget.cart-widget .cart-widget-bottom {
    height: 74px !important;
  }
  .desktop .popup-widget.cart-widget .popup-widget-inner.cart-widget-inner {
    margin-bottom: 74px !important;
  }
  .desktop .popup-widget.cart-widget .cart-widget-button {
    padding-top: 0 !important;
  }
}
@media (min-width: 768px) {
    .category-top {
      margin-bottom: 0px!important;
    }
    .desktop.type-category #dkLabTopFilters {
      margin-top: 0px;
    }
}

.mobile.type-product .description-inner { 
    padding-left: 10px;
    padding-right: 10px;
  }
#footer, .footer-rows .rate-wrapper {
    background-color: #f8f8f8!important;
}

/* Skrytí "zadat poznámku v košíku" */
div.co-box.co-box-additional > div.form-group:has(input#add-note[data-testid="addNote"]) {
    display: none !important;
}

div.co-box.co-box-additional > div#note:has(textarea#remark) {
    display: none !important;
}
/* Konec úpravy */

/* Schování tlačítek Tisk a Sdílet u produktů*/
div.link-icons[data-testid="productDetailActionIcons"] > a.link-icon.print[title="Tisknout produkt"] {
    display: none !important;
}

div.link-icons[data-testid="productDetailActionIcons"] > a.link-icon.share[title="Sdílet produkt"] {
    display: none !important;
}

div.buttons-wrapper.social-buttons-wrapper > div.social-buttons {
    display: none !important;
}
/* Konec úpravy */

[class*=" icon-"]:after,[class^=icon-]:after {opacity:0!important}
[class*=" icon-"], [class^=icon-] {color: #575757!important}

@media (min-width: 1440px) {
    .overall-wrapper .footer-rows {
        width: 1400px;
        padding: 0 30px !important;
    }
    .overall-wrapper .footer-bottom-full-width {
        width: 1400px;
        left: unset;
        margin-left: unset;
        margin-right: unset;
        right: unset;
        margin: 0 auto;
        padding: 16px 15px !important;
    }
}

/* Úpravy carouselu, nakonec nepoužité
@media (max-width: 767px) {
    .wide-carousel .carousel-inner .item a {
        display: flex;
        flex-direction: column;
        background-color: #ffffff; 
    }
    
    .wide-carousel .carousel-inner .item a img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .wide-carousel .carousel-inner .item a .extended-banner-texts {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        
        width: 100%;
        text-align: center;
        padding: 30px 15px;
        background-color: #ffffff;
    }

    .wide-carousel .item a .extended-banner-title,
    .wide-carousel .item a .extended-banner-text,
    .wide-carousel .item a .extended-banner-link {
        display: block;
        margin-bottom: 10px;
    }
    .carousel .extended-banner-texts {
      align-items: center;
    }
}

@media (min-width: 768px) {
    .wide-carousel .carousel-inner .item a {
        display: flex;
        flex-direction: row-reverse; 
        align-items: center;
        background-color: #ffffff; 
        height: 600px; 
        overflow: hidden;
    }
    
    .wide-carousel .carousel-inner .item a img {
        width: 60%; 
        height: 100%;
        object-fit: cover;
        object-position: center; 
    }

    .wide-carousel .carousel-inner .item a .extended-banner-texts {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        
        width: 50%; 
        padding: 40px 60px; 
        text-align: left;
        box-sizing: border-box;
    }

    .wide-carousel .item a .extended-banner-title,
    .wide-carousel .item a .extended-banner-text,
    .wide-carousel .item a .extended-banner-link {
        display: block;
        margin-bottom: 15px;
    }
}
*/
