:root {
    --mk-text: #1f2328;
    --mk-tlumeny: #6b7077;
    --mk-pozadi: #f7f7f5;
    --mk-karta: #ffffff;
    --mk-ramecek: #e1e3e6;
    --mk-plocha: #eff0f2;
    --mk-tmava: #15181e;
    --mk-konverze: #ab1e33;
    --mk-konverze-hover: #e21c21;
    --mk-radius: 14px;
    --mk-sirka: 1240px;
    --mk-akcent: #15181e;
    --mk-akcent-svetly: #eff0f2;
    --mk-krem: #faf5ef;
    --mk-darek: #f1e0cf;
    --mk-hneda: #5b3a1e;
}

.type-detail.in-kava-pause {
    --mk-akcent: #8a5a1f;
    --mk-akcent-svetly: #f5ede0;
}

.type-index,
.type-category,
.type-detail {
    background: var(--mk-pozadi);
}

.type-index #content,
.type-category #content,
.type-detail #content {
    box-sizing: border-box;
    max-width: var(--mk-sirka);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.type-index #content > h1 {
    position: static;
    width: auto;
    height: auto;
    margin: 32px 0 24px;
    padding: 0;
    border: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--mk-text);
}

.type-index .banners-row {
    display: block;
    margin: 0;
}

.type-index .banners-row .wide-carousel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--mk-ramecek);
    border-radius: var(--mk-radius);
    background: var(--mk-karta);
}

.type-index .banners-row .wide-carousel .carousel,
.type-index .banners-row .wide-carousel .carousel-inner,
.type-index .banners-row .wide-carousel .item {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.type-index .banners-row .wide-carousel img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.type-index .banners-row .next-to-carousel-banners {
    width: 100%;
    max-width: none;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    justify-content: stretch;
    margin: 0;
    padding: 0;
}

.type-index .next-to-carousel-banners .banner-wrapper {
    position: relative;
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--mk-ramecek);
    border-radius: var(--mk-radius);
    background: var(--mk-karta);
}

.type-index .next-to-carousel-banners .banner-wrapper > a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--mk-text);
    text-decoration: none;
}

.type-index .next-to-carousel-banners .banner-wrapper > a img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--mk-plocha);
}

.type-index .next-to-carousel-banners .banner-wrapper > a.extended-empty .extended-banner-texts {
    display: none;
}

.type-index .next-to-carousel-banners .extended-banner-texts {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px 22px;
}

.type-index .next-to-carousel-banners .extended-banner-title,
.type-index .next-to-carousel-banners .extended-banner-text,
.type-index .next-to-carousel-banners .extended-banner-link {
    position: static;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
}

.type-index .next-to-carousel-banners .extended-banner-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--mk-text);
}

.type-index .next-to-carousel-banners .extended-banner-text {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--mk-tlumeny);
}

.type-index .next-to-carousel-banners .extended-banner-link,
.type-index .next-to-carousel-banners .mk-tlacitko {
    display: block;
    margin-top: auto;
    padding: 12px 16px;
    border: 1px solid var(--mk-ramecek);
    border-radius: 10px;
    background: var(--mk-karta);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--mk-text);
    transition: background 0.2s ease, color 0.2s ease;
}

.type-index .next-to-carousel-banners .banner-wrapper > a:hover .extended-banner-link,
.type-index .next-to-carousel-banners .banner-wrapper > a:hover .mk-tlacitko,
.type-index .next-to-carousel-banners .banner-wrapper > a:focus-visible .mk-tlacitko {
    background: var(--mk-tmava);
    border-color: var(--mk-tmava);
    color: #ffffff;
}

.type-index .next-to-carousel-banners .extended-banner-link:empty {
    display: none;
}

.type-index .container--bannersBenefit,
.type-detail .container--bannersBenefit {
    width: auto;
    max-width: none;
    margin: 20px 0 0;
    padding: 0;
}

.type-index .benefitBanner,
.type-category .benefitBanner,
.type-detail .benefitBanner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.type-index .benefitBanner__item,
.type-category .benefitBanner__item,
.type-detail .benefitBanner__item {
    display: block;
    width: auto;
    margin: 0;
    padding: 16px 18px;
    border-left: 4px solid #000000;
    border-radius: 12px;
    background: var(--mk-plocha);
}

.type-index .benefitBanner__picture,
.type-category .benefitBanner__picture,
.type-detail .benefitBanner__picture {
    display: none;
}

.type-index .benefitBanner__content,
.type-category .benefitBanner__content,
.type-detail .benefitBanner__content {
    display: block;
    padding: 0;
    text-align: left;
}

.type-index .benefitBanner__title,
.type-category .benefitBanner__title,
.type-detail .benefitBanner__title {
    display: block;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--mk-text);
}

.type-index .benefitBanner__data,
.type-category .benefitBanner__data,
.type-detail .benefitBanner__data {
    margin-top: 4px;
    font-size: 13px;
    color: var(--mk-tlumeny);
}

