﻿/* ============================================
   Homepage Header (Zulily exact values)
   ============================================ */

.home-zulily-header {
    background: #fff;
}

.home-utility-bar {
    display: flex;
    height: 48px;
    background-color: #87189d;
    background-image: url('https://www.zulily.com/cdn/shop/files/annoucement-bar-bg.jpg?v=1763054576');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-width {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.home-utility-bar__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    height: 48px;
    width: 100%;
}

.announcement-bar {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
    padding-left: 50px;
}

.announcement-bar__link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.announcement-bar__message {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    white-space: nowrap;
}

.icon-arrow {
    display: block;
    width: 14px;
    height: 10px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.75);
}

.announcement-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 48px;
    padding-right: 50px;
}

.announcement-bar-user-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    text-decoration: none;
    white-space: nowrap;
}

.announcement-bar-user-link:hover,
.announcement-bar-user-link:focus-visible {
    color: rgba(255, 255, 255, 0.75);
}

.header-wrapper {
    position: relative;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(38, 38, 38, 0.08);
}

.color-scheme-1 {
    --color-background: 255, 255, 255;
    --color-foreground: 38, 38, 38;
    --color-link: 38, 38, 38;
    --gradient-background: #ffffff;
    --color-button: 135, 24, 157;
    --color-button-text: 255, 255, 255;
    --font-heading-family: 'Belltown Bold', Arial, sans-serif;
    --font-heading-weight: 700;
    --font-body-family: 'Belltown Book', Arial, sans-serif;
    --font-body-weight: 400;
}

.home-zulily-main-header {
    display: grid;
    grid-template-columns: 117.5px minmax(0, 1fr) 66px;
    grid-template-areas: 'heading navigation icons';
    grid-template-rows: 70px;
    align-items: center;
    height: 110px;
    padding: 20px 50px;
    gap: 0;
    position: relative;
}

.header__heading {
    grid-area: heading;
    display: block;
    margin: 0;
    height: 70px;
    box-sizing: border-box;
}

.header__heading-link {
    display: inline-block;
    padding: 7.5px;
    margin-left: -7.5px;
    text-decoration: none;
    width: 125px;
}

.header__heading-logo-wrapper {
    width: 100%;
    display: inline-block;
}

.header__heading-logo {
    display: inline;
    width: 110px;
    height: 55px;
    max-width: none;
    object-fit: contain;
}

.header__inline-menu {
    grid-area: navigation;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    min-width: 0;
    margin-left: 20px;
    padding-left: 0;
    overflow: visible;
}

.list-menu--inline {
    display: inline-flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.list-menu__item-wrap {
    display: flex;
    align-items: center;
}

/* Override .link--text from base.css — nav items use 75% opacity by default */
.link--text {
    color: rgba(var(--color-foreground), 0.75) !important;
}

.link--text:hover {
    color: #87189d !important;
}

.list-menu__item {
    display: flex;
    align-items: center;
    padding: 12px;
    font-family: 'Belltown Bold', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: calc(1 + 0.3);
    letter-spacing: 0.6px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
    cursor: pointer;
    list-style: none;
    color: rgba(var(--color-foreground), 0.75) !important;
}

.list-menu__item a,
.list-menu__item span {
    color: rgba(var(--color-foreground), 0.75) !important;
}

.list-menu__item:hover,
.list-menu__item:focus-visible {
    color: #87189d !important;
}

.list-menu__item:hover a,
.list-menu__item:hover span,
.list-menu__item:focus-visible a,
.list-menu__item:focus-visible span {
    color: #87189d !important;
}

summary.list-menu__item {
    padding: 12px;
    padding-right: 2.7rem;
    list-style: none;
    font-family: 'Belltown Bold', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(var(--color-foreground), 0.75) !important;
    transition: color 0.15s ease;
}

summary.list-menu__item:hover,
summary.list-menu__item:focus-visible {
    color: #87189d !important;
}

/* ============================================
   SHOP BY CATEGORY — mega-menu
   ============================================ */

/* old details-based mega menu — disabled, using .mega-menu-li instead */
.details-mega-menu-disabled,
.mega-menu-disabled > .mega-menu__content,
.mega-menu-disabled > .mega-menu__list,
.mega-menu-disabled > .mega-menu__list > li,
.mega-menu-disabled > .mega-menu__list > li > .mega-menu__link {
    /* intentionally break old selectors so they don't interfere */
    all: unset;
}

.header__icons {
    display: flex;
    grid-area: icons;
    justify-self: end;
    padding-right: 0.8rem;
    align-items: center;
}

.header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: rgb(38, 38, 38);
    text-decoration: none;
    cursor: pointer;
    height: 4.4rem;
    width: 4.4rem;
}

.header__icon:not(.header__icon--summary),
.header__icon span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__icon::after {
    content: none;
}

.header__icon:hover .icon {
    transform: scale(1.07);
}

.header__icon .icon {
    display: block;
    height: 44px;
    width: 44px;
    fill: none;
    transition: transform 0.15s ease;
}

.home-search-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: rgba(38, 38, 38, 0.75);
    cursor: pointer;
    overflow: hidden;
}

.home-search-trigger-btn:hover .icon {
    transform: scale(1.07);
}

.home-search-trigger-btn .icon {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    transition: transform 0.15s ease;
}

.header__icon--cart {
    position: relative;
    margin-right: -1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(38, 38, 38);
}

.header__icon--cart:hover,
.header__icon--cart:focus-visible {
    color: rgb(38, 38, 38);
}

.icon-cart-empty {
    display: block;
    height: 44px;
    width: 44px;
}

/* Search Modal */
.home-search-details {
    position: static;
    display: contents;
    list-style: none;
}

.home-search-modal,
.search-modal {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0;
    border-bottom: 0.1rem solid rgba(38, 38, 38, 0.08);
}

details[open] > .search-modal,
details[open] > .home-search-modal {
    opacity: 1;
}

.modal__content {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
}

details[open] .modal-overlay {
    display: block;
}

details[open] .modal-overlay::after {
    position: absolute;
    content: "";
    background-color: rgba(38, 38, 38, 0.5);
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
}

