/**
 * future Best Selling Brands Widget Styles
 */

/* Container */
.future-brands-container {
    position: relative;
    width: 100%;
    color: white;
}

/* Section Layout */
.future-brands-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 60px 20px;
}

@media (min-width: 860px) {
    .future-brands-section {
        flex-direction: row;
        gap: 48px;
        padding: 80px 40px;
        max-width: 1220px;
        margin: 0 auto;
    }
}

@media (min-width: 1280px) {
    .future-brands-section {
        max-width: 1320px;
    }
}

/* Left Sticky Column */
.future-brands-sticky-left {
    width: 100%;
    padding-bottom: 32px;
    padding-right: 20px;
}

@media (min-width: 860px) {
    .future-brands-sticky-left {
        position: sticky;
        top: 56px;
        width: 50%;
        height: fit-content;
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.future-brands-subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

@media (min-width: 860px) {
    .future-brands-subtitle {
        font-size: 48px;
        line-height: 1.1;
    }
}

/* Right Scrollable Column */
.future-brands-scrollable-right {
    flex: 1;
}

/* Title */
.future-brands-title-wrapper {
    margin-bottom: 20px;
    padding-right: 20px;
    text-align: left;
}

@media (min-width: 860px) {
    .future-brands-title-wrapper {
        margin-bottom: 48px;
    }
}

.future-brands-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
}

@media (min-width: 860px) {
    .future-brands-title {
        font-size: 32px;
    }
}

/* Brands Grid */
.future-brands-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.future-brands-grid::-webkit-scrollbar {
    display: none;
}

@media (min-width: 860px) {
    .future-brands-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 700px;
        overflow-y: auto;
    }
}

/* Brand Card */
.future-brand-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.future-brand-card:hover {
    opacity: 0.8;
}

@media (min-width: 860px) {
    .future-brand-card {
        flex-direction: row;
        gap: 28px;
    }
}

/* Image Wrapper */
.future-brand-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 4px;
}

@media (min-width: 860px) {
    .future-brand-image-wrapper {
        width: 55%;
        aspect-ratio: 1.5 / 1;
        border-radius: 10px;
    }
}

.future-brand-image-container {
    position: static;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    padding: 0;
}

.future-brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Featured Badge Mobile */
.future-brand-badge-mobile {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    border-radius: 9999px;
    border: 0.6px solid white;
    padding: 4px 16px;
    text-align: center;
    font-size: 10px;
    color: white;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 860px) {
    .future-brand-badge-mobile {
        display: none;
    }
}

/* Brand Content */
.future-brand-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
}

@media (min-width: 860px) {
    .future-brand-content {
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
    }
}

/* Featured Badge Desktop */
.future-brand-badge-desktop {
    display: none;
}

@media (min-width: 860px) {
    .future-brand-badge-desktop {
        display: block;
        margin-bottom: 8px;
        width: fit-content;
        border-radius: 9999px;
        border: 0.6px solid white;
        padding: 8px 20px;
        text-align: center;
        color: white;
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
    .future-brand-badge-desktop {
        font-size: 14px;
    }
}

/* Brand Name */
.future-brand-name {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

@media (min-width: 860px) {
    .future-brand-name {
        padding-bottom: 8px;
        text-align: left;
        font-size: 32px;
    }
}

/* Description Wrapper */
.future-brand-description-wrapper {
    display: none;
}

@media (min-width: 860px) {
    .future-brand-description-wrapper {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding-bottom: 56px;
        position: relative;
    }
}

.future-brand-description {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Arrow Icon */
.future-brand-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    aspect-ratio: 1 / 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.future-brand-arrow svg {
    transform: rotate(0deg);
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    padding: 10px;
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 859px) {
    .future-brands-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(35vw, 1fr);
        grid-template-columns: repeat(auto-fill, minmax(35vw, 1fr));
    }
}