.type-index .index-content-wrapper,
.type-index .homepage-texts-wrapper {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.type-index .homepage-tabs-wrapper .shp-tabs-row {
    display: none;
}

.type-index .homepage-tabs-wrapper .tab-content {
    padding-right: 0;
    padding-left: 0;
}

.type-index .homepage-tabs-wrapper .tab-content > .tab-pane {
    display: block;
    height: auto;
    opacity: 1;
    visibility: visible;
}

.type-index .homepage-tabs-wrapper .tab-content > .tab-pane.mk-prazdna {
    display: none;
}

.mk-sekce-nadpis {
    margin: 40px 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--mk-ramecek);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    color: var(--mk-text);
}

.mk-sekce-odkaz {
    display: block;
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    color: var(--mk-text);
}

.type-index .homepage-tabs-wrapper .homepage-group-title {
    display: none;
}

.mk-posuvnik {
    position: relative;
}

.type-index .homepage-tabs-wrapper .products {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.type-index .homepage-tabs-wrapper .products::-webkit-scrollbar {
    display: none;
}

.type-index .homepage-tabs-wrapper .products::before,
.type-index .homepage-tabs-wrapper .products::after {
    display: none;
}

.type-index .homepage-tabs-wrapper .product,
.type-category #products .product,
.type-detail #productsRelated .product {
    flex: 0 0 calc((100% - 20px) / 2);
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}

.mk-sipka {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mk-ramecek);
    border-radius: 50%;
    background: var(--mk-karta);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background 0.2s ease;
}

.mk-sipka::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--mk-text);
    border-right: 2px solid var(--mk-text);
}

.mk-sipka--zpet {
    left: -18px;
}

.mk-sipka--zpet::before {
    margin-left: 4px;
    transform: rotate(-135deg);
}

.mk-sipka--dal {
    right: -18px;
}

.mk-sipka--dal::before {
    margin-right: 4px;
    transform: rotate(45deg);
}

.mk-sipka:hover:not(:disabled),
.mk-sipka:focus-visible {
    background: var(--mk-tmava);
    border-color: var(--mk-tmava);
}

.mk-sipka:hover:not(:disabled)::before,
.mk-sipka:focus-visible::before {
    border-color: #ffffff;
}

.mk-sipka:disabled {
    opacity: 0;
    pointer-events: none;
}

.mk-posuvnik--bez .mk-sipka {
    display: none;
}

.type-index .homepage-tabs-wrapper .product > .p,
.type-category #products .product > .p,
.type-detail #productsRelated .product > .p {
    position: relative;
    display: grid;
    text-align: left;
    grid-template-columns: minmax(110px, 36%) minmax(0, 1fr) auto;
    grid-template-areas:
        "obr nazev nazev"
        "obr popis popis"
        "obr dostup dostup"
        "obr cena tl";
    grid-template-rows: auto auto 1fr auto;
    column-gap: 18px;
    row-gap: 6px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--mk-ramecek);
    border-radius: var(--mk-radius);
    background: var(--mk-karta);
}

.type-index .homepage-tabs-wrapper .product .p-in,
.type-index .homepage-tabs-wrapper .product .p-in-in,
.type-index .homepage-tabs-wrapper .product .p-bottom,
.type-index .homepage-tabs-wrapper .product .p-bottom > [data-micro="offer"],
.type-category #products .product .p-in,
.type-category #products .product .p-in-in,
.type-category #products .product .p-bottom,
.type-category #products .product .p-bottom > [data-micro="offer"],
.type-detail #productsRelated .product .p-in,
.type-detail #productsRelated .product .p-in-in,
.type-detail #productsRelated .product .p-bottom,
.type-detail #productsRelated .product .p-bottom > [data-micro="offer"] {
    display: contents;
}

.type-index .homepage-tabs-wrapper .product .image,
.type-category #products .product .image,
.type-detail #productsRelated .product .image {
    grid-area: obr;
    position: relative;
    display: block;
    align-self: start;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
}

.type-index .homepage-tabs-wrapper .product .image img,
.type-category #products .product .image img,
.type-detail #productsRelated .product .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

.type-index .homepage-tabs-wrapper .product .name,
.type-category #products .product .name,
.type-detail #productsRelated .product .name {
    grid-area: nazev;
    padding-left: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--mk-text);
}

.type-index .homepage-tabs-wrapper .product .p-desc,
.type-category #products .product .p-desc,
.type-detail #productsRelated .product .p-desc {
    display: none;
}

.type-index .homepage-tabs-wrapper .product .mk-objem,
.type-category #products .product .mk-objem,
.type-detail #productsRelated .product .mk-objem {
    grid-area: popis;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    color: var(--mk-tlumeny);
}

.mk-objem {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mk-objem .mk-objem-hodnota,
.mk-objem .mk-vlastnost {
    display: block;
}

.mk-objem .mk-objem-hodnota:empty,
.mk-objem .mk-vlastnost:empty {
    display: none;
}

.mk-objem .mk-vlastnost {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--mk-text);
}

