/* OneUmbrella homepage presentation. Shared storefront logic stays in Main.Master and index.aspx. */
:root {
    --home-ink: #20332d;
    --home-green: #1b463a;
    --home-green-deep: #153a31;
    --home-muted: #748078;
    --home-line: #e7ebe5;
    --home-paper: #fbfaf7;
    --home-accent: #c7a467;
    --home-radius: 14px;
}

.oneumbrella-home .announcement {
    min-height: 36px;
    background: var(--home-green-deep);
    color: #f8f7f1;
    font-size: .82rem;
    letter-spacing: .01em;
}

    .oneumbrella-home .announcement .container {
        min-height: 36px;
    }

    .oneumbrella-home .announcement a {
        color: inherit;
    }

.oneumbrella-home .store-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(32,51,45,.08);
    background: rgba(255,255,255,.98);
    box-shadow: 0 3px 12px rgba(32,51,45,.035);
    backdrop-filter: blur(10px);
}

.oneumbrella-home .header-main {
    min-height: 72px;
    gap: clamp(12px, 1.8vw, 28px);
}

.oneumbrella-home .store-brand {
    flex: 0 0 auto;
    color: var(--home-ink);
}

.oneumbrella-home .store-nav {
    gap: clamp(12px, 1.65vw, 25px);
}

    .oneumbrella-home .store-nav a {
        font-weight: 550;
    }

.oneumbrella-home .header-action {
    color: var(--home-ink);
}

.oneumbrella-home .search-row {
    padding-top: 0;
    padding-bottom: 12px;
}

.oneumbrella-home .store-search {
    border-color: #e6e9e3;
    border-radius: 999px;
    background: #fff;
}

    .oneumbrella-home .store-search:focus-within {
        border-color: #90a496;
        box-shadow: 0 0 0 3px rgba(27,70,58,.08);
    }

    .oneumbrella-home .store-search input {
        min-height: 42px;
    }

.oneumbrella-home #main-content {
    background: #fff;
}

    .oneumbrella-home #main-content > .main {
        overflow-x: clip;
        color: var(--home-ink);
    }

.oneumbrella-home .intro-slider-container {
    width: calc(100% - 24px);
    max-width: none;
    margin: 12px auto 0 !important;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f5f0;
}

.oneumbrella-home #bannerLoader,
.oneumbrella-home #bannerContainer {
    overflow: hidden;
    border-radius: inherit;
}

    .oneumbrella-home #bannerContainer.swiper {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 1;
    }

    .oneumbrella-home #bannerContainer .swiper-wrapper,
    .oneumbrella-home #bannerContainer .swiper-slide,
    .oneumbrella-home #bannerContainer .banner-link,
    .oneumbrella-home #bannerContainer .intro-slide,
    .oneumbrella-home #bannerContainer .banner-card {
        height: 100% !important;
        min-height: 0 !important;
    }

    .oneumbrella-home #bannerContainer .banner-card {
        position: relative;
        overflow: hidden;
    }

    .oneumbrella-home #bannerContainer .banner-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .oneumbrella-home #bannerContainer .banner-card:not(.has-banner-copy)::after {
        display: none;
    }

    .oneumbrella-home #bannerContainer .banner-copy {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: clamp(24px, 6vw, 96px);
        max-width: min(52%, 620px);
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        box-shadow: none;
        transform: translateY(-50%);
    }

    .oneumbrella-home #bannerContainer .banner-title {
        margin: 0 0 12px;
        color: #fff;
        font-size: clamp(2rem, 4.6vw, 4.4rem);
        font-weight: 650;
        line-height: 1.04;
        letter-spacing: -.04em;
        text-wrap: balance;
    }

    .oneumbrella-home #bannerContainer .banner-copy p {
        max-width: 45ch;
        margin: 0 0 20px;
        color: rgba(255,255,255,.92);
        font-size: clamp(.95rem, 1.35vw, 1.2rem);
    }

    .oneumbrella-home #bannerContainer .banner-cta,
    .oneumbrella-home .banner-fallback .hero-cta {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 9px;
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        color: var(--home-green-deep);
        font-weight: 650;
    }

    .oneumbrella-home #bannerContainer .swiper-button-prev,
    .oneumbrella-home #bannerContainer .swiper-button-next {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,.65);
        border-radius: 50%;
        background: rgba(255,255,255,.88);
        color: var(--home-green);
    }

        .oneumbrella-home #bannerContainer .swiper-button-prev::after,
        .oneumbrella-home #bannerContainer .swiper-button-next::after {
            font-size: 14px;
            font-weight: 700;
        }

    .oneumbrella-home #bannerContainer .swiper-pagination-bullet {
        background: #fff;
        opacity: .65;
    }

    .oneumbrella-home #bannerContainer .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 8px;
        opacity: 1;
    }

