#main-content {
    --bf-home-blue: #435d91;
    --bf-home-rule: #9a907e;
}

.bf-home-intro p { max-width: 610px; }
.bf-home-favorites { padding-bottom: 151px; border-bottom: 1px solid var(--bf-home-rule); }
.bf-favorites-mobile { display: none; }
.bf-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.bf-favorites-picture { aspect-ratio: 680 / 608; max-height: none; }
.bf-home-product-carousel { min-width: 0; }

.bf-home-product-carousel .bf-product-rail {
    position: relative;
    grid-auto-columns: calc((100% - 20px) / 2);
    padding-bottom: 0;
    scrollbar-width: none;
}

.bf-home-product-carousel[data-home-carousel="page"] .bf-product-rail { grid-auto-columns: calc((100% - 60px) / 4); }
.bf-home-product-carousel .bf-product-rail::-webkit-scrollbar,
.bf-home-recipe-rail::-webkit-scrollbar { display: none; }

.bf-home-product {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bf-home-product-image { position: relative; display: block; }
.bf-home-product-image img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; }
.bf-home-product-status {
    position: absolute;
    inset: 8px auto auto 8px;
    background: var(--bf-paper);
    color: #992a24;
    padding: 2px 8px;
    font-size: 13px;
    text-transform: uppercase;
}

.bf-home-product h3 {
    margin: 10px 0 14px;
    font: 700 16px/1.3 BF America, Helvetica, sans-serif;
}

.bf-home-product h3 a,
.bf-home-recipe-more { text-decoration: underline; text-underline-offset: 2px; }
.bf-home-product .bf-card-price { font: 400 15px/1.35 BF Mono, monospace; }
.bf-home-product .bf-card-price ins { text-decoration: none; }
.bf-home-options { flex: 1; min-height: 54px; padding-block: 10px; }
.bf-home-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.bf-home-swatches button {
    cursor: pointer;
    min-height: 32px;
    padding: 2px 8px;
    border: 1px solid var(--bf-home-rule);
    border-radius: 20px;
    background: transparent;
    color: inherit;
    font-size: 13px;
}
.bf-home-swatches button:has(img) { width: 36px; height: 36px; padding: 2px; }
.bf-home-swatches img { border-radius: 50%; }
.bf-home-swatches button[aria-pressed="true"] { border-color: var(--bf-ink); box-shadow: inset 0 0 0 1px currentColor; }

#main-content .bf-home-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 8px 15px;
    background: var(--bf-home-blue);
    border: 1px solid var(--bf-home-blue);
    color: #fff;
    text-align: center;
    font: 500 15px/1.2 BF America, Helvetica, sans-serif;
    text-decoration: none;
}

#main-content .bf-home-action:hover { background: #304877; }
#main-content .bf-home-action:focus-visible { outline-color: var(--bf-ink); }
.bf-home-product > .bf-home-action { width: 100%; margin-top: 0; }
.bf-home-product > .added_to_cart { font-size: 14px; margin-top: 4px; }

.bf-home-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.bf-home-dots:empty { display: none; }
.bf-home-dots button {
    display: grid;
    place-items: center;
    width: 16px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.bf-home-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b4ac9e;
}
.bf-home-dots button[aria-pressed="true"]::before { background: #3b261e; }

.bf-tallow {
    padding: 20px 24px;
    grid-template-columns: minmax(0, 396fr) minmax(0, 509fr) minmax(0, 423fr);
    gap: 32px;
    border-bottom: 1px solid var(--bf-home-rule);
}
.bf-tallow h2 { max-width: 335px; font-size: 34px; line-height: .95; }
.bf-tallow .bf-tallow-detail { max-width: 377px; }
.bf-tallow-copy p { margin: 0 0 20px; font-size: 16px; }
.bf-tallow-copy .bf-tallow-perspective { font: 400 16px/1.55 BF Mono, monospace; }
.bf-tallow-link { min-width: 160px; }
.bf-tallow + .bf-farm-story { margin-top: 60px; }

.bf-home-sourdough { border-bottom: 1px solid var(--bf-home-rule); }
.bf-home-sourdough .bf-product-rail { grid-template-rows: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
.bf-home-sourdough .bf-sourdough-grid > img { height: 100%; }

.bf-home-collections,
.bf-home-recipes,
.bf-home-gear { border-top: 1px solid var(--bf-home-rule); }
.bf-home-collections > .bf-section-title,
.bf-home-recipes > .bf-section-title,
.bf-home-gear > .bf-section-title { margin-bottom: 10px; }
.bf-home-collections .bf-collections-grid { grid-template-columns: minmax(0, 437fr) minmax(0, 907fr); }
.bf-home-collections .bf-collections-grid img { aspect-ratio: 1; }
.bf-home-collections .bf-collections-grid article:nth-child(2) img { aspect-ratio: 4 / 3; }
.bf-home-collection-copy { margin-top: 20px; }
.bf-home-collections h3 { margin: 0; font: 700 16px/1.3 BF America, Helvetica, sans-serif; }
.bf-home-collections p { margin: 5px 0 14px; }
.bf-home-collections .bf-outline-button { display: inline-block; min-width: 96px; }
.bf-home-collections article:nth-child(2) .bf-home-collection-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bf-home-recipes { padding-inline: 0; }
.bf-home-recipes > .bf-section-title { padding-inline: 32px; }
.bf-home-recipe-rail {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 22.2vw, 320px);
    gap: 22px;
    padding: 0 32px;
    margin: 0;
    overflow-x: auto;
    scroll-padding-inline-start: 32px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
}

.bf-home-recipe-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--bf-home-rule);
    scroll-snap-align: start;
}
.bf-home-recipe-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bf-home-recipe-card h3,
.bf-home-recipe-card p { margin: 0 0 12px; }
.bf-home-recipe-card h3 { font: 700 21px/1.16 BF America, Helvetica, sans-serif; text-transform: uppercase; }
.bf-home-recipe-card p { font-size: 15px; }
.bf-home-recipe-card .bf-home-recipe-season { margin: 17px 0 7px; font: 400 13px/1.3 BF Mono, monospace; text-transform: uppercase; }
.bf-home-recipe-more { align-self: flex-start; margin-top: auto; padding-top: 14px; font-weight: 700; }

