/* Firewood delivery location pages */
.sf-location-page { background: #fff; overflow: hidden; }
/* Match the established FAQ hero treatment exactly. */
.sf-location-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; color: #fff; background-color: #192d1f; background-size: cover; background-position: center; background-repeat: no-repeat; }
.sf-location-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,25,16,.95) 0%, rgba(11,25,16,.83) 54%, rgba(11,25,16,.34) 84%, rgba(11,25,16,.18) 100%); }
.sf-location-hero__inner { position: relative; z-index: 1; padding-block: 76px; }
.sf-location-hero__copy { max-width: 790px; color: #fff; }
.sf-location-hero h1 { max-width: 780px; margin-bottom: 18px; color: #fff; font-size: clamp(2.65rem,5.8vw,4.9rem); line-height: .98; text-shadow: 0 2px 20px rgba(0,0,0,.23); }
.sf-location-hero .sf-eyebrow { color: #f7c06f; }
.sf-location-hero__lead { max-width: 720px; color: rgba(255,255,255,.9); font-size: clamp(1.05rem,2vw,1.23rem); }
.sf-location-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Match the established FAQ quick-facts treatment exactly. */
.sf-location-facts { --sf-location-facts-overlap: 42px; position: relative; z-index: 3; margin-top: calc(-1 * var(--sf-location-facts-overlap)); background: linear-gradient(to bottom, transparent 0 var(--sf-location-facts-overlap), var(--sf-cream) var(--sf-location-facts-overlap) 100%); }
.sf-location-facts__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-lg); background: #fff; box-shadow: 0 16px 42px rgba(19,34,23,.12); }
.sf-location-facts__grid > * { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 13px; padding: 22px 24px; color: inherit; text-decoration: none; }
.sf-location-facts__grid > * + * { border-left: 1px solid var(--sf-line); }
.sf-location-facts__grid > * > span { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(237,91,11,.10); color: var(--sf-orange); font-size: 1.25rem; font-weight: 900; }
.sf-location-facts__grid svg { width: 23px; height: 23px; fill: currentColor; }
.sf-location-facts__grid small { align-self: end; color: var(--sf-muted); font-size: .69rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.sf-location-facts__grid strong { min-width: 0; color: var(--sf-green-dark); font-size: .96rem; line-height: 1.25; }
.sf-location-facts__grid a:hover strong { color: var(--sf-orange); }

.sf-location-intro { padding-top: 96px; }

.sf-location-intro__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.7fr); gap: 58px; align-items: center; }
.sf-location-intro__grid > div > p:not(.sf-eyebrow) { color: var(--sf-muted); font-size: 1.02rem; }
.sf-location-order-card { padding: 34px; background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-lg); box-shadow: 0 9px 30px rgba(20,35,24,.06); }
.sf-location-order-card h3 { font-size: clamp(1.45rem,2.5vw,2.1rem); }
.sf-location-order-card ul { list-style: none; margin: 24px 0 28px; padding: 0; }
.sf-location-order-card li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--sf-line); color: var(--sf-muted); }
.sf-location-order-card li:last-child { border-bottom: 0; }
.sf-location-order-card li::before { content: '✓'; position: absolute; left: 0; color: var(--sf-orange); font-weight: 900; }

.sf-location-section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.65fr); gap: 48px; align-items: end; margin-bottom: 34px; }
.sf-location-section-heading > p { margin-bottom: 6px; color: var(--sf-muted); }
.sf-location-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.sf-location-product-card { min-height: 330px; display: flex; flex-direction: column; padding: 27px 24px; background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); color: var(--sf-text); text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.sf-location-product-card:hover { transform: translateY(-3px); border-color: rgba(237,91,11,.35); box-shadow: var(--sf-shadow-hover); color: var(--sf-text); }
.sf-location-product-card__badge { align-self: flex-start; margin-bottom: 24px; padding: 6px 9px; border-radius: 999px; background: #fff4ed; color: var(--sf-orange-dark); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.sf-location-product-card h3 { margin-bottom: 10px; font-size: 1.45rem; }
.sf-location-product-card > p { color: var(--sf-muted); font-size: .91rem; }
.sf-location-product-card__meta { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--sf-line); }
.sf-location-product-card__meta small { display: block; color: var(--sf-muted); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sf-location-product-card__meta strong { display: block; margin-top: 3px; color: var(--sf-green); font-size: .9rem; }
.sf-location-product-card__link { margin-top: 22px; color: var(--sf-green); font-size: .88rem; font-weight: 850; }
.sf-location-products__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }

