.alabel-home {
    --alabel-home-ink: #171614;
    --alabel-home-muted: #f0f0ef;
    --alabel-home-gutter: 35px;
    min-width: 0;
    width: 100%;
    color: var(--alabel-home-ink);
    background: #fff;
    font: 400 13px/1.5 Montserrat, Arial, sans-serif;
}

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

.alabel-home a {
    color: inherit;
}

.alabel-home a:focus-visible,
.alabel-home button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.alabel-home h2 {
    margin: 0;
    color: inherit;
    font: 400 23px/1.3 Montserrat, Arial, sans-serif;
}

.alabel-home__campaign a,
.alabel-home__campaign picture,
.alabel-home__campaign img {
    display: block;
    width: 100%;
}

.alabel-home__campaign img {
    height: auto;
}

.alabel-home__section {
    padding: 45px var(--alabel-home-gutter) 0;
}

.alabel-home__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0 0 20px;
}

.alabel-home__all {
    margin-left: auto;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.alabel-home__track {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.alabel-home__track::-webkit-scrollbar {
    display: none;
}

.alabel-home__track--bestsellers {
    grid-auto-columns: calc((100% - 42px) / 4);
    gap: 14px;
}

.alabel-home__track--categories {
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
}

.alabel-home__track--looks {
    grid-auto-columns: 210px;
    gap: 12px;
}

.alabel-home__card {
    display: block;
    min-width: 0;
    scroll-snap-align: start;
    text-decoration: none;
}

.alabel-home__card:focus-visible {
    outline-offset: -2px;
}

.alabel-home__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--alabel-home-muted);
}

.alabel-home__media img,
.alabel-home__editorial-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alabel-home__track--categories .alabel-home__media {
    display: grid;
    place-items: center;
    padding: 18px;
}

.alabel-home__track--categories .alabel-home__media img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.alabel-home__track--categories .alabel-home__card:nth-child(4) .alabel-home__media {
    padding: 5px;
}

.alabel-home__track--categories .alabel-home__card:nth-child(4) img {
    width: 76%;
    height: 76%;
}

.alabel-home__track--looks .alabel-home__media {
    height: 240px;
    aspect-ratio: auto;
}

.alabel-home__card-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.alabel-home__track--looks .alabel-home__card-label {
    font-size: 11px;
}

.alabel-home__arrow {
    display: inline-block;
    position: relative;
    flex: 0 0 14px;
    vertical-align: middle;
    width: 14px;
    height: 12px;
}

.alabel-home__arrow::before,
.alabel-home__arrow::after {
    position: absolute;
    content: '';
}

.alabel-home__arrow::before {
    top: 50%;
    right: 1px;
    left: 1px;
    border-top: 1px solid currentColor;
}

.alabel-home__arrow::after {
    top: 3px;
    right: 2px;
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.alabel-home__arrow--left {
    transform: rotate(180deg);
}

.alabel-home__arrow--diagonal {
    transform: rotate(-45deg);
}

.alabel-home__controls {
    display: flex;
    gap: 8px;
}

.alabel-home__controls[hidden],
.alabel-home__controls button[hidden] {
    display: none;
}

.alabel-home__controls button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #c9cbcd;
    border-radius: 0;
    color: var(--alabel-home-ink);
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.alabel-home__controls button:hover:not(:disabled),
.alabel-home__action:hover {
    color: #fff;
    background: var(--alabel-home-ink);
}

.alabel-home__controls button:disabled {
    opacity: .45;
    cursor: default;
}

.alabel-home__editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 440px;
    margin: 36px var(--alabel-home-gutter) 0;
    background: var(--alabel-home-muted);
}

.alabel-home__editorial-photo {
    min-width: 0;
    overflow: hidden;
}

.alabel-home__editorial-photo img {
    transition: transform .6s ease;
}

.alabel-home__editorial--outerwear .alabel-home__editorial-photo img {
    object-position: 50% 8%;
}

.alabel-home__editorial--founder .alabel-home__editorial-photo {
    order: 1;
}

