:root {
    --sf-accent: #05b394;
    --sf-accent-dark: #008d76;
    --sf-text: #171b1e;
    --sf-muted: #66717b;
    --sf-line: #e2e8ee;
    --sf-soft: #f6f8fb;
    --sf-sale: #ffc542;
    --sf-radius: 10px;
    --sf-shadow: 0 8px 28px rgba(24, 33, 46, 0.08);
}

body.storefront {
    background: #fff;
    color: var(--sf-text);
}

.storefront .container {
    width: min(calc(100% - 100px), 1800px);
}

.sf-offer {
    display: flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--sf-accent);
    color: #fff;
    font-weight: 800;
    padding: 8px 20px;
    text-align: center;
}

.sf-offer a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    text-decoration: none;
}

.sf-header {
    min-height: 78px;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    box-shadow: 0 2px 10px rgba(24, 33, 46, 0.07);
}

.sf-header-inner {
    display: grid;
    grid-template-columns: auto auto minmax(320px, 680px) auto;
    gap: clamp(22px, 3vw, 52px);
    min-height: 78px;
    align-items: center;
}

.sf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #121619;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.sf-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 38px;
}

.sf-brand-mark {
    display: grid;
    width: 31px;
    height: 38px;
    place-items: center;
    border-radius: 7px;
    background: var(--sf-accent);
    color: #fff;
    font-size: 17px;
}

.sf-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 42px);
}

.sf-nav a {
    color: var(--sf-text);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.sf-nav a.active,
.sf-nav a:hover {
    color: var(--sf-accent-dark);
}

.sf-search {
    display: grid;
    grid-template-columns: 1fr 70px;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid #dde5ed;
    border-radius: 9px;
    background: #fff;
}

.sf-search:focus-within {
    border-color: var(--sf-accent);
    box-shadow: 0 0 0 4px rgba(5, 179, 148, 0.12);
}

.sf-search input {
    width: 100%;
    border: 0;
    color: var(--sf-text);
    font-size: 17px;
    outline: 0;
    padding: 0 22px;
}

.sf-search input::placeholder {
    color: #8e969d;
}

.sf-search button {
    border: 0;
    border-radius: 0 !important;
    background: #fff;
    color: #8e969d;
    font-size: 20px;
}

.sf-account {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sf-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.sf-account i {
    color: #969fa8;
    font-size: 22px;
}

.sf-account.sf-logout,
.account.account-logout {
    border-radius: 999px;
    background: #dc2626;
    color: #fff !important;
    font-weight: 850;
    padding: 12px 18px;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.2);
}

.sf-account.sf-logout i,
.account.account-logout i {
    color: #fff;
}

.sf-account.sf-logout:hover,
.account.account-logout:hover {
    background: #991b1b;
    color: #fff !important;
}

.sf-main {
    display: block;
    padding-block: 24px 70px;
}

.sf-hero {
    display: flex;
    min-height: clamp(285px, 30vw, 363px);
    align-items: center;
    overflow: hidden;
    border-radius: var(--sf-radius);
    background:
        linear-gradient(90deg, rgba(255, 210, 147, 0.98), rgba(255, 210, 147, 0.7) 43%, rgba(255, 210, 147, 0.1)),
        url("../../images/autres/recolter.jpg") center / cover;
    margin-bottom: 48px;
    padding: clamp(32px, 5vw, 80px);
}

.sf-hero-copy {
    max-width: 520px;
}

.sf-eyebrow,
.sf-chip {
    display: inline-flex;
    width: max-content;
    border-radius: 999px;
    background: var(--sf-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 7px 13px;
    text-transform: uppercase;
}

.sf-hero h1 {
    color: #181b1e;
    font-size: clamp(42px, 4.2vw, 78px);
    font-weight: 950;
    line-height: 0.98;
    margin: 15px 0 10px;
}

.sf-hero p {
    color: #353b40;
    font-size: 20px;
    max-width: 440px;
}

.sf-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 47px;
    border: 0;
    border-radius: 999px;
    background: var(--sf-accent);
    color: #fff;
    font-weight: 850;
    padding: 0 22px;
    text-decoration: none;
}

.sf-button:hover {
    background: var(--sf-accent-dark);
    color: #fff;
}

.sf-market-grid {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr) minmax(340px, 445px);
    gap: 34px;
    align-items: start;
}