.sf-location-measurements { padding: 82px 0; background: var(--sf-green-dark); color: #fff; }
.sf-location-measurements__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 64px; align-items: center; }
.sf-location-measurements h2 { color: #fff; }
.sf-location-measurements .sf-eyebrow { color: #f7c06f; }
.sf-location-measurements__grid > div:first-child > p:not(.sf-eyebrow) { color: rgba(255,255,255,.72); }
.sf-location-measurements__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.sf-location-measurements__cards article { padding: 27px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--sf-radius); }
.sf-location-measurements__cards article > span { display: inline-flex; margin-bottom: 25px; color: #f7c06f; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.sf-location-measurements__cards h3 { color: #fff; font-size: 1.2rem; }
.sf-location-measurements__cards p { margin-bottom: 0; color: rgba(255,255,255,.68); font-size: .88rem; }

.sf-location-delivery__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 66px; align-items: center; }
.sf-location-delivery__grid > div:first-child > p:not(.sf-eyebrow) { color: var(--sf-muted); }
.sf-location-delivery__steps { display: grid; gap: 12px; }
.sf-location-delivery__steps > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--sf-line); border-radius: 15px; }
.sf-location-delivery__steps strong { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sf-green); color: #fff; }
.sf-location-delivery__steps span { display: grid; }
.sf-location-delivery__steps b { color: var(--sf-charcoal); }
.sf-location-delivery__steps small { margin-top: 2px; color: var(--sf-muted); }

.sf-location-save { padding: 76px 0; background: var(--sf-green); color: #fff; }
.sf-location-save__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(330px,.65fr); gap: 64px; align-items: center; }
.sf-location-save h2,
.sf-location-save h3 { color: #fff; }
.sf-location-save .sf-eyebrow { color: #f7c06f; }
.sf-location-save__grid > div:first-child > p:not(.sf-eyebrow) { color: rgba(255,255,255,.74); }
.sf-location-save__action { padding: 31px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--sf-radius-lg); }
.sf-location-save__action > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 23px; color: #f7c06f; }
.sf-location-save__action svg { width: 31px; height: 31px; }
.sf-location-save__action p { color: rgba(255,255,255,.72); }

.sf-location-winter__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); gap: 64px; align-items: center; }
.sf-location-winter__grid > div > p:not(.sf-eyebrow) { color: var(--sf-muted); }
.sf-location-winter aside { position: relative; padding: 36px 34px; background: var(--sf-cream); border-radius: var(--sf-radius-lg); }
.sf-location-winter aside p { position: relative; z-index: 1; margin: 0; color: var(--sf-green-dark); font-size: clamp(1.2rem,2vw,1.55rem); font-weight: 800; line-height: 1.4; }
.sf-location-winter__quote { position: absolute; top: 1px; left: 19px; color: rgba(237,91,11,.14); font-family: Georgia,serif; font-size: 8rem; line-height: 1; }

.sf-location-faq__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.sf-location-faq__grid article { padding: 26px 24px; background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); }
.sf-location-faq__grid h3 { font-size: 1.08rem; }
.sf-location-faq__grid p { margin-bottom: 0; color: var(--sf-muted); font-size: .9rem; }
.sf-location-faq__grid a { color: var(--sf-green); font-weight: 800; }