.oneumbrella-home .banner-fallback {
    display: flex;
    min-height: 0;
    aspect-ratio: 3 / 1;
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 6vw, 84px);
    background: #f4f5ef;
}

.oneumbrella-home .banner-fallback-copy {
    max-width: 570px;
}

.oneumbrella-home .banner-fallback .banner-title {
    color: var(--home-ink);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

    .oneumbrella-home .banner-fallback .banner-title em {
        color: var(--home-green);
        font-style: normal;
    }

.oneumbrella-home .banner-fallback p {
    max-width: 39ch;
    margin: 16px 0 22px;
    color: #5d6e64;
    font-size: clamp(1rem,1.5vw,1.25rem);
}

.oneumbrella-home .banner-fallback .hero-cta {
    background: var(--home-green);
    color: #fff;
}

.oneumbrella-home .banner-fallback .hero-note {
    margin-top: 14px;
    color: #64756a;
    font-size: .9rem;
}

.oneumbrella-home .hero-art {
    width: min(34vw, 400px);
    aspect-ratio: 1;
}

.oneumbrella-home .category-showcase {
    max-width: 1260px;
    padding-top: clamp(54px, 6vw, 82px);
    padding-bottom: clamp(28px, 3.6vw, 48px);
}

    .oneumbrella-home .category-showcase .section-kicker {
        margin: 0 0 8px;
        color: #7e8d82;
        font-size: .74rem;
        font-weight: 600;
        letter-spacing: .18em;
        text-align: center;
    }

    .oneumbrella-home .category-showcase > h1 {
        margin: 0 0 30px !important;
        color: var(--home-ink);
        font-size: clamp(1.9rem, 3vw, 2.65rem);
        font-weight: 620;
        letter-spacing: -.045em;
    }

    .oneumbrella-home .category-showcase #categoryContainer {
        row-gap: 16px;
    }

        .oneumbrella-home .category-showcase #categoryContainer > .category-column {
            display: flex;
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
            justify-content: center;
            padding: 0 12px;
        }

    .oneumbrella-home .category-showcase .category-card {
        width: min(100%, 190px);
        height: 100%;
        overflow: hidden;
        padding: 9px;
        border: 1px solid var(--home-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 4px 16px rgba(23,60,53,.035);
        transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    }

        .oneumbrella-home .category-showcase .category-card:hover,
        .oneumbrella-home .category-showcase .category-card:focus-within {
            transform: translateY(-3px);
            border-color: #d7e1d7;
            box-shadow: 0 9px 22px rgba(23,60,53,.075);
        }

        .oneumbrella-home .category-showcase .category-card .cat-block {
            display: flex;
            height: 100%;
            flex-direction: column;
            gap: 9px;
            padding: 0;
        }

            .oneumbrella-home .category-showcase .category-card .cat-block figure {
                display: grid;
                width: 100%;
                height: auto;
                aspect-ratio: 1 / .84;
                flex: 0 0 auto;
                margin: 0;
                overflow: hidden;
                border: 0;
                border-radius: 11px;
                background: #f6f6f2;
                box-shadow: none;
            }

                .oneumbrella-home .category-showcase .category-card .cat-block figure > span {
                    display: grid;
                    width: 100%;
                    height: 100%;
                    place-items: center;
                    overflow: hidden;
                }

                .oneumbrella-home .category-showcase .category-card .cat-block figure img {
                    width: 100%;
                    height: 100%;
                    padding: 7px;
                    object-fit: contain;
                    transition: transform .3s ease;
                }

        .oneumbrella-home .category-showcase .category-card:hover .cat-block figure img {
            transform: scale(1.035);
        }

        .oneumbrella-home .category-showcase .category-card .cat-block-title {
            display: flex;
            min-height: 34px;
            align-items: center;
            justify-content: space-between;
            gap: 7px;
            margin: 0;
            padding: 0 3px;
            color: var(--home-green-deep);
            font-size: .96rem;
            font-weight: 600;
            line-height: 1.25;
        }

            .oneumbrella-home .category-showcase .category-card .cat-block-title::after {
                content: "→";
                color: #789372;
                font-size: 1.05em;
                transition: transform .18s ease;
            }

        .oneumbrella-home .category-showcase .category-card:hover .cat-block-title::after {
            transform: translateX(3px);
        }

    .oneumbrella-home .category-showcase .category-image-fallback {
        color: #789372;
        font-size: 3rem;
    }

.oneumbrella-home .benefits-strip {
    max-width: 1250px;
    margin-top: 0;
    margin-bottom: 32px;
    padding: 13px 16px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: #fbfaf7;
}

.oneumbrella-home .benefit-item {
    gap: 11px;
    padding: 7px 10px;
}

.oneumbrella-home .benefit-icon {
    background: #f0f1eb;
    color: var(--home-green);
}

.oneumbrella-home .benefit-item strong {
    color: var(--home-ink);
    font-size: .98rem;
}

.oneumbrella-home .benefit-item small {
    color: var(--home-muted);
    font-size: .84rem;
}

.oneumbrella-home .home-section-spacer {
    height: 18px;
}

.oneumbrella-home #homeProductsContainer {
    background: var(--home-paper);
}

