#header {
    position: relative;
    margin-bottom: 10px;
}

#header::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: -10px;
    width: 100vw;
    height: 10px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        #f2f1f1 0%,
        #ededed 50%,
        #e7e7e7 100%
    );
}

@media (min-width: 768px) {

    .container--bannersBenefit .benefitBanner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 30px;
        align-items: start;
    }

    .container--bannersBenefit .benefitBanner__item {
        width: 100%;
        font-size: 100%;
    }

    .container--bannersBenefit .benefitBanner__picture {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .container--bannersBenefit .benefitBanner__img {
        width: 120%;
        max-width: none;
        height: auto;
        display: block;
        object-fit: contain;
        margin-left: -10%;
    }
    
    /* NADPIS – zůstává větší */
    .container--bannersBenefit .benefitBanner__title {
        font-size: 120%;
    }

    /* POPIS – menší */
    .container--bannersBenefit .benefitBanner__data {
        font-size: 120%;
    }
}

@media (min-width: 768px) {
    .p-in a.name,
    .p-in a.name span[data-testid="productCardName"] {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
}

a.btn.btn-primary {
    background-color: #00bc47;
    border-color: #00bc47;
    color: #fff;
}

a.btn.btn-primary:hover {
    background-color: #343434;
    border-color: #343434;
    color: #fff;
}

.body-banners {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 20px;
    padding-bottom: 20px;
}

.body-banners .banner-wrapper {
    width: 100%;
    max-width: none;
}

.footer-banners.row.banner-wrapper {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.footer-banners .footer-banner {
    width: 100%;
    max-width: none;
    padding: 0;
}

.footer-banners img {
    width: 100%;
    height: auto;
    display: block;
}

.product .p {
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(75, 110, 125, 0.14);
}

.flag-discount {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.flag-discount .price-standard {
    white-space: nowrap;
    font-size: 13px;
}

.flag-discount .price-save {
    display: block;
    white-space: nowrap;
    margin-top: 3px;
    font-size: 15px;
    font-weight: 600;
}

.navigation-in .menu-level-2 {
    min-width: 340px;
    width: max-content;
    max-width: 500px;
    padding: 12px 0;
}

.navigation-in .menu-level-2 li {
    white-space: nowrap;
}

.navigation-in .menu-level-2 li a {
    display: flex;
    align-items: center;
    padding: 7px 20px;
    line-height: 1.3;
}

.navigation-in .menu-level-2 li a::before {
    content: "";
    display: block;
    width: 3px;
    height: 18px;
    background: #60775d;
    margin-right: 10px;
    flex-shrink: 0;
}

h1 {
  color: #3a6691;
}

.shp-tab-link {
  color: #3a6691 !important;
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 992px) {

    /* Celá oblast galerie */
    .p-image-wrapper,
    .p-image,
    .p-image-wrapper .row,
    .p-thumbnails-wrapper,
    .p-thumbnails {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Kontejner náhledů */
    .p-thumbnails-wrapper {
        width: 100% !important;
        margin-top: 12px !important;
    }

    .p-thumbnails {
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Zrušení sliderového posouvání */
    .p-thumbnails-inner {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;

        display: flex !important;
        flex-wrap: wrap !important;
        align-content: flex-start !important;
        justify-content: flex-start !important;

        gap: 10px !important;
        transform: none !important;

        overflow: visible !important;
    }

    /* Tento vnitřní div obsahuje všechny náhledy */
    .p-thumbnails-inner > div {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;

        width: 100% !important;
        height: auto !important;
        max-height: none !important;

        overflow: visible !important;
    }

    /* Náhled */
    .p-thumbnails .p-thumbnail {
        display: block !important;

        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;

        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;

        flex: 0 0 100px !important;

        margin: 0 !important;
    }

    .p-thumbnails .p-thumbnail img {
        display: block !important;
        width: 100px !important;
        height: 100px !important;
        max-width: 100% !important;

        object-fit: contain !important;
    }

    /* Schovat šipky slideru */
    .p-thumbnails .thumbnail-prev,
    .p-thumbnails .thumbnail-next {
        display: none !important;
    }

    /* Lightbox odkazy nejsou náhledy */
    .p-thumbnails .cbox-gal {
        display: none !important;
    }
}

.shp-tabs-row a[href$="#productsAlternative"] {
      display: none !important;
}
#tab-content {
      display: flex;
      flex-direction: column;
}
#productsAlternative {
      display: block !important;
      opacity: 1 !important;
      order: 99;
}
#productsAlternative:before {
      content: 'Podobné produkty';
      font-size: 140%;
      margin-top: 30px;
      display: block;
}

.homepage-texts-wrapper {
    position: relative;
    margin-top: 60px;
    margin-bottom: 30px;
}

.homepage-texts-wrapper::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -30px;
    bottom: -30px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f3f8fa;
}

.homepage-texts-wrapper > * {
    position: relative;
    z-index: 1;
}
#footer.footer {
    margin-top: 0 !important;
    border-top: none !important;
}

.welcome .h1 {
    color: #3a6691 !important;
}

@media (min-width: 992px) {
    body.in-hodnoceni-obchodu #content-wrapper > .content-wrapper-in {
        max-width: 1378px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    .subcategories .text {
        font-size: 15px;
        font-weight: 700;
    }
}

/* Barevná kolečka v náhledu kategorie */
.widget-parameter-wrapper[data-parameter-id="4"] .widget-parameter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.widget-parameter-wrapper[data-parameter-id="4"] .widget-parameter-value a {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #ddd;
    font-size: 0;
    line-height: 0;
    transition: transform .2s ease, border-color .2s ease;
}

.widget-parameter-wrapper[data-parameter-id="4"] .widget-parameter-value a:hover {
    transform: scale(1.15);
    border-color: #333;
}