.sf-location-cta { padding: 72px 0; background: #142a19; color: #fff; }
.sf-location-cta__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.65fr); gap: 58px; align-items: center; }
.sf-location-cta h2 { color: #fff; }
.sf-location-cta .sf-eyebrow { color: #f7c06f; }
.sf-location-cta p:not(.sf-eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.72); }
.sf-location-cta__actions { display: flex; flex-direction: column; gap: 12px; }
.sf-location-cta__all { margin-top: 2px; color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 800; text-align: center; text-decoration: none; }
.sf-location-cta__all:hover { color: #f7c06f; }

@media (max-width: 1040px) {
    .sf-location-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sf-location-measurements__grid { grid-template-columns: 1fr; gap: 38px; }
    .sf-location-measurements__cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
    .sf-location-facts__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sf-location-facts__grid > *:nth-child(even) { border-left: 1px solid var(--sf-line); }
    .sf-location-facts__grid > *:nth-child(n+3) { border-top: 1px solid var(--sf-line); }
    .sf-location-intro__grid,
    .sf-location-section-heading,
    .sf-location-delivery__grid,
    .sf-location-save__grid,
    .sf-location-winter__grid,
    .sf-location-cta__grid { grid-template-columns: 1fr; gap: 34px; }
    .sf-location-cta__actions { flex-direction: row; }
    .sf-location-faq__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .sf-location-hero { min-height: 520px; background-position: 62% center; }
    .sf-location-hero__inner { padding-block: 56px 76px; }
    .sf-location-hero__actions,
    .sf-location-products__actions,
    .sf-location-cta__actions { flex-direction: column; align-items: stretch; }
    .sf-location-hero__actions .sf-button,
    .sf-location-products__actions .sf-button,
    .sf-location-cta__actions .sf-button { width: 100%; }
    .sf-location-facts__grid { grid-template-columns: 1fr; }
    .sf-location-facts { --sf-location-facts-overlap: 30px; }
    .sf-location-facts__grid { border-radius: 15px; }
    .sf-location-facts__grid > div,
    .sf-location-facts__grid > a { padding: 16px 18px; border-left: 0 !important; border-top: 1px solid var(--sf-line); }
    .sf-location-facts__grid > :first-child { border-top: 0; }
    .sf-location-intro { padding-top: 68px; }
    .sf-location-order-card { padding: 28px 23px; }
    .sf-location-product-grid,
    .sf-location-measurements__cards,
    .sf-location-faq__grid { grid-template-columns: 1fr; }
    .sf-location-product-card { min-height: 0; }
    .sf-location-measurements { padding: 68px 0; }
    .sf-location-delivery__steps > div { grid-template-columns: 42px 1fr; padding: 16px; }
    .sf-location-delivery__steps strong { width: 40px; height: 40px; }
    .sf-location-save { padding: 64px 0; }
    .sf-location-winter aside { padding: 31px 25px; }
}

/* v1.0.40: accessible light buttons on dark location sections. */
.sf-location-page .sf-button--light {
    background: #fff;
    color: var(--sf-green-dark);
    box-shadow: 0 8px 20px rgba(7, 24, 11, .16);
}
.sf-location-page .sf-button--light:hover {
    background: var(--sf-cream);
    color: var(--sf-orange-dark);
}

/* Shared static delivery-area map used on all town/community pages. */
.sf-location-map-section {
    padding: 76px 0;
    background: #fff;
}
.sf-location-map__grid {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(440px,1.05fr);
    gap: 58px;
    align-items: center;
}
.sf-location-map__copy > p:not(.sf-eyebrow) {
    color: var(--sf-muted);
}
.sf-location-map__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}
.sf-location-map__chips span {
    padding: 7px 11px;
    border: 1px solid var(--sf-line);
    border-radius: 999px;
    background: var(--sf-cream);
    color: var(--sf-green-dark);
    font-size: .77rem;
    font-weight: 800;
}
.sf-location-map__figure {
    margin: 0;
    padding: 12px;
    background: var(--sf-cream);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: 0 12px 34px rgba(20,35,24,.08);
}
.sf-location-map__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.sf-location-map__figure figcaption {
    padding: 10px 8px 3px;
    color: var(--sf-muted);
    font-size: .75rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .sf-location-map__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
    .sf-location-map-section { padding: 60px 0; }
    .sf-location-map__figure { padding: 8px; border-radius: 16px; }
}