.type-index .homepage-tabs-wrapper .product .availability,
.type-category #products .product .availability,
.type-detail #productsRelated .product .availability {
    grid-area: dostup;
    align-self: end;
    font-size: 13px;
    color: var(--mk-tlumeny);
}

.type-index .homepage-tabs-wrapper .product .prices,
.type-category #products .product .prices,
.type-detail #productsRelated .product .prices {
    grid-area: cena;
    align-self: end;
    margin: 0;
}

.type-index .homepage-tabs-wrapper .product .price-final strong,
.type-category #products .product .price-final strong,
.type-detail #productsRelated .product .price-final strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--mk-text);
}

.type-index .homepage-tabs-wrapper .products-block .product .p .p-bottom .p-tools,
.type-index .homepage-tabs-wrapper .product .p-code,
.type-category #products .product .p .p-bottom .p-tools,
.type-category #products .product .p-code,
.type-detail #productsRelated .product .p .p-bottom .p-tools,
.type-detail #productsRelated .product .p-code {
    display: none;
}

.type-index .homepage-tabs-wrapper .product .mk-detail,
.type-category #products .product .mk-detail,
.type-detail #productsRelated .product .mk-detail {
    grid-area: tl;
    align-self: end;
    justify-self: end;
    padding: 11px 24px;
    border: 1px solid var(--mk-tmava);
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #000000;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.type-index .homepage-tabs-wrapper .product .mk-detail:hover,
.type-index .homepage-tabs-wrapper .product .mk-detail:focus-visible,
.type-category #products .product .mk-detail:hover,
.type-category #products .product .mk-detail:focus-visible,
.type-detail #productsRelated .product .mk-detail:hover,
.type-detail #productsRelated .product .mk-detail:focus-visible {
    border-color: var(--mk-tmava);
    background: var(--mk-tmava);
    color: #ffffff;
    text-decoration: none;
}

.type-index .homepage-tabs-wrapper .product .name,
.type-index .homepage-tabs-wrapper .product .availability,
.type-index .homepage-tabs-wrapper .product .prices,
.type-category #products .product .name,
.type-category #products .product .availability,
.type-category #products .product .prices,
.type-detail #productsRelated .product .name,
.type-detail #productsRelated .product .availability,
.type-detail #productsRelated .product .prices {
    text-align: left;
}

.type-index .homepage-tabs-wrapper .product .p:has(.flags) .name,
.type-category #products .product .p:has(.flags) .name,
.type-detail #productsRelated .product .p:has(.flags) .name {
    padding-right: 96px;
}

.type-index .homepage-tabs-wrapper .product .p > .flags,
.type-category #products .product .p > .flags,
.type-detail #productsRelated .product .p > .flags {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.type-index .homepage-tabs-wrapper .product .p > .flags .flag,
.type-category #products .product .p > .flags .flag,
.type-detail #productsRelated .product .p > .flags .flag {
    position: static;
    margin: 0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
}

.type-index .homepage-tabs-wrapper .product .p > .flags .flag::before,
.type-index .homepage-tabs-wrapper .product .p > .flags .flag::after,
.type-category #products .product .p > .flags .flag::before,
.type-category #products .product .p > .flags .flag::after,
.type-detail #productsRelated .product .p > .flags .flag::before,
.type-detail #productsRelated .product .p > .flags .flag::after {
    display: none;
}

.site-msg.information {
    position: static;
    z-index: auto;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: #ffffff;
}

.site-msg.information .container {
    width: auto;
    max-width: none;
    padding: 0;
}

.site-msg.information .text {
    color: #ffffff;
}

.site-msg.information .close {
    display: none;
}

.type-index .homepage-texts-wrapper {
    display: none;
}

.mk-pribeh-obsah {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 32px;
    align-items: center;
}

.mk-pribeh-obrazek {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 10;
    object-fit: cover;
    border-radius: var(--mk-radius);
    background: var(--mk-plocha);
}

.mk-pribeh-text h3 {
    margin: 0 0 12px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--mk-text);
}

.mk-pribeh-text p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--mk-text);
}

.mk-pribeh .mk-pribeh-odkaz {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--mk-text);
}

.mk-pribeh .mk-pribeh-odkaz:hover,
.mk-pribeh .mk-pribeh-odkaz:focus-visible {
    text-decoration: underline;
}

.type-index .index-content-wrapper .mk-novinky,
.type-category #content .mk-novinky,
.type-detail #content .mk-novinky {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 40px 0 0;
    padding: clamp(18px, 2vw, 26px) clamp(20px, 3.4vw, 48px);
    border: 1px solid var(--mk-ramecek);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mk-krem) 0%, #f6ece2 55%, #ffffff 100%);
    text-align: left;
}

.type-index .index-content-wrapper .mk-novinky::before,
.type-category #content .mk-novinky::before,
.type-detail #content .mk-novinky::before,
.type-index .index-content-wrapper .mk-novinky::after,
.type-category #content .mk-novinky::after,
.type-detail #content .mk-novinky::after {
    display: none;
}