.oneumbrella-home .home-merchandising-intro {
    padding: clamp(42px, 5vw, 64px) 0 20px;
    background: var(--home-paper);
}

    .oneumbrella-home .home-merchandising-intro .container,
    .oneumbrella-home .home-marketplace-grid-wrap > .container {
        max-width: 1220px;
    }

    .oneumbrella-home .home-merchandising-intro span,
    .oneumbrella-home .home-shelf-eyebrow {
        color: #7c8b80;
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .15em;
    }

    .oneumbrella-home .home-merchandising-intro h2 {
        margin: 7px 0;
        color: var(--home-ink);
        font-size: clamp(2rem, 3.2vw, 2.8rem);
        font-weight: 620;
        letter-spacing: -.045em;
    }

    .oneumbrella-home .home-merchandising-intro p {
        margin-bottom: 0;
        color: var(--home-muted);
        font-size: .98rem;
    }

.oneumbrella-home .home-marketplace-grid-wrap {
    padding: 10px 0 46px;
    background: var(--home-paper);
}

.oneumbrella-home .home-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

    .oneumbrella-home .home-featured-grid > .home-mosaic-panel:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

        .oneumbrella-home .home-featured-grid > .home-mosaic-panel:last-child:nth-child(odd) .home-mosaic-products {
            grid-template-columns: repeat(3, minmax(0, 280px));
        }

.oneumbrella-home .home-mosaic-panel {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e6eae4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(23,60,53,.025);
}

.oneumbrella-home .home-mosaic-heading {
    min-height: 54px;
    margin-bottom: 10px;
}

    .oneumbrella-home .home-mosaic-heading h2 {
        color: var(--home-ink);
        font-size: clamp(1.1rem, 1.45vw, 1.3rem);
        font-weight: 600;
    }

.oneumbrella-home .home-mosaic-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}

.oneumbrella-home .home-mosaic-product {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-color: #edf0eb;
    border-radius: 11px;
    box-shadow: none;
}

.oneumbrella-home .home-mosaic-image {
    background: #f5f5f1;
}

    .oneumbrella-home .home-mosaic-image img {
        padding: 8px;
    }

.oneumbrella-home .home-mosaic-copy {
    padding: 8px 9px 9px;
}

    .oneumbrella-home .home-mosaic-copy h3 {
        color: var(--home-ink);
        font-size: .86rem;
        line-height: 1.35;
    }

.oneumbrella-home .home-mosaic-category {
    font-size: .66rem;
}

.oneumbrella-home .home-mosaic-price {
    color: var(--home-green-deep);
    font-size: .94rem;
}

.oneumbrella-home .home-mosaic-cart {
    min-height: 32px;
    border-radius: 7px;
    background: var(--home-green);
}

    .oneumbrella-home .home-mosaic-cart:hover {
        background: var(--home-green-deep);
    }

.oneumbrella-home .home-category-section {
    margin: 0;
    padding: clamp(30px, 3.5vw, 44px) 0;
    border-top: 1px solid #e9ece6;
    background: var(--home-paper);
}

    .oneumbrella-home .home-category-section .container {
        max-width: 1220px;
    }

