@media (min-width: 992px) {
  .shp-tabs-holder .shp-tab:has(> a[href="#productsAlternative"]) {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .p-info-wrapper > .up-product-wrapper:has(.position-bellow_description) {
    order: 3 !important;
  }
  .p-info-wrapper > .up-product-wrapper:has(.position-above_add_to_cart_button) {
    order: 14 !important;
  }
}

@media (min-width: 768px) {
  body:not(.cart-window-visible):not(.login-window-visible):not(:has(.search-whisperer.active)) #ds-header-dim {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 992px) {
  .type-category .sidebar .box-filters .filters-wrapper,
  .type-category .sidebar .box-filters #filters {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 992px) {
  .type-post #content > .content-inner {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  /* Druhý údaj vedle expedice: Odborné poradenství. */
  .ds-topbar-usps > .ds-topbar-usp:nth-child(2),
  .top-navigation-menu li:has(> a:is([href$="/znacka/"], [href$="/obchodni-podminky/"], [href$="/podminky-ochrany-osobnich-udaju/"], [href$="/mapa-serveru/"])) {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .top-navigation-bar > .container::before,
  .top-navigation-bar > .container::after { content: none; }
  #header .navigation-wrapper > #navigation { margin-inline: -11px 0; }
  #header #navigation .menu-level-1 > li > a[href="/akce/"] { padding-left: 11px !important; }
}

@media (min-width: 992px) {
.in-index .ds-guide-tiles {
display: grid;grid-template-columns: repeat(5, minmax(0, 1fr));gap: 10px;
margin: 20px 0 32px;padding: 0;
}
.in-index .ds-guide-tiles::before, .in-index .ds-guide-tiles::after { content: none;}
.in-index .ds-guide-tiles > .footer-banner { width: auto;max-width: none;margin: 0;padding: 0;}
.in-index .ds-guide-tiles .footer-banner > a {
display: flex;flex-direction: column;align-items: center;gap: 14px;height: 100%;width: 100%;
padding: 24px 12px 20px;background: #f5f5f5;color: #262f34;text-align: center;text-decoration: none;
}
.in-index .ds-guide-tiles .footer-banner > a:is(:hover, :focus-visible) { background: #eaf3f3;color: #007783;}
.in-index .ds-guide-tiles .footer-banner img { display: block;width: 100px;height: 100px;object-fit: contain;}
.in-index .ds-guide-tiles .extended-banner-texts, .in-index .ds-guide-tiles .extended-banner-title {
position: static;display: block;width: 100%;height: auto;margin: 0;padding: 0;
border: 0;box-shadow: none;color: inherit;background: transparent;text-align: center;font-size: 16px;font-weight: 600;line-height: 1.4;
}
}

.in-index .latest-contribution-box {display:none!important}
@media (min-width: 992px) {
.in-index .before-carousel ~ .content-wrapper.container,
.in-index .before-carousel ~ .content-wrapper.container > .content-wrapper-in > main.content,
.in-index .homepage-box.welcome-wrapper,
.in-index .homepage-box.welcome-wrapper > .content-wrapper-in > .container {
padding-inline: 0 !important;
}
.in-index .before-carousel ~ .content-wrapper.container { overflow-x: clip; }
}

.in-index .ds-carousel-stage{padding-inline:0}.ds-carousel-stage .arrow{z-index:2;background:#02838f!important;color:#fff!important}
.in-index .products.ds-carousel {
--cards: 4;--gap: 20px;
display: grid !important;grid-template-columns: none !important;
grid-auto-flow: column;grid-auto-columns: calc((100% + var(--gap)) / var(--cards) - var(--gap));
gap: var(--gap) !important;width: 100%;min-width: 0;overflow-x: auto;
scroll-snap-type: x mandatory;overscroll-behavior-x: contain;scrollbar-width: none;
}
.ds-carousel::-webkit-scrollbar {display:none}
.in-index .ds-carousel > .product {width:100%;min-width:0;max-width:none;scroll-snap-align:start}
.ds-carousel-nav {display:flex;justify-content:center;align-items:center;gap:4px;margin:12px auto 28px}
.ds-carousel-nav[hidden] {display:none}
.ds-carousel-nav button {display:grid;place-items:center;padding:0;cursor:pointer;color:#263035;background:transparent;border:0;border-radius:50%}
.ds-carousel-nav .arrow {width:40px;height:40px;border:0;font:26px/1 Arial,sans-serif}
.ds-carousel-nav .arrow:disabled {opacity:.35;cursor:default}
.ds-carousel-nav .dot {width:20px;height:32px}
.ds-carousel-nav .dot::after {content:"";width:7px;height:7px;border-radius:50%;background:#bac6c7}
.ds-carousel-nav [aria-current="true"]::after {background:#007c89}
.ds-carousel-nav button:focus-visible {outline:2px solid #007c89;outline-offset:1px}
@media(max-width:1023px){.in-index .products.ds-carousel {--cards:3;--gap:12px}}
@media(max-width:767px){.in-index .products.ds-carousel {--cards:2;--gap:8px}.ds-carousel-nav {gap:0}.ds-carousel-nav .dot {width:18px}}

/* Product detail: omit the orphaned heading when the tab panel follows it. */
.p-detail > .products-related-header:has(+ .p-detail-tabs-wrapper),
.p-detail > .products-related-header:has(+ .browse-p + .p-detail-tabs-wrapper) {
  display: none !important;
}

/* Shoptet can also move this tab into the overflow menu. */
.p-detail-tabs-wrapper .shp-tab[data-testid="tabGpsr"],
.p-detail-tabs-wrapper li:has(> a[href="#otherInformation"]) {
  display: none !important;
}

/* Hide the previous/next product controls shown after browsing a product list. */
.p-detail > .browse-p > .p-prev,
.p-detail > .browse-p > .p-next {
  display: none !important;
}

/* Follow the mouse continuously, including short drags between card edges. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .in-index .products.ds-carousel {
    scroll-snap-type: none;
  }
}
.in-index .products.ds-carousel.ds-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
