/* Home page product sliders: simple tiles like the live shop (image, name, price, black "Zum Produkt" button) */
.gp-home-slider .snap-track {
    --snap-cols: 2;
}
@media (min-width: 640px) {
    .gp-home-slider .snap-track { --snap-cols: 3; }
}
@media (min-width: 1024px) {
    .gp-home-slider .snap-track { --snap-cols: 4; }
}
@media (min-width: 1280px) {
    .gp-home-slider .snap-track { --snap-cols: 5; }
}
.gp-home-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.gp-home-tile__thumb {
    display: block;
    padding: 15px;
    background: #fafafa;
}
.gp-home-tile__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}
.gp-home-tile__name {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
    min-height: 4.2em;
    color: #212121;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.gp-home-tile__price {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 72px;
    margin: 12px 0 14px;
}
.gp-home-tile__amount {
    color: #ff6101;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}
.gp-home-tile__excl {
    color: #ff6101;
    font-size: 11px;
    font-weight: 700;
}
.gp-home-tile__login {
    color: #ff6101;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.gp-home-tile__button {
    display: block;
    margin-top: auto;
    padding: 13px 10px;
    border-radius: 2px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.gp-home-tile__button:hover {
    background: #333;
    color: #fff;
}

/* ---------- headline of the home page (block "Ihr professioneller Onlineshop") on phones ----------
   It was 2em on every phone, so long words like "VIDEOÜBERWACHUNG" were cut in the middle of the word.
   The size follows the screen width now; only a word wider than the whole line is broken (no automatic hyphenation). */
@media (max-width: 47.9375rem) {
    body.cms-index-index h1.uppercase {
        font-size: clamp(1.35rem, 6.2vw, 2rem);
        overflow-wrap: break-word;
    }
}

/* same headline on desktop: was 18px (md:text-lg), too small; grows with the screen width up to 32px, the line below a bit larger */
@media (min-width: 48rem) {
    body.cms-index-index h1.uppercase {
        font-size: clamp(1.625rem, 2.4vw, 2rem);
        text-wrap: balance;
    }
    body.cms-index-index h1.uppercase + p {
        font-size: 1.125rem;
    }
}