.alabel-home__editorial--founder .alabel-home__editorial-photo img {
    object-position: 68% 50%;
}

.alabel-home__editorial-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: 30px;
}

.alabel-home__editorial-copy p {
    margin: 0;
    color: #414347;
    font-size: 15px;
    line-height: 1.65;
}

.alabel-home__editorial-copy .alabel-home__founder-name {
    color: var(--alabel-home-ink);
    font-weight: 500;
}

.alabel-home__founder-name span {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

.alabel-home__eyebrow,
.alabel-home__action {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.alabel-home__action {
    padding: 14px 18px;
    border: 1px solid var(--alabel-home-ink);
    text-decoration: none;
}

.alabel-home__newsletter {
    margin-top: 50px;
    padding: 42px 24px;
    background: var(--alabel-home-muted);
}

.alabel-home__newsletter-inner {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.alabel-home__newsletter h2 {
    margin-bottom: 20px;
    font-size: 19px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .alabel-home__editorial-photo:hover img {
        transform: scale(1.035);
    }
}

@media (max-width: 650px) {
    .alabel-home {
        --alabel-home-gutter: 18px;
    }

    .alabel-home h2 {
        font-size: 20px;
    }

    .alabel-home__section {
        padding-top: 32px;
    }

    .alabel-home__all {
        font-size: 10px;
    }

    .alabel-home__track--bestsellers {
        grid-auto-columns: min(220px, 75%);
    }

    .alabel-home__track--categories {
        grid-auto-columns: calc((100% - 14px) / 2);
        gap: 14px;
    }

    .alabel-home__track--categories .alabel-home__media {
        padding: 12px;
    }

    .alabel-home__track--categories .alabel-home__card:nth-child(4) .alabel-home__media {
        padding: 3px;
    }

    .alabel-home__track--categories .alabel-home__card-label,
    .alabel-home__track--looks .alabel-home__card-label {
        font-size: 11px;
    }

    .alabel-home__track--looks {
        grid-auto-columns: 130px;
    }

    .alabel-home__track--looks .alabel-home__media {
        height: 180px;
    }

    .alabel-home__editorial {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 350px auto;
        margin-top: 28px;
    }

    .alabel-home__editorial--founder .alabel-home__editorial-photo {
        order: 0;
    }

    .alabel-home__editorial-copy {
        padding: 24px;
    }

    .alabel-home__editorial-copy p {
        font-size: 14px;
    }

    .alabel-home__action {
        width: 100%;
        padding-inline: 12px;
        text-align: center;
    }
}

.alabel-home-ticker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .65rem;
    min-height: 34px;
    padding: 6px 12px;
    background: #171614;
    color: #fff;
    font: 500 11px/1.4 Montserrat, sans-serif;
    text-align: center;
    text-transform: none;
    letter-spacing: .06em;
}
.alabel-home-ticker:hover, .alabel-home-ticker:focus-visible { color: #fff; }

.alabel-home-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 50px;
    min-height: 49px;
    padding: 8px 16px;
    border-top: 1px solid #f0f0ef;
    background: #fff;
    color: #171614;
    text-align: center;
}

.alabel-home-navigation a,
.alabel-home-catalog {
    color: inherit;
    font: 500 13px/1.2 Montserrat, Arial, sans-serif;
    white-space: nowrap;
}

.alabel-home-navigation a:hover:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#header .alabel-home-header .alabel-home-catalog,
#mobileheader.alabel-home-mobile .alabel-home-catalog {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#header .alabel-home-header .alabel-home-catalog .svg-inline-burger,
#mobileheader.alabel-home-mobile .alabel-home-catalog .svg-inline-burger,
#mobileheader.alabel-home-mobile .alabel-home-catalog .svg-inline-close {
    position: static;
    flex: 0 0 18px;
    margin: 0;
}

.alabel-home-catalog:focus-visible,
.alabel-home-looks:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.alabel-home #alabel-categories,
.alabel-home #alabel-outer,
.alabel-home #alabel-looks {
    scroll-margin-top: 80px;
}