.search-modal__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 5rem 0 1px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.search-modal__form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 742px;
    position: relative;
}

.field {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 47px;
}

/* Border via box-shadow ::after */
.field::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 0 0 0.1rem rgba(38, 38, 38, 0.75);
    pointer-events: none;
    border-radius: 0;
}

.field:hover::after {
    box-shadow: 0 0 0 0.2rem rgba(38, 38, 38, 0.75);
}

.field__label {
    font-size: 16px;
    left: 21px;
    top: 11px;
    pointer-events: none;
    position: absolute;
    transition: top 0.15s ease, font-size 0.15s ease;
    color: rgba(38, 38, 38, 0.75);
    letter-spacing: 0.4px;
    line-height: 24px;
}

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label {
    font-size: 12px;
    top: 6px;
    left: 21px;
    letter-spacing: 0.04rem;
}

.search__input.field__input {
    padding: 22px 98px 8px 20px;
    display: block;
    width: 100%;
    height: 47px;
    border: 0;
    background: #fff;
    color: rgb(38, 38, 38);
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: 0;
    flex-grow: 1;
    text-align: left;
    box-sizing: border-box;
}

.search__input.field__input::placeholder {
    opacity: 0;
}

.search__input.field__input::-webkit-search-cancel-button {
    display: none;
}

.field__button {
    align-items: center;
    background-color: transparent;
    border: 0;
    color: rgba(38, 38, 38, 0.75);
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
}

.field__button > svg {
    height: 18px;
    width: 18px;
    fill: currentColor;
}

.search__button {
    right: 1px;
    top: 1px;
}

.search__button .icon,
.search__button svg {
    height: 18px;
    width: 18px;
    fill: currentColor;
}

.search__button:hover .icon {
    transform: scale(1.07);
}

.search-modal__close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    padding: 0;
    margin-left: 5px;
    border: 0;
    background: transparent;
    color: rgb(38, 38, 38);
    cursor: pointer;
    flex-shrink: 0;
}

.search-modal__close-button:hover .icon {
    transform: scale(1.07);
}