.type-index .mk-novinky .newsletter-header,
.type-category .mk-novinky .newsletter-header,
.type-detail .mk-novinky .newsletter-header {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 2.4vw, 32px) 0 0;
}

.type-index .mk-novinky .newsletter-header .topic,
.type-category .mk-novinky .newsletter-header .topic,
.type-detail .mk-novinky .newsletter-header .topic {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--mk-text);
}

.type-index .mk-novinky .newsletter-header .topic span,
.type-category .mk-novinky .newsletter-header .topic span,
.type-detail .mk-novinky .newsletter-header .topic span {
    display: block;
}

.type-index .mk-novinky .newsletter-header .topic .mk-podtrzeni,
.type-category .mk-novinky .newsletter-header .topic .mk-podtrzeni,
.type-detail .mk-novinky .newsletter-header .topic .mk-podtrzeni {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.type-index .mk-novinky .newsletter-header .topic .mk-podtrzeni::after,
.type-category .mk-novinky .newsletter-header .topic .mk-podtrzeni::after,
.type-detail .mk-novinky .newsletter-header .topic .mk-podtrzeni::after {
    content: '';
    position: absolute;
    right: -6%;
    bottom: 0;
    left: -2%;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C70 4 190 2 298 4 C200 6 90 8 2 11 Z' fill='%235b3a1e'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.type-index .mk-novinky .newsletter-header p,
.type-category .mk-novinky .newsletter-header p,
.type-detail .mk-novinky .newsletter-header p {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--mk-text);
}

.type-index .mk-novinky .mk-novinky-darek,
.type-category .mk-novinky .mk-novinky-darek,
.type-detail .mk-novinky .mk-novinky-darek {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: none;
    margin: 14px 0 0;
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--mk-darek);
    color: var(--mk-hneda);
}

.type-index .mk-novinky .mk-novinky-ikona,
.type-category .mk-novinky .mk-novinky-ikona,
.type-detail .mk-novinky .mk-novinky-ikona {
    flex: none;
    display: block;
    width: 34px;
    height: 34px;
    color: var(--mk-hneda);
}

.type-index .mk-novinky .mk-novinky-ikona svg,
.type-category .mk-novinky .mk-novinky-ikona svg,
.type-detail .mk-novinky .mk-novinky-ikona svg {
    display: block;
    width: 100%;
    height: 100%;
}

.type-index .mk-novinky .mk-novinky-darek .mk-novinky-ikona,
.type-category .mk-novinky .mk-novinky-darek .mk-novinky-ikona,
.type-detail .mk-novinky .mk-novinky-darek .mk-novinky-ikona {
    padding-right: 16px;
    box-sizing: content-box;
    border-right: 1px solid rgba(91, 58, 30, 0.35);
}

.type-index .mk-novinky .mk-novinky-text,
.type-category .mk-novinky .mk-novinky-text,
.type-detail .mk-novinky .mk-novinky-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: var(--mk-text);
}

.type-index .mk-novinky .mk-novinky-text span,
.type-category .mk-novinky .mk-novinky-text span,
.type-detail .mk-novinky .mk-novinky-text span {
    display: block;
}

.type-index .mk-novinky .mk-novinky-text strong,
.type-category .mk-novinky .mk-novinky-text strong,
.type-detail .mk-novinky .mk-novinky-text strong {
    font-weight: 800;
    color: var(--mk-hneda);
}

.type-index .mk-novinky .subscribe-form,
.type-category .mk-novinky .subscribe-form,
.type-detail .mk-novinky .subscribe-form {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 0 0 clamp(20px, 3.4vw, 48px);
    border-left: 1px solid rgba(91, 58, 30, 0.2);
}

.type-index .mk-novinky .subscribe-form .form-control-wrapper,
.type-category .mk-novinky .subscribe-form .form-control-wrapper,
.type-detail .mk-novinky .subscribe-form .form-control-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
}

.type-index .mk-novinky .form-control,
.type-category .mk-novinky .form-control,
.type-detail .mk-novinky .form-control {
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #c9bfb4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    color: var(--mk-text);
}

.type-index .mk-novinky .form-control::placeholder,
.type-category .mk-novinky .form-control::placeholder,
.type-detail .mk-novinky .form-control::placeholder {
    color: var(--mk-tlumeny);
    opacity: 1;
}

.type-index .mk-novinky .subscribe-form .smart-label-wrapper > label,
.type-category .mk-novinky .subscribe-form .smart-label-wrapper > label,
.type-detail .mk-novinky .subscribe-form .smart-label-wrapper > label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.type-index .mk-novinky .subscribe-form .btn,
.type-category .mk-novinky .subscribe-form .btn,
.type-detail .mk-novinky .subscribe-form .btn {
    border: 0;
    border-radius: 14px;
    background: var(--mk-tmava);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
}

.type-index .mk-novinky .subscribe-form .btn:hover,
.type-category .mk-novinky .subscribe-form .btn:hover,
.type-detail .mk-novinky .subscribe-form .btn:hover,
.type-index .mk-novinky .subscribe-form .btn:focus-visible,
.type-category .mk-novinky .subscribe-form .btn:focus-visible,
.type-detail .mk-novinky .subscribe-form .btn:focus-visible {
    background: #000000;
    color: #ffffff;
}