.sf-category-panel,
.sf-card,
.sf-deal,
.sf-side-panel,
.sf-form-panel {
    border: 1px solid var(--sf-line);
    border-radius: 8px;
    background: #fff;
}

.sf-category-list {
    overflow: hidden;
}

.sf-category-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 18px;
    min-height: 86px;
    align-items: center;
    border-bottom: 1px solid var(--sf-line);
    color: var(--sf-text);
    font-size: 18px;
    padding: 12px 20px;
    text-decoration: none;
}

.sf-category-item:last-child {
    border-bottom: 0;
}

.sf-category-item:hover,
.sf-category-button.active,
.sf-category-button:hover {
    background: #f1f4f8;
    color: var(--sf-text);
}

.sf-category-item img {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    object-fit: cover;
}

.sf-category-item i,
.sf-category-button i {
    color: #9aa3ab;
    font-size: 13px;
}

.sf-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.sf-card {
    display: grid;
    min-height: 410px;
    align-content: start;
    box-shadow: 0 2px 16px rgba(24, 33, 46, 0.05);
    padding: 22px;
}

.sf-card-image {
    position: relative;
    display: grid;
    height: 220px;
    place-items: center;
    margin-bottom: 16px;
}

.sf-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-card-price {
    color: #0d1115;
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 8px;
}

.sf-card h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 12px;
}

.sf-card-meta {
    color: #6e7781;
    margin: 0;
}

.sf-round-action {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 0;
    border-radius: 999px !important;
    background: var(--sf-accent);
    color: #fff;
    font-size: 22px;
}

.sf-cart-action-form {
    position: static;
    margin: 0;
}

.sf-info-action {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--sf-line);
    border-radius: 999px !important;
    background: #fff;
    color: var(--sf-accent-dark);
    box-shadow: 0 8px 22px rgba(24, 33, 46, 0.12);
    overflow: hidden;
    padding: 2px;
}

.sf-info-action:hover {
    background: var(--sf-accent);
    color: #fff;
}

.sf-info-action img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.sf-info-modal {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.sf-info-modal img {
    width: 100%;
    height: 220px;
    border: 1px solid var(--sf-line);
    border-radius: 10px;
    object-fit: contain;
    padding: 18px;
}

.sf-info-modal section {
    margin-top: 20px;
}

.sf-info-modal h3 {
    color: var(--sf-text);
    font-size: 18px;
    margin-bottom: 8px;
}

.sf-info-modal p {
    color: var(--sf-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.sf-deal {
    overflow: hidden;
    border-color: #ffb819;
}

.sf-deal-title {
    background: var(--sf-sale);
    color: #111519;
    font-size: 20px;
    font-weight: 900;
    padding: 18px;
    text-align: center;
}

.sf-deal-body {
    display: grid;
    justify-items: center;
    min-height: 523px;
    align-content: space-evenly;
    padding: 28px;
    text-align: center;
}

.sf-deal img {
    width: 230px;
    height: 220px;
    object-fit: contain;
}

.sf-deal h2 {
    font-size: 20px;
}

.sf-section {
    padding-block: 64px;
}

.sf-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 550px);
    gap: 48px;
    align-items: center;
}

.sf-feature p,
.sf-section-head p {
    color: var(--sf-muted);
    font-size: 17px;
}

.sf-photo-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sf-photo-pair img,
.sf-editorial-media img {
    width: 100%;
    height: 420px;
    border-radius: var(--sf-radius);
    object-fit: cover;
}

.sf-photo-pair img:last-child {
    margin-top: 32px;
}

.sf-locator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
}

.sf-locator #map {
    min-height: 520px;
    border-radius: var(--sf-radius) !important;
}

.sf-side-panel {
    padding: 28px;
}

.sf-side-panel ul {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.sf-side-panel li {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--sf-line);
    padding-top: 14px;
}

.sf-footer {
    background: #161b1f;
    color: #d9e0e6;
    padding-block: 52px;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 28px;
}

.sf-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sf-footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex: 0 0 54px;
}

.sf-footer h2,
.sf-footer h3 {
    color: #fff;
    font-size: 18px;
}

.sf-footer a,
.sf-footer p {
    display: block;
    color: #d9e0e6;
    margin-bottom: 8px;
    text-decoration: none;
}

.sf-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 64px;
    align-items: center;
    padding-block: 64px;
}