.bf-home-footer {
    padding-top: 0;
}
.bf-home-footer-heading {
    padding: 32px var(--bf-gutter);
    margin: 0 calc(-1 * var(--bf-gutter)) 26px;
    border-bottom: 1px solid var(--bf-line);
    font-size: clamp(38px, 4vw, 58px);
}
.bf-home-footer .bf-footer-inner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.bf-home-footer .bf-footer-groups h2 { font: 700 17px/1.3 BF America, Helvetica, sans-serif; }
.bf-home-footer .bf-footer-brand { align-self: start; }
.bf-home-footer .bf-footer-brand img { width: 200px; }
.bf-home-footer .bf-footer-brand a + a { display: block; width: fit-content; margin-top: 10px; }

@media (min-width: 761px) {
    .bf-home-sourdough { padding-block: 75px 104px; }
    .bf-farm-values { margin-top: 30px; padding-block: 0 88px; }
    .bf-home-collections { margin-top: 60px; padding-bottom: 57px; }
    .bf-home-recipes { margin-top: 60px; padding-bottom: 76px; }
    .bf-home-recipe-card { min-height: clamp(560px, 46.9vw, 675px); }
}

@media (max-width: 760px) {
    .bf-home-intro p { max-width: 323px; }
    .bf-home-favorites { padding: 20px 20px 87px; }
    .bf-favorites-desktop { display: none; }
    .bf-favorites-mobile { display: block; }
    .bf-home-product-carousel[data-home-carousel="page"] .bf-product-rail { grid-auto-columns: calc((100% - 20px) / 2); }
    .bf-home-product h3 { margin-bottom: 20px; }
    .bf-home-options { min-height: 70px; }
    .bf-tallow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "title title" "intro intro" "detail portrait" "perspective perspective" "link link";
        gap: 20px;
        padding: 0 20px 36px;
    }
    .bf-tallow-media, .bf-tallow-copy { display: contents; }
    .bf-tallow h2 { grid-area: title; margin: 0; }
    .bf-tallow-intro { grid-area: intro; }
    .bf-tallow .bf-tallow-detail { grid-area: detail; }
    .bf-tallow-portrait { grid-area: portrait; }
    .bf-tallow .bf-tallow-perspective { grid-area: perspective; }
    .bf-tallow-link { grid-area: link; justify-self: start; }
    .bf-tallow .bf-tallow-intro, .bf-tallow .bf-tallow-perspective { margin: 0; }
    .bf-tallow .bf-tallow-intro { padding-bottom: 15px; }
    .bf-tallow + .bf-farm-story { margin-top: 63px; height: 699px; }
    .bf-home-sourdough { margin-top: 25px; padding: 25px 24px 29px; }
    .bf-home-sourdough .bf-section-title { flex-direction: column; gap: 0; align-items: flex-start; margin-bottom: 24px; }
    .bf-home-sourdough .bf-section-title h2 { font-size: 39px; margin: 0 0 12px; }
    .bf-home-sourdough .bf-sourdough-grid { gap: 20px; }
    .bf-home-sourdough .bf-product-rail { grid-template-rows: none; row-gap: 20px; }
    .bf-home-sourdough .bf-home-product h3 { margin-bottom: 10px; font-size: 14px; }
    .bf-home-sourdough .bf-home-options { min-height: 34px; padding-block: 4px; }
    .bf-home-sourdough .bf-home-swatches { gap: 4px; }
    .bf-home-sourdough .bf-home-swatches button { font-size: 12px; }
    .bf-home-sourdough .bf-home-swatches button:has(img) { width: 32px; height: 32px; }
    .bf-farm-values { margin-top: 25px; padding: 0 32px 86px; grid-auto-columns: 143px; gap: 40px; }
    .bf-home-collections { margin-top: 25px; padding-inline: 24px; }
    .bf-home-collections .bf-collections-grid,
    .bf-home-collections article:nth-child(2) .bf-home-collection-copy { grid-template-columns: 1fr; }
    .bf-home-collections .bf-collections-grid { gap: 51px; }
    .bf-home-collections article:nth-child(2) .bf-home-collection-copy { gap: 0; }
    .bf-home-recipes > .bf-section-title, .bf-home-gear > .bf-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        margin-bottom: 26px;
    }
    .bf-home-recipes > .bf-section-title { padding-inline: 24px; }
    .bf-home-recipes { margin-top: 25px; padding-block: 0 38px; }
    .bf-home-collections h2, .bf-home-recipes h2, .bf-home-gear h2 { font-size: 40px; line-height: 1; }
    .bf-home-gear h2 { max-width: 255px; }
    .bf-home-gear .bf-home-options { min-height: 110px; }
    .bf-home-recipes .bf-section-title h2, .bf-home-gear .bf-section-title h2 { margin-bottom: 12px; }
    .bf-home-recipe-rail { grid-auto-columns: calc(100% - 30px); gap: 18px; padding-inline: 24px; scroll-padding-inline-start: 24px; }
    .bf-home-recipe-card img { aspect-ratio: 1; }
    .bf-home-footer-heading { text-align: center; }
    .bf-home-footer .bf-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .bf-home-footer .bf-footer-brand { text-align: center; }
    .bf-home-footer .bf-footer-brand img { width: 280px; }
    .bf-home-footer .bf-footer-disclosure summary { font: 700 16px/1.3 BF America, Helvetica, sans-serif; text-transform: uppercase; }
    .bf-home-footer .bf-footer-brand a + a { margin-inline: auto; }
}