.type-index .mk-novinky .subscribe-form > fieldset,
.type-category .mk-novinky .subscribe-form > fieldset,
.type-detail .mk-novinky .subscribe-form > fieldset {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 0;
}

.type-index .mk-novinky .subscribe-form > fieldset > .smart-label-wrapper,
.type-category .mk-novinky .subscribe-form > fieldset > .smart-label-wrapper,
.type-detail .mk-novinky .subscribe-form > fieldset > .smart-label-wrapper {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.type-index .mk-novinky .subscribe-form > fieldset > .btn,
.type-category .mk-novinky .subscribe-form > fieldset > .btn,
.type-detail .mk-novinky .subscribe-form > fieldset > .btn {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 26px;
    font-size: 16px;
    white-space: nowrap;
}

.type-index .mk-novinky .subscribe-form > fieldset > .box,
.type-category .mk-novinky .subscribe-form > fieldset > .box,
.type-detail .mk-novinky .subscribe-form > fieldset > .box {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--mk-ramecek);
    border-radius: 10px;
    background: var(--mk-karta);
}

.type-index .mk-novinky .subscribe-form > fieldset > .box > h2,
.type-category .mk-novinky .subscribe-form > fieldset > .box > h2,
.type-detail .mk-novinky .subscribe-form > fieldset > .box > h2 {
    display: none;
}

.type-index .mk-novinky .subscribe-form .captcha-image,
.type-category .mk-novinky .subscribe-form .captcha-image,
.type-detail .mk-novinky .subscribe-form .captcha-image {
    flex: none;
    margin: 0;
}

.type-index .mk-novinky .subscribe-form .captcha-image img,
.type-category .mk-novinky .subscribe-form .captcha-image img,
.type-detail .mk-novinky .subscribe-form .captcha-image img {
    display: block;
    width: auto;
    height: 40px;
}

.type-index .mk-novinky .subscribe-form > fieldset > .box .smart-label-wrapper,
.type-category .mk-novinky .subscribe-form > fieldset > .box .smart-label-wrapper,
.type-detail .mk-novinky .subscribe-form > fieldset > .box .smart-label-wrapper {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.type-index .mk-novinky .subscribe-form > fieldset > .consents,
.type-category .mk-novinky .subscribe-form > fieldset > .consents,
.type-detail .mk-novinky .subscribe-form > fieldset > .consents {
    grid-column: 1;
    grid-row: 4;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--mk-tlumeny);
}

.type-index .mk-novinky .mk-novinky-poznamka,
.type-category .mk-novinky .mk-novinky-poznamka,
.type-detail .mk-novinky .mk-novinky-poznamka {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 0;
    color: var(--mk-hneda);
}

.type-index .mk-novinky .mk-novinky-poznamka .mk-novinky-text span,
.type-category .mk-novinky .mk-novinky-poznamka .mk-novinky-text span,
.type-detail .mk-novinky .mk-novinky-poznamka .mk-novinky-text span {
    display: inline;
}

.type-index .mk-novinky .mk-novinky-poznamka .mk-novinky-text span:first-child,
.type-category .mk-novinky .mk-novinky-poznamka .mk-novinky-text span:first-child,
.type-detail .mk-novinky .mk-novinky-poznamka .mk-novinky-text span:first-child {
    margin-right: 0.3em;
}

@media (max-width: 767px) {
    .type-index .index-content-wrapper .mk-novinky,
    .type-category #content .mk-novinky,
    .type-detail #content .mk-novinky {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 20px;
    }

    .type-index .mk-novinky .newsletter-header,
    .type-category .mk-novinky .newsletter-header,
    .type-detail .mk-novinky .newsletter-header {
        grid-column: 1;
        grid-row: 1;
        padding: 0 0 24px;
    }

    .type-index .mk-novinky .subscribe-form,
    .type-category .mk-novinky .subscribe-form,
    .type-detail .mk-novinky .subscribe-form {
        grid-column: 1;
        grid-row: 2;
        padding: 24px 0 0;
        border-top: 1px solid rgba(91, 58, 30, 0.2);
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .type-index #content,
    .type-category #content,
    .type-detail #content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .type-index #content > h1 {
        margin: 24px 0 18px;
    }

    .type-index .banners-row .next-to-carousel-banners {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .type-index .banners-row .wide-carousel {
        margin-bottom: 16px;
    }

    .type-index .homepage-tabs-wrapper .products {
        gap: 14px;
    }

    .type-index .homepage-tabs-wrapper .product,
    .type-category #products .product,
    .type-detail #productsRelated .product {
        flex-basis: 92%;
    }

    .mk-sipka {
        display: none;
    }

    .type-index .homepage-tabs-wrapper .product > .p,
    .type-category #products .product > .p,
    .type-detail #productsRelated .product > .p {
        grid-template-columns: minmax(120px, 44%) minmax(0, 1fr);
        grid-template-areas:
            "obr nazev"
            "obr popis"
            "obr dostup"
            "obr cena"
            "tl tl";
        grid-template-rows: auto auto 1fr auto auto;
        column-gap: 14px;
        padding: 12px;
    }

    .type-index .homepage-tabs-wrapper .product .name,
    .type-category #products .product .name,
    .type-detail #productsRelated .product .name {
        font-size: 15px;
    }

    .type-index .homepage-tabs-wrapper .product .p:has(.flags) .name,
    .type-category #products .product .p:has(.flags) .name,
    .type-detail #productsRelated .product .p:has(.flags) .name {
        padding-top: 24px;
        padding-right: 0;
    }

    .type-index .homepage-tabs-wrapper .product .price-final strong,
    .type-category #products .product .price-final strong,
    .type-detail #productsRelated .product .price-final strong {
        font-size: 20px;
    }

    .type-index .homepage-tabs-wrapper .product .mk-detail,
    .type-category #products .product .mk-detail,
    .type-detail #productsRelated .product .mk-detail {
        justify-self: stretch;
        margin-top: 6px;
        text-align: center;
    }

    .mk-pribeh-obsah {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .type-index .index-content-wrapper .mk-novinky,
    .type-category #content .mk-novinky,
    .type-detail #content .mk-novinky {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 18px;
    }
}

