/* =========================================
   COZY ELITE SECTION
========================================= */

.cozy-elite-wrapper {

    background: #030303;

    color: #f5f5f7;

    width: 100%;

    overflow: hidden;

    padding: 20px 0 40px;

    box-sizing: border-box;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}

/* =========================================
   HEADER
========================================= */

.cozy-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 0 40px;

    margin-bottom: 36px;
}

.cozy-title {

    font-size: clamp(28px, 4vw, 40px);

    font-weight: 300;

    color: #fff;

    margin: 0;

    line-height: 1.1;
}

.cozy-highlight {
    color: #D4AF37;
}

.cozy-link {

    color: #fff;

    text-decoration: none;

    font-size: 13px;

    letter-spacing: 0.8px;

    opacity: 0.85;

    transition: opacity 0.2s ease;
}

.cozy-link:hover {
    opacity: 1;
}

/* =========================================
   CAROUSEL
========================================= */

.cozy-carousel {

    position: relative;

    width: 100%;

    overflow: hidden;
}

/* =========================================
   TRACK
========================================= */

.cozy-track {

    display: flex;

    gap: 24px;

    overflow-x: auto;

    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    padding-left: 40px;

    padding-right: 40px;

    padding-bottom: 10px;
}

.cozy-track::-webkit-scrollbar {
    display: none;
}

/* =========================================
   CARD
========================================= */

.cozy-card {

    flex: 0 0 280px;

    scroll-snap-align: center;

    position: relative;

    background: #0a0a0a;

    border-radius: 24px;

    overflow: hidden;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        opacity 0.35s ease;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.35);

    opacity: 0.92;

    user-select: none;
}

.cozy-card:hover {

    transform:
        translateY(-6px)
        scale(1.02);

    opacity: 1;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.55);
}

/* =========================================
   IMAGE
========================================= */

.cozy-image-wrap {

    position: relative;

    aspect-ratio: 1 / 1;

    background: #111;

    overflow: hidden;
}

.cozy-image-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.45s ease;
}

.cozy-card:hover img {
    transform: scale(1.04);
}

/* =========================================
   TAGS
========================================= */

.cozy-tags {

    position: absolute;

    top: 14px;

    left: 14px;

    z-index: 5;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 14px;

    border-radius: 999px;

    background:
        rgba(0,0,0,0.58);

    backdrop-filter: blur(8px);

    color: #fff;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.4px;

    white-space: nowrap;
}

.tag.primary {
    color: #D4AF37;
}

.tag.secondary {
    color: #9D4EDD;
}

/* =========================================
   CONTENT
========================================= */

.cozy-info {
    padding: 20px;
}

.cozy-info h3 {

    color: #fff;

    font-size: 20px;

    line-height: 1.3;

    margin: 0 0 10px;
}

.price {

    color: #D4AF37;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 18px;
}

/* =========================================
   BUTTON
========================================= */

.cozy-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    padding: 14px 18px;

    border-radius: 14px;

    background: #9D4EDD;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cozy-btn:hover {

    background: #8a3ddb;

    transform: translateY(-2px);
}

/* =========================================
   EDGE FADE
========================================= */

.cozy-carousel::before,
.cozy-carousel::after {

    content: "";

    position: absolute;

    top: 0;

    width: 70px;

    height: 100%;

    z-index: 5;

    pointer-events: none;
}

.cozy-carousel::before {

    left: 0;

    background:
        linear-gradient(
            to right,
            #030303,
            transparent
        );
}

.cozy-carousel::after {

    right: 0;

    background:
        linear-gradient(
            to left,
            #030303,
            transparent
        );
}

/* =========================================
   ARROWS
========================================= */

.cozy-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;

    height: 52px;

    border-radius: 50%;

    border: none;

    background:
        rgba(20,20,20,0.82);

    backdrop-filter: blur(10px);

    color: #fff;

    z-index: 20;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cozy-arrow:hover {

    transform:
        translateY(-50%)
        scale(1.08);

    background:
        rgba(40,40,40,0.95);
}

.cozy-prev {
    left: 14px;
}

.cozy-next {
    right: 14px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .cozy-header {

        padding: 0 16px;

        margin-bottom: 28px;
    }

    .cozy-track {

        gap: 18px;

        padding-left:
            calc(50vw - 130px);

        padding-right:
            calc(50vw - 130px);
    }

    .cozy-card {
        flex: 0 0 260px;
    }

    .cozy-arrow {

        width: 42px;

        height: 42px;

        font-size: 18px;
    }

    .cozy-prev {
        left: 8px;
    }

    .cozy-next {
        right: 8px;
    }

    .cozy-carousel::before,
    .cozy-carousel::after {
        width: 36px;
    }
}