.homepage-async-section {
    min-height: 24rem;
}

.homepage-async-section[data-section-state="loaded"] {
    min-height: 0;
}

.homepage-shimmer {
    padding-block: 3rem;
}

.homepage-shimmer__block {
    display: block;
    overflow: hidden;
    background: #eceff2;
    border-radius: .4rem;
    position: relative;
}

.homepage-shimmer__block::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 70%), transparent);
    transform: translateX(-100%);
    animation: homepage-section-loading 1.35s infinite;
}

.homepage-shimmer__products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
}

.homepage-shimmer__categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2rem;
}

.homepage-shimmer__category {
    min-width: 0;
    text-align: center;
}

.homepage-shimmer__category-media {
    width: 92%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
}

.homepage-shimmer__category-name {
    width: 70%;
    height: 1.4rem;
    margin-inline: auto;
}

.homepage-shimmer__product {
    min-width: 0;
}

.homepage-shimmer__product-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.4rem;
}

.homepage-shimmer__line {
    width: 88%;
    height: 1.2rem;
    margin-bottom: .9rem;
}

.homepage-shimmer__line--short {
    width: 58%;
}

.homepage-shimmer__price {
    width: 35%;
    height: 1.5rem;
    margin-top: 1.2rem;
}

.homepage-shimmer__countdown {
    width: 18rem;
    height: 3.2rem;
    margin-inline-start: auto;
    border-radius: .3rem;
}

.homepage-shimmer__slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.homepage-shimmer__slider--with-banner {
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
}

.homepage-shimmer__hero,
.homepage-shimmer__side-banner {
    width: 100%;
    min-height: 30rem;
}

.homepage-best-slider {
    margin-bottom: 4rem;
}

.homepage-shimmer__banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.homepage-shimmer__banner {
    width: 100%;
    aspect-ratio: 8 / 3;
}

.homepage-shimmer__sale-banner {
    width: 100%;
    min-height: 15rem;
}

.homepage-sale-banner {
    --homepage-sale-banner-left: #e0e0e0;
    --homepage-sale-banner-right: #333;
}

.homepage-sale-banner::before {
    z-index: 5;
}

.homepage-sale-banner .banner-subtitle {
    background: var(--homepage-sale-banner-left);
}

.homepage-sale-banner .banner-subtitle::before,
.homepage-sale-banner .banner-subtitle::after {
    border-color: var(--homepage-sale-banner-left);
}

.homepage-sale-banner .content-right {
    background-color: var(--homepage-sale-banner-right);
    background-image: var(--homepage-sale-banner-image, none);
    background-position: center;
    background-size: cover;
}

.homepage-sale-banner__html > :first-child {
    margin-top: 0;
}

.homepage-sale-banner__html > :last-child {
    margin-bottom: 0;
}

.homepage-sale-banner .banner-subtitle > .homepage-sale-banner__left-html {
    display: flex;
    align-items: center;
    margin-right: 0;
    margin: 0;
    color: #333;
    font-size: 1em;
}

.homepage-sale-banner .banner-subtitle .homepage-sale-banner__left-html span {
    margin-right: 0;
    font-size: inherit;
}

.homepage-sale-banner__left-html strong {
    display: inline-block;
    margin-right: .3rem;
    color: inherit;
    font-size: .45em;
    font-weight: 700;
    line-height: 1;
}

.homepage-sale-banner__html .color {
    color: var(--color, inherit) !important;
}

.dark .homepage-sale-banner__html .color {
    color: var(--dark-color, var(--color, inherit)) !important;
}

.homepage-sale-banner .banner-title span {
    left: auto;
    animation: none;
    transform: none;
}

.homepage-sale-banner__marquee {
    display: block;
    width: 100%;
    overflow: hidden;
}

.homepage-sale-banner .banner-title .homepage-sale-banner__marquee-track {
    display: flex;
    width: max-content;
    animation: homepage-sale-banner-marquee 30s linear infinite;
    will-change: transform;
}

.homepage-sale-banner__main-html {
    display: block;
    flex-shrink: 0;
    padding-inline-end: 6rem;
    white-space: nowrap;
}

@keyframes homepage-sale-banner-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-sale-banner .banner-title .homepage-sale-banner__marquee-track {
        animation-play-state: paused;
    }
}

@media (min-width: 768px) {
    .homepage-sale-banner .banner-content {
        align-items: stretch;
        min-height: 12rem;
    }

    .homepage-sale-banner .banner-subtitle {
        flex: 0 0 27.7rem;
        max-width: 27.7rem;
        min-height: 12rem;
    }

    .homepage-sale-banner .content-right {
        margin-left: 0;
        min-height: 12rem;
    }
}