.oneumbrella-home .home-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

    .oneumbrella-home .home-category-heading h2 {
        margin: 4px 0 0;
        color: var(--home-ink);
        font-size: clamp(1.55rem, 2.25vw, 2rem);
        font-weight: 620;
        letter-spacing: -.035em;
    }

.oneumbrella-home .home-category-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .oneumbrella-home .home-category-controls > a {
        margin-right: 5px;
        color: var(--home-green);
        font-weight: 600;
    }

    .oneumbrella-home .home-category-controls > button {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border: 1px solid #e0e5de;
        border-radius: 50%;
        background: #fff;
        color: var(--home-green);
        transition: background .18s, color .18s;
    }

        .oneumbrella-home .home-category-controls > button:hover {
            background: var(--home-green);
            color: #fff;
        }

.oneumbrella-home .home-product-carousel {
    padding: 3px 2px 12px;
}

.oneumbrella-home .home-category-section .home-product-carousel > .swiper-wrapper > .swiper-slide {
    box-sizing: border-box;
    margin-left: 0 !important;
}

.oneumbrella-home .home-product-card {
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid #e7ebe5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(23,60,53,.03);
}

    .oneumbrella-home .home-product-card .product-media {
        display: block;
        height: clamp(170px, 18vw, 224px);
        overflow: hidden;
        background: #f4f5f1;
    }

        .oneumbrella-home .home-product-card .product-media img {
            width: 100%;
            height: 100%;
            padding: 10px;
            object-fit: contain;
        }

    .oneumbrella-home .home-product-card .product-body {
        padding: 11px 12px 12px;
    }

    .oneumbrella-home .home-product-card .product-title {
        min-height: 2.8em;
        margin-bottom: 3px;
        font-size: .96rem;
        line-height: 1.38;
    }

        .oneumbrella-home .home-product-card .product-title a {
            color: var(--home-ink);
        }

    .oneumbrella-home .home-product-card .product-cat {
        color: #7b8980;
        font-size: .76rem;
    }

    .oneumbrella-home .home-product-card .product-price {
        margin: 5px 0 8px;
        color: var(--home-green-deep);
        font-size: 1.08rem;
        font-weight: 700;
    }

    .oneumbrella-home .home-product-card .product-add-cart {
        min-height: 36px;
        border-radius: 8px;
        background: var(--home-green);
    }

        .oneumbrella-home .home-product-card .product-add-cart:hover {
            background: var(--home-green-deep);
        }

    .oneumbrella-home .home-product-card .is-loading {
        position: relative;
    }

        .oneumbrella-home .home-product-card .is-loading::after {
            position: absolute;
            top: 50%;
            right: 10px;
            width: 13px;
            height: 13px;
            margin-top: -7px;
            border: 2px solid currentColor;
            border-right-color: transparent;
            border-radius: 50%;
            animation: home-cart-spin .65s linear infinite;
            content: "";
            pointer-events: none;
        }

.oneumbrella-home .cart-qty-stepper button.is-loading {
    display: grid;
    flex: 0 0 31px;
    place-items: center;
    color: transparent;
}

    .oneumbrella-home .cart-qty-stepper button.is-loading::after {
        top: 50%;
        right: auto;
        left: 50%;
        width: 12px;
        height: 12px;
        margin: -6px 0 0 -6px;
        border-color: #315d4a;
        border-right-color: transparent;
    }

.oneumbrella-home .home-mosaic-cart.is-loading,
.oneumbrella-home .home-product-card .product-add-cart.is-loading {
    padding-right: 30px;
}

@keyframes home-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

.oneumbrella-home .store-footer {
    border-top: 1px solid #e6e9e3;
    background: #f4f5ef;
}

    .oneumbrella-home .store-footer a:hover {
        color: var(--home-green);
    }

@media (max-width: 991px) {
    .oneumbrella-home .header-main {
        min-height: 66px;
    }

    .oneumbrella-home .home-mosaic-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oneumbrella-home .home-featured-grid > .home-mosaic-panel:last-child:nth-child(odd) .home-mosaic-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oneumbrella-home .home-product-card .product-media {
        height: 190px;
    }
}

