.route-collections-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 72px;
}

.route-collections-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, .78);
    border-radius: 32px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 106, 26, .28), transparent 34%),
        radial-gradient(circle at 8% 86%, rgba(34, 197, 94, .16), transparent 32%),
        linear-gradient(135deg, #111827 0%, #182232 52%, #0f172a 100%);
    padding: clamp(28px, 5vw, 58px);
    color: #fff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, .16);
}

.route-collections-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(110deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px),
        linear-gradient(20deg, rgba(255, 106, 26, .12) 0 1px, transparent 1px);
    background-size: 82px 82px, 112px 112px;
    opacity: .48;
    pointer-events: none;
}

.route-collections-hero__copy,
.route-collections-hero__stats {
    position: relative;
    z-index: 1;
}

.route-collections-eyebrow {
    margin: 0 0 12px;
    color: #ff8a3d;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.route-collections-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(36px, 5.5vw, 70px);
    font-weight: 950;
    line-height: .96;
    letter-spacing: 0;
}

.route-collections-hero__copy > p:not(.route-collections-eyebrow) {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 750;
    line-height: 1.55;
}

.route-collections-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.route-collections-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    padding: 0 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.route-collections-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .16);
}

.route-collections-button--primary {
    border-color: #ff6a1a;
    background: #ff6a1a;
    box-shadow: 0 16px 34px rgba(255, 106, 26, .28);
}

.route-collections-button--primary:hover {
    background: #f15d10;
}

.route-collections-hero__stats {
    align-self: end;
    display: grid;
    gap: 12px;
}

.route-collections-hero__stats span {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .1);
    padding: 18px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(18px);
}

.route-collections-hero__stats strong {
    color: #fff;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.route-collections-section {
    margin-top: 38px;
}

.route-collections-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.route-collections-section__head h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 950;
    line-height: 1.05;
}

.route-collections-section__link {
    color: #ff5f17;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.route-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.route-collection-card {
    --collection-cover: none;
    position: relative;
    display: flex;
    min-height: 260px;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .78)),
        linear-gradient(135deg, rgba(34, 197, 94, .25), rgba(255, 106, 26, .28)),
        #dbe7d8;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .78)),
        var(--collection-cover),
        linear-gradient(135deg, rgba(34, 197, 94, .2), rgba(255, 106, 26, .25));
    background-position: center;
    background-size: cover;
    padding: 18px;
    color: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.route-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .2), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, .15), rgba(15, 23, 42, .82));
    pointer-events: none;
}

.route-collection-card:hover {
    border-color: rgba(255, 106, 26, .42);
    box-shadow: 0 26px 62px rgba(15, 23, 42, .15);
    transform: translateY(-4px);
}

.route-collection-card__label,
.route-collection-card__content,
.route-collection-card__footer {
    position: relative;
    z-index: 1;
}

.route-collection-card__label {
    align-self: flex-start;
    border-radius: 999px;
    background: rgba(255, 106, 26, .95);
    padding: 8px 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.route-collection-card__content {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.route-collection-card__content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 25px;
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.route-collection-card__content small {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.route-collection-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 950;
}

.route-collections-empty {
    grid-column: 1 / -1;
    border: 1px dashed #dbe2ea;
    border-radius: 22px;
    background: #fff;
    padding: 34px;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .route-collections-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .route-collections-page {
        width: min(100% - 24px, 720px);
        padding-top: 20px;
    }

    .route-collections-hero {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .route-collections-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .route-collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .route-collections-page {
        width: min(100% - 20px, 420px);
        padding-bottom: 48px;
    }

    .route-collections-hero {
        padding: 26px 20px;
    }

    .route-collections-hero h1 {
        font-size: 34px;
    }

    .route-collections-hero__actions,
    .route-collections-section__head {
        align-items: stretch;
        flex-direction: column;
    }

    .route-collections-button,
    .route-collections-section__link {
        width: 100%;
    }

    .route-collections-section__link {
        display: inline-flex;
        justify-content: center;
        border: 1px solid #fee0d0;
        border-radius: 14px;
        background: #fff7ed;
        padding: 12px;
    }

    .route-collections-grid,
    .route-collections-hero__stats {
        grid-template-columns: 1fr;
    }

    .route-collection-card {
        min-height: 230px;
        border-radius: 20px;
    }

    .route-collection-card__content strong {
        font-size: 23px;
    }
}
