/* Image-led catalog refresh. Scoped to the homepage and catalog only. */
.home .bv-hero {
    min-height: 620px;
    min-height: min(760px, calc(100svh - 40px));
    padding-top: 112px;
}
.home.admin-bar .bv-hero {
    min-height: min(760px, calc(100svh - 72px));
}
.home .bv-hero-copy {
    width: min(800px, 100%);
    max-width: none;
    padding-bottom: 64px;
}
.home .bv-hero-copy h1 {
    max-width: none;
    margin-top: 18px;
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: 0;
}
.home .bv-hero-copy .bv-retail-hero-claim {
    max-width: none;
    margin: 20px 0 0;
    color: white;
    font: 500 32px/1.6 var(--sans);
}
.bv-retail-hero-claim span { display: block; }
.home .bv-hero-copy > p:not(.eyebrow):not(.bv-retail-hero-claim) {
    max-width: 440px;
    margin: 18px 0 28px;
    color: #fff;
    font-size: 15px;
    line-height: 1.9;
}
.home .bv-hero-media img { object-position: 65% center; }
.home .bv-home-shop {
    padding: 80px var(--page);
    background: #fff;
}
.home .bv-home-shop-heading {
    gap: 28px;
    margin-bottom: 32px;
}
.home .bv-home-shop-heading h2 {
    margin: 12px 0 0;
    font: 500 30px/1.5 var(--sans);
}
.home .bv-home-shop-action p { font-size: 14px; }
.home .bv-home-shop ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
}
.home .section-intro, .home .bv-service {
    gap: 32px 64px;
    padding: 80px var(--page) 40px;
}
.home .section-intro {
    grid-template-columns: 1fr 1fr;
}
.home .section-intro .section-link {
    grid-column: 2;
}
.home .section-intro h2, .home .bv-service h2 {
    font: 500 32px/1.5 var(--sans);
}
.home .section-intro > p { font-size: 15px; line-height: 1.9; }
.home .bv-ways { border-left: 0; border-right: 0; }
.home .bv-ways article { min-height: 0; padding: 28px; border-left: 0; }
.home .bv-ways article:first-child { padding-left: 0; }
.home .bv-ways article:last-child { border-right: 0; }
.home .way-number { color: #59605b; font: 500 12px var(--sans); }
.home .bv-ways h3 { margin: 26px 0 12px; font: 500 20px/1.6 var(--sans); }
.home .bv-ways article > p:last-child { font-size: 14px; line-height: 1.9; }
.home .bv-service { padding-bottom: 80px; }
.home .service-list a { min-height: 84px; }
.home .service-list small { color: #59605b; font-size: 13px; }
body .bv-catalog .catalog-masthead {
    min-height: 0;
    padding: 40px 0 28px;
}
body .bv-catalog .catalog-masthead h1 {
    margin: 12px 0 0;
    font: 500 36px/1.5 var(--sans);
}
body .bv-catalog .catalog-masthead-copy > p:last-child {
    max-width: none;
    margin-top: 10px;
    font-size: 14px;
}
body .bv-catalog .catalog-controls { min-height: 56px; }
body .bv-catalog .catalog-category-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    font-size: 13px;
}
body .bv-catalog .catalog-sort .orderby {
    min-height: 44px;
    max-width: 100%;
    font-size: 14px;
}
.bv-retail-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.bv-retail-filter-panel > summary { display: none; }
.bv-retail-filters label {
    display: grid;
    gap: 8px;
    min-width: 0;
    color: #59605b;
    font: 500 12px var(--sans);
}
.bv-retail-filters select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #c9cecb;
    border-radius: 2px;
    background: #fff;
    color: var(--color-text);
    font: 400 14px var(--sans);
}
.bv-retail-filter-actions { display: flex; align-items: center; gap: 14px; }
.bv-retail-filter-actions button {
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--color-primary);
    border-radius: 2px;
    background: var(--color-primary);
    color: white;
    font: 500 14px var(--sans);
    cursor: pointer;
}
.bv-retail-filter-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #59605b;
    font-size: 12px;
    text-underline-offset: 4px;
}
body .bv-catalog ul.products {
    gap: 40px 24px;
    margin-top: 28px;
    background: transparent;
}
body .bv-catalog ul.products li.product.bv-product-card,
body .bv-home-shop ul.products li.product.bv-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body .bv-catalog ul.products li.product.bv-product-card::before,
body .bv-home-shop ul.products li.product.bv-product-card::before,
body .bv-catalog .bv-card-media::after,
body .bv-home-shop .bv-card-media::after { display: none; }
body .bv-catalog .bv-card-media,
body .bv-home-shop .bv-card-media {
    display: block;
    aspect-ratio: 1 / 1.12;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
}
body .bv-catalog ul.products li.product .bv-card-media img,
body .bv-home-shop ul.products li.product .bv-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0 !important;
    padding: 6px;
    object-fit: contain;
    background: #fff;
    box-shadow: none;
    filter: none;
}
body .bv-catalog .bv-card-copy, body .bv-home-shop .bv-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 0 0;
}
body .bv-catalog .bv-card-kicker, body .bv-home-shop .bv-card-kicker {
    margin: 0 0 8px;
    color: #59605b;
    font: 600 11px/1.5 var(--numeric);
    overflow-wrap: anywhere;
}
body .bv-catalog ul.products li.product .woocommerce-loop-product__title,
body .bv-home-shop ul.products li.product .woocommerce-loop-product__title {
    display: block;
    min-height: 3em;
    margin: 0;
    padding: 0;
    overflow: visible;
    font: 500 16px/1.5 var(--sans);
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
}
body .bv-catalog .bv-card-meta, body .bv-home-shop .bv-card-meta {
    margin: 8px 0 16px;
    overflow: visible;
    color: #59605b;
    font: 400 12px/1.7 var(--sans);
    white-space: normal;
}
body .bv-catalog .bv-card-purchase, body .bv-home-shop .bv-card-purchase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin-top: auto;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
}
body .bv-catalog ul.products li.product .bv-card-purchase .price,
body .bv-home-shop ul.products li.product .bv-card-purchase .price {
    margin: 0;
    color: var(--color-text);
    font: 600 16px/1.5 var(--numeric);
}
body .bv-catalog .bv-card-link, body .bv-home-shop .bv-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
    min-width: 44px;
    margin: 0;
    font-size: 12px;
}
.home a:focus-visible, .bv-catalog a:focus-visible,
.bv-retail-filters :is(button, select):focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}
.home .bv-hero a:focus-visible { outline-color: white; }
@media (max-width: 1100px) {
    body .bv-catalog ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home .bv-home-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bv-retail-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bv-retail-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 780px) {
    .home .bv-hero { min-height: calc(100svh - 36px); padding-top: 108px; }
    .home.admin-bar .bv-hero { min-height: calc(100svh - 82px); }
    body:is(.home, .post-type-archive-product, .tax-product_cat, .tax-product_tag) .mobile-nav summary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 44px;
        min-height: 44px;
    }
    body:is(.home, .post-type-archive-product, .tax-product_cat, .tax-product_tag) .mobile-nav { margin-left: 4px; }
    .home .bv-hero-copy { width: 100%; padding: 0 20px 44px; }
    .home .bv-hero-copy h1 { font-size: 56px; line-height: 1.1; }
    .home .bv-hero-copy .bv-retail-hero-claim { font-size: 24px; line-height: 1.7; }
    .home .bv-hero-copy > p:not(.eyebrow):not(.bv-retail-hero-claim) { font-size: 14px; margin-top: 16px; }
    .home .bv-hero-media img { object-position: 64% center; }
    .home .bv-home-shop { padding: 64px 16px; }
    .home .bv-home-shop-heading { display: block; margin-bottom: 24px; }
    .home .bv-home-shop-heading h2 { font-size: 24px; }
    .home .bv-home-shop-action { max-width: none; margin-top: 18px; }
    .home .bv-home-shop-action p { font-size: 13px; }
    .home .bv-home-shop .section-link { display: inline-flex; align-items: center; min-height: 44px; }
    .home .section-intro, .home .bv-service { display: block; padding: 64px 20px 32px; }
    .home .section-intro h2, .home .bv-service h2 { font-size: 26px; }
    .home .section-intro > p { font-size: 14px; margin: 20px 0; }
    .home .section-intro .section-link { min-height: 44px; display: inline-flex; align-items: center; }
    .home .bv-ways article, .home .bv-ways article:first-child {
        padding: 24px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .home .bv-ways h3 { margin-top: 12px; font-size: 20px; }
    .home .bv-service { padding-bottom: 64px; }
    .home .service-list { margin-top: 28px; }
    body .bv-catalog { padding-right: 16px; padding-left: 16px; }
    body .bv-catalog .catalog-masthead { padding: 28px 0 20px; }
    body .bv-catalog .catalog-masthead h1 { font-size: 28px; }
    body .bv-catalog .catalog-masthead-copy > p:last-child { font-size: 13px; }
    body .bv-catalog .catalog-controls { padding-bottom: 10px; }
    .bv-retail-filter-panel > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 14px 0;
        color: var(--color-primary);
        font: 500 14px/20px var(--sans);
        cursor: pointer;
    }
    .bv-retail-filter-panel > summary b { font: 18px/1 var(--numeric); }
    .bv-retail-filter-panel[open] > summary b { transform: rotate(45deg); }
    .bv-retail-filter-panel:not([open]) { border-bottom: 1px solid var(--line); }
    .bv-retail-filter-panel > summary:focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
    }
    body .bv-catalog .catalog-sort { padding-top: 8px; }
    .bv-retail-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 18px 0; }
    .bv-retail-filters select { font-size: 16px; min-height: 46px; }
    .bv-retail-filter-actions { grid-column: auto; gap: 2px; flex-direction: column; align-items: stretch; }
    .bv-retail-filter-actions button { padding: 10px 8px; }
    .bv-retail-filter-actions a { justify-content: center; min-height: 36px; }
    body .bv-catalog ul.products, .home .bv-home-shop ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 12px;
    }
    body .bv-catalog ul.products { margin-top: 22px; }
    body .bv-catalog .bv-card-copy, body .bv-home-shop .bv-card-copy { padding-top: 14px; }
    body .bv-catalog ul.products li.product .woocommerce-loop-product__title,
    body .bv-home-shop ul.products li.product .woocommerce-loop-product__title { font-size: 14px; line-height: 1.6; }
    body .bv-catalog .bv-card-kicker, body .bv-home-shop .bv-card-kicker { font-size: 10px; }
    body .bv-catalog .bv-card-meta, body .bv-home-shop .bv-card-meta { font-size: 11px; margin-bottom: 10px; }
    body .bv-catalog ul.products li.product .bv-card-purchase .price,
    body .bv-home-shop ul.products li.product .bv-card-purchase .price { font-size: 15px; }
    body .bv-catalog .bv-card-link span, body .bv-home-shop .bv-card-link span { display: none; }
    body .bv-catalog .bv-card-link b, body .bv-home-shop .bv-card-link b { font-size: 18px; }
}
@media (max-width: 359px) {
    .home .bv-hero-copy h1 { font-size: 48px; }
    .home .bv-hero-copy .bv-retail-hero-claim { font-size: 21px; }
    body .bv-catalog ul.products, .home .bv-home-shop ul.products { gap: 26px 10px; }
}