.search-modal__close-button .icon {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* Predictive Search Dropdown */
.predictive-search {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -1px;
    width: calc(100% + 2px);
    background: #fff;
    border: 0.1rem solid rgba(38, 38, 38, 0.08);
    border-top: none;
    box-shadow: 0 4px 5px rgba(38, 38, 38, 0.05);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 10;
}

.predictive-search__results-groups-wrapper {
    display: flex;
    flex-direction: column;
}

.predictive-search__result-group {
    border-bottom: 0.1rem solid rgba(38, 38, 38, 0.08);
}

.predictive-search__result-group:last-child {
    border-bottom: none;
}

.predictive-search__heading {
    color: rgba(38, 38, 38, 0.7);
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding: 1.5rem 2rem 0.75rem;
    margin: 0;
}

.predictive-search__item {
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    color: rgb(38, 38, 38);
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 16px;
    align-items: center;
}

.predictive-search__item:hover {
    background-color: rgba(38, 38, 38, 0.04);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

/* Product item: thumbnail left, text right */
.predictive-search__item--link-with-thumbnail {
    display: grid;
    grid-template-columns: 5rem 1fr;
    column-gap: 2rem;
}

.predictive-search__image {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.predictive-search__item-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.predictive-search__item-heading {
    margin: 0 0 0.3rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.predictive-search__item .price {
    color: rgba(38, 38, 38, 0.7);
    font-size: 14px;
}

/* Popular search item: keyword + arrow */
.predictive-search__item--term {
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 2rem;
}

.predictive-search__item-query-result {
    word-break: break-all;
}

.predictive-search__item-query-result mark {
    background-color: transparent;
    font-weight: 700;
}

.predictive-search__item--term .icon-arrow {
    width: 14px;
    height: 10px;
    flex-shrink: 0;
    margin-left: 2rem;
    color: rgb(38, 38, 38);
}

.link {
    color: inherit;
    text-decoration: none;
}

.focus-inset:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.field__input:focus,
input:focus {
    outline: none;
}

.icon {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .home-utility-bar {
        height: 40px;
    }

    .home-utility-bar__grid {
        height: 40px;
    }

    .announcement-bar,
    .announcement-bar-right {
        height: 40px;
    }

    .announcement-bar {
        padding-left: 20px;
    }

    .announcement-bar-right {
        padding-right: 20px;
    }

    .announcement-bar__message,
    .announcement-bar-user-link {
        font-size: 13px;
        line-height: 1;
    }

    .home-zulily-main-header {
        grid-template-columns: 44px 1fr 48px;
        grid-template-areas: 'menu heading icons';
        height: 84px;
        padding: 14px 20px;
    }

    .header__mobile-menu {
        grid-area: menu;
    }

    .mobile-nav-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px 4px 8px 0;
        color: rgba(38, 38, 38, 0.75);
    }
    .mobile-nav-trigger:hover {
        color: #87189d;
    }

    .header__inline-menu {
        display: none !important;
    }

    .header__icon--cart {
        display: none;
    }

    .list-menu__item {
        padding: 10px 10px;
        font-size: 13px;
    }

    .header__icons {
        width: 48px;
    }

    .home-search-btn {
        width: 36px;
        height: 36px;
        display: flex !important;
    }

    .home-search-trigger-btn {
        display: flex !important;
    }

    .header__icon--cart {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-utility-bar {
        height: 36px;
    }

    .home-utility-bar__grid {
        height: 36px;
        grid-template-columns: 1fr;
    }

    .announcement-bar {
        height: 36px;
        padding-left: 16px;
    }

    .announcement-bar-right {
        display: none;
    }

    .announcement-bar__message {
        font-size: 11px;
        line-height: 1;
    }

    .home-zulily-main-header {
        grid-template-columns: 44px 1fr 90px;
        grid-template-areas: 'menu heading icons';
        height: 72px;
        padding: 10px 16px;
        position: relative;
    }

    .header__mobile-menu {
        grid-area: menu;
    }

    .mobile-nav-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px 4px 8px 0;
        color: rgba(38, 38, 38, 0.75);
    }
    .mobile-nav-trigger:hover {
        color: #87189d;
    }

    .header__heading {
        grid-area: heading;
        width: auto;
        min-width: 0;
        padding: 0;
    }

    .header__heading-logo {
        height: 40px;
    }

    .header__inline-menu {
        display: none;
    }

    .home-search-trigger-btn {
        display: flex !important;
    }

    /* Mobile search modal — full-width bar below header */
    .home-search-details {
        position: absolute;
        width: 100%;
        left: 0;
        z-index: 10;
    }

    .home-search-details,
    details[open] > .home-search-details {
        opacity: 1;
    }

    .home-search-details > .search-modal,
    .home-search-details > .search-modal__content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 92px;
        background: #fff;
        z-index: 11;
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(38, 38, 38, 0.08);
        box-shadow: none;
    }

    details[open] > .home-search-details > .search-modal,
    details[open] > .home-search-details > .search-modal__content {
        opacity: 1;
        pointer-events: auto;
    }

    .home-search-details .modal-overlay {
        display: none;
    }

    details[open] .home-search-details .modal-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10;
        background: rgba(38, 38, 38, 0.5);
    }

    .home-search-details .search-modal__content-bottom {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0;
        z-index: 12;
        background: #fff;
    }

    .home-search-details .search-modal__form {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0 10px;
        max-width: none;
    }

    .home-search-details .field {
        flex: 1;
        height: 45px;
        border: none;
        box-shadow: none;
    }

    .home-search-details .field::after {
        box-shadow: 0 0 0 1px rgba(38, 38, 38, 0.75);
    }

    .home-search-details .search__input {
        height: 45px;
        font-size: 15px;
        width: 100%;
    }

    .home-search-details .search__button {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: 8px;
    }

    .home-search-details .search__button .icon {
        width: 20px;
        height: 20px;
        color: rgba(38, 38, 38, 0.75);
    }

    .home-search-details .search-modal__close-button {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: 4px;
        color: rgba(38, 38, 38, 0.75);
    }

    .home-search-details .search-modal__close-button:hover {
        color: #87189d;
    }

    .home-search-details .search-modal__close-button .icon {
        width: 20px;
        height: 20px;
    }

    .home-category-dropdown {
        display: none;
    }

    .home-search-modal__content-bottom {
        padding: 0 16px;
    }

    .home-search-input {
        height: 40px;
        font-size: 15px;
    }

    .home-search-close-btn {
        width: 36px;
        height: 36px;
    }

    .home-search-submit-btn {
        width: 36px;
        height: 36px;
    }

    .header__icons {
        width: 88px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }

    .home-search-trigger-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        display: flex !important;
    }

    .header__icon--cart {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .home-search-trigger-btn .icon {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   Homepage — 覆盖全局背景色 #f2f3f8
   ============================================ */
.page-home .aiz-main-wrapper {
    background-color: #fff;
}

/* ============================================
   Homepage Hero
   ============================================ */

.wish-home-asset-link {
    display: none;
}

.wish-home-hero {
    padding: 0 0 1.5rem;
}

.wish-home-hero .slider-mobile-gutter.page-width.mobile-text-below {
    display: block;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.wish-home-hero .slider__mo {
    display: none !important;
}

@media screen and (max-width: 749px) {
    .wish-home-hero .slider__dt {
        display: none !important;
    }

    .wish-home-hero .slider__mo {
        display: block !important;
    }
}

.wish-home-hero .slideshow {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.wish-home-hero .slideshow__slide {
    position: relative;
    display: block;
}

.wish-home-hero .slideshow__media,
.wish-home-hero .banner__media,
.wish-home-hero .media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 15 / 7;
    overflow: hidden;
    background: rgba(38, 38, 38, 0.1);
}

.wish-home-hero .slideshow__text-wrapper,
.wish-home-hero .slideshow__text,
.wish-home-hero .banner__content,
.wish-home-hero .banner__box {
    display: none !important;
}

.wish-home-hero .slide-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

.wish-home-hero__image,
.wish-home-hero__video,
.wish-home-hero__placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wish-home-hero .slick-slider {
    margin-bottom: 0;
}

.wish-home-hero .slick-list,
.wish-home-hero .slick-track,
.wish-home-hero .carousel-box,
.wish-home-hero .slick-slide,
.wish-home-hero .slick-slide > div {
    height: 100%;
}

.wish-home-hero .slick-prev,
.wish-home-hero .slick-next,
.wish-home-hero .slick-dots {
    display: none !important;
}

.wish-home-hero .slideshow__controls,
.wish-home-hero .slider-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    position: static;
    flex-shrink: 0;
}

.wish-home-hero .slider-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #87189d;
    flex-shrink: 0;
}

.wish-home-hero .slideshow__autoplay .icon-play {
    display: none;
}

.wish-home-hero .slideshow__autoplay.is-paused .icon-pause {
    display: none;
}

.wish-home-hero .slideshow__autoplay.is-paused .icon-play {
    display: block;
}

.wish-home-hero .icon-caret {
    display: block;
    width: auto;
    height: 0.6rem;
}

.wish-home-hero .slider-button--prev .icon-caret {
    transform: rotate(90deg);
}

.wish-home-hero .slider-button--next .icon-caret {
    transform: rotate(-90deg);
}

.wish-home-hero .slider-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 44px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.wish-home-hero .slideshow__control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wish-home-hero .slider-counter__link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    flex-shrink: 0;
}

.wish-home-hero .slider-counter__link .dot {
    display: block;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border: 1px solid #87189d;
    border-radius: 50%;
    background: transparent;
}

.wish-home-hero .slider-counter__link--active .dot {
    background: #f5d3fa;
    transform: scale(1.1);
}

.wish-home-events {
    padding: 3.5rem 0 1.5rem;
}

.wish-home-events__header {
    margin-bottom: 1rem;
}

.wish-home-events__title {
    margin: 0;
    color: #590776;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.wish-home-events__grid {
    display: grid;
    gap: 1.5rem;
}

.wish-home-events__card {
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.wish-home-events__image-wrap {
    overflow: hidden;
    margin-bottom: 0.75rem;
    height: 374px;
}

.wish-home-events__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wish-home-events__content {
    padding: 0;
}

.wish-home-events__card-title {
    margin: 0 0 0.35rem;
    color: #590776;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.wish-home-events__card-copy {
    margin: 0;
    color: rgba(38, 38, 38, 0.75);
    font-size: 16px;
    line-height: 1.8;
}

.wish-home-banner {
    padding: 0 0 1.5rem;
}

.wish-home-banner__grid {
    display: grid;
    gap: 1rem;
}

.wish-home-banner__card {
    display: block;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
}

.wish-home-banner__image {
    aspect-ratio: 16 / 8;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 992px) {
    .wish-home-events__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wish-home-banner__grid--banner1,
    .wish-home-banner__grid--banner2,
    .wish-home-banner__grid--banner3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .wish-home-hero__slide-media {
        aspect-ratio: 16 / 9;
    }

    .wish-home-events__grid,
    .wish-home-banner__grid--banner1,
    .wish-home-banner__grid--banner2,
    .wish-home-banner__grid--banner3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wish-home-events {
        padding-top: 2.75rem;
    }

    .wish-home-hero__slide-media {
        aspect-ratio: 4 / 5;
    }

    .wish-home-events__grid,
    .wish-home-banner__grid--banner1,
    .wish-home-banner__grid--banner2,
    .wish-home-banner__grid--banner3 {
        grid-template-columns: 1fr;
    }

    .wish-home-events__title,
    .wish-home-events__card-title {
        font-size: 20px;
    }

    .wish-home-events__card-copy {
        font-size: 14px;
        line-height: 1.6;
    }

    .wish-home-banner__image {
        aspect-ratio: 16 / 10;
    }
}


/* ============================================================
   HERO SLIDESHOW — 1:1 还原目标站 Dawn 主题轮播图
   ============================================================ */

/* Slideshow component — root flex container
   Total height = image height (560px) + controls (44px) = 604px */
.slideshow-component {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 604px;
    overflow: hidden;
    background: transparent;
}

/* Slideshow (the image area) — fixed 560px */
.slideshow {
    position: relative;
    order: 1;
    flex: 0 0 560px;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

/* Controls — order:2, sits below the slideshow */
.slideshow__controls {
    order: 2;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 100%;
    border: 0.1rem solid rgba(38, 38, 38, 0.08);
    background: transparent;
    z-index: 1;
}

/* Individual slide — absolute stacked */
.slideshow__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.slideshow__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Media (image container) */
.slideshow__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: transparent;
    width: 100%;
    height: 100%;
}
.slideshow__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Text wrapper — positioned at bottom center */
.slideshow__text-wrapper {
    position: absolute;
    inset: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

/* Text card */
.slideshow__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 40px 0;
}

/* Heading */
.banner__heading {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #87189d;
    text-align: center;
    text-transform: capitalize;
    margin: 0 0 10px;
    animation: slideUp 0.6s cubic-bezier(0, 0, 0.3, 1) forwards;
}

/* Content card behind text */
.banner__content-contain {
    background: transparent;
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

/* Subheading */
.banner__text h3 {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #590776;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Buttons container */
.banner__buttons {
    display: none;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 15px 0 0;
    pointer-events: auto;
}

/* CTA Button */
.button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    min-height: 4.5rem;
    padding: 0 30px;
    background: #87189d;
    color: #fff;
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.1s ease, transform 0.1s ease;
}
.button--primary:hover {
    box-shadow: 0 4px 12px rgba(135, 24, 157, 0.3);
    transform: translateY(-1px);
}
.button--primary:active {
    transform: translateY(0);
}

/* Full-slide click overlay */
.slide-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer;
}

/* ============================================================
   SLIDESHOW CONTROLS — Arrows, Dots, Autoplay
   严格隔离，防止全局样式干扰
   ============================================================ */

/* Controls bar — flex 布局，三个控件（prev / dots / next）均匀排列 */
.slideshow-component .slideshow__controls {
    order: 2;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 44px !important;
    width: 100%;
    position: relative;
    border: none !important;
    background: transparent !important;
    z-index: 1;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Dot counter — 恢复文档流，用 gap 分隔，移除 absolute 定位 */
.slideshow-component .slider-counter {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto !important;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: static !important;
    left: auto !important;
}

/* Arrow buttons — 精确尺寸 44x44px */
.slideshow-component .slider-button,
.slideshow-component .slider-button--prev,
.slideshow-component .slider-button--next {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    color: #87189d !important;
    padding: 0 !important;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: color 0.2s ease !important;
    min-width: unset !important;
    min-height: unset !important;
}
.slideshow-component .slider-button .icon,
.slideshow-component .slider-button--prev .icon,
.slideshow-component .slider-button--next .icon {
    height: 0.4rem !important;
    width: auto !important;
    min-width: unset !important;
    min-height: unset !important;
}
/* Desktop: 无额外偏移，dot 组左移 11px 对齐目标站 */
.slideshow-component .slider-button--prev {
    margin-right: 0 !important;
}
/* Desktop: 无额外偏移 */
.slideshow-component .slider-button--next {
    margin-right: 0 !important;
}
.slideshow-component .slider-button--prev .icon {
    transform: rotate(90deg) !important;
}
.slideshow-component .slider-button--next .icon {
    transform: rotate(-90deg) !important;
}
.slideshow-component .slider-button:hover {
    color: #262626 !important;
}
.slideshow-component .slider-button--prev:hover .icon {
    transform: rotate(90deg) scale(1.1) !important;
}
.slideshow-component .slider-button--next:hover .icon {
    transform: rotate(-90deg) scale(1.1) !important;
}

/* Dots wrapper — 弹性居中 */
.slideshow-component .slider-counter--dots .slideshow__control-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.slideshow-component .slider-counter__link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
.slideshow-component .dot {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    border: 0.1rem solid #87189d !important;
    border-color: #87189d !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease !important;
    box-shadow: none !important;
}
.slideshow-component .slider-counter__link:hover .dot {
    border-color: #262626 !important;
}
.slideshow-component .slider-counter__link--active .dot,
.slideshow-component .slider-counter__link--active:hover .dot {
    background-color: #f5d3fa !important;
    transform: scale(1.1) !important;
    border-color: #87189d !important;
}

/* Autoplay button — always hidden */
.slideshow-component .slideshow__autoplay {
    display: none !important;
}
.slideshow-component .slideshow__autoplay .icon-play,
.slideshow-component .slideshow__autoplay.is-paused .icon-pause,
.slideshow-component .slideshow__autoplay .icon-pause {
    display: none !important;
}

/* ============================================================
   ANIMATIONS — Keyframes from Dawn theme
   ============================================================ */

@keyframes slideUp {
    0%   { transform: translateY(2rem); opacity: 0.01; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    0%   { opacity: 0.01; }
    100% { opacity: 1; }
}

/* Scroll-trigger entrance animation */
.scroll-trigger.animate--fade-in {
    animation: fadeIn 0.6s cubic-bezier(0, 0, 0.3, 1) forwards;
}
.is-active .slideshow__text {
    animation: slideUp 0.6s cubic-bezier(0, 0, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

/* ============================================================
   RESPONSIVE — Mobile (≤749px)
   ============================================================ */

@media (max-width: 749px) {
    /* image 340 + controls 44 = 384 */
    .slideshow-component {
        height: 384px;
    }
    .slideshow {
        height: 340px;
        flex-basis: 340px;
    }
    .slideshow-component .slideshow__slide {
        height: 340px;
    }
    .slideshow-component .slideshow__text-wrapper {
        padding: 20px;
        justify-content: flex-end;
    }
    .slideshow-component .slideshow__text {
        padding: 20px 0 0;
    }
    .slideshow-component .banner__heading {
        font-size: 3rem;
    }
    .slideshow-component .banner__text h3 {
        font-size: 1.7rem;
    }
    .slideshow-component .banner__content-contain {
        padding: 16px 20px 20px;
    }
    .slideshow-component .button--primary {
        font-size: 1.25rem;
        min-height: 3.5rem;
        min-width: 10rem;
        padding: 0 20px;
    }
    /* Autoplay — 移动端也隐藏 */
    .slideshow-component .slideshow__autoplay {
        display: none !important;
    }
    /* 移动端控件：去掉 absolute，改回 flex 流式布局 */
    .slideshow-component .slider-button--prev,
    .slideshow-component .slider-button--next {
        position: static !important;
        left: auto !important;
        right: auto !important;
    }
    /* 移动端 dot 按钮：无 padding，精确尺寸 */
    .slideshow-component .slider-counter__link {
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
    }
    .slideshow-component .dot {
        width: 8px !important;
        height: 8px !important;
    }
}

/* ============================================================
   RESPONSIVE — Tablet (750px–989px)
   ============================================================ */

@media (min-width: 750px) and (max-width: 989px) {
    /* image 400 + controls 44 = 444 */
    .slideshow-component {
        height: 444px;
    }
    .slideshow {
        height: 400px;
        flex-basis: 400px;
    }
}

/* ============================================================
   RESPONSIVE — Large Desktop (≥1400px)
   ============================================================ */

@media (min-width: 1400px) {
    /* image 656 + controls 44 = 700 */
    .slideshow-component {

        height: 700px;
    }
    .slideshow {
        height: 656px;
        flex-basis: 656px;
    }
}

/* ============================================================
   SECTION: Newest Events — 1:1 还原 zulily
   测量数据来源: Chrome DevTools MCP (PC 1280px / Mobile 390px)
   ============================================================ */

.wish-home-events {
    padding: 40px 0;
    background-color: #fff;
}

.wish-home-events__inner {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Section 标题 — 1:1 目标站 h2 */
.wish-home-events__title {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #590776;             /* rgb(89, 7, 118) */
    text-transform: capitalize;
    letter-spacing: normal;
    line-height: 31.2px;
    margin: 0 0 24px 0;
    padding: 0;
}

/* 网格容器 — PC 3列 */
.wish-home-events__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

/* 卡片 — flex column，1:1 正方形图片 + 文字 */
.wish-home-events__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 0;
    overflow: visible;
    background-color: transparent;
    color: inherit;
    margin: 0 8px;
}

.wish-home-events__card:first-child {
    margin-left: 0;
}

.wish-home-events__card:last-child {
    margin-right: 0;
}

/* 图片容器 — 1:1 正方形 */
.wish-home-events__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.wish-home-events__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* 文字区块 — flex column */
.wish-home-events__text {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 10px 0 5px 0;
}

/* 卡片标题 — 1:1 h5 */
.wish-home-events__card-title {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #262626;               /* rgb(38, 38, 38) */
    text-transform: none;
    letter-spacing: normal;
    line-height: 16.9px;
    margin: 0;
    padding: 0;
    overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
}

/* 卡片副标题 — 1:1 p */
.wish-home-events__card-subtitle {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #262626;
    text-transform: none;
    letter-spacing: normal;
    line-height: 21.6px;
    margin: 4px 0 0 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.new-today {
    color: #590776;
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   目标站测量: 390px viewport, 卡片 375×177, 图片 175×175
   ============================================================ */

@media (max-width: 767px) {
    .wish-home-events {
        padding: 32px 0;
    }

    .wish-home-events__inner {
        padding-left: 0;
        padding-right: 0;
    }

    /* Section 标题 */
    .wish-home-events__title {
        font-size: 20px;
        font-weight: 700;
        color: #590776;
        text-transform: capitalize;
        letter-spacing: normal;
        line-height: 26px;
        margin: 0 0 16px 15px;
        padding: 0;
    }

    /* 移动端: 强制单列全宽，gap=0 */
    .wish-home-events__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* 移动端卡片: flex row，左图右文 */
    .wish-home-events__card {
        flex-direction: row;
        align-items: flex-start;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
    }

    .wish-home-events__card:first-child {
        margin-left: 0;
    }

    .wish-home-events__card:last-child {
        margin-right: 0;
    }

    /* 移动端图片: 175×175 */
    .wish-home-events__image-wrap {
        width: 175px;
        min-width: 175px;
        height: 175px;
    }

    .wish-home-events__image {
        width: 175px;
        height: 175px;
    }

    /* 移动端文字: 紧贴图片 */
    .wish-home-events__text {
        display: flex;
        flex-direction: column;
        padding: 0 15px 12px 0;
        margin: 20px 0 0 0;
        width: calc(100% - 175px);
        box-sizing: border-box;
    }

    /* 移动端标题 */
    .wish-home-events__card-title {
        font-size: 15px;
        font-weight: 700;
        color: #262626;
        text-transform: none;
        letter-spacing: normal;
        line-height: 19.5px;
        margin: 0;
        padding: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }

    /* 移动端副标题 */
    .wish-home-events__card-subtitle {
        font-size: 14px;
        font-weight: 400;
        color: #590776;
        text-transform: none;
        letter-spacing: normal;
        line-height: 21px;
        margin: 8px 0 0 0;
        padding: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }
}

/* ============================================================
   RESPONSIVE — Tablet (768px – 989px)
   2列网格
   ============================================================ */

@media (min-width: 768px) and (max-width: 989px) {
    .wish-home-events__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 16px;
    }

    .wish-home-events__card {
        margin: 0 0 24px 0;
    }

    .wish-home-events__card:nth-child(even) {
        margin-right: 0;
    }

    .wish-home-events__card:nth-child(odd):not(:first-child) {
        margin-left: 0;
    }
}

/* ============================================================
   SHOP TOP CATEGORIES — 1:1 复刻 zulily curated-collections
   目标站数据 (Chrome DevTools @ 1280px viewport):
     - 卡片: 221×264px (图片 219×219 1:1 正方形)
     - 标题: h2 居中, font-size: 28px, font-weight: 700
     - Hover: translateY(-2px) + box-shadow + border-color
   ============================================================ */

.wish-shop-top-categories {
    padding: 24px 0 48px;
    background-color: #fff;
}

.wish-shop-top-categories__inner {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Section 标题 — 1:1 目标站 h2.curated-heading-center */
.wish-shop-top-categories__title {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #590776;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: normal;
    line-height: 36.4px;
    margin: 0 0 14px 0;
    padding: 0;
}

/* 包裹层 — 允许移动端箭头 absolute 定位 */
.wish-shop-top-categories__wrap {
    position: relative;
}

/* PC: 5列 grid, gap 16px */
.wish-shop-top-categories__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

/* 卡片 — 1:1 目标站 .curated-card
   关键: grid 行高 auto auto，图片 1:1 正方形 + 文字内容 */
.wish-shop-top-categories__card {
    display: grid;
    grid-template-rows: auto auto;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: #fff;
}

/* Hover: 抬起 + 阴影 + 边框加深 */
.wish-shop-top-categories__card:focus,
.wish-shop-top-categories__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* 图片容器 — 1:1 正方形 */
.wish-shop-top-categories__media {
    aspect-ratio: 1 / 1;
    background: #f6f6f6;
    overflow: hidden;
}

.wish-shop-top-categories__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* 图片 hover 放大 */
.wish-shop-top-categories__card:hover .wish-shop-top-categories__media img {
    transform: scale(1.03);
}

/* 文字区块 — 1:1 目标站 .curated-meta */
.wish-shop-top-categories__meta {
    padding: 12px 14px 14px;
}

/* 分类标题 — 1:1 目标站 .curated-title */
.wish-shop-top-categories__meta h5 {
    margin: 0;
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #262626;
    text-transform: capitalize;
    letter-spacing: normal;
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   1:1 目标站: 横向滚动 + snap + 左右箭头
   ============================================================ */
@media (max-width: 767px) {
    .wish-shop-top-categories {
        padding: 24px 0 32px;
    }

    .wish-shop-top-categories__title {
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 12px;
    }

    /* 横向滚动 grid */
    .wish-shop-top-categories__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 2px 10px 6px;
        scroll-padding-left: 10px;
    }

    .wish-shop-top-categories__grid::-webkit-scrollbar {
        display: none;
    }

    /* 移动端卡片宽度: ~2.5张可见 */
    .wish-shop-top-categories__card {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    /* 移动端箭头 */
    .wish-shop-top-categories__arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(6px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .wish-shop-top-categories__arrow:active {
        transform: translateY(-50%) scale(0.98);
    }

    .wish-shop-top-categories__arrow--left {
        left: 4px;
    }

    .wish-shop-top-categories__arrow--right {
        right: 4px;
    }

    .wish-shop-top-categories__arrow svg {
        width: 18px;
        height: 18px;
        color: #262626;
    }
}

/* ============================================================
   RESPONSIVE — Tablet (768px – 989px)
   1:1 目标站: 3列
   ============================================================ */
@media (min-width: 768px) and (max-width: 989px) {
    .wish-shop-top-categories__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================================
   RESPONSIVE — Desktop (≥ 990px)
   5列, 隐藏箭头
   ============================================================ */
@media (min-width: 990px) {
    .wish-shop-top-categories__arrow {
        display: none;
    }
}

/* ============================================================
   SECTION: Flashsale Grid — 复刻 zulily Shop Top 下方的 30 张卡片
   PC 测量 (Chrome DevTools MCP @ 1280px viewport):
     - 无 section 标题
     - 布局: flex + flex-wrap + gap: 32px 24px
     - 卡片: flex: 0 0 374px, 374×427px
     - 图片: 374×374, object-fit: cover
     - h5: font-size: 13px, font-weight: 700, color: #262626
     - p: font-size: 12px, color: #590776
   Mobile 测量 (390px viewport):
     - flex-direction: row (左图右文)
     - 卡片: 390×185px, gap: 0
     - 图片: 183×183 正方形
     - 文字: margin: 0 15px 5px 0, padding: 0
     - h5: font-size: 15px, font-weight: 700, color: #262626
     - p: font-size: 14px, color: #590776
   ============================================================ */

.wish-flashsale-grid {
    margin-bottom: 25px;
    background-color: #fff;
}

.wish-flashsale-grid__inner {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* 网格容器 — PC: flex + flex-wrap + gap: 32px 24px */
.wish-flashsale-grid__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px 24px;
    overflow: visible;
}

/* 卡片 PC — flex: 0 0 374px */
.wish-flashsale-grid__card {
    display: flex;
    flex-direction: column;
    flex: 0 0 374px;
    text-decoration: none;
    border-radius: 0;
    overflow: visible;
    background-color: transparent;
    color: inherit;
    padding: 0;
    margin: 0 0 4px;
    transition: all;
    min-width: 0;
}

/* 图片容器 PC */
.wish-flashsale-grid__media {
    width: 374px;
    height: 374px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.wish-flashsale-grid__img {
    width: 374px;
    height: 374px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 文字区块 PC — 图片下方留 10px 间距 */
.wish-flashsale-grid__info {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 10px 0 5px;
}

/* 卡片标题 PC */
.wish-flashsale-grid__name {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #262626;
    text-transform: none;
    letter-spacing: normal;
    line-height: 16.9px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* 卡片副标题 PC */
.wish-flashsale-grid__desc {
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #590776;
    text-transform: none;
    letter-spacing: normal;
    line-height: 21.6px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.wish-flashsale-grid__sep {
    color: #262626;
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   目标站测量: 390px, 390×185px 卡片, 左图右文
   ============================================================ */
@media (max-width: 767px) {
    .wish-flashsale-grid__inner {
        padding-left: 0;
        padding-right: 0;
    }

    .wish-flashsale-grid__container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    /* 移动端卡片: flex-direction: row, 左图右文 */
    .wish-flashsale-grid__card {
        display: flex;
        flex-direction: row;
        flex: 0 0 100%;
        align-items: flex-start;
        margin: 0 0 0;
        border-bottom: 1px solid #eee;
    }

    /* 移动端图片: 183×183 正方形 */
    .wish-flashsale-grid__media {
        width: 183px;
        height: 183px;
        flex-shrink: 0;
    }

    .wish-flashsale-grid__img {
        width: 183px;
        height: 183px;
    }

    /* 移动端文字: 紧贴图片右侧, margin: 0 15px 5px 0 */
    .wish-flashsale-grid__info {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 0;
        margin: 0 15px 5px 0;
        min-width: 0;
    }

    /* 移动端标题: font-size: 15px */
    .wish-flashsale-grid__name {
        font-size: 15px;
        font-weight: 700;
        color: #262626;
        line-height: 19.5px;
        margin: 0;
        padding: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }

    /* 移动端副标题: font-size: 14px, color: #590776 */
    .wish-flashsale-grid__desc {
        font-size: 14px;
        font-weight: 400;
        color: #590776;
        line-height: 21px;
        margin: 4px 0 0;
        padding: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
    }
}

/* ============================================================
   RESPONSIVE — Tablet (768px – 989px)
   2列
   ============================================================ */
@media (min-width: 768px) and (max-width: 989px) {
    .wish-flashsale-grid__card {
        flex: 0 0 calc(50% - 12px);
    }

    .wish-flashsale-grid__media,
    .wish-flashsale-grid__img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}


/* ============================================================

/* ============================================================
   zulily Footer — 像素级还原 zulily.com
   PC 测量 (1280px):
     - footer: bg #F1E4F4, padding 27px 0, color rgba(38,38,38,0.75)
     - inner max-width 1200px, padding 0 15px
     - footer__top padding-bottom 80px
     - 5列: 各 206px, gap 8px (margin-left 10px on 2-5)
     - 第一列: logo SVG(150px) + p(13px) + payment icons
     - 第一个链接 bold 18px #590746, 其余 normal 13px rgba
     - 社交: flex justify-content center, gap 0, link 44x44, padding 11px, icon 22px
     - bottom: border-top 1px solid rgba(38,38,38,0.08)
     - bottom row: padding 4px 0, justify flex-start, align flex-end
     - lang btn: font-size 13px, bg rgb(241,228,244), padding 15px 40px 15px 21px
     - Payment: 品牌图标 38x24 (PC), 190x16 (mobile)
   Mobile 测量 (390px):
     - footer padding 27px 0
     - top padding 0 40px 30px
     - blocks: display block, 每列 margin-bottom 40px
     - social: 44x44, padding 11px, icon 22px
     - bottom row: padding 10px 10px 0, justify center
     - lang btn: same font-size/padding/bg
   ============================================================ */

.wish-footer {
    background-color: #F1E4F4;
    color: rgba(38, 38, 38, 0.75);
    padding: 27px 0;
    font-family: 'Belltown Book', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28.8px;
    margin-top: 0;
}

/* TOP section */
.wish-footer__top {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

/* 5列 blocks flex */
.wish-footer__blocks-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/* 单列 */
.wish-footer__block {
    flex: 0 0 auto;
    width: 206px;
    padding: 0;
    margin: 0;
}

.wish-footer__block--menu {
    margin-left: 10px;
}

.wish-footer__block--brand {
    width: 300px;
}

/* Logo */
.wish-footer__logo svg {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
}

/* About text */
.wish-footer__block--brand p {
    font-size: 13px;
    font-weight: 400;
    color: rgba(38, 38, 38, 0.75);
    line-height: 23.4px;
    margin: 13px 0;
    padding: 0;
}

/* Payment 方法 — 品牌图标列表 */
.wish-footer__payment {
    line-height: 0;
    margin-top: 13px;
}

/* 目标站 footer-payment-methods 两行组合 SVG 样式 */
.footer-payment-methods {
    display: block;
    width: 100%;
    padding: 0;
}

.footer-payment-methods svg {
    display: inline;
    width: 190px;
    height: 16px;
}

.wish-footer__payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wish-footer__payment-list li {
    line-height: 0;
}

.wish-footer__payment-list li img,
.wish-footer__payment-list li svg {
    display: block;
    height: 24px;
    width: auto;
}

/* 链接样式 */
.wish-footer__link {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(38, 38, 38, 0.75);
    line-height: 23.4px;
    text-decoration: none;
    margin: 0;
    padding: 5px 0 0;
    transition: color 0.15s ease;
}

.wish-footer__link:hover {
    color: #262626;
    text-decoration: underline;
    text-decoration-color: #000;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.wish-footer__link--heading {
    font-size: 18px;
    font-weight: 700;
    color: #590746;
    padding-bottom: 5px;
    padding-top: 0;
    transition: color 0.15s ease;
}

.wish-footer__link--heading:hover {
    color: #262626;
    text-decoration: underline;
    text-decoration-color: #000;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.wish-footer__link:first-child {
    padding-top: 0;
}

/* 社交图标 */
.wish-footer__social {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 30px;
}

.wish-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 11px;
    color: rgb(38, 38, 38);
    text-decoration: none;
    box-sizing: border-box;
}

.wish-footer__social-icon {
    width: 22px;
    height: 22px;
    display: block;
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.wish-footer__bottom {
    padding: 30px 0 0;
    border-top: 1px solid rgba(38, 38, 38, 0.08);
}

.wish-footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.wish-footer__bottom-row-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 移动端小屏缩小 padding */
@media (max-width: 640px) {
    .wish-footer__bottom-row-wrapper {
        padding: 0 40px;
    }
}

/* 移动端小屏缩小 padding */
@media (max-width: 640px) {
    .wish-footer__bottom-row {
        padding: 0 20px;
    }
}

.wish-footer__localization {
    flex: 0 0 auto;
    padding: 10px 0;
}

.wish-footer__localization-label {
    font-size: 13px;
    font-weight: 400;
    color: rgba(38, 38, 38, 0.75);
    margin: 0 0 8px 0;
    text-align: left;
    line-height: 1.4;
}

.wish-footer__disclosure {
    position: relative;
    display: block;
}

.wish-footer__disclosure-btn {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 15px 40px 15px 21px;
    font-size: 13px;
    font-weight: 400;
    color: #262626 !important;
    background: transparent !important;
    border: 1px solid rgba(38, 38, 38, 0.2) !important;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.wish-footer__disclosure-btn:focus {
    outline: none;
}

.wish-footer__disclosure-btn:hover {
    border-color: rgba(38, 38, 38, 0.4) !important;
}

.wish-footer__caret-icon {
    width: 10px;
    height: 6px;
    margin-left: 8px;
    display: block;
    transition: transform 0.2s ease;
}

.wish-footer__disclosure-btn[aria-expanded="true"] .wish-footer__caret-icon {
    transform: rotate(180deg);
}

.wish-footer__disclosure-list {
    display: none;
    position: absolute;
    bottom: calc(100% + 1px);
    left: 0;
    z-index: 100;
}

.wish-footer__disclosure-list-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(38, 38, 38, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wish-footer__disclosure-item {
    margin: 0;
}

.wish-footer__disclosure-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(38, 38, 38, 0.75);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.wish-footer__disclosure-link:hover {
    color: #262626;
}

.wish-footer__disclosure-link[aria-current="true"] {
    color: #262626;
    font-weight: 500;
}

.wish-footer__disclosure-link .wish-footer__visually-hidden {
    display: none;
}

.wish-footer__disclosure-check {
    flex-shrink: 0;
    color: #262626;
}

.wish-footer__disclosure-check-placeholder {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.wish-footer__payment-col {
    flex: 1;
    padding: 10px 0;
    display: flex;
    justify-content: flex-end;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-payment {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    max-width: 462px;
}

.list-payment__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.list-payment__item svg {
    display: block;
    width: 38px;
    height: 24px;
}

div.wish-footer__bottom-row.wish-footer__bottom-row--copyright {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(38, 38, 38, 0.08);
    padding-top: 8px;
}

.wish-footer__copyright-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.wish-footer__copyright-text {
    font-size: 11px;
    font-weight: 400;
    color: rgba(38, 38, 38, 0.75);
    margin: 0;
}

.wish-footer__policies {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wish-footer__policies li {
    display: inline;
}

.wish-footer__policies li::before {
    content: '|';
    margin: 0 8px;
    color: rgba(38, 38, 38, 0.75);
    font-size: 10px;
}

.wish-footer__policies li:first-child::before {
    content: none;
}

.wish-footer__policies a {
    color: rgba(38, 38, 38, 0.75);
    text-decoration: none;
    font-size: 10px;
    font-weight: 400;
}
/* Payment list — target site exact classes */
.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-payment {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    max-width: 462px;
}

.list-payment__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.list-payment__item svg {
    display: block;
    width: 38px;
    height: 24px;
}

/* Override Bootstrap/Framework .visually-hidden for footer use */
footer .visually-hidden,
.wish-footer .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   ============================================================ */
@media (max-width: 767px) {
    .wish-footer {
        padding: 27px 0;
    }

    .wish-footer__top {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 30px;
    }

    .wish-footer__blocks-wrapper {
        display: block;
    }

    .wish-footer__block {
        width: 100%;
        margin-bottom: 40px;
        margin-left: 0;
    }

    .wish-footer__social {
        justify-content: center;
    }

    .wish-footer__bottom {
        padding: 20px 0 0;
    }

    .wish-footer__bottom-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 10px 20px 0;
        gap: 10px;
    }

    .wish-footer__localization {
        width: 100%;
        flex-direction: column;
    }

    .wish-footer__disclosure {
        width: auto;
    }

    .wish-footer__disclosure-btn {
        font-size: 13px;
        padding: 15px 40px 15px 21px;
        height: 42px;
    }

    .wish-footer__payment-col {
        width: 100%;
        padding: 5px 0;
    }

    div.wish-footer__bottom-row.wish-footer__bottom-row--copyright {
        flex-direction: column;
        padding-top: 8px;
    }

    .wish-footer__copyright {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
    }

    .wish-footer__policies {
        flex-direction: column;
    }

    .wish-footer__policies li {
        display: block;
    }

    .wish-footer__policies li::before {
        content: none;
    }

    .wish-footer__policies li + li {
        margin-left: 0;
        margin-top: 4px;
    }
        margin-top: 5px;
    }

    .wish-footer__policies a {
        font-size: 10px;
    }

    .wish-footer__copyright-text {
        font-size: 10px;
    }
}

/* ============================================================
   RESPONSIVE — Tablet (768px – 989px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 989px) {
    .wish-footer__block {
        flex: 0 0 auto;
        width: calc(33.333% - 10px);
    }

    .wish-footer__block--menu {
        margin-left: 10px;
    }

    .wish-footer__block:nth-child(n+4) {
        margin-left: 0;
        margin-top: 20px;
    }
}