.sf-editorial h1,
.sf-catalog-head h1,
.sf-auth-copy h1 {
    font-size: clamp(36px, 3.4vw, 62px);
}

.sf-values,
.sf-contact-layout {
    display: grid;
    gap: 22px;
}

.sf-values {
    grid-template-columns: repeat(2, 1fr);
}

.sf-value,
.sf-contact-cell {
    border: 1px solid var(--sf-line);
    border-radius: 8px;
    background: #fff;
    padding: 26px;
}

.sf-value p,
.sf-contact-cell p {
    color: var(--sf-muted);
    margin: 0;
}

.sf-contact-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    padding-block: 50px;
}

.sf-contact-cells {
    display: grid;
    gap: 16px;
}

.sf-contact-cell {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
}

.sf-contact-cell i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: rgba(5, 179, 148, 0.12);
    color: var(--sf-accent-dark);
}

.sf-form-panel {
    padding: clamp(24px, 3vw, 42px);
}

.sf-form-panel .form-control,
.sf-form-panel .form-select,
.sf-auth-panel .form-control {
    min-height: 52px;
    border-color: var(--sf-line);
    border-radius: 8px;
}

.sf-catalog-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 44px;
    align-items: center;
    margin-bottom: 34px;
}

.sf-catalog-head img {
    width: 100%;
    height: 310px;
    border-radius: 10px;
    object-fit: cover;
}

.sf-catalog-layout {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 34px;
}

.sf-category-panel-header {
    border-bottom: 1px solid var(--sf-line);
    padding: 24px;
}

.sf-category-button {
    display: flex;
    width: 100%;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--sf-line);
    border-radius: 0 !important;
    background: #fff;
    color: var(--sf-text);
    font-size: 18px;
    font-weight: 500;
    padding: 18px 24px;
    text-align: left;
}

.sf-catalog-main .sf-search-inline {
    max-width: 520px;
    margin-bottom: 24px;
}

.sf-search-feedback {
    color: var(--sf-muted);
    font-size: 15px;
    margin: -10px 0 18px;
}

.sf-ajax-results {
    margin-bottom: 28px;
}

.sf-ajax-results[hidden] {
    display: none !important;
}

.sf-no-results {
    border: 1px solid var(--sf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--sf-muted);
    font-size: 18px;
    font-weight: 700;
    padding: 28px;
}

.sf-category-section[hidden],
.sf-product[hidden] {
    display: none !important;
}

.sf-category-heading {
    margin-bottom: 24px;
}

.sf-category-heading p {
    color: var(--sf-muted);
}

.sf-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 490px);
    gap: 64px;
    min-height: calc(100vh - 78px);
    align-items: center;
    padding-block: 56px;
}

.sf-auth-copy {
    display: flex;
    min-height: 640px;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(13, 18, 22, 0.1), rgba(13, 18, 22, 0.78)),
        url("../../images/autres/planter.jpg") center / cover;
    color: #fff;
    padding: 48px;
}

.sf-auth-copy h1,
.sf-auth-copy p {
    color: #fff;
}

.sf-auth-panel {
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--sf-shadow);
    padding: clamp(28px, 4vw, 48px);
}

.map-pin {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 999px;
    background: var(--sf-accent);
    box-shadow: var(--sf-shadow);
    color: #fff;
}

@media (max-width: 1080px) {
    .storefront .container {
        width: min(calc(100% - 40px), 1800px);
    }

    .sf-header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .sf-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 44px;
        order: 2;
    }

    .sf-header-inner {
        padding-block: 15px;
    }

    .sf-market-grid,
    .sf-catalog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .sf-offer {
        flex-direction: column;
    }

    .sf-header-inner,
    .sf-catalog-head,
    .sf-editorial,
    .sf-feature,
    .sf-locator,
    .sf-contact-layout,
    .sf-auth {
        grid-template-columns: 1fr;
    }

    .sf-header-inner {
        gap: 14px;
    }

    .sf-search {
        grid-column: 1 / -1;
        min-height: 52px;
    }

    .sf-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .sf-products {
        grid-template-columns: 1fr;
    }

    .sf-info-modal {
        grid-template-columns: 1fr;
    }

    .sf-values,
    .sf-footer-grid {
        grid-template-columns: 1fr;
    }

    .sf-auth-copy {
        min-height: 360px;
    }
}
