.home-experience {
    --home-max: var(--shell-max, 1320px);
    --home-gutter: var(--page-gutter, 1rem);
    --home-radius: 8px;
    --home-heading: var(--font-heading, var(--font-display, inherit));
    --home-bg: var(--bg, #f6f8fb);
    --home-surface: var(--surface, #fff);
    --home-surface-alt: var(--surface-alt, #f3f7fb);
    --home-text: var(--text, #111827);
    --home-muted: var(--muted, #5b6475);
    --home-line: var(--line, #d9e2ef);
    --home-primary: var(--primary, #046bd2);
    --home-secondary: var(--secondary, #1b2b4d);
    --home-shadow: 0 1px 2px rgba(16, 35, 58, 0.05);
    padding: 1.75rem 0 3rem;
    background: var(--home-bg);
    color: var(--home-text);
}

.home-experience *,
.home-experience *::before,
.home-experience *::after {
    box-sizing: border-box;
}

.home-experience a {
    color: inherit;
    text-decoration: none;
}

.home-experience-panels,
.home-experience-inner {
    width: min(var(--home-max), calc(100vw - (var(--home-gutter) * 2)));
    margin-inline: auto;
}

.home-experience-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.home-experience-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 168px;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.4rem;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--home-line) 82%, transparent);
    border-radius: var(--home-radius);
    background: var(--home-secondary);
    color: #fff;
    box-shadow: var(--home-shadow);
}

.home-experience-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 23, 42, 0.08), rgba(11, 23, 42, 0.68));
}

.home-experience-panel img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 260ms ease, opacity 260ms ease;
}

.home-experience-panel:hover img,
.home-experience-panel:focus-visible img {
    transform: scale(1.02);
    opacity: 0.9;
}

.home-experience-panel span,
.home-experience-panel em,
.home-product-card small,
.home-popular-card small,
.home-route-card__chips a,
.home-collection-card small {
    max-width: 100%;
    overflow: hidden;
    color: var(--home-primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.home-experience-panel span,
.home-experience-panel em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.home-experience-panel strong {
    display: -webkit-box;
    max-width: 16ch;
    overflow: hidden;
    font-family: var(--home-heading);
    font-size: 1.25rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-experience-inner {
    display: grid;
    gap: 2rem;
    padding-top: 2.25rem;
}

.home-experience-block {
    display: grid;
    min-width: 0;
    gap: 1rem;
}

.home-experience-head,
.home-shelf-head {
    max-width: 820px;
}

.home-experience-head h2,
.home-shelf-head h2 {
    max-width: 30ch;
    margin: 0.35rem 0 0;
    font-family: var(--home-heading);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.home-shelf-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.home-collection-grid,
.home-product-shelf,
.home-popular-grid,
.home-route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 0.85rem;
    min-width: 0;
}

.home-collection-card,
.home-popular-card,
.home-route-card,
.home-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    color: var(--home-text);
    box-shadow: var(--home-shadow);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-collection-card:hover,
.home-popular-card:hover,
.home-route-card:hover,
.home-product-card:hover,
.home-collection-card:focus-visible,
.home-popular-card:focus-visible,
.home-route-card:focus-visible,
.home-product-card:focus-within {
    border-color: color-mix(in srgb, var(--home-primary) 24%, var(--home-line));
    box-shadow: 0 8px 20px rgba(16, 35, 58, 0.08);
    transform: translateY(-1px);
}

.home-collection-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.home-collection-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--home-surface-alt);
}

.home-collection-card__media img,
.home-popular-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.home-collection-card:hover img,
.home-popular-card:hover img {
    transform: scale(1.02);
}

.home-collection-card__content,
.home-product-card__body {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 0.48rem;
    padding: 1rem;
}

.home-collection-card strong,
.home-route-card h3,
.home-product-card h3,
.home-popular-card strong {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-family: var(--home-heading);
    font-size: 1rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-collection-card__content > span:not(.home-collection-card__media),
.home-route-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.home-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(180deg, #fff, var(--home-surface-alt));
}

.home-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.85rem;
    transition: transform 220ms ease;
}

.home-product-card:hover .home-product-card__media img {
    transform: scale(1.02);
}

.home-product-card__media span {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    background: var(--home-secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-product-card strong,
.home-popular-card em {
    color: var(--home-secondary);
    font-style: normal;
    font-weight: 900;
}

.home-product-card .button {
    width: 100%;
    min-height: 2.6rem;
    margin-top: 0.15rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
}

.home-popular-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 104px;
}

.home-popular-card img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    padding: 0.65rem;
    background: var(--home-surface-alt);
}

.home-popular-card span {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 0.35rem;
    padding: 0.8rem;
}

.home-route-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.home-route-card p {
    margin: 0;
}

.home-route-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-route-card__chips a {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    background: var(--home-surface-alt);
    color: var(--home-text);
}

.home-route-card .card-link {
    margin-top: auto;
}

@media (max-width: 960px) {
    .home-shelf-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .home-experience {
        padding-bottom: 2.5rem;
    }

    .home-experience-panel {
        min-height: 150px;
    }

    .home-experience-head h2,
    .home-shelf-head h2 {
        font-size: 1.65rem;
    }
}