@media (max-width: 767px) {
    .homepage-sale-banner .banner-subtitle {
        width: 100%;
        max-width: none;
    }
}

.homepage-shimmer__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.homepage-shimmer__fashion {
    margin-bottom: 3rem;
}

.homepage-shimmer__fashion-categories {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.homepage-shimmer__fashion-category {
    width: min(100%, 14rem);
    height: 1.4rem;
}

.homepage-shimmer__fashion-banner {
    width: 100%;
    min-height: 18rem;
    margin-bottom: 2rem;
}

.homepage-shimmer__fashion-products .homepage-shimmer__products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .homepage-shimmer__fashion-products .homepage-shimmer__products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .homepage-shimmer__fashion-products .homepage-shimmer__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.homepage-shimmer__tab {
    width: 12rem;
    height: 3.8rem;
}

.homepage-shimmer__picks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.homepage-shimmer__pick {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee;
}

.homepage-shimmer__pick-media {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    aspect-ratio: 6 / 5;
}

.homepage-shimmer__pick-media > :first-child {
    grid-row: 1 / 3;
}

.homepage-shimmer__pick-details {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    height: 10.6rem;
    padding: 1.8rem;
}

.homepage-shimmer__avatar {
    width: 7rem;
    height: 7rem;
    flex: 0 0 7rem;
    border-radius: 50%;
}

.homepage-shimmer__lines {
    flex: 1;
    min-width: 0;
}

.homepage-section-error {
    display: flex;
    min-height: 14rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.homepage-collection-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.homepage-collection-tabs__button {
    border: 1px solid #e1e1e1;
    background: transparent;
    padding: .8rem 1.6rem;
    cursor: pointer;
}

.homepage-collection-tabs__button.is-active {
    border-color: var(--wolmart-primary-color, #336699);
    color: var(--wolmart-primary-color, #336699);
    font-weight: 600;
}

.homepage-collection-tabs__panel[hidden] {
    display: none;
}

.our-picks-section .swiper-wrapper {
    align-items: stretch;
}

.our-picks-section .swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 0;
}

.our-picks-section .our-picks-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    flex: 0 0 auto;
}

.our-picks-section .our-picks-media-frame .vendor-products.grid-type {
    position: absolute;
    inset: -2.5px;
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    margin: 0;
    aspect-ratio: auto;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.our-picks-section .vendor-product,
.our-picks-section .product-media,
.our-picks-section .product-media a {
    display: block;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.our-picks-section .product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.our-picks-section .vendor-details {
    flex: 0 0 10.6rem;
    height: 10.6rem;
    min-height: 10.6rem;
    overflow: hidden;
}

.our-picks-section .vendor-logo img {
    width: 7rem;
    height: 7rem;
    object-fit: cover;
}

.our-picks-section .vendor-personal {
    min-width: 0;
    flex: 1;
}

.our-picks-section .vendor-name {
    display: block;
    width: 100%;
}

@keyframes homepage-section-loading {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 991px) {
    .homepage-shimmer__products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .homepage-shimmer__categories {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .homepage-shimmer__picks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-shimmer__banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .homepage-best-slider {
        margin-bottom: 3rem;
    }

    .homepage-shimmer__products,
    .homepage-shimmer__picks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-shimmer__categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-shimmer__slider--with-banner,
    .homepage-shimmer__banners {
        grid-template-columns: minmax(0, 1fr);
    }

    .homepage-shimmer__hero,
    .homepage-shimmer__side-banner {
        min-height: 20rem;
    }
}

@media (max-width: 575px) {
    .homepage-shimmer__products,
    .homepage-shimmer__picks {
        grid-template-columns: minmax(0, 1fr);
    }

    .homepage-shimmer__categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-shimmer__countdown {
        width: 12rem;
    }
}

@media (prefers-color-scheme: dark) {
    .homepage-shimmer__block {
        background: #30343a;
    }

    .homepage-shimmer__block::after {
        background: linear-gradient(90deg, transparent, rgb(255 255 255 / 8%), transparent);
    }

    .homepage-shimmer__pick {
        border-color: #3e4248;
    }
}

.wolmart-dark-theme .homepage-shimmer__block {
    background: #30343a;
}

.wolmart-dark-theme .homepage-shimmer__block::after {
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 8%), transparent);
}

.wolmart-dark-theme .homepage-shimmer__pick {
    border-color: #3e4248;
}

@media (prefers-reduced-motion: reduce) {
    .homepage-shimmer__block::after {
        animation: none;
    }
}