:root {
    --ease-bluevine: cubic-bezier(.22,.61,.36,1);
    --motion-fast: 400ms;
    --motion-base: 580ms;
    --motion-image: 900ms;
}
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--motion-base) var(--ease-bluevine), transform var(--motion-base) var(--ease-bluevine);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="hero-image"] {
    opacity: 1;
    transform: scale(1.025);
    transition: transform 1800ms var(--ease-bluevine);
}
[data-reveal="hero-image"].is-visible { transform: scale(1); }
[data-reveal="hero-text"] { transition-duration: 600ms; }
.bv-hero [data-reveal="hero-text"]:nth-child(1) { transition-delay: 120ms; }
.bv-hero [data-reveal="hero-text"]:nth-child(2) { transition-delay: 230ms; }
.bv-hero [data-reveal="hero-text"]:nth-child(3) { transition-delay: 350ms; }
.bv-hero [data-reveal="hero-text"]:nth-child(4) { transition-delay: 440ms; }
.bv-hero [data-reveal="hero-text"]:nth-child(5) { transition-delay: 520ms; }
[data-reveal="product"] .bv-card-media {
    clip-path: inset(100% 0 0 0);
    transform: scale(1.025);
    opacity: .98;
    transition: clip-path var(--motion-image) var(--ease-bluevine), transform 1000ms var(--ease-bluevine), opacity 500ms ease;
}
[data-reveal="product"].is-visible .bv-card-media { clip-path: inset(0); transform: scale(1); opacity: 1; }
[data-reveal="product-info"] { transition-delay: 100ms; }
[data-reveal="product"] .bv-card-media img { transition: transform var(--motion-fast) var(--ease-bluevine); }
[data-reveal="product"]:hover .bv-card-media img { transform: scale(1.018); }
[data-reveal="stagger"]:nth-child(2) { transition-delay: 100ms; }
[data-reveal="stagger"]:nth-child(3) { transition-delay: 200ms; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal="product"] .bv-card-media { opacity: 1; transform: none; clip-path: none; transition: none; }
}
