@media (min-width: 1300px) {
    /* Grid pro přehled */ .shops-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 10px;
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    /* Grid pro přehled */ .shops-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (min-width: 600px) and (max-width: 1000px) {
    /* Grid pro přehled */ .shops-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 600px) {
    /* Grid pro přehled */ .shops-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Karta obchodu */
.shop-card {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1em;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.shop-card__logo img {
    display: block;
    margin: auto;
    height: 15em;
    width: 90%;
    object-fit: contain;
}

.shop-card__logo--placeholder {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
}

.shop-card__title {
    margin: 1em 0;
    font-size: 1.2em;
    font-weight: bold;
}

.shop-card__title a {
    text-decoration: none;
}

.shop-card__title a:hover {
    color: #ff6500;
    ; }

.shop-card .button {
    display: inline-block;
    width: auto;
    padding-left: 2em;
    padding-right: 2em;
}

/* Detail layout */
.layout--split {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .layout--split {
        grid-template-columns: 1fr;
    }
}

.shop-detail__section {
    margin-bottom: 1rem;
}

.shop-detail__logo img {
    max-width: 100%;
    height: auto;
}

/* Galerie */
.shop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: .5rem;
}

.shop-gallery a img {
    width: 100%;
    height: 10em;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Carousel */
.shops-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .5rem .25rem;
}

.carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: .5rem 1rem;
}

.carousel-item img {
    height: 80px;
    width: auto;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav.prev {
    left: .25rem;
}

.carousel-nav.next {
    right: .25rem;
}

/* Schovej defaultní pseudo-ikonky slicku */
.mall-shops-carousel .slick-prev:before, .mall-shops-carousel .slick-next:before {
    content: none !important;
}

/* Naše šipky */
.mall-shops-carousel .mall-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 9999px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.mall-shops-carousel .slick-prev {
    left: 6px;
}

.mall-shops-carousel .slick-next {
    right: 6px;
}

.mall-shops-carousel .mall-slick-arrow:hover {
    background: #fff;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.mall-shops-carousel .mall-slick-arrow.slick-disabled {
    opacity: .35;
    cursor: default;
}

/* Obrázky v itemech */
.mall-shops-carousel__item {
    text-align: center;
    padding: 10px;
}

.mall-shops-carousel__item img {
    max-height: 80px;
    width: auto;
    display: inline-block;
}

.mall-shops-carousel__item a {
    text-align: center !important;
    padding: 10px;
}

.mall-shops-carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.mall-shops-carousel__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mall-shops-carousel__item img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Vyčisti defaultní ikonky slicku (ponecháme naše SVG šipky) */
.mall-shops-carousel .slick-prev:before, .mall-shops-carousel .slick-next:before {
    content: none !important;
}

/* Naše šipky – můžeš zachovat to, co už máš */
.mall-shops-carousel .mall-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 9999px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.mall-shops-carousel .slick-prev {
    left: 6px;
}

.mall-shops-carousel .slick-next {
    right: 6px;
}

.mall-shops-carousel .mall-slick-arrow:hover {
    background: #fff;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.mall-shops-carousel .mall-slick-arrow.slick-disabled {
    opacity: .35;
    cursor: default;
}