@media (max-width: 991px) {
    header#header .container.navigation-wrapper .navigation-buttons {
        display: contents;
    }

    header#header .navigation-buttons > a[data-target="navigation"] {
        order: 1;
    }

    header#header .container.navigation-wrapper .site-name {
        order: 2;
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
        padding-left: 40px;
    }

    header#header .navigation-buttons > a[data-target="search"] {
        order: 3;
    }

    header#header .navigation-buttons > a[data-target="cart"] {
        order: 4;
    }
}


.type-category .breadcrumbs,
.type-detail .breadcrumbs {
    box-sizing: border-box;
    max-width: var(--mk-sirka);
    margin: 0 auto;
    padding: 16px 20px 0;
    font-size: 13px;
    color: var(--mk-tlumeny);
}

.type-category .breadcrumbs a,
.type-category .breadcrumbs span,
.type-detail .breadcrumbs a,
.type-detail .breadcrumbs span {
    color: var(--mk-tlumeny);
}

.type-category .category-top,
.type-category .category-content-wrapper {
    margin: 0;
    padding: 0;
}

.type-category .products-top-wrapper,
.type-category #filters-wrapper,
.type-category .listingControls .itemsTotal {
    display: none;
}

.mk-kategorie-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    width: 100%;
    min-height: 300px;
    aspect-ratio: var(--mk-banner-pomer, auto);
    margin: 16px 0 20px;
    padding: 44px;
    overflow: hidden;
    border-radius: var(--mk-radius);
    background-color: var(--mk-tmava);
    background-image: var(--mk-banner-obrazek, none), linear-gradient(135deg, #3a3f47, var(--mk-tmava));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

.mk-kategorie-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0) 100%);
}

.mk-kategorie-obsah {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.mk-kategorie-banner h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
    text-transform: uppercase;
    color: #ffffff;
}

.mk-kategorie-podtitul {
    margin: 12px 0 0;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.mk-uvod {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 20px 24px 20px 46px;
    border: 1px solid var(--mk-ramecek);
    border-radius: var(--mk-radius);
    background: var(--mk-karta);
}

.mk-uvod::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 24px;
    width: 4px;
    border-radius: 2px;
    background: #000000;
}

.mk-uvod-nadpis {
    margin: 0 0 6px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--mk-text);
}

.mk-uvod-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mk-tlumeny);
}

.mk-uvod .mk-uvod-obsah {
    margin: 0;
    padding: 0;
}

.mk-uvod .mk-uvod-obsah h1,
.mk-uvod .mk-uvod-obsah h2,
.mk-uvod .mk-uvod-obsah h3,
.mk-uvod .mk-uvod-obsah h4 {
    margin: 0 0 6px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--mk-text);
}

.mk-uvod .mk-uvod-obsah p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mk-tlumeny);
}

.mk-uvod .mk-uvod-obsah > :last-child {
    margin-bottom: 0;
}

.mk-uvod .mk-uvod-obsah a {
    text-decoration: underline;
    color: var(--mk-text);
}

.mk-hlavicka-vypisu {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 40px 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--mk-ramecek);
}

.mk-hlavicka-vypisu .mk-sekce-nadpis {
    margin: 0;
    padding: 0;
    border: 0;
}

