/* Collections Carousel Styles */
.fcc-collections {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0;
    overflow: visible;
    position: relative;
}

.fcc-header {
    text-align: center;
    margin-bottom: 40px;
}

.fcc-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    margin-top: 0;
    color: #fff;
}

.fcc-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.fcc-nav-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 8px 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.fcc-nav-btn:hover,
.fcc-nav-btn.active {
    color: #fff;
}

.fcc-nav-btn.active {
    border-bottom-color: #eb1f27;
}

.fcc-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.fcc-carousel-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
}

.fcc-arrows {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.fcc-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.fcc-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.fcc-arrow svg {
    fill: currentColor;
    width: 12px;
    height: auto;
}

.fcc-arrow-prev svg {
    transform: rotate(180deg);
}

/* Glide wrapper elements — block only, never flex */
.fcc-images,
.fcc-text {
    width: 100%;
    position: relative;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.fcc-images .glide,
.fcc-text .glide {
    width: 100%;
    position: relative;
    display: block;
    margin: 0 auto;
}

.fcc-images .glide__track,
.fcc-text .glide__track {
    overflow: hidden;
    width: 100%;
}

/* Let Glide own .glide__slides entirely — no justify-content override */
.fcc-images .glide__slides,
.fcc-text .glide__slides {
    display: flex;
    width: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: pan-y;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    will-change: transform;
    margin: 0;
}

.fcc-images .glide__slide,
.fcc-text .glide__slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    white-space: normal;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.fcc-image-frame {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #333;
    margin: 0 auto;
}

.fcc-image-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.fcc-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
}

.fcc-text-inner {
    text-align: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.fcc-text-inner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
}

.fcc-text-inner p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.fcc-button {
    display: inline-block;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fcc-button:hover {
    background: #fff;
    color: #1a1a1a;
}

/* Responsive - Large screens */
@media (max-width: 1300px) {
    .fcc-arrows {
        left: -60px;
    }
}

@media (max-width: 1200px) {
    .fcc-arrows {
        left: 0;
        right: auto;
    }

    .fcc-content {
        padding: 0 80px;
    }
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .fcc-carousel-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .fcc-content {
        padding: 0 20px;
    }

    .fcc-arrows {
        position: relative;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
        order: -1;
        left: auto;
        top: auto;
    }

    /* block only — Glide needs a block root to measure width correctly */
    .fcc-images,
    .fcc-text {
        width: 100%;
        max-width: 600px;
        display: block !important;
        margin: 0 auto;
    }

    .fcc-image-frame {
        padding-bottom: 75%;
    }

    .fcc-text-inner {
        text-align: center;
        padding: 20px;
    }
}

/* Responsive - Mobile landscape and portrait */
@media (max-width: 768px) {
    .fcc-collections {
        padding: 30px 0;
    }

    .fcc-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
        letter-spacing: 0.05em;
    }

    .fcc-header {
        margin-bottom: 20px;
    }

    .fcc-nav {
        gap: 12px;
    }

    .fcc-nav-btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .fcc-arrows {
        display: none !important;
    }

    /* block only — never flex on the Glide root */
    .fcc-images,
    .fcc-text {
        width: 100%;
        max-width: 100%;
        display: block !important;
        margin: 0 auto;
    }

    .fcc-image-frame {
        padding-bottom: 75%;
        max-width: 400px;
        width: 90%;
        margin: 0 auto;
    }

    .fcc-text-inner {
        padding: 10px 20px;
        text-align: center;
    }

    .fcc-text-inner h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .fcc-text-inner p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.5;
        max-width: 100%;
    }

    .fcc-button {
        padding: 9px 24px;
        font-size: 0.7rem;
    }
}

/* Responsive - Mobile portrait */
@media (max-width: 480px) {
    .fcc-collections {
        padding: 25px 0;
    }

    .fcc-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .fcc-header {
        margin-bottom: 15px;
    }

    .fcc-nav {
        gap: 8px;
    }

    .fcc-nav-btn {
        font-size: 0.7rem;
        padding: 5px 8px;
    }

    .fcc-content {
        padding: 0 15px;
    }

    .fcc-images,
    .fcc-text {
        display: block !important;
        width: 100%;
    }

    .fcc-image-frame {
        padding-bottom: 80%;
        max-width: 320px;
        width: 90%;
        margin: 0 auto;
    }

    .fcc-text-inner {
        padding: 8px 15px;
        text-align: center;
    }

    .fcc-text-inner h2 {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }

    .fcc-text-inner p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .fcc-button {
        padding: 8px 20px;
        font-size: 0.65rem;
    }
}

/* Responsive - Very small devices */
@media (max-width: 360px) {
    .fcc-collections {
        padding: 20px 0;
    }

    .fcc-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .fcc-nav-btn {
        font-size: 0.65rem;
        padding: 4px 6px;
    }

    .fcc-content {
        padding: 0 10px;
    }

    .fcc-images,
    .fcc-text {
        display: block !important;
        width: 100%;
    }

    .fcc-image-frame {
        padding-bottom: 85%;
        max-width: 280px;
        width: 90%;
        margin: 0 auto;
    }

    .fcc-text-inner {
        text-align: center;
    }

    .fcc-text-inner h2 {
        font-size: 1.2rem;
    }

    .fcc-text-inner p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .fcc-button {
        padding: 7px 18px;
        font-size: 0.6rem;
    }
}
