.celc-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.celc-track {
    display: flex;
    transition: transform 0.6s ease;
}

.celc-slide {
    min-width: 100%;
    display: grid;
    gap: 20px;
    padding: 20px 0;
    justify-items: center;
}

.celc-item img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: 0.3s;
}

/* HORNÍ NAVIGACE */
.celc-top-nav {
    position: relative;
    margin-bottom: 30px;
    height: 24px;
}

.celc-top-nav .celc-line {
    position: absolute;
    top: 33%;
    width: 100%;
    height: 2px;
    background: #EBEBEB;
    z-index: 1;
}

.celc-top-dot {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    border: 2px solid #EBEBEB;
    background: white;
    transform: rotate(45deg);
    margin: 0 auto; /* vystředění */
}


/* Navigation */
.celc-nav {
    position: relative;
    margin-top: 30px;
    height: 30px;
}

.celc-line {
    position: absolute;
    top: 26%;
    width: 100%;
    height: 2px;
    background: #EBEBEB;
}

.celc-dots {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
    gap: 20px;
}

.celc-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #EBEBEB;
    transform: rotate(45deg);
    background: white;
    cursor: pointer;
    transition: 0.3s;
}

.celc-dot.active {
	width: 20px;
    height: 20px;
    background: black;
    transform: rotate(45deg) scale(1.2);
}

/* ARROWS FOR MOBILE & TABLET */
.celc-arrows {
    display: none; /* default = off for desktop */
}

.celc-arrow {
    font-size: 34px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    user-select: none;
    padding: 10px 20px;
}
/* ============ TABLET + MOBILE ============ */
@media (max-width: 1024px) {

/* ŠIPKY UPROSTŘED VLEVO/VPRAVO */
.celc-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.celc-arrow {
    pointer-events: auto;
    background: transparent;
    color: #000;
    font-size: 36px;
    border-radius: 50%;
    padding: 10px 16px;
}

    /* Skrytí navigace diamantů */
    .celc-nav {
        display: none !important;
    }
}


/* ============ MOBILE ============ */
@media (max-width: 768px) {

    /* GRID 2 sloupce × 3 řádky */
    .celc-slide {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, auto) !important;
        gap: 15px;
        overflow: hidden; /* důležité, skryje poslední sloupec */
    }

    /* Skryj navigaci, kdyby ji něco přepsalo */
    .celc-nav {
        display: none !important;
    }
}

