/* Sitekori Ecom Category Carousel Slider CSS - 100% Responsive & Touch Swipeable */

.sk-cat-section {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 35px;
}

.sk-cat-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.sk-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sk-cat-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.sk-cat-title-icon {
    color: var(--sk-cat-primary, var(--chorka-primary, #e11d48));
    flex-shrink: 0;
}

/* Category Slider Nav Controls */
.sk-cat-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sk-cat-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.sk-cat-nav-btn:hover {
    background: var(--sk-cat-primary, var(--chorka-primary, #e11d48)) !important;
    color: #ffffff !important;
    border-color: var(--sk-cat-primary, var(--chorka-primary, #e11d48)) !important;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sk-cat-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Horizontal Scrollable Slider Track */
.sk-cat-slider-track {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 6px 2px 14px 2px !important;
    -webkit-overflow-scrolling: touch !important;
    cursor: grab !important;
    user-select: none !important;
}

.sk-cat-slider-track.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

.sk-cat-slider-track::-webkit-scrollbar {
    display: none !important;
}

/* Item Sizing: 8 Visible per Screen Page on Desktop */
.sk-cat-item {
    position: relative !important;
    display: block !important;
    flex: 0 0 calc(12.5% - 14px) !important;
    min-width: 110px !important;
    text-decoration: none !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.sk-cat-item:hover {
    transform: translateY(-4px) !important;
}

.sk-cat-img-box {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #192336 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
    box-sizing: border-box !important;
}

.sk-cat-item:hover .sk-cat-img-box {
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16) !important;
}

.sk-cat-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 16px !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

.sk-cat-item:hover .sk-cat-img {
    transform: scale(1.08) !important;
}

/* Dark Gradient Overlay */
.sk-cat-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%) !important;
    transition: background 0.3s ease !important;
    pointer-events: none !important;
    border-radius: 16px !important;
}

.sk-cat-item:hover .sk-cat-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.55) 100%) !important;
}

/* White Bold Uppercase Centered Text */
.sk-cat-name {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    width: 90% !important;
    margin: 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.3s ease, letter-spacing 0.3s ease !important;
    pointer-events: none !important;
}

.sk-cat-item:hover .sk-cat-name {
    transform: translate(-50%, -50%) scale(1.05) !important;
    letter-spacing: 1.5px !important;
}

/* ---------------------------------------------------
   RESPONSIVE BREAKPOINTS FOR CAROUSEL SLIDER
--------------------------------------------------- */
@media (max-width: 1200px) {
    .sk-cat-item {
        flex: 0 0 calc(16.66% - 13px) !important;
        min-width: 140px !important;
    }
    .sk-cat-name {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 900px) {
    .sk-cat-item {
        flex: 0 0 calc(25% - 12px) !important;
        min-width: 130px !important;
    }
}

@media (max-width: 600px) {
    .sk-cat-item {
        flex: 0 0 calc(33.33% - 10px) !important;
        min-width: 110px !important;
    }
    .sk-cat-name {
        font-size: 0.85rem !important;
        letter-spacing: 0.5px !important;
    }
}

@media (max-width: 480px) {
    .sk-cat-section {
        margin-bottom: 20px;
    }
    .sk-cat-title {
        font-size: 1.15rem;
    }
    .sk-cat-item {
        flex: 0 0 calc(45% - 8px) !important;
        min-width: 105px !important;
    }
    .sk-cat-name {
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
    }
}