.mk-hlavicka-vypisu .category-header {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.mk-hlavicka-vypisu.mk-bez-razeni .category-header {
    display: none;
}

.mk-hlavicka-vypisu .listSorting {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
}

.mk-hlavicka-vypisu .listSorting::before {
    padding: 6px 0;
    content: "Řazení:";
    font-size: 13px;
    color: var(--mk-tlumeny);
}

.mk-hlavicka-vypisu .listSorting__controls {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.mk-hlavicka-vypisu .listSorting__controls li {
    margin: 0;
    padding: 0;
    border: 0;
}

.mk-hlavicka-vypisu .listSorting__control {
    margin: 0;
    padding: 5px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    font-size: 13px;
    font-weight: 400;
    color: var(--mk-tlumeny);
    cursor: pointer;
}

.mk-hlavicka-vypisu .listSorting__control:hover,
.mk-hlavicka-vypisu .listSorting__control:focus-visible {
    color: var(--mk-text);
}

.mk-hlavicka-vypisu .listSorting__control--current {
    background: var(--mk-plocha);
    font-weight: 700;
    color: var(--mk-text);
}

.type-category #products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.type-category #products::before,
.type-category #products::after {
    display: none;
}

.type-category .listingControls {
    margin: 24px 0 0;
}

.type-category #content .benefitBanner {
    width: auto;
    max-width: none;
    margin: 32px 0 0;
}

.type-category #content .mk-novinky,
.type-detail #content .mk-novinky {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .type-category .breadcrumbs,
    .type-detail .breadcrumbs {
        padding: 14px 16px 0;
    }

    .mk-kategorie-banner {
        min-height: 220px;
        margin: 12px 0 16px;
        padding: 22px 20px;
    }

    .mk-uvod {
        padding: 16px 18px 16px 38px;
    }

    .mk-uvod::before {
        top: 16px;
        bottom: 16px;
        left: 18px;
    }

    .mk-hlavicka-vypisu {
        margin: 32px 0 16px;
    }

    .type-category #products {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

.type-detail .p-detail {
    width: auto;
    margin: 16px 0 0;
    padding: 0;
}

.type-detail .p-detail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.type-detail .p-detail-inner::before,
.type-detail .p-detail-inner::after {
    display: none;
}

.type-detail .p-image-wrapper {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.type-detail .p-data-wrapper {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.type-detail .p-image {
    width: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--mk-ramecek);
    border-radius: var(--mk-radius);
    background: var(--mk-karta);
}

.type-detail .p-image .p-main-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
}

.type-detail .p-image .mousetrap {
    height: 100% !important;
}

.type-detail .p-image-wrapper .row {
    margin: 0;
}

.type-detail .p-image-wrapper .p-thumbnails-wrapper {
    padding: 0;
}

.type-detail .p-thumbnails.p-thumbnails-horizontal {
    height: auto !important;
    margin: 12px 0 0;
    overflow: visible;
}

.type-detail .p-thumbnails-inner > div::before,
.type-detail .p-thumbnails-inner > div::after {
    display: none;
}

.type-detail .p-thumbnails .thumbnail-prev,
.type-detail .p-thumbnails .thumbnail-next,
.type-detail .p-thumbnails .cbox-gal {
    display: none;
}

.type-detail .p-thumbnails-inner {
    position: static;
    display: block;
    height: auto !important;
    width: auto !important;
    left: auto !important;
}

.type-detail .p-thumbnails-inner > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.type-detail .p-thumbnail {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--mk-karta);
}

.type-detail .p-thumbnail.highlighted {
    border-color: var(--mk-akcent);
}

.type-detail .p-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-detail .p-detail-inner-header {
    margin: 0 0 12px;
}

.type-detail .p-detail-inner-header h1 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--mk-text);
}

.type-detail .stars-wrapper.mk-bez-hodnoceni {
    display: none;
}

.type-detail .p-short-description {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mk-text);
}

.type-detail .p-short-description p {
    margin: 0 0 10px;
}

.type-detail .p-short-description .mk-nadtitul {
    font-size: 18px;
    font-weight: 700;
}

.type-detail .p-short-description .mk-podtitul {
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--mk-akcent);
}

.type-detail .mk-udaje {
    margin: 16px 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--mk-akcent-svetly);
}

.type-detail .mk-udaje p {
    margin: 0 0 8px;
}

.type-detail .mk-udaje p:last-child {
    margin-bottom: 0;
}

.mk-vyhody {
    display: grid;
    grid-template-columns: repeat(var(--mk-vyhod-pocet, 3), minmax(0, 1fr));
    margin: 0 0 16px;
    padding: 4px 0 12px;
}

.mk-vyhoda {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-left: 1px solid var(--mk-ramecek);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--mk-text);
}

.mk-vyhoda:first-child {
    border-left: 0;
}

.mk-vyhoda svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--mk-akcent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.type-detail .p-variants-block {
    margin: 0;
}

.type-detail .p-basic-info-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--mk-ramecek);
    border-bottom: 1px solid var(--mk-ramecek);
    font-size: 14px;
}

.type-detail .p-basic-info-block .block {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.type-detail .p-to-cart-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
}

