/* ============================================================
   FALLEN LUXURY - CATEGORY SLIDER
   ============================================================ */

.catalog-category-view h1#page-title-heading {
    margin-top: 8px;
    margin-bottom: 8px;
}

.catalog-category-view .category-view {
    margin-bottom: 0;
    padding-bottom: 0;
}

.fl-slider-wrapper {
    width: 100%;
    background: #fff;
    padding: 20px 0 20px;
    margin-bottom: 24px;
    margin-top: 0;
    box-sizing: border-box;
    clear: both;
}

.fl-slider-inner {
    position: relative;
    padding: 0 54px;
    box-sizing: border-box;
}

.fl-slider-track {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px 16px 4px;
    cursor: grab;
}
.fl-slider-track:active {
    cursor: grabbing;
}
.fl-slider-track::-webkit-scrollbar {
    display: none;
}

.fl-slider-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    width: 180px;
    cursor: pointer;
}

/* NO transform on hover - avoids overflow clip issue */
.fl-tile-img-box {
    width: 180px;
    height: 180px;
    min-height: 180px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e8e8e8;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}
.fl-slider-tile:hover .fl-tile-img-box {
    border-color: #c9a96e;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.fl-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fl-tile-placeholder {
    font-size: 52px;
    font-weight: 700;
    color: #ccc;
    font-family: Georgia, serif;
    text-transform: uppercase;
    line-height: 1;
}

.fl-tile-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
    max-width: 180px;
    word-break: break-word;
    display: block;
    text-decoration: none;
}
.fl-slider-tile:hover .fl-tile-label {
    color: #1a1a1a;
}

/* ARROWS */
.fl-slider-btn {
    position: absolute;
    top: 90px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #d0d0d0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 0;
    z-index: 2;
}
.fl-slider-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
.fl-slider-prev { left: 10px; }
.fl-slider-next { right: 10px; }

/* TABLET */
@media (max-width: 1024px) {
    .fl-slider-tile { width: 150px; }
    .fl-tile-img-box { width: 150px; height: 150px; min-height: 150px; }
    .fl-slider-btn { top: 75px; }
}

/* MOBILE */
@media (max-width: 767px) {
    .fl-slider-wrapper { padding: 12px 0 16px; margin-bottom: 16px; }
    .fl-slider-inner { padding: 0 40px; }
    .fl-slider-tile { width: 110px; }
    .fl-tile-img-box { width: 110px; height: 110px; min-height: 110px; border-radius: 6px; }
    .fl-tile-label { font-size: 10px; max-width: 110px; }
    .fl-slider-btn { width: 28px; height: 28px; top: 55px; }
    .fl-slider-track { gap: 10px; }
}

/* SMALL MOBILE */
@media (max-width: 400px) {
    .fl-slider-inner { padding: 0 36px; }
    .fl-slider-tile { width: 90px; }
    .fl-tile-img-box { width: 90px; height: 90px; min-height: 90px; }
    .fl-tile-label { font-size: 9px; max-width: 90px; }
    .fl-slider-btn { top: 45px; }
}