.home-catalog {
    --home-ink: #17191c;
    --home-muted: #505961;
    --home-line: #e0e3e5;
    --home-yellow: #ffb600;
    display: grid;
    gap: clamp(26px, 4vw, 42px);
    color: var(--home-ink);
}

.home-catalog [hidden] { display: none !important; }
.home-catalog :is(h1, h2, h3, p) { margin-top: 0; }
.home-catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 12px;
}
.home-catalog-carousel {
    --home-hero-height: 350px;
    position: relative;
    min-width: 0;
    min-height: var(--home-hero-height);
    border-radius: 14px;
    overflow: hidden;
}
.home-catalog-carousel .home-catalog-lead {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: clamp(8px, 2vw, 22px);
    padding: clamp(16px, 3vw, 38px);
    height: var(--home-hero-height);
    border-radius: 14px;
    background: linear-gradient(130deg, #f8f9fa, #e8ebee);
    color: var(--home-ink);
}
.home-catalog-carousel--multiple .home-catalog-lead {
    padding-top: clamp(16px, 2vw, 26px);
    padding-bottom: 60px;
}
.home-catalog-carousel .home-catalog-lead--cover {
    background: #202629;
    color: #fff;
}
.home-catalog-carousel .home-catalog-lead--product {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.home-catalog-lead--cover .home-catalog-lead__image,
.home-catalog-lead--cover::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-catalog-lead--cover .home-catalog-lead__image {
    z-index: -2;
    object-fit: cover;
    object-position: 70% center;
}
.home-catalog-lead--cover::after {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, rgba(17, 21, 24, .97), rgba(17, 21, 24, .86) 30%, rgba(17, 21, 24, .50) 70%, rgba(17, 21, 24, .14));
}
.home-catalog-lead--product .home-catalog-lead__image {
    width: 100%;
    height: 100%;
    max-height: 205px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.home-catalog-lead__copy { min-width: 0; }
.home-catalog-lead :is(h1, h2) {
    max-width: 20ch;
    margin-bottom: 9px;
    font-size: clamp(29px, 4.2vw, 48px);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: -.042em;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.home-catalog-lead--product h2 { font-size: clamp(26px, 3.4vw, 40px); }
.home-catalog-lead p {
    max-width: 42ch;
    margin-bottom: 12px;
    color: var(--home-muted);
    line-height: 1.36;
}
.home-catalog-lead--cover p { color: #f0f3f5; }
.home-catalog-lead__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.home-catalog-lead .home-catalog-lead__subtitle {
    margin-bottom: 8px;
    color: #735715;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.home-catalog-lead--cover .home-catalog-lead__subtitle { color: #ffda80; }
.home-catalog-carousel__controls {
    position: absolute;
    inset: auto 14px 12px auto;
    display: flex;
    align-items: center;
    padding-inline: 5px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(22, 24, 27, .88);
    color: #fff;
    backdrop-filter: blur(8px);
}
.home-catalog-carousel__arrows,
.home-catalog-carousel__dots {
    display: flex;
    align-items: center;
}
.home-catalog-carousel__dots + .home-catalog-carousel__arrows::before {
    content: "";
    width: 1px;
    height: 18px;
    margin-inline: 4px 2px;
    background: rgba(255, 255, 255, .23);
}
.home-catalog-carousel__controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.home-catalog-carousel__controls button:focus-visible { outline: 2px solid #ffcf52; outline-offset: -3px; }
@media (hover: hover) {
    .home-catalog-carousel__arrows button:hover { background: rgba(255, 255, 255, .13); }
}
.home-catalog-carousel__chevron {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    rotate: -90deg;
}
.home-catalog-carousel__arrows [data-hero-prev] .home-catalog-carousel__chevron { rotate: 90deg; }
.home-catalog-carousel__controls .home-catalog-carousel__dot { width: 21px; border-radius: 999px; }
.home-catalog-carousel__dot::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .64);
}
.home-catalog-carousel__dot[aria-current="true"]::after {
    width: 15px;
    background: #ffc43a;
}
@media (hover: hover) {
    .home-catalog-carousel__dot:hover::after { box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
}
.home-catalog-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--home-yellow);
    color: #171411;
    font-weight: 800;
    text-decoration: none;
}
.home-catalog-button:hover { background: #ffcb41; color: #171411; text-decoration: none; }
.home-catalog-promos { display: grid; grid-auto-rows: 1fr; gap: 12px; }
.home-catalog-promo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(36px, .58fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 105px;
    padding: clamp(12px, 2vw, 23px);
    border-radius: 14px;
    background: linear-gradient(130deg, #f7f8f9, #e8ebee);
}
.home-catalog-promo--trade {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    background: linear-gradient(125deg, #ffdf87, #ffd066);
}
.home-catalog-promo__portrait {
    position: absolute;
    right: 6px;
    bottom: 0;
    display: block;
    width: min(43%, 176px);
    height: calc(100% - 8px);
    object-fit: cover;
    object-position: center top;
}
.home-catalog-promo h2 {
    margin: 0 0 6px;
    font-size: clamp(16px, 2.3vw, 26px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.026em;
    overflow-wrap: anywhere;
}
.home-catalog-promo__link {
    display: inline-block;
    color: inherit;
    font-size: .87rem;
    font-weight: 720;
}
.home-catalog-promo__link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.home-catalog-promo__link:focus-visible::after { outline: 2px solid currentColor; outline-offset: -3px; }
.home-catalog-promo--stores { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.home-catalog-promo__eyebrow {
    margin-bottom: 5px;
    color: var(--home-muted);
    font-size: .79rem;
    font-weight: 650;
}
.home-catalog-promo__crests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: clamp(5px, 1vw, 12px);
}
.home-catalog-promo__crests img {
    display: block;
    width: 100%;
    height: clamp(43px, 6vw, 75px);
    object-fit: contain;
}
.home-catalog-promo__crest--ostrava {
    mix-blend-mode: multiply;
}
#home-catalog-categories,
#home-catalog-offers { scroll-margin-top: 90px; }

.home-catalog-heading {
    margin: 0 0 13px;
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.035em;
}
.home-catalog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}
.home-catalog-section-header .home-catalog-heading { margin: 0; }
.home-catalog-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}
.home-catalog-category {
    display: grid;
    grid-template-columns: minmax(0, .52fr) minmax(0, 1fr) 9px;
    align-items: center;
    gap: 8px;
    min-height: 78px;
    padding: 5px 9px 5px 6px;
    border: 1px solid var(--home-line);
    border-radius: 9px;
    background: linear-gradient(140deg, #f8f9fa, #eceef0);
    color: inherit;
    font-size: .88rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.home-catalog-category:hover { color: inherit; border-color: #b7a46d; text-decoration: none; }
.home-catalog-category .category-image {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    width: 100%;
    height: 63px;
    aspect-ratio: auto;
    background: none;
    border: 0;
}
.home-catalog-category img { display: block; width: 100%; height: 100%; padding: 2px; object-fit: contain; mix-blend-mode: multiply; }
.home-catalog-category small { display: block; margin-top: 3px; color: var(--home-muted); }
.home-catalog-chevron { color: var(--home-muted); font-size: 1.1rem; }
.home-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--home-line);
}
.home-catalog-tabs button {
    padding: 8px 4px;
    min-height: 44px;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.home-catalog-tabs button[aria-pressed="true"] { border-color: var(--home-yellow); }
.home-catalog [data-home-offers] { min-width: 0; }
.home-catalog-offer-groups { position: relative; }
.home-catalog-offer-group + .home-catalog-offer-group { margin-top: 14px; }
.home-catalog-offer-group.is-inactive + .home-catalog-offer-group { margin-top: 0; }
.home-catalog-offer-group.is-inactive {
    /* Keep the width measurable when Splide initializes or recalculates its layout. */
    position: absolute;
    inset: 0 0 auto;
    height: 0;
    margin: 0;
    overflow: clip;
}
.home-catalog-products.splide:not(.is-initialized) { visibility: visible; }
.home-catalog-section-subtitle { color: var(--home-muted); margin-bottom: 10px; }
.home-catalog .homepage-brand-strip { min-width: 0; margin: 0; }
.home-catalog .homepage-brand-splide:not(.is-initialized) { visibility: visible; }
.home-catalog-trade {
    display: grid;
    align-items: center;
    gap: 18px;
    padding: clamp(22px, 4vw, 38px);
    border-radius: 14px;
    background: linear-gradient(115deg, #fff2cc, #fdfaf2 75%);
    color: #221a13;
    scroll-margin-top: 90px;
}
.home-catalog-trade--image { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.home-catalog-trade p { max-width: 42ch; margin-bottom: 15px; color: #423c32; }
.home-catalog-trade img { width: min(100%, 300px); height: auto; max-height: 150px; object-fit: contain; justify-self: end; mix-blend-mode: multiply; }
.home-catalog-articles .article-grid { gap: 11px; }
.home-catalog-articles .article-card { overflow: hidden; border-radius: 12px; }
.home-catalog-articles .article-card__image { aspect-ratio: 1.94; }

@media (max-width: 760px) {
    .home-catalog-hero { grid-template-columns: minmax(0, 1fr); }
    .home-catalog-carousel { --home-hero-height: 296px; }
    .home-catalog-lead :is(h1, h2) { font-size: clamp(23px, 5vw, 36px); line-height: 1.08; }
    .home-catalog-lead--product h2 { font-size: clamp(23px, 5vw, 32px); }
    .home-catalog-carousel .home-catalog-lead--product { grid-template-columns: minmax(0, 1fr) minmax(66px, .48fr); }
    .home-catalog-lead--product .home-catalog-lead__image {
        height: auto;
        max-height: 142px;
    }
    .home-catalog-lead--cover::after {
        background: linear-gradient(90deg, rgba(17, 21, 24, .93), rgba(17, 21, 24, .69) 58%, rgba(17, 21, 24, .28));
    }
    .home-catalog-lead__description { font-size: .88rem; }
    .home-catalog-carousel__controls { right: 50%; transform: translateX(50%); }
    .home-catalog-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .home-catalog-promo__link { font-size: .76rem; }
    .home-catalog-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .home-catalog-category { font-size: .78rem; min-height: 69px; }
    .home-catalog-category .category-image { height: 54px; }
    .home-catalog-trade { grid-template-columns: minmax(0, 1fr); }
    .home-catalog-trade img { justify-self: start; max-height: 110px; }
}

@media (max-width: 560px) {
    .home-catalog-promo { grid-template-columns: minmax(0, 1fr); align-content: center; }
    .home-catalog-promo__crests { order: -1; width: min(100%, 106px); }
    .home-catalog-promo__crests img { height: 55px; }
    .home-catalog-promo__portrait {
        position: static;
        order: -1;
        justify-self: start;
        width: auto;
        height: 92px;
        object-fit: contain;
    }
    .home-catalog-products .product-card__controls { grid-template-columns: minmax(0, 1fr); }
    .home-catalog-articles .article-grid { grid-template-columns: minmax(0, 1fr); }
    .home-catalog-articles .article-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .home-catalog-articles .article-card__image { height: 100%; min-height: 115px; aspect-ratio: auto; }
}

@media (max-width: 355px) {
    .home-catalog-carousel { --home-hero-height: 326px; }
}