@media (max-width: 767px) {
    .oneumbrella-home #bannerContainer .banner-copy {
        max-width: 76%;
    }

    .oneumbrella-home .hero-art {
        width: 30vw;
        opacity: .75;
    }

    .oneumbrella-home .category-showcase {
        padding-top: 48px;
    }

        .oneumbrella-home .category-showcase #categoryContainer > .category-column {
            padding: 0 8px;
        }

    .oneumbrella-home .home-featured-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .oneumbrella-home .home-featured-grid > .home-mosaic-panel:last-child:nth-child(odd) {
            grid-column: auto;
        }

    .oneumbrella-home .home-category-section {
        padding: 28px 0;
    }

    .oneumbrella-home .home-product-card .product-media {
        height: 190px;
    }
}

@media (max-width: 575px) {
    .oneumbrella-home .announcement .container {
        justify-content: center;
    }

    .oneumbrella-home .announcement .announcement-right {
        display: none;
    }

    .oneumbrella-home .header-main {
        min-height: 58px;
    }

    .oneumbrella-home .search-row {
        padding-bottom: 9px;
    }

    .oneumbrella-home .intro-slider-container {
        width: calc(100% - 16px);
        margin-top: 8px !important;
        border-radius: 12px;
    }

    .oneumbrella-home #bannerContainer.swiper {
        aspect-ratio: 3 / 1;
    }

    .oneumbrella-home #bannerContainer .banner-copy {
        top: auto;
        right: 14px;
        bottom: 14px;
        left: 14px;
        max-width: none;
        transform: none;
    }

    .oneumbrella-home #bannerContainer .banner-title {
        margin-bottom: 5px;
        font-size: clamp(1.15rem, 5vw, 1.8rem);
    }

    .oneumbrella-home #bannerContainer .banner-copy p {
        display: none;
    }

    .oneumbrella-home #bannerContainer .banner-cta {
        min-height: 32px;
        padding: 0 12px;
        font-size: .8rem;
    }

    .oneumbrella-home #bannerContainer .swiper-button-prev,
    .oneumbrella-home #bannerContainer .swiper-button-next {
        display: none;
    }

    .oneumbrella-home .banner-fallback {
        align-items: flex-start;
        padding: 24px 18px;
    }

        .oneumbrella-home .banner-fallback .banner-title {
            font-size: clamp(2rem, 10vw, 3.1rem);
        }

    .oneumbrella-home .hero-art {
        position: absolute;
        right: -24px;
        bottom: 2px;
        width: 155px;
        opacity: .22;
    }

    .oneumbrella-home .category-showcase {
        padding-top: 42px;
        padding-bottom: 24px;
    }

        .oneumbrella-home .category-showcase > h1 {
            margin-bottom: 22px !important;
        }

        .oneumbrella-home .category-showcase #categoryContainer > .category-column {
            flex-basis: 50%;
            max-width: 50%;
            padding: 0 6px;
        }

        .oneumbrella-home .category-showcase .category-card {
            padding: 7px;
            border-radius: 13px;
        }

            .oneumbrella-home .category-showcase .category-card .cat-block figure {
                border-radius: 9px;
            }

                .oneumbrella-home .category-showcase .category-card .cat-block figure img {
                    padding: 5px;
                }

            .oneumbrella-home .category-showcase .category-card .cat-block-title {
                min-height: 32px;
                font-size: .9rem;
            }

    .oneumbrella-home .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        margin-bottom: 24px;
        padding: 8px;
    }

    .oneumbrella-home .benefit-item {
        gap: 7px;
        padding: 6px 2px;
    }

    .oneumbrella-home .benefit-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .oneumbrella-home .benefit-item strong {
        font-size: .78rem;
    }

    .oneumbrella-home .benefit-item small {
        font-size: .68rem;
    }

    .oneumbrella-home .home-merchandising-intro {
        padding-top: 36px;
    }

    .oneumbrella-home .home-mosaic-panel {
        padding: 11px;
    }

    .oneumbrella-home .home-mosaic-heading {
        min-height: 48px;
    }

    .oneumbrella-home .home-mosaic-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .oneumbrella-home .home-mosaic-image {
        height: 132px;
        flex-basis: 132px;
    }

    .oneumbrella-home .home-category-heading {
        align-items: center;
    }

        .oneumbrella-home .home-category-heading h2 {
            font-size: 1.6rem;
        }

    .oneumbrella-home .home-category-controls > a {
        display: none;
    }

    .oneumbrella-home .home-product-card .product-media {
        height: 165px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oneumbrella-home *,
    .oneumbrella-home *::before,
    .oneumbrella-home *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
