/* Homepage only. Loaded after the Vite bundle so old compiled storefront CSS cannot hide merchandising. */
.sf-home .sf-home-hero {
    padding: clamp(26px, 3.3vw, 48px) 0 clamp(20px, 2.3vw, 32px);
}
/* Tighten desktop whitespace above both hero columns together. */
@media (min-width: 901px) {
    .sf-home .sf-home-hero {
        padding-top: calc(clamp(14px, 1.8vw, 26px) - 8px);
    }
}
.sf-home .sf-home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}
.sf-home .sf-home-hero-copy { min-width: 0; padding: 0; }
.sf-home .sf-home-hero-copy h1 {
    max-width: 625px;
    margin-top: 12px;
    font-size: clamp(2.5rem, 3.6vw, 3.5rem);
    line-height: 1.1;
}
.sf-home .sf-home-hero-copy > p:not(.sf-eyebrow) {
    max-width: 490px;
    margin-top: 20px;
    color: var(--sf-muted);
    font-size: 1rem;
    line-height: 1.65;
}
.sf-home .sf-home-hero-media {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1672 / 941;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.sf-home .sf-home-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    transform: scale(1.06);
    transform-origin: center;
}
.sf-home .sf-home-categories {
    margin-top: 0;
}
.sf-home .sf-home-categories .sf-section-heading {
    padding-block: 23px 25px;
    align-items: end;
}
.sf-home .sf-home-categories .sf-section-heading h2 {
    margin-top: 8px;
    font-size: clamp(1.65rem, 2.3vw, 2.2rem);
}
.sf-home .sf-category-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
}
.sf-home .sf-category-tile {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    min-height: 0 !important;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
    background: var(--sf-white);
    text-decoration: none;
}
.sf-home .sf-category-tile-image {
    display: grid !important;
    position: relative;
    place-items: center;
    min-width: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0 !important;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--sf-line);
    background: #f5eee6;
}
.sf-home .sf-category-tile-image img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-width: 100%;
    max-height: 100% !important;
    box-sizing: border-box;
    object-fit: contain;
    padding: 16px;
}
.sf-home .sf-category-tile-image > span {
    padding: 24px;
    color: var(--sf-muted);
    font-size: .92rem;
}
.sf-home .sf-category-tile-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 112px;
    padding: 23px 25px !important;
}
.sf-home .sf-category-tile-copy h3 {
    font-size: 1.45rem;
}
.sf-home .sf-category-tile-copy p {
    max-width: 415px;
    margin-top: 6px;
    font-size: .89rem;
    line-height: 1.5;
}
.sf-home .sf-category-tile-copy > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--sf-line);
    border-radius: 50%;
    color: var(--sf-accent);
    font-size: 1.2rem;
}
.sf-home .sf-category-tile:hover .sf-category-tile-copy > span,
.sf-home .sf-category-tile:focus-visible .sf-category-tile-copy > span {
    background: var(--sf-surface);
}
.sf-home .sf-home-bespoke {
    margin-top: clamp(52px, 6vw, 82px);
    padding: clamp(38px, 5vw, 62px) 0;
    background: var(--sf-surface);
}
.sf-home .sf-home-bespoke-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    gap: clamp(28px, 5vw, 74px);
    align-items: center;
}
.sf-home .sf-home-bespoke-copy h2 {
    max-width: 490px;
    margin-top: 12px;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}
.sf-home .sf-home-bespoke-copy > p:not(.sf-eyebrow) {
    max-width: 500px;
    margin-top: 17px;
    color: var(--sf-muted);
    font-size: .97rem;
    line-height: 1.7;
}
.sf-home .sf-home-bespoke-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 16px;
    margin-top: 18px;
    color: var(--sf-accent);
    font-size: .95rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.sf-home .sf-home-bespoke-photo {
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: transparent;
}
.sf-home .sf-home-bespoke-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
.sf-home .sf-home-ordering {
    display: block;
    padding: clamp(44px, 5vw, 68px) 0;
    border-bottom: 1px solid var(--sf-line);
}
.sf-home .sf-home-ordering-heading h2 {
    margin-top: 9px;
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
}
.sf-home .sf-home-ordering .sf-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.8vw, 38px);
    margin-top: 28px;
    padding: 0;
}
.sf-home .sf-home-ordering .sf-steps li,
.sf-home .sf-home-ordering .sf-steps li:first-child {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px 0 0;
    border-top: 1px solid var(--sf-line);
    border-bottom: 0;
}
.sf-home .sf-home-ordering .sf-steps li > span {
    color: var(--sf-accent);
    font-weight: 650;
}
.sf-home .sf-home-ordering .sf-steps h3 { font-size: 1.15rem; }
.sf-home .sf-home-ordering .sf-steps p {
    margin-top: 8px;
    color: var(--sf-muted);
    font-size: .88rem;
    line-height: 1.55;
}
.sf-home .sf-faq {
    padding-block: clamp(38px, 5vw, 60px);
    border-top: 0;
}
@media (max-width: 900px) {
    .sf-home .sf-home-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .sf-home .sf-home-hero-media { max-width: 730px; margin-inline: auto; }
    .sf-home .sf-home-hero-media img { transform: none; }
}
@media (max-width: 720px) {
    .sf-home .sf-category-tiles { grid-template-columns: 1fr; gap: 18px; }
    .sf-home .sf-category-tile-image { aspect-ratio: 16 / 9; }
    .sf-home .sf-category-tile-copy { min-height: 98px; padding: 19px 20px !important; }
    .sf-home .sf-category-tile-copy h3 { font-size: 1.32rem; }
    .sf-home .sf-home-bespoke-inner { grid-template-columns: 1fr; gap: 26px; }
    .sf-home .sf-home-ordering .sf-steps { grid-template-columns: 1fr; gap: 18px; }
    .sf-home .sf-home-ordering .sf-steps li,
    .sf-home .sf-home-ordering .sf-steps li:first-child { padding-top: 16px; }
}
@media (max-width: 600px) {
    .sf-home .sf-home-hero { padding: 28px 0 18px; }
    .sf-home .sf-home-hero-copy h1 { font-size: clamp(2.05rem, 8.5vw, 2.4rem); }
    .sf-home .sf-home-hero-copy > p:not(.sf-eyebrow) { font-size: .95rem; }
    .sf-home .sf-home-categories { margin-top: 12px; }
    .sf-home .sf-category-tile-image { aspect-ratio: 16 / 10; }
    .sf-home .sf-home-bespoke { margin-top: 45px; }
    .sf-home .sf-home-ordering { padding-block: 40px; }
}