.type-detail .p-final-price-wrapper {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.type-detail .p-final-price-wrapper .price-final {
    font-size: 36px;
    font-weight: 800;
    color: var(--mk-text);
}

.type-detail .p-add-to-cart-wrapper {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.type-detail .p-add-to-cart-wrapper .add-to-cart {
    display: flex;
    float: none;
    align-items: stretch;
    gap: 12px;
    width: auto;
}

.type-detail .p-add-to-cart-wrapper .quantity {
    border-radius: 10px;
}

.type-detail .p-add-to-cart-wrapper .btn.add-to-cart-button {
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid var(--mk-konverze);
    border-radius: 10px;
    background: var(--mk-konverze);
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.type-detail .p-add-to-cart-wrapper .btn.add-to-cart-button:hover,
.type-detail .p-add-to-cart-wrapper .btn.add-to-cart-button:focus-visible {
    border-color: var(--mk-konverze-hover);
    background: var(--mk-konverze-hover);
}

.type-detail .p-param-block {
    margin: 20px 0 0;
    font-size: 13px;
    color: var(--mk-tlumeny);
}

.type-detail .p-param-block .mk-skryty,
.type-detail .p-param-block .link-icon.print {
    display: none;
}

.type-detail .p-detail-tabs-wrapper {
    width: auto;
    max-width: none;
    margin: 40px 0 0;
    padding: 0;
}

.type-detail .p-detail-tabs-wrapper .shp-tabs-row {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--mk-ramecek);
}

.type-detail .p-detail-tabs-wrapper .shp-tabs {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
}

.type-detail .p-detail-tabs-wrapper .shp-tab {
    margin: 0;
    border: 0;
    background: none;
}

.type-detail .p-detail-tabs-wrapper .shp-tab-link {
    display: block;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid var(--mk-ramecek);
    border-bottom: 3px solid transparent;
    border-radius: 10px 10px 0 0;
    background: var(--mk-karta);
    font-size: 15px;
    font-weight: 400;
    color: var(--mk-text);
}

.type-detail .p-detail-tabs-wrapper .shp-tab.active .shp-tab-link {
    border-bottom-color: var(--mk-akcent);
    font-weight: 700;
}

@media (max-width: 767px) {
    .type-detail .p-detail-tabs-wrapper .row,
    .type-detail .p-detail-tabs-wrapper .row > .col-sm-12 {
        margin-right: 0;
        margin-left: 0;
    }

    .type-detail .p-detail-tabs-wrapper .shp-tabs-holder {
        margin: 0;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .type-detail .p-detail-tabs-wrapper .shp-tab-link {
        padding: 11px 14px;
        font-size: 14px;
        white-space: nowrap;
    }
}

.type-detail #tab-content {
    padding: 24px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--mk-text);
}

.type-detail #tab-content p {
    margin: 0 0 12px;
}

.type-detail #tab-content h2,
.type-detail #tab-content h3,
.type-detail #tab-content h4 {
    margin: 0 0 8px;
    font-weight: 700;
    color: var(--mk-akcent);
}

.type-detail .benefitBanner {
    width: auto;
    max-width: none;
}

.type-detail #productsRelated .products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.type-detail #productsRelated .products::before,
.type-detail #productsRelated .products::after {
    display: none;
}

@media (max-width: 767px) {
    .type-detail .p-detail-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .type-detail .p-image-wrapper,
    .type-detail .p-data-wrapper {
        grid-column: 1;
    }

    .type-detail .p-data-wrapper {
        grid-row: 2;
    }

    .type-detail .p-thumbnails-inner > div {
        gap: 8px;
    }

    .mk-vyhody {
        grid-template-columns: minmax(0, 1fr);
    }

    .mk-vyhoda {
        flex-direction: row;
        gap: 14px;
        border-left: 0;
        border-bottom: 1px solid var(--mk-ramecek);
        text-align: left;
    }

    .mk-vyhoda:last-child {
        border-bottom: 0;
    }

    .mk-vyhoda svg {
        width: 28px;
        height: 28px;
        flex: none;
    }

    .type-detail .p-to-cart-block {
        flex-direction: column;
        align-items: stretch;
    }

    .type-detail .p-add-to-cart-wrapper .add-to-cart {
        width: 100%;
    }

    .type-detail .p-add-to-cart-wrapper .btn.add-to-cart-button {
        flex: 1;
    }

    .type-detail #productsRelated .products {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .site-msg.information {
        position: absolute;
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        height: auto;
        z-index: 57;
    }
}

@media (max-width: 767px) {
    .type-index .homepage-tabs-wrapper .mk-sekce-odkaz {
        margin-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .type-index .homepage-tabs-wrapper .product .p:has(.flags) .name,
    .type-category #products .product .p:has(.flags) .name,
    .type-detail #productsRelated .product .p:has(.flags) .name {
        padding-right: 152px;
    }

    .type-index .homepage-tabs-wrapper .product .mk-objem {
        font-size: 15px;
    }

    .type-index .homepage-tabs-wrapper .product .availability {
        font-size: 14px;
    }
}

.type-index #footer,
.type-category #footer,
.type-detail #footer {
    margin-top: 0;
}

.type-index #content,
.type-category #content,
.type-detail #content {
    padding-bottom: 40px;
}

.type-category .listSorting__controls li:has(> [data-sort="name"]),
.type-category .listSorting__control[data-sort="name"] {
    display: none;
}