@media (min-width: 992px) {
    #header .alabel-home-header .header__top-inner {
        min-height: 83px;
    }
}

@media (max-width: 991px) {
    #mobileheader.alabel-home-mobile {
        height: 70px;
    }

    #mobileheader .alabel-home-mobile-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(94px, 29vw, 150px) minmax(0, 1fr);
        align-items: center;
        gap: 4px;
        padding-inline: clamp(10px, 4vw, 18px);
    }

    #mobileheader .alabel-home-mobile-row .alabel-home-catalog {
        justify-self: start;
        font-size: 11px;
    }

    #mobileheader .alabel-home-mobile-row .logo-block {
        grid-column: 2;
        padding: 0;
    }

    #mobileheader .alabel-home-mobile-row .logo {
        width: 100%;
        height: 100%;
        line-height: 69px;
        text-align: center;
    }

    #mobileheader .alabel-home-mobile-row .right-icons {
        display: flex;
        align-items: center;
        justify-self: end;
        gap: 3px;
        margin: 0;
        padding: 0;
    }

    #mobileheader .alabel-home-mobile-row .wrap_icon {
        display: block;
        padding: 0;
        line-height: normal;
    }

    #mobileheader .alabel-home-mobile-row .inline-search-show {
        display: grid;
        place-items: center;
        width: 36px;
        min-height: 44px;
        height: auto;
        line-height: 1;
    }

    #mobileheader .alabel-home-mobile-row .inline-search-show .svg-inline-search {
        top: 0;
    }


    #mobileheader.alabel-home-mobile #mobilemenu.dropdown {
        top: 100%;
    }

    .alabel-home-navigation {
        gap: 8px 16px;
        min-height: 43px;
    }

    .alabel-home-navigation a {
        font-size: 12px;
    }
}

/* Editorial follow-up */
.alabel-home-ticker {
    justify-content: flex-start;
    overflow: hidden;
}
.alabel-home-ticker__track {
    display: flex;
    width: max-content;
    flex: none;
    animation: alabel-home-ticker-scroll 20s linear infinite;
}
.alabel-home-ticker__track > span {
    width: max-content;
    min-width: 100vw;
    text-align: center;
}
.alabel-home-ticker:hover .alabel-home-ticker__track,
.alabel-home-ticker:focus-visible .alabel-home-ticker__track {
    animation-play-state: paused;
}
@keyframes alabel-home-ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .alabel-home-ticker__track { animation: none; }
}
.alabel-home__track--looks { scroll-snap-type: none; }
.alabel-home__track--bestsellers .alabel-home__media img { object-fit: contain; }
.alabel-home-navigation[hidden] { display: none !important; }
@media (min-width: 992px) {
    .alabel-home__editorial--outerwear { grid-template-rows: clamp(480px, 40vw, 630px); }
    .alabel-home-navigation { display: none !important; }
}
@media (max-width: 991px) {
    .alabel-home-navigation:not([hidden]) {
        display: flex !important;
        position: fixed;
        z-index: 99;
        inset: var(--alabel-mobile-navigation-top, 0px) 0 auto;
    }
}

/* Keep the search label and icon in one control on the editorial homepage. */
.inline-search-show:has(> .alabel-home-search-label) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.alabel-home-search-label {
    color: inherit;
    font: 500 13px/1.2 Montserrat, Arial, sans-serif;
}
@media (max-width: 991px) {
    #mobileheader .alabel-home-mobile-row .inline-search-show:has(> .alabel-home-search-label) {
        display: inline-flex;
        width: auto;
        gap: 5px;
    }
    .alabel-home-search-label { font-size: 11px; }
}

@media (min-width: 992px) {
    #header .alabel-home-header .right-icons .wrap_icon:has(> .inline-search-show > .alabel-home-search-label) {
        display: flex;
        align-items: center;
    }

    #header .alabel-home-header .right-icons .inline-search-show:has(> .alabel-home-search-label) {
        display: flex;
        margin-block: 0;
    }
}