.bf-footer-gallery {
    margin-inline: calc(-1 * var(--bf-gutter));
    border-bottom: 1px solid var(--bf-line);
}
.bf-footer-gallery .bf-home-footer-heading {
    margin: 0;
    padding: 26px var(--bf-gutter) 24px;
    border: 0;
    font-size: clamp(38px, 3.2vw, 54px);
}
.bf-footer-gallery-frame { position: relative; }
.bf-footer-gallery-track {
    --bf-gallery-tile: calc((100% - 50px) / 6);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--bf-gallery-tile);
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}
.bf-footer-gallery-track::-webkit-scrollbar { display: none; }
.bf-footer-gallery-track:focus-visible { outline-offset: -3px; }
.bf-footer-gallery-track li { aspect-ratio: 4 / 5; }
.bf-footer-gallery-track img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bf-footer-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / .9);
    color: #342e28;
    cursor: pointer;
}
.bf-footer-gallery-arrow::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: auto;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
}
.bf-footer-gallery-previous { left: 9px; }
.bf-footer-gallery-previous::before { transform: translateX(1px) rotate(135deg); }
.bf-footer-gallery-next { right: 9px; }
.bf-footer-gallery-next::before { transform: translateX(-1px) rotate(-45deg); }
.bf-footer-gallery-arrow:focus-visible { outline-color: #342e28; }
.bf-footer-gallery-link { padding: 10px var(--bf-gutter) 34px; text-align: center; }

.bf-home-footer .bf-footer-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 24px;
    row-gap: 34px;
    padding-top: 28px;
}
.bf-home-footer .bf-footer-groups h2 {
    margin-bottom: 10px;
    font: 700 clamp(19px, 1.9vw, 28px)/1.1 BF Condensed, Impact, sans-serif;
}
.bf-home-footer .bf-footer-groups li { padding-block: 6px; }
.bf-home-footer-news { margin-bottom: 20px; }
.bf-home-footer-news h2 { margin: 0 0 12px; font-size: 24px; }
.bf-home-footer-news p { margin: 0 0 12px; max-width: 46ch; color: #5c5a52; }
.bf-home-footer .bf-footer-brand img { width: min(300px, 100%); }
.bf-home-footer .bf-footer-bottom { align-items: center; padding-top: 24px; }
.bf-home-footer-market { white-space: nowrap; }
.bf-home-footer-credits { grid-column: 1 / -1; margin: 0; font-size: 14px; }

@media (min-width: 1400px) {
    .bf-footer-gallery-track { --bf-gallery-tile: calc((100% - 60px) / 7); }
}
@media (max-width: 1100px) {
    .bf-footer-gallery-track { --bf-gallery-tile: calc((100% - 30px) / 4); }
}
@media (max-width: 760px) {
    .bf-footer-gallery .bf-home-footer-heading { padding: 30px 12px 26px; }
    .bf-footer-gallery-track { --bf-gallery-tile: calc((100% - 10px) / 2); }
    .bf-footer-gallery-link { padding-bottom: 24px; }
    .bf-home-footer .bf-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 14px; }
    .bf-home-footer .bf-footer-brand img { width: min(280px, 100%); }
    .bf-home-footer-news p { margin-inline: auto; }
    .bf-home-footer .bf-footer-bottom { justify-content: center; }
    .bf-home-footer-market { flex-basis: 100%; text-align: center; }
    .bf-home-footer-credits { text-align: center; }
}
