/* 07 storefront */
/* storefront pages only (body.sf-body); loaded after dashboard.css so the eo tokens and components are shared */

.sf-body {
    /* the panel moved to quieter values in dashboard.css; the shop keeps its own, themes change them further down */
    --eo-bg: #F6F7F9;
    --eo-surface-2: #FAFBFC;
    --eo-bg-hover: #F1F3F6;
    --eo-border: #E3E6EB;
    --eo-border-strong: #CDD2DA;
    --eo-text: #1F2933;
    --eo-text-muted: #616E7C;
    --eo-text-subtle: #8A94A3;
    --eo-radius-sm: 4px;
    --eo-radius: 6px;
    --eo-radius-lg: 8px;
    --eo-radius-xl: 10px;
    --eo-control-h: 40px;
    --eo-control-h-sm: 40px;
    --eo-control-h-lg: 44px;
    --sf-wrap: 1240px;
    --sf-wrap-narrow: 760px;
    --sf-cols: 4;
    --sf-tile-cols: 6;
    --sf-gap: var(--eo-space-xl);
    --sf-card-img: 1 / 1;
    --sf-radius: 8px;
    --sf-radius-btn: 6px;
    --sf-radius-label: 4px;
    --sf-section: 64px;
    --sf-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
    --sf-shadow-lg: 0 18px 40px -18px rgba(16, 24, 40, 0.25);
    --sf-tint: #F5F6F8;
    --sf-brand-soft: color-mix(in srgb, var(--eo-brand) 8%, transparent);
    --sf-brand-line: color-mix(in srgb, var(--eo-brand) 22%, transparent);
    --sf-shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 30px -14px rgba(16, 24, 40, 0.18);
    --sf-fs-display: clamp(2rem, 4.4vw, 3.5rem);
    /* these two are worked out on :root from the panel brand, so the shop's own colour has to redo them */
    --eo-brand-10: color-mix(in srgb, var(--eo-brand) 10%, transparent);
    --eo-brand-20: color-mix(in srgb, var(--eo-brand) 20%, transparent);
    /* the focus ring is built on :root from the panel green too, so it is redone here in the shop's colour */
    --eo-focus: 0 0 0 3px var(--eo-brand-20);
    background: var(--sf-bg);
    font-size: var(--eo-fs-lg);
    accent-color: var(--eo-brand);
}

.sf-body .eo-btn {
    border-radius: var(--sf-radius-btn);
}

.sf-body .eo-btn--icon {
    border-radius: var(--eo-radius-pill);
}

.sf-wrap {
    max-width: var(--sf-wrap);
    margin: 0 auto;
    padding: 0 var(--eo-space-base);
}

.sf-wrap--narrow {
    max-width: var(--sf-wrap-narrow);
}

/* a short form (one or two fields) stays as wide as its fields need */
.sf-wrap--form {
    max-width: 480px;
}

.sf-announce {
    background: var(--eo-brand);
    color: var(--eo-on-brand);
    text-align: center;
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-medium);
    letter-spacing: 0.01em;
    padding: 9px var(--eo-space-base);
}

.sf-header {
    border-bottom: 1px solid color-mix(in srgb, var(--eo-border) 70%, transparent);
    background: color-mix(in srgb, var(--eo-surface) 88%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    position: sticky;
    top: 0;
    z-index: var(--eo-z-topbar);
}

/* logo on the left; a page with an order form puts a small order button on the right */
.sf-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--eo-space-lg);
    min-height: 64px;
}

.sf-body .sf-header__order {
    min-height: 38px;
    padding: 0 var(--eo-space-base);
    font-size: var(--eo-fs-md);
    font-weight: var(--eo-fw-semibold);
}

.sf-brand {
    display: inline-flex;
    align-items: center;
    color: var(--eo-text);
    text-decoration: none;
    font-weight: var(--eo-fw-bold);
    font-size: 1.375rem;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.sf-brand:hover {
    color: var(--eo-text);
}

.sf-brand__logo {
    max-height: 40px;
    max-width: 200px;
    object-fit: contain;
}

.sf-search {
    flex: 1;
    max-width: 480px;
}

.sf-header__actions {
    display: flex;
    gap: var(--eo-space-xs);
    margin-left: auto;
}

.sf-cart-link .eo-count {
    margin-left: var(--eo-space-2xs);
}

.sf-main {
    min-height: 60vh;
}

.sf-section {
    padding: var(--sf-section) 0;
}

.sf-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--eo-space-sm);
    margin-bottom: var(--eo-space-lg);
}

.sf-section__title {
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: var(--eo-fw-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.sf-section__link {
    display: inline-flex;
    align-items: center;
    gap: var(--eo-space-2xs);
    flex: 0 0 auto;
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-base);
    text-decoration: none;
}

.sf-section__link:hover {
    color: var(--eo-brand);
}

.sf-section__link .svg-icon {
    width: 14px;
    height: 14px;
}

.sf-page-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--eo-fw-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 var(--eo-space-base);
}

.sf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--eo-space-sm);
    margin-bottom: var(--eo-space-base);
}

.sf-chip {
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius-btn);
    padding: 7px 16px;
    background: var(--eo-surface);
    color: var(--eo-text);
    text-decoration: none;
    font-size: var(--eo-fs-md);
    font-weight: var(--eo-fw-medium);
    transition: border-color var(--eo-dur) var(--eo-ease), background var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease);
}

.sf-chip:hover {
    border-color: var(--eo-text);
    color: var(--eo-text);
}

.sf-chip.is-active {
    background: var(--eo-brand);
    border-color: var(--eo-brand);
    color: var(--eo-on-brand);
}

.sf-grid {
    display: grid;
    grid-template-columns: repeat(var(--sf-cols), minmax(0, 1fr));
    gap: var(--sf-gap);
}

.sf-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--eo-text);
    text-decoration: none;
}

.sf-card:hover {
    color: var(--eo-text);
}

.sf-card:focus-visible {
    outline: 0;
}

.sf-card:focus-visible .sf-card__img {
    box-shadow: var(--eo-focus);
}

.sf-card.is-sold-out .sf-card__img img {
    opacity: 0.6;
    filter: grayscale(0.6);
}

.sf-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 14px 2px 0;
}

.sf-card__img {
    position: relative;
    aspect-ratio: var(--sf-card-img);
    border-radius: var(--sf-radius);
    background: var(--sf-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--eo-text-subtle);
    isolation: isolate;
}

.sf-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--eo-ease), opacity var(--eo-dur-slow) var(--eo-ease);
}

/* the two corner labels: small pills on the photo, sold out in ink, a discount in red */
.sf-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: var(--sf-radius-label);
    color: #FFFFFF;
    font-size: var(--eo-fs-xs);
    font-weight: var(--eo-fw-semibold);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.sf-card__badge {
    background: rgba(17, 24, 39, 0.82);
}

/* the price sits right under the name, in the shop colour; the buttons line up along the row */
.sf-card__body > .sf-price {
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 0;
}

.sf-card__body > .sf-price .sf-price__now {
    color: var(--eo-text);
    font-size: var(--eo-fs-lg);
    font-weight: var(--eo-fw-bold);
}

.sf-card__body > .sf-price .sf-price__was {
    font-size: var(--eo-fs-sm);
}

/* the saving beside the price: a small figure in red, no label on the photo */
.sf-card__save {
    color: #E11D48;
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-semibold);
}

.sf-card__name {
    display: -webkit-box;
    overflow: hidden;
    color: color-mix(in srgb, var(--eo-text) 82%, var(--eo-text-muted));
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-medium);
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sf-price {
    display: flex;
    align-items: baseline;
    gap: var(--eo-space-sm);
    margin: 0;
}

.sf-price__now {
    font-size: var(--eo-fs-lg);
    font-weight: var(--eo-fw-bold);
    font-variant-numeric: tabular-nums;
    color: var(--eo-text);
}

.sf-price__was {
    color: var(--eo-text-subtle);
    font-size: var(--eo-fs-sm);
}

.sf-price--lg .sf-price__now {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    letter-spacing: -0.01em;
}

.sf-price--lg .sf-price__was {
    font-size: var(--eo-fs-base);
}

.sf-gallery__main {
    position: relative;
    aspect-ratio: var(--sf-card-img);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--eo-surface);
    color: var(--eo-text-subtle);
}

.sf-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-gallery__thumbs {
    display: flex;
    gap: var(--eo-space-sm);
    margin-top: var(--eo-space-sm);
    overflow-x: auto;
}

.sf-gallery__thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    background: var(--eo-surface);
    flex-shrink: 0;
}

.sf-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-product__info {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-base);
}

.sf-product__short {
    margin: 0;
    color: var(--eo-text-muted);
    line-height: var(--eo-lh-normal);
}

.sf-tiers {
    list-style: none;
    padding: 0;
    margin: var(--eo-space-sm) 0;
    display: grid;
    gap: var(--eo-space-xs);
    color: var(--eo-success-strong);
    font-size: var(--eo-fs-md);
}

.sf-buy__actions {
    display: flex;
    gap: var(--eo-space-sm);
    margin-top: var(--eo-space-md);
}

.sf-buy__actions .eo-btn {
    flex: 1;
}

.sf-prose {
    line-height: var(--eo-lh-normal);
}

.sf-prose img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sf-prose h2,
.sf-prose h3,
.sf-prose h4 {
    margin: var(--eo-space-lg) 0 var(--eo-space-xs);
    font-weight: var(--eo-fw-bold);
    line-height: var(--eo-lh-tight);
}

.sf-prose h2 { font-size: var(--eo-fs-2xl); }
.sf-prose h3 { font-size: var(--eo-fs-xl); }
.sf-prose h4 { font-size: var(--eo-fs-lg); }

.sf-prose blockquote {
    padding-left: var(--eo-space-base);
    color: var(--eo-text-muted);
    border-left: 3px solid var(--eo-border-strong);
}

.sf-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--eo-space-base);
    border-top: 1px solid var(--eo-border);
}

.sf-line {
    display: flex;
    align-items: center;
    gap: var(--eo-space-md);
    padding: var(--eo-space-md) 0;
    border-bottom: 1px solid var(--eo-border);
}

.sf-line__img {
    width: 64px;
    height: 64px;
    border-radius: var(--eo-radius);
    overflow: hidden;
    background: var(--eo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-line__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-line__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-2xs);
    min-width: 0;
}

.sf-line__qty {
    width: 150px;
}

.sf-line__qty .eo-field {
    margin: 0;
}

.sf-line__total {
    font-weight: var(--eo-fw-semibold);
    min-width: 90px;
    text-align: right;
}

.sf-lines--compact .sf-line {
    padding: var(--eo-space-sm) 0;
}

.sf-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--eo-space-xs) var(--eo-space-base);
    margin: 0 0 var(--eo-space-base);
}

.sf-summary dd {
    margin: 0;
    text-align: right;
}

.sf-summary__minus {
    color: var(--eo-success-strong);
}

.sf-summary__total {
    font-weight: var(--eo-fw-bold);
    font-size: var(--eo-fs-xl);
    border-top: 1px solid var(--eo-border);
    padding-top: var(--eo-space-sm);
}

.sf-checkout,
.sf-cart {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--eo-space-3xl);
    align-items: start;
}

.sf-cart__lines {
    min-width: 0;
}

[data-cart-box] .sf-summary {
    transition: opacity var(--eo-dur) var(--eo-ease);
}

[data-cart-box].is-saving .sf-summary,
[data-cart-box].is-saving .sf-line__total {
    opacity: 0.5;
}

.sf-cart__lines .sf-lines {
    margin: 0;
}

.sf-checkout__side {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-base);
    background: var(--sf-tint);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
    padding: var(--eo-space-xl);
    position: sticky;
    top: 96px;
}

.sf-checkout__side .sf-line__img {
    width: 52px;
    height: 52px;
}

.sf-checkout__note {
    display: flex;
    align-items: center;
    gap: var(--eo-space-xs);
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-md);
}

.sf-step {
    display: flex;
    align-items: center;
    gap: var(--eo-space-sm);
    margin: 0 0 var(--eo-space-base);
    font-size: var(--eo-fs-xl);
    font-weight: var(--eo-fw-semibold);
}

.sf-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--eo-brand);
    border-radius: var(--eo-radius-pill);
    color: var(--eo-on-brand);
    font-size: var(--eo-fs-md);
}

.sf-pay-options + .sf-step,
.sf-form-grid + .sf-step {
    margin-top: var(--eo-space-2xl);
}

.sf-form-grid + .sf-step + .sf-pay-options {
    margin-top: 0;
}

.sf-checkout__side .sf-lines,
.sf-checkout__side .sf-summary {
    margin: 0;
}

.sf-checkout__side .sf-lines {
    border-top: 0;
}

.sf-checkout__side .sf-lines .sf-line:first-child {
    padding-top: 0;
}

.sf-checkout__side .sf-summary {
    margin: 0;
}

.sf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--eo-space-base);
}

.sf-span-2 {
    grid-column: span 2;
}

.sf-area[hidden],
.sf-zone[hidden] {
    display: none;
}

.sf-pay-options {
    border: 0;
    padding: 0;
    margin: var(--eo-space-xl) 0 0;
    display: grid;
    gap: var(--eo-space-sm);
}

.sf-pay-options legend {
    margin-bottom: var(--eo-space-xs);
}

/* how to pay: a tile per way, two to a line where there is room; logo, name, and a round tick that fills when picked */
.sf-pay-options__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 10px;
}

.sf-pay-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 10px 14px;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border-strong);
    border-radius: var(--sf-radius-btn);
    cursor: pointer;
    transition: border-color var(--eo-dur) var(--eo-ease), background var(--eo-dur) var(--eo-ease);
}

.sf-pay-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sf-pay-option:hover {
    border-color: var(--eo-brand);
}

.sf-pay-option:has(input:checked) {
    background: var(--eo-brand-10);
    border-color: var(--eo-brand);
    box-shadow: inset 0 0 0 1px var(--eo-brand);
}

.sf-pay-option:has(input:focus-visible) {
    box-shadow: inset 0 0 0 1px var(--eo-brand), var(--eo-focus);
}

.sf-pay-option__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 46px;
    height: 34px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--eo-border);
    border-radius: 6px;
}

.sf-pay-option__mark img {
    max-width: 38px;
    max-height: 26px;
    object-fit: contain;
}

.sf-pay-option__mark--icon {
    color: var(--eo-brand);
    background: var(--sf-brand-soft);
    border-color: transparent;
}

.sf-pay-option__mark--icon .svg-icon {
    width: 20px;
    height: 20px;
}

.sf-pay-option__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.sf-pay-option__name {
    color: var(--eo-text);
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-semibold);
}

.sf-pay-option__hint {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

.sf-pay-option__tick {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    color: transparent;
    border: 1.5px solid var(--eo-border-strong);
    border-radius: 50%;
    transition: background var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease);
}

.sf-pay-option__tick .svg-icon {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.sf-pay-option:has(input:checked) .sf-pay-option__tick {
    color: #FFFFFF;
    background: var(--eo-brand);
    border-color: var(--eo-brand);
}

.sf-coupon,
.sf-coupon .eo-field {
    flex: 1;
}

.sf-submit {
    width: 100%;
}

.sf-body .sf-submit,
.sf-body .sf-help__btn,
.sf-body .sf-buy__actions .eo-btn {
    border-radius: var(--sf-radius-btn);
}

.sf-body .sf-submit.eo-btn--lg {
    min-height: 52px;
    font-weight: var(--eo-fw-semibold);
}

/* order placed: a short receipt; flat white cards with a fine border, every money row label left and amount right */
.sf-thanks {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-md);
    max-width: 560px;
}

.sf-thanks__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--eo-space-xs);
    margin-bottom: var(--eo-space-sm);
    text-align: center;
}

.sf-thanks__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--eo-space-xs);
    color: #FFFFFF;
    background: var(--eo-success);
    border-radius: var(--eo-radius-pill);
}

.sf-thanks__icon svg {
    width: 30px;
    height: 30px;
}

.sf-thanks__title {
    margin: 0;
    font-size: var(--eo-fs-2xl);
    font-weight: var(--eo-fw-bold);
    line-height: var(--eo-lh-tight);
}

.sf-thanks__text {
    max-width: 400px;
    margin: 0;
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-base);
}

.sf-thanks__card {
    padding: 20px;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
}

.sf-thanks__card-title {
    margin: 0 0 var(--eo-space-sm);
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-semibold);
}

.sf-thanks__label {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

/* the order number and time, then the steps */
.sf-thanks__ref {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--eo-space-xs) var(--eo-space-base);
}

.sf-thanks__ref-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sf-thanks__ref-no {
    display: inline-flex;
    align-items: center;
    gap: var(--eo-space-xs);
}

.sf-thanks__ref-no strong {
    font-size: var(--eo-fs-xl);
    font-weight: var(--eo-fw-bold);
    letter-spacing: 0.01em;
}

.sf-thanks__copy {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--eo-text-muted);
    background: none;
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius);
    cursor: pointer;
    transition: color var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease);
}

.sf-thanks__copy:hover {
    color: var(--eo-brand);
    border-color: var(--eo-brand);
}

.sf-thanks__copy svg {
    width: 15px;
    height: 15px;
}

.sf-thanks__ref-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

.sf-thanks__ref-date svg {
    width: 14px;
    height: 14px;
}

.sf-thanks__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex-basis: 100%;
    margin: var(--eo-space-base) 0 0;
    padding: var(--eo-space-base) 0 0;
    list-style: none;
    border-top: 1px solid var(--eo-border);
}

.sf-thanks__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

/* the line between two dots, drawn from this dot back to the one before it */
.sf-thanks__step + .sf-thanks__step::before {
    content: "";
    position: absolute;
    top: 11px;
    right: calc(50% + 16px);
    left: calc(-50% + 16px);
    height: 2px;
    background: var(--eo-border);
    border-radius: 2px;
}

.sf-thanks__step.is-done + .sf-thanks__step.is-done::before {
    background: var(--eo-success);
}

.sf-thanks__step-dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    background: var(--eo-surface);
    border: 2px solid var(--eo-border);
    border-radius: var(--eo-radius-pill);
}

.sf-thanks__step-dot svg {
    width: 13px;
    height: 13px;
    stroke-width: 3;
}

.sf-thanks__step.is-done .sf-thanks__step-dot {
    background: var(--eo-success);
    border-color: var(--eo-success);
}

.sf-thanks__step.is-next .sf-thanks__step-dot {
    border-color: var(--eo-success);
}

.sf-thanks__step-label {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
    line-height: 1.3;
}

.sf-thanks__step.is-done .sf-thanks__step-label,
.sf-thanks__step.is-next .sf-thanks__step-label {
    color: var(--eo-text);
    font-weight: var(--eo-fw-medium);
}

/* send money by hand (pay_manual): the thanks page's cards, the amount and the number big, three numbered steps */
.sf-pay__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--eo-space-xs);
    color: var(--eo-brand);
    background: var(--eo-brand-10);
    border-radius: var(--eo-radius-pill);
}

.sf-pay__icon svg {
    width: 28px;
    height: 28px;
}

.sf-pay__send {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--eo-space-base);
}

.sf-pay__fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sf-pay__amount,
.sf-pay__number {
    font-size: var(--eo-fs-xl);
    font-weight: var(--eo-fw-bold);
    font-variant-numeric: tabular-nums;
    line-height: 32px;
    white-space: nowrap;
}

.sf-pay__amount {
    color: var(--eo-brand);
}

.sf-pay__steps {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: var(--eo-space-sm);
    margin: 0;
    padding: var(--eo-space-base) 0 0;
    list-style: none;
    border-top: 1px solid var(--eo-border);
    counter-reset: sf-pay;
}

.sf-pay__steps li {
    display: flex;
    align-items: flex-start;
    gap: var(--eo-space-sm);
    font-size: var(--eo-fs-base);
    line-height: 24px;
    counter-increment: sf-pay;
}

.sf-pay__steps li::before {
    content: counter(sf-pay);
    display: grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--eo-brand);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-semibold);
    background: var(--eo-brand-10);
    border-radius: var(--eo-radius-pill);
}

.sf-pay__form {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-base);
}

.sf-pay__form .eo-field {
    margin: 0;
}

/* a TrxID is letters and digits in capitals: shown that way while typing, spaced a little so it reads easily */
.sf-pay__trx {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sf-pay__trx::placeholder {
    text-transform: none;
    letter-spacing: 0;
}

.sf-pay__later {
    align-self: center;
    padding: var(--eo-space-xs) var(--eo-space-sm);
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

.sf-pay__later:hover {
    color: var(--eo-text);
}

@media (max-width: 575.98px) {
    .sf-pay__send {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--eo-space-md);
    }
}

/* what was bought */
.sf-thanks__items {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-thanks__item {
    display: flex;
    align-items: center;
    gap: var(--eo-space-md);
    padding: var(--eo-space-sm) 0;
}

.sf-thanks__item + .sf-thanks__item {
    border-top: 1px dashed var(--eo-border);
}

.sf-thanks__item .sf-line__img {
    width: 56px;
    height: 56px;
    border: 1px solid var(--eo-border);
}

.sf-thanks__item-name {
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-medium);
    line-height: 1.4;
}

.sf-thanks__item-meta {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

.sf-thanks__amount {
    flex-shrink: 0;
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-semibold);
}

.sf-thanks__bill {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 0;
    margin: var(--eo-space-sm) 0 0;
    padding-top: var(--eo-space-base);
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-base);
    border-top: 1px solid var(--eo-border);
}

.sf-thanks__bill dt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: var(--eo-fw-normal);
}

.sf-thanks__bill dd {
    margin: 0;
    padding-left: var(--eo-space-base);
    color: var(--eo-text);
    text-align: right;
}

.sf-thanks__bill .sf-thanks__bill-total {
    padding-top: 10px;
    color: var(--eo-text);
    font-size: var(--eo-fs-lg);
    font-weight: var(--eo-fw-bold);
    border-top: 1px dashed var(--eo-border);
}

.sf-thanks__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    color: var(--eo-warning-strong);
    font-size: var(--eo-fs-xs);
    font-weight: var(--eo-fw-medium);
    background: var(--eo-warning-10);
    border-radius: var(--eo-radius-pill);
}

.sf-thanks__tag svg {
    width: 12px;
    height: 12px;
}

/* what is left to pay at the door: the one number the buyer needs, so it gets the brand colour */
.sf-thanks__due {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--eo-space-base);
    margin-top: var(--eo-space-base);
    padding: 14px var(--eo-space-base);
    color: var(--eo-brand-strong);
    font-size: var(--eo-fs-base);
    font-weight: var(--eo-fw-medium);
    background: var(--eo-brand-10);
    border-radius: var(--eo-radius);
}

.sf-thanks__due strong {
    font-size: var(--eo-fs-xl);
    font-weight: var(--eo-fw-bold);
}

.sf-thanks__due.is-paid {
    color: var(--eo-success-strong);
    background: var(--eo-success-10);
}

.sf-thanks__due.is-checking {
    color: var(--eo-warning-strong);
    background: var(--eo-warning-10);
}

.sf-thanks__due span {
    display: inline-flex;
    align-items: center;
    gap: var(--eo-space-sm);
}

.sf-thanks__due span svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* where it goes */
.sf-thanks__ship {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--eo-fs-base);
}

.sf-thanks__ship li {
    display: flex;
    align-items: flex-start;
    gap: var(--eo-space-sm);
}

.sf-thanks__ship svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: var(--eo-text-muted);
}

.sf-thanks__name {
    font-weight: var(--eo-fw-semibold);
}

.sf-thanks__actions {
    display: grid;
    gap: var(--eo-space-sm);
    margin-top: var(--eo-space-xs);
}

/* buyer account: who is signed in on the left, orders on the right */
.sf-account {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: var(--eo-space-2xl);
    align-items: start;
}

.sf-account__side {
    position: sticky;
    top: 96px;
    overflow: hidden;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
}

.sf-account__who {
    display: flex;
    align-items: center;
    gap: var(--eo-space-md);
    padding: var(--eo-space-base);
    border-bottom: 1px solid var(--eo-border);
}

.sf-account__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    background: var(--eo-brand-10);
    border-radius: var(--eo-radius-pill);
    color: var(--eo-brand);
}

.sf-account__id {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sf-account__nav {
    display: flex;
    flex-direction: column;
    padding: var(--eo-space-sm);
}

.sf-account__nav a,
.sf-account__nav button {
    display: flex;
    align-items: center;
    gap: var(--eo-space-sm);
    width: 100%;
    padding: var(--eo-space-sm) var(--eo-space-md);
    background: none;
    border: 0;
    border-radius: var(--sf-radius);
    color: var(--eo-text);
    font-size: var(--eo-fs-base);
    text-align: left;
    text-decoration: none;
}

.sf-account__nav a:hover,
.sf-account__nav button:hover {
    background: var(--eo-bg-hover);
}

.sf-account__nav .is-active {
    background: var(--eo-brand-10);
    color: var(--eo-brand);
    font-weight: var(--eo-fw-medium);
}

/* three links side by side do not fit a small phone with their icons beside the words, so the icon goes on top */
@media (max-width: 575.98px) {
    .sf-body .sf-account__nav a,
    .sf-body .sf-account__nav button {
        flex-direction: column;
        gap: var(--eo-space-2xs);
        min-height: 56px;
        font-size: var(--eo-fs-sm);
    }
}

.sf-account__main .sf-page-title {
    margin: 0;
}

.sf-orders {
    list-style: none;
    padding: 0;
    margin: var(--eo-space-lg) 0 var(--eo-space-base);
    display: grid;
    gap: var(--eo-space-lg);
}

.sf-order {
    overflow: hidden;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
}

.sf-order__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--eo-space-sm);
    padding: var(--eo-space-md) var(--eo-space-base);
    background: var(--eo-surface-2);
    border-bottom: 1px solid var(--eo-border);
}

.sf-order__id {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--eo-space-md);
}

.sf-order__id a {
    color: var(--eo-text);
    text-decoration: none;
}

.sf-order__items {
    display: grid;
    gap: var(--eo-space-md);
    margin: 0;
    padding: var(--eo-space-base);
    list-style: none;
}

.sf-order__item {
    display: flex;
    align-items: center;
    gap: var(--eo-space-md);
}

.sf-order__item .sf-line__img {
    width: 56px;
    height: 56px;
}

.sf-order__more {
    padding: 0 var(--eo-space-base) var(--eo-space-md);
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-md);
}

.sf-order__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--eo-space-sm);
    padding: var(--eo-space-md) var(--eo-space-base);
    border-top: 1px solid var(--eo-border);
}

.sf-order__total {
    display: flex;
    align-items: baseline;
    gap: var(--eo-space-sm);
}

.sf-order__total .eo-strong {
    font-size: var(--eo-fs-xl);
}

.sf-order__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--eo-space-sm);
}

.sf-footer {
    padding: 56px 0 0;
    font-size: var(--eo-fs-base);
}

.sf-footer__grid {
    display: grid;
    /* one column per block the shop actually has (no social links means one less), so no empty column is left on the right */
    grid-template-columns: 1.5fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: var(--eo-space-2xl);
}

.sf-footer__about {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-sm);
}

.sf-footer__name {
    margin: 0 0 var(--eo-space-xs);
    font-size: 1.375rem;
    font-weight: var(--eo-fw-bold);
    letter-spacing: -0.01em;
}

.sf-footer__text {
    display: flex;
    gap: var(--eo-space-xs);
    max-width: 38ch;
    color: var(--eo-text-muted);
}

.sf-footer__title {
    margin-bottom: var(--eo-space-md);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-semibold);
    letter-spacing: 0.02em;
}

.sf-footer__links {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--eo-space-lg);
    display: grid;
    gap: 10px;
}

.sf-footer__pay {
    display: flex;
    flex-wrap: wrap;
    gap: var(--eo-space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-footer__pay li {
    padding: 3px 8px;
    border: 1px solid var(--eo-border-strong);
    border-radius: var(--sf-radius-label);
    font-size: var(--eo-fs-sm);
}

.sf-footer__bottom {
    margin-top: 48px;
    padding-block: 18px;
    border-top: 1px solid var(--eo-border);
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
}

.sf-footer a {
    color: var(--eo-text);
    text-decoration: none;
}

.sf-footer a:hover {
    color: var(--eo-brand);
}

.sf-chat {
    position: fixed;
    right: var(--eo-space-base);
    bottom: var(--eo-space-base);
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-sm);
    z-index: var(--eo-z-bulkbar);
}

.sf-chat__list {
    display: flex;
    flex-direction: column;
    gap: var(--eo-space-sm);
}

.sf-chat:not(.is-open) [data-chat-list] {
    display: none;
}

.sf-chat__btn--main {
    padding: 0;
    background: var(--eo-brand);
    border: 0;
}

.sf-chat__btn.sf-chat__btn--main .svg-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
}

.sf-chat__close,
.sf-chat.is-open .sf-chat__open {
    display: none;
}

.sf-chat.is-open .sf-chat__close {
    display: block;
}

.sf-img-missing {
    background: var(--eo-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.sf-chat__btn {
    width: 52px;
    height: 52px;
    border-radius: var(--eo-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: var(--eo-shadow-float);
}

.sf-chat__btn:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.sf-chat__btn .svg-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: none;
}

.sf-chat__btn--wa {
    background: #25D366;
}

.sf-chat__btn--ms {
    background: #0084FF;
}

.sf-lp {
    max-width: var(--sf-wrap-narrow);
    margin: 0 auto;
    padding: 0 var(--eo-space-base);
}

.sf-lp__hero {
    text-align: center;
    padding: var(--eo-space-xl) 0;
}

.sf-lp__hero img,
.sf-lp__image img {
    width: 100%;
    border-radius: var(--eo-radius-lg);
}

.sf-lp__hero .sf-price {
    justify-content: center;
    margin: var(--eo-space-md) 0;
}

.sf-lp__heading {
    font-size: var(--eo-fs-3xl);
    font-weight: var(--eo-fw-bold);
    margin: var(--eo-space-base) 0 var(--eo-space-sm);
}

.sf-lp__sub {
    color: var(--eo-text-muted);
}

.sf-lp__block,
.sf-lp__image {
    padding: var(--eo-space-lg) 0;
    margin: 0;
}

.sf-lp__video {
    aspect-ratio: 16 / 9;
    margin: var(--eo-space-lg) 0;
}

.sf-lp__video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--eo-radius-lg);
}

.sf-lp__benefits {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--eo-space-sm);
}

.sf-lp__benefits .eo-icon,
.sf-lp__benefits svg {
    color: var(--eo-success-strong);
}

.sf-faq {
    border-bottom: 1px solid var(--eo-border);
    padding: var(--eo-space-sm) 0;
}

.sf-faq summary {
    font-weight: var(--eo-fw-semibold);
    cursor: pointer;
}

.sf-lp__countdown {
    text-align: center;
    border: 1px solid var(--eo-warning-strong);
    border-radius: var(--eo-radius-lg);
    padding: var(--eo-space-md);
    margin: var(--eo-space-lg) 0;
}

.sf-lp__clock {
    font-size: var(--eo-fs-2xl);
    font-weight: var(--eo-fw-bold);
    color: var(--eo-warning-strong);
    margin: 0;
}

.sf-lp__order {
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius-lg);
    padding: var(--eo-space-base);
    margin: var(--eo-space-xl) 0;
}

/* the one job of the page: wide enough to read, tall fields for thumbs, the total close to the button */
#order.sf-lp__order {
    max-width: 580px;
    margin: var(--eo-space-2xl) auto;
    padding: 32px;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
}

#order .sf-section__title {
    margin-bottom: var(--eo-space-lg);
    font-size: clamp(1.25rem, 2.6vw, 1.625rem);
    text-align: center;
}

#order form {
    display: grid;
    gap: var(--eo-space-base);
}

#order .sf-form-grid {
    grid-template-columns: minmax(0, 1fr);
}

#order .sf-span-2 {
    grid-column: auto;
}

#order .eo-control {
    min-height: 48px;
    font-size: var(--eo-fs-lg);
    border-radius: var(--sf-radius-btn);
}

#order textarea.eo-control {
    min-height: 88px;
}

#order [data-quote-box] {
    padding: var(--eo-space-base);
    background: var(--sf-bg);
    border: 1px solid var(--eo-border);
    border-radius: var(--sf-radius);
}

#order [data-quote-box] .sf-summary {
    margin: 0;
}

#order [data-quote-box] dd.sf-summary__total {
    color: var(--eo-brand);
}

/* the total comes in after the buyer picks a district; until then no empty tinted bar */
#order [data-quote-box]:empty {
    display: none;
}

#order .sf-submit {
    width: 100%;
    min-height: 56px;
    font-size: var(--eo-fs-xl);
    font-weight: var(--eo-fw-semibold);
}

@media (max-width: 767.98px) {
    #order.sf-lp__order {
        padding: 20px 16px;
    }
}

@media (max-width: 767.98px) {
    /* the shop name gives way to the order button on a small phone, never pushing it to a second line */
    .sf-header__row {
        flex-wrap: nowrap;
        padding-block: var(--eo-space-sm);
    }

    .sf-brand {
        flex-shrink: 1;
        min-width: 0;
        font-size: var(--eo-fs-xl);
    }

    .sf-brand__name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sf-body .sf-header__order {
        flex-shrink: 0;
    }

    .sf-search {
        order: 3;
        max-width: none;
        flex-basis: 100%;
    }

    .sf-checkout,
    .sf-cart,
    .sf-account,
    .sf-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-account {
        gap: var(--eo-space-lg);
    }

    .sf-account__side {
        position: static;
    }

    .sf-account__nav {
        flex-direction: row;
    }

    .sf-account__nav a,
    .sf-account__nav button {
        justify-content: center;
        padding: var(--eo-space-sm) var(--eo-space-xs);
        font-size: var(--eo-fs-md);
        white-space: nowrap;
    }

    .sf-account__nav > * {
        flex: 1 1 0;
    }

    .sf-checkout,
    .sf-cart {
        gap: var(--eo-space-xl);
    }

    .sf-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        gap: var(--eo-space-xl) var(--eo-space-base);
    }

    .sf-footer__about {
        grid-column: 1 / -1;
    }

    .sf-span-2 {
        grid-column: auto;
    }

    .sf-checkout__side {
        position: static;
    }

    .sf-line {
        flex-wrap: wrap;
    }

    .sf-line__qty {
        width: 140px;
    }
}

/* 07 storefront themes: shared pieces first, then what each theme changes */

/* top line: off unless a theme turns it on */

.sf-menu-btn { display: none; flex: 0 0 auto; }
.sf-action { display: inline-flex; align-items: center; gap: var(--eo-space-sm); padding: var(--eo-space-xs) var(--eo-space-sm); color: inherit; font-size: var(--eo-fs-md); text-decoration: none; border-radius: var(--sf-radius); }
.sf-action:hover { color: var(--eo-brand); }
.sf-action__icon { position: relative; display: inline-flex; }
.sf-action__icon .svg-icon { width: 22px; height: 22px; }
.sf-action__text { display: none; }
.sf-action__icon:has(.sf-count) { margin-right: var(--eo-space-xs); }
.sf-count { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--eo-radius-pill); background: var(--eo-brand); color: var(--eo-on-brand); font-size: var(--eo-fs-xs); font-weight: var(--eo-fw-semibold); line-height: 17px; text-align: center; }

.sf-search__go { display: none; }

.sf-nav { border-top: 1px solid var(--eo-border); }
.sf-nav__row { display: flex; gap: var(--eo-space-xl); overflow-x: auto; scrollbar-width: none; }
.sf-nav__row::-webkit-scrollbar { display: none; }
.sf-nav a { flex: 0 0 auto; padding: var(--eo-space-sm) 0; color: inherit; font-size: var(--eo-fs-base); font-weight: var(--eo-fw-medium); text-decoration: none; white-space: nowrap; }
.sf-nav a:hover { color: var(--eo-brand); }

/* small label over a title: the shop colour on white with a hairline */
.sf-eyebrow { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; padding: 4px 12px; background: var(--eo-surface); border: 1px solid var(--sf-brand-line); border-radius: var(--sf-radius-btn); color: var(--eo-brand); font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-semibold); line-height: 1.5; }
.sf-eyebrow .svg-icon { width: 14px; height: 14px; }

/* home: the opening line on a light band washed with the shop colour (top left) and a softer glow (bottom right),
   a faint dot pattern over it, the products right under it on the same band */
.sf-intro { position: relative; isolation: isolate; padding-block: 56px 72px; background: var(--eo-surface); border-bottom: 1px solid var(--eo-border); }
.sf-intro__text { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sf-intro__text .sf-eyebrow { padding: 0; color: var(--eo-text-muted); font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-medium); letter-spacing: 0.04em; background: none; border: 0; }
.sf-intro__text .sf-eyebrow .svg-icon { display: none; }
.sf-intro__text .sf-eyebrow { align-self: center; }
.sf-intro__title { margin: 0; font-size: clamp(1.75rem, 4.6vw, 3.25rem); font-weight: var(--eo-fw-bold); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.sf-intro__title span { color: inherit; }
/* the shop's own words, kept to three lines so a long text never turns into a wall */
.sf-intro__lead { display: -webkit-box; max-width: 36rem; margin: 0; overflow: hidden; color: var(--eo-text-muted); font-size: 1.0625rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-wrap: pretty; }
/* cards keep one width and sit in the middle, so a shop with one or two products has no empty half */
.sf-intro__grid { --sf-gap: 40px 24px; grid-template-columns: repeat(auto-fit, minmax(0, 284px)); justify-content: center; }

/* home: ask on WhatsApp (the shop colour) beside why this shop is safe to order from (white), one card */
.sf-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-block: 56px; overflow: hidden; background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); }
.sf-help--solo { grid-template-columns: minmax(0, 1fr); }
.sf-help--solo .sf-help__why { padding: 40px; }
.sf-help--solo .sf-help__title { margin-bottom: 28px; text-align: center; }
.sf-help__ask { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 48px; background: var(--eo-brand); color: var(--eo-on-brand); }
.sf-help__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 6px; background: color-mix(in srgb, #FFFFFF 12%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 22%, transparent); border-radius: var(--sf-radius); }
.sf-help__icon .svg-icon { width: 24px; height: 24px; }
.sf-help__heading { margin: 0; color: inherit; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: var(--eo-fw-bold); line-height: 1.3; }
.sf-help__text { max-width: 26rem; margin: 0; color: inherit; opacity: 0.8; }
.sf-body .sf-help__btn { margin-top: var(--eo-space-md); background: #FFFFFF; border-color: #FFFFFF; color: var(--eo-text); }
.sf-body .sf-help__btn:hover { background: #F1F3F2; border-color: #F1F3F2; color: var(--eo-text); }
.sf-help__why { padding: 40px 48px; }
.sf-help__title { margin: 0 0 var(--eo-space-xs); font-size: var(--eo-fs-xl); font-weight: var(--eo-fw-bold); }
.sf-why { margin: 0; padding: 0; list-style: none; }
.sf-why__item { display: flex; align-items: flex-start; gap: 14px; padding-block: 16px; }
.sf-why__item:last-child { padding-bottom: 0; }
.sf-why__item + .sf-why__item { border-top: 1px solid var(--eo-border); }
/* alone on its line (no WhatsApp number), the reasons sit side by side instead of one long column */
.sf-help--solo .sf-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--eo-space-lg); }
.sf-help--solo .sf-why__item { padding-block: 0; }
.sf-help--solo .sf-why__item + .sf-why__item { border-top: 0; }
.sf-why__icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--sf-brand-soft); border-radius: var(--sf-radius); color: var(--eo-brand); }
.sf-why__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-why__name { color: var(--eo-text); font-weight: var(--eo-fw-semibold); text-decoration: none; }
a.sf-why__name:hover { color: var(--eo-brand); }
.sf-why__text { color: var(--eo-text-muted); font-size: var(--eo-fs-md); }

/* product page: a tinted band with the photo beside the facts and the order button */
.sf-pd { padding: 20px 0 56px; background: var(--eo-surface); border-bottom: 1px solid var(--eo-border); }
.sf-pd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.sf-pd__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 460px; margin-top: var(--eo-space-xs); }
.sf-pd__actions:not(:has(.sf-pd__wa)) { grid-template-columns: minmax(0, 1fr); }
.sf-pd__actions .sf-submit { min-height: 56px; }
.sf-body .sf-pd__wa { width: 56px; min-height: 56px; padding: 0; background: var(--eo-surface); border-color: var(--eo-border-strong); color: #25D366; }
.sf-body .sf-pd__wa:hover { background: var(--eo-surface); border-color: var(--eo-brand); color: #25D366; }
.sf-pd__wa .svg-icon { width: 24px; height: 24px; }
.sf-pd__wa-text { display: none; }

/* the details: one white card, as wide as is easy to read */
.sf-block { padding: 48px 0; }
.sf-prose-card { max-width: 900px; margin: 0 auto; padding: 32px 36px; background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); }
.sf-block__title { margin: 0 0 var(--eo-space-base); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: var(--eo-fw-bold); }
.sf-prose-card .sf-prose { color: color-mix(in srgb, var(--eo-text) 88%, var(--eo-text-muted)); line-height: 1.85; }
.sf-block__stack { display: grid; gap: 20px; }
.sf-prose-card .sf-prose > * + * { margin-top: 0.9rem; }
/* an empty line the editor left at the end of a section takes no room */
.sf-prose-card .sf-prose > p:last-child:has(> br:only-child),
.sf-prose-card .sf-prose > p:empty { display: none; }
/* the heading that opens a card is its title: big, in the middle */
.sf-prose-card .sf-prose > h2:first-child { margin: 0 0 var(--eo-space-sm); padding-bottom: var(--eo-space-md); color: var(--eo-text); font-size: clamp(1.25rem, 2.2vw, 1.5rem); border-bottom: 1px solid var(--eo-border); }
.sf-prose-card .sf-prose h3,
.sf-prose-card .sf-prose h4 { margin-top: 1.5rem; color: var(--eo-brand); font-size: 1.25rem; }
.sf-prose-card .sf-prose img { border-radius: var(--sf-radius); }
/* a list reads as ticks: a small tick in a soft ring of the shop colour, dashed lines between, two to a line on wide screens */
.sf-prose-card .sf-prose ul { display: grid; column-gap: 40px; margin-bottom: 0; padding: 0; list-style: none; }
.sf-prose-card .sf-prose ul > li { position: relative; padding: 14px 0 14px 40px; border-top: 1px dashed var(--eo-border-strong); color: var(--eo-text); line-height: 1.6; }
.sf-prose-card .sf-prose ul > li:first-child { border-top: 0; }
.sf-prose-card .sf-prose ul > li::before { content: ""; position: absolute; top: 13px; left: 0; box-sizing: border-box; width: 27px; height: 27px; background: var(--sf-brand-soft); border: 1px solid var(--sf-brand-line); border-radius: 50%; }
.sf-prose-card .sf-prose ul > li::after { content: ""; position: absolute; top: 20px; left: 7px; width: 13px; height: 13px; background: var(--eo-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 768px) {
    .sf-prose-card .sf-prose ul:has(> li:nth-child(3)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .sf-prose-card .sf-prose ul:has(> li:nth-child(3)) > li:nth-child(2) { border-top: 0; }
}

/* the order form on its own tinted band */
.sf-order-band { padding: 56px 0; background: var(--sf-bg); border-block: 1px solid var(--eo-border); }
.sf-order-band #order.sf-lp__order { margin: 0 auto; }
.sf-pd + .sf-order-band { border-top: 0; }

/* what is being ordered, on top of the form: photo and name, then how many */
.sf-order-item { display: grid; gap: 14px; padding: 14px; background: var(--sf-brand-soft); border: 1px solid var(--sf-brand-line); border-radius: var(--sf-radius); }
.sf-order-item__product { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sf-order-item__img { display: flex; flex: 0 0 64px; align-items: center; justify-content: center; height: 64px; overflow: hidden; background: var(--eo-surface); border-radius: var(--sf-radius-btn); color: var(--eo-text-subtle); }
.sf-order-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sf-order-item__body { display: grid; gap: 2px; min-width: 0; }
.sf-order-item__name { color: var(--eo-text); font-weight: var(--eo-fw-bold); line-height: 1.4; }
.sf-order-item__price { color: var(--eo-text-muted); font-size: var(--eo-fs-md); }
.sf-order-item .sf-order-item__qty { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--sf-brand-line); }
.sf-order-item__qty > .eo-label { margin: 0; font-weight: var(--eo-fw-bold); }
.sf-order-item__qty > .eo-error { flex-basis: 100%; }
/* three separate pieces, no frame around them: two filled buttons with white marks, the number in its own box, the unit as plain words */
.sf-order-item__qty .eo-qty { align-items: center; width: auto; gap: 6px; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.sf-order-item__qty .eo-qty .eo-btn .svg-icon { width: 18px; height: 18px; color: inherit; }
.sf-order-item__qty .eo-qty:focus-within { border-color: transparent; outline: 0; box-shadow: none; }
.sf-order-item__qty .eo-qty .eo-input-group__addon { padding: 0 0 0 4px; background: transparent; border: 0; color: var(--eo-text-muted); font-size: var(--eo-fs-md); }
.sf-order-item__qty .eo-qty .eo-btn { width: 44px; min-height: 44px; background: var(--eo-brand); border-color: var(--eo-brand); border-radius: var(--sf-radius-btn); color: var(--eo-on-brand); }
.sf-order-item__qty .eo-qty .eo-btn:hover { background: var(--eo-brand-strong); border-color: var(--eo-brand-strong); color: var(--eo-on-brand); }
#order .sf-order-item__qty .eo-qty .eo-control { flex: 0 0 56px; width: 56px; min-height: 44px; background: var(--eo-surface); border: 1px solid var(--eo-border-strong); border-radius: var(--sf-radius-btn); font-size: var(--eo-fs-xl); font-weight: var(--eo-fw-bold); text-align: center; }
#order .sf-order-item__qty .eo-qty .eo-control:focus { border-color: var(--eo-brand); box-shadow: var(--eo-focus); }

/* more products: a white band, a small label over the title, a link to all on the right */
.sf-more { padding: 48px 0 56px; background: var(--eo-surface); border-top: 1px solid var(--eo-border); }
.sf-order-band + .sf-more { border-top: 0; }
.sf-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--eo-space-base); margin-bottom: 20px; }
.sf-more__title { margin: 10px 0 0; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: var(--eo-fw-bold); line-height: 1.3; }
.sf-more__all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 6px 0; color: var(--eo-brand); font-weight: var(--eo-fw-semibold); text-decoration: none; }
.sf-more__all:hover { color: var(--eo-brand-strong); }
.sf-more__all .svg-icon { width: 16px; height: 16px; transition: transform var(--eo-dur) var(--eo-ease); }
.sf-more__all:hover .svg-icon { transform: translateX(3px); }
.sf-more__grid { --sf-gap: 36px 20px; grid-template-columns: repeat(auto-fill, minmax(0, 284px)); }
.sf-more .sf-card:hover { border-color: var(--sf-brand-line); }

/* footer: how to reach the shop as cards with a big number */
.sf-footer__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--eo-space-sm); }
.sf-body .sf-footer .sf-footer__contact { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--sf-radius); color: inherit; transition: background var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease); }
.sf-body .sf-footer .sf-footer__contact:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.32); }
.sf-footer__contact-icon { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; height: 42px; background: rgba(255, 255, 255, 0.12); border-radius: var(--sf-radius-btn); color: #FFFFFF; }
.sf-footer__contact-icon--wa { background: #25D366; }
.sf-footer__contact-icon .svg-icon { width: 22px; height: 22px; }
.sf-footer__contact-text { display: grid; line-height: 1.35; }
.sf-footer__contact-text small { color: rgba(255, 255, 255, 0.55); font-size: var(--eo-fs-sm); }
.sf-footer__contact-text strong { color: #FFFFFF; font-size: 1.15rem; font-weight: var(--eo-fw-bold); letter-spacing: 0.03em; }
.sf-footer__contact .sf-footer__contact-go { width: 16px; height: 16px; margin-left: 4px; color: rgba(255, 255, 255, 0.4); transition: transform var(--eo-dur) var(--eo-ease); }
.sf-footer__contact:hover .sf-footer__contact-go { transform: translateX(3px); }

/* category tiles: photo, then the name below it */
.sf-tiles { display: grid; grid-template-columns: repeat(var(--sf-tile-cols), minmax(0, 1fr)); gap: var(--sf-gap); }
.sf-tile { display: flex; flex-direction: column; gap: var(--eo-space-sm); color: var(--eo-text); text-align: center; text-decoration: none; }
.sf-tile__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--sf-radius); background: var(--sf-tint); color: var(--eo-text-subtle); }
.sf-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--eo-dur-slow) var(--eo-ease); }
.sf-tile:hover .sf-tile__img img { transform: scale(1.04); }
.sf-tile__name { font-size: var(--eo-fs-base); font-weight: var(--eo-fw-semibold); }

.sf-band--deals { background: var(--sf-tint); }

/* listing */
.sf-listing__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--eo-space-md); margin-bottom: var(--eo-space-base); }
.sf-listing__head .sf-page-title { margin: 0; }
.sf-listing__count { color: var(--eo-text-muted); font-size: var(--eo-fs-base); }
.sf-sort { display: flex; align-items: center; gap: var(--eo-space-sm); }
.sf-sort__label { color: var(--eo-text-muted); font-size: var(--eo-fs-base); white-space: nowrap; }

/* product page: the photo sits beside the facts, in the middle of the band */
.sf-gallery { min-width: 0; }
.sf-gallery__thumb.is-active { border-color: var(--eo-brand); box-shadow: inset 0 0 0 1px var(--eo-brand); }
.sf-price__off { align-self: center; padding: 3px 10px; background: #E11D48; color: #FFFFFF; font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-bold); border-radius: var(--sf-radius-label); }
.sf-price__off[hidden] { display: none; }
.sf-product__info .sf-page-title { margin: 0; font-size: clamp(1.625rem, 3.4vw, 2.5rem); line-height: 1.25; text-wrap: balance; }
.sf-product__info .sf-product__short { margin-top: -6px; font-size: 1.0625rem; }
/* the price under a hairline, big and in the shop colour */
.sf-product__info .sf-price--lg { flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
.sf-product__info .sf-price--lg .sf-price__now { color: var(--eo-brand); font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.1; }
.sf-product__info .sf-price--lg .sf-price__was { font-size: 1.125rem; }
.sf-product__info [data-stock-badge]:empty { display: none; }
.sf-buy__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* cash on delivery and delivery: short words in one line under the button, each with its icon in the shop colour */
.sf-assurances { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; color: var(--eo-text); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-semibold); }
.sf-assurances li { display: inline-flex; align-items: center; gap: 8px; }
.sf-assurances .svg-icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--eo-brand); }
.sf-assist { display: flex; flex-wrap: wrap; gap: var(--eo-space-sm) var(--eo-space-xl); font-size: var(--eo-fs-md); }
.sf-assist a { display: inline-flex; align-items: center; gap: var(--eo-space-sm); color: var(--eo-text); text-decoration: none; }
.sf-assist a:hover { color: var(--eo-brand); }
.sf-assist .svg-icon { flex: 0 0 auto; color: var(--eo-text-muted); }

/* product page: where it sits in the shop, one quiet line over the band */
.sf-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 20px; color: var(--eo-text-muted); font-size: var(--eo-fs-sm); }
.sf-crumbs a,
.sf-crumbs span:not([aria-current]) { flex: 0 0 auto; color: var(--eo-text-muted); text-decoration: none; }
.sf-crumbs a:hover { color: var(--eo-brand); }
.sf-crumbs .svg-icon { flex: 0 0 auto; width: 14px; height: 14px; color: var(--eo-text-subtle); }
.sf-crumbs [aria-current] { min-width: 0; overflow: hidden; color: var(--eo-text); white-space: nowrap; text-overflow: ellipsis; }

/* the photos: the big one, then a row of small squares when there are more */
.sf-pd .sf-gallery__main { background: var(--sf-tint); }
.sf-gallery__thumbs { gap: 10px; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.sf-gallery__thumbs::-webkit-scrollbar { display: none; }
.sf-gallery__thumb { width: 72px; height: 72px; overflow: hidden; border-radius: var(--sf-radius); cursor: pointer; opacity: 0.7; transition: opacity var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease); }
.sf-gallery__thumb:hover { opacity: 1; }
.sf-gallery__thumb.is-active { opacity: 1; }

/* the facts beside the photo */
.sf-pd .sf-product__info { gap: 18px; max-width: 540px; padding-top: 4px; }
.sf-pd .sf-pd__actions { max-width: none; }
.sf-pd__price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 20px; border-top: 1px solid var(--eo-border); }
.sf-pd__price [data-stock-badge] { margin: 0; }
.sf-pd__price [data-stock-badge]:empty { display: none; }

/* what the shop promises: one box, a row each, the icon in a soft circle of the shop colour */
.sf-pd__trust { margin: 6px 0 0; padding: 0; list-style: none; border: 1px solid var(--eo-border); border-radius: var(--sf-radius); }
.sf-pd__trust li + li { border-top: 1px solid var(--eo-border); }
.sf-pd__trust-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--eo-text); text-decoration: none; }
a.sf-pd__trust-row:hover { color: var(--eo-text); background: var(--sf-tint); }
.sf-pd__trust li:first-child .sf-pd__trust-row { border-radius: var(--sf-radius) var(--sf-radius) 0 0; }
.sf-pd__trust li:last-child .sf-pd__trust-row { border-radius: 0 0 var(--sf-radius) var(--sf-radius); }
.sf-pd__trust-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: var(--eo-brand); background: var(--sf-brand-soft); border-radius: 50%; }
.sf-pd__trust-icon .svg-icon { width: 19px; height: 19px; }
.sf-pd__trust-text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.4; }
.sf-pd__trust-text strong { font-size: var(--eo-fs-base); font-weight: var(--eo-fw-semibold); }
.sf-pd__trust-text span { color: var(--eo-text-muted); font-size: var(--eo-fs-sm); }
.sf-pd__trust-go { flex: 0 0 auto; width: 18px; height: 18px; color: var(--eo-text-subtle); }

/* phone menu and bottom bar */
.sf-drawer { --bs-offcanvas-width: 300px; --bs-offcanvas-bg: var(--eo-surface); --bs-offcanvas-color: var(--eo-text); overflow-y: auto; }
.sf-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--eo-space-sm) var(--eo-space-base); border-bottom: 1px solid var(--eo-border); }
.sf-drawer__nav { display: flex; flex-direction: column; padding: var(--eo-space-base); border-bottom: 1px solid var(--eo-border); }
.sf-drawer__nav .sf-footer__title { margin-bottom: var(--eo-space-xs); color: var(--eo-text-muted); }
.sf-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: var(--eo-space-sm) 0; color: var(--eo-text); text-decoration: none; }
.sf-drawer__nav a span { display: inline-flex; align-items: center; gap: var(--eo-space-sm); }
.sf-tabbar { display: none; }
html:has(.sf-body) { scroll-behavior: smooth; }
#order { scroll-margin-top: var(--eo-space-lg); }

/* the one shop layout: two-line header, big search, bordered cards, dark footer; the merchant only changes the colour */
.sf-body { --eo-brand: #1E3A8A; --eo-brand-strong: #172E6E; --sf-ink: color-mix(in srgb, var(--eo-brand) 20%, #0A0D0C); --sf-bg: color-mix(in srgb, var(--eo-brand) 2%, #F6F7F7); --sf-band: color-mix(in srgb, var(--eo-brand) 5%, #FFFFFF); --sf-wash: radial-gradient(60% 70% at 10% 0%, color-mix(in srgb, var(--eo-brand) 14%, transparent), transparent 70%), radial-gradient(50% 60% at 95% 100%, color-mix(in srgb, var(--eo-brand) 9%, transparent), transparent 70%), var(--sf-bg); --sf-tint: color-mix(in srgb, var(--eo-brand) 3%, #F4F5F5); --sf-tile-cols: 6; }
.sf-body .sf-search { max-width: 620px; margin-inline: auto; }
.sf-body .sf-search__go { position: absolute; top: 3px; right: 3px; bottom: 3px; display: block; padding: 0 var(--eo-space-lg); background: var(--eo-brand); color: var(--eo-on-brand); border: 0; border-radius: calc(var(--sf-radius) - 2px); font-weight: var(--eo-fw-medium); }
.sf-body .sf-search__go:hover { background: var(--eo-brand-strong); }
/* the typed words stop before the "খুঁজুন" button that sits inside the box's right end */
.sf-body .sf-search .eo-control { padding-right: 96px; }
.sf-nav a.is-active,
.sf-action.is-active { color: var(--eo-brand); }
/* "where is my parcel" stands out as a soft button in the shop colour, drawn like the cards' order button (.sf-card__cta),
   never solid, so the product page's solid order button stays the one main action */
.sf-action--btn { min-height: 38px; padding: 0 var(--eo-space-md); background: var(--sf-brand-soft); border: 1px solid var(--sf-brand-line); border-radius: var(--sf-radius-btn); color: var(--eo-brand); font-weight: var(--eo-fw-semibold); transition: background var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease); }
.sf-action--btn:hover { background: color-mix(in srgb, var(--eo-brand) 14%, transparent); border-color: color-mix(in srgb, var(--eo-brand) 36%, transparent); color: var(--eo-brand); }
.sf-action--btn .sf-action__icon .svg-icon { width: 18px; height: 18px; }
/* icon only (a tablet or phone hides the words): the button keeps a square shape */
@media (max-width: 1023.98px) {
    .sf-action--btn { width: 38px; padding: 0; justify-content: center; }
}
.sf-body .sf-action__text { display: inline; }
.sf-body .sf-header__actions { margin-left: 0; }
.sf-body .sf-footer { background: var(--sf-ink); border: 0; color: rgba(255, 255, 255, 0.66); }
.sf-body .sf-footer__name { color: #FFFFFF; }
.sf-body .sf-footer a { color: rgba(255, 255, 255, 0.74); }
.sf-body .sf-footer a:hover { color: #FFFFFF; }
.sf-body .sf-footer__text { color: rgba(255, 255, 255, 0.62); }
.sf-body .sf-footer__bottom { color: rgba(255, 255, 255, 0.4); border-color: rgba(255, 255, 255, 0.08); }
.sf-body .sf-footer__pay li { border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.74); }
.sf-body .sf-footer__title { color: rgba(255, 255, 255, 0.45); }

@media (hover: hover) {
    .sf-card:hover .sf-card__img img { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .sf-card__img img,
    .sf-tile__img img { transition: none; }
    .sf-card:hover .sf-card__img img,
    .sf-tile:hover .sf-tile__img img { transform: none; }
}

@media (max-width: 1023.98px) {
    .sf-body { --sf-cols: 3; --sf-tile-cols: 3; }
    .sf-body .sf-action__text { display: none; }
}

@media (max-width: 767.98px) {
    .sf-body { --sf-cols: 2; --sf-tile-cols: 3; --sf-gap: var(--eo-space-md); --sf-section: 40px; }
    /* room under the page only when the bottom tab bar is really there */
    .sf-body:has(.sf-tabbar) { padding-bottom: 72px; }

    /* phone: two cards a row, the help panel stacks above the reasons, the product band stacks */
    .sf-intro { padding-block: 36px 40px; }
    .sf-intro__text { gap: var(--eo-space-sm); margin-bottom: 28px; }
    .sf-intro__lead { font-size: var(--eo-fs-base); }
    .sf-intro__grid,
    .sf-more__grid { --sf-gap: 24px 12px; }
    .sf-intro__grid:has(> :nth-child(2)),
    .sf-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-card__body { padding: 10px 2px 0; gap: 2px; }
    .sf-pd { padding: 12px 0 32px; }
    .sf-crumbs { margin-bottom: 12px; }
    .sf-gallery__thumb { width: 60px; height: 60px; }
    .sf-pd .sf-product__info { gap: 14px; }
    .sf-pd__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .sf-pd__actions { max-width: none; }
    /* the order button is pinned to the bottom here, so WhatsApp takes the whole line, with its words */
    .sf-block__stack { gap: 24px; }
    .sf-block { padding: 32px 0; }
    .sf-prose-card { padding: 24px 20px; }
    .sf-order-band { padding: 32px 0; }
    .sf-more { padding: 32px 0 40px; }
    .sf-more__head { align-items: center; }
    .sf-card__name { font-size: var(--eo-fs-md); }
    .sf-card__badge { top: 8px; left: 8px; padding: 2px 8px; }
    .sf-card__body > .sf-price .sf-price__now { font-size: var(--eo-fs-base); }
    .sf-help { grid-template-columns: minmax(0, 1fr); margin-block: 32px; }
    .sf-help__ask,
    .sf-help__why,
    .sf-help--solo .sf-help__why { padding: 28px 20px; }
    .sf-header__row { min-height: 56px; }
    .sf-brand__logo { max-height: 34px; }
    .sf-body .sf-footer .sf-footer__contact { width: 100%; }
    .sf-help__heading { font-size: var(--eo-fs-xl); }
    .sf-help__btn { width: 100%; }

    .sf-menu-btn { display: inline-flex; margin-left: calc(var(--eo-space-sm) * -1); }
    .sf-nav { display: none; }
    .sf-header__row { gap: var(--eo-space-xs) var(--eo-space-sm); min-height: 0; }
    .sf-body .sf-search { margin-inline: 0; }
    .sf-search { margin-top: var(--eo-space-2xs); }
    .sf-header__actions .sf-action:first-child { display: none; }
    .sf-body .sf-header__actions { margin-left: auto; }



    .sf-gallery { position: static; }
    .sf-buy__actions { grid-template-columns: minmax(0, 1fr); }
    .sf-listing__head { align-items: center; }



    .sf-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--eo-z-topbar); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); background: var(--eo-surface); border-top: 1px solid var(--eo-border); }
    .sf-tabbar a,
    .sf-tabbar button { display: flex; flex-direction: column; align-items: center; gap: var(--eo-space-2xs); min-height: 56px; justify-content: center; padding: var(--eo-space-xs) 0; background: none; border: 0; color: var(--eo-text-muted); font-size: var(--eo-fs-xs); text-decoration: none; }
    .sf-tabbar .is-active { color: var(--eo-brand); }
    .sf-tabbar .sf-action__icon .svg-icon { width: 20px; height: 20px; }
    .sf-body:has(.sf-tabbar) .sf-chat,
}

/* sf-section's own padding must not wipe the page's side gutter */
.sf-wrap.sf-section { padding-inline: var(--eo-space-base); }

/* ============================================================
   QUICK VIEW
   ============================================================ */
.sf-card__quick {
    position: absolute;
    bottom: var(--eo-space-sm);
    left: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--eo-space-xs);
    height: var(--eo-control-h-sm);
    padding: 0 var(--eo-space-md);
    color: var(--eo-text);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-medium);
    white-space: nowrap;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border);
    border-radius: var(--eo-radius-pill);
    box-shadow: var(--eo-shadow-float);
    transform: translateX(-50%);
    transition: opacity var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease), background var(--eo-dur) var(--eo-ease);
}

.sf-card__quick .svg-icon {
    width: 16px;
    height: 16px;
}

.sf-card__quick:hover {
    color: var(--eo-on-brand);
    background: var(--eo-brand);
    border-color: var(--eo-brand);
}

.sf-card__quick.is-busy {
    opacity: 0.6;
    pointer-events: none;
}

@media (hover: hover) {
    .sf-card__quick {
        opacity: 0;
    }

    .sf-card:hover .sf-card__quick,
    .sf-card:focus-within .sf-card__quick {
        opacity: 1;
    }
}

/* a phone has no hover: a round button that is always there */
@media (hover: none) {
    .sf-card__quick {
        top: var(--eo-space-xs);
        right: var(--eo-space-xs);
        bottom: auto;
        left: auto;
        justify-content: center;
        width: var(--eo-control-h);
        height: var(--eo-control-h);
        padding: 0;
        transform: none;
    }

    .sf-card__quick > span {
        display: none;
    }
}

.sf-quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--eo-space-xl);
}

.sf-quick .sf-gallery {
    position: static;
}

.sf-quick .sf-page-title {
    font-size: var(--eo-fs-xl);
}

.sf-quick__more {
    display: inline-flex;
    align-items: center;
    gap: var(--eo-space-2xs);
    margin-top: var(--eo-space-sm);
    color: var(--eo-brand);
    font-size: var(--eo-fs-md);
    font-weight: var(--eo-fw-medium);
    text-decoration: none;
}

.sf-quick__more .svg-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 767.98px) {
    .sf-quick {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--eo-space-base);
    }
}

/* ============================================================
   BUY BOX: variant chips and quantity
   ============================================================ */
/* the choices as chips side by side, the picked one filled in the shop colour; one sold out is struck through */
.sf-variants {
    margin: 0 0 var(--eo-space-md);
    padding: 0;
    border: 0;
}

.sf-variants .eo-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--eo-space-sm);
    width: 100%;
    margin-bottom: 10px;
}

.sf-variants__price {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-normal);
}

.sf-variants__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-variant {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    padding: 8px 16px;
    color: var(--eo-text);
    font-weight: var(--eo-fw-medium);
    line-height: 1.3;
    text-align: center;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border-strong);
    border-radius: var(--sf-radius-btn);
    cursor: pointer;
    transition: border-color var(--eo-dur) var(--eo-ease), background var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease);
}

/* the chip is the choice, so the round dot goes; the input stays for keyboards and screen readers */
.sf-variant input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sf-variant__price {
    color: var(--eo-text-muted);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-normal);
}

.sf-variant:hover:not(:has(input:disabled)) {
    border-color: var(--eo-brand);
}

.sf-variant:has(input:checked) {
    color: #FFFFFF;
    background: var(--eo-brand);
    border-color: var(--eo-brand);
}

.sf-variant:has(input:checked) .sf-variant__price {
    color: rgba(255, 255, 255, 0.85);
}

.sf-variant:has(input:focus-visible) {
    box-shadow: var(--eo-focus);
}

.sf-variant:has(input:disabled) {
    color: var(--eo-text-subtle);
    text-decoration: line-through;
    background: var(--sf-tint);
    border-style: dashed;
    cursor: not-allowed;
}

.sf-buy .eo-qty.eo-input-group > .eo-control {
    height: var(--eo-control-h-lg);
    font-size: var(--eo-fs-lg);
}

.sf-buy .eo-qty.eo-input-group > .eo-btn {
    width: var(--eo-control-h-lg);
}

.sf-buy .eo-field {
    margin-bottom: var(--eo-space-base);
}

/* ============================================================
   SHOP LINKS ON HOVER
   The panel underlines every link; on a shop that runs through
   whole cards, so only links inside written text keep it
   ============================================================ */
[data-storefront] a:hover {
    text-decoration: none;
}

[data-storefront] .sf-prose a:hover {
    text-decoration: underline;
}

.sf-card:hover {
    color: var(--eo-text);
}

/* ============================================================
   TEMPORARY (Nov 2026): three looks on trial, switched on the home page (layouts/app.blade.php). v2, the quiet look,
   is the default; .sf-look-v1 on <html> brings back the earlier look, .sf-look-v3 puts v2 on tinted cards with a button. Once a look is chosen, keep its rules and
   delete this block, the switch and the parts of the card the other look used.
   ============================================================ */
.sf-card__off,
.sf-card__cta {
    display: none;
}

.sf-look-switch {
    position: fixed;
    top: 50%;
    left: 12px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    background: var(--eo-surface);
    border: 1px solid var(--eo-border-strong);
    border-radius: var(--sf-radius);
    transform: translateY(-50%);
}

.sf-look-switch button {
    padding: 8px 12px;
    color: var(--eo-text);
    font-size: var(--eo-fs-sm);
    font-weight: var(--eo-fw-semibold);
    white-space: nowrap;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--sf-radius-btn);
    cursor: pointer;
}

.sf-look-switch button:hover {
    border-color: var(--eo-border-strong);
}

.sf-look-switch button[aria-pressed="true"] {
    color: #FFFFFF;
    background: var(--eo-brand);
    border-color: var(--eo-brand);
}

/* v1: the tinted top with its dot pattern, the shop name in a pill, the title's last word in the shop colour */
.sf-look-v1 .sf-intro { padding-block: 56px 64px; background: var(--sf-wash); }
.sf-look-v1 .sf-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--sf-brand-line) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 70% at 50% 35%, #000000 10%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 35%, #000000 10%, transparent 75%); }
.sf-look-v1 .sf-intro__text { margin-bottom: 40px; }
.sf-look-v1 .sf-intro__text .sf-eyebrow { padding: 4px 12px; color: var(--eo-brand); font-weight: var(--eo-fw-semibold); letter-spacing: 0; background: var(--eo-surface); border: 1px solid var(--sf-brand-line); }
.sf-look-v1 .sf-intro__text .sf-eyebrow .svg-icon { display: inline-block; }
.sf-look-v1 .sf-intro__title span { color: var(--eo-brand); }
.sf-look-v1 .sf-intro__grid,
.sf-look-v1 .sf-more__grid { --sf-gap: 20px; }

/* v1: the boxed card with a red label on the photo and an order button */
.sf-look-v1 .sf-card { overflow: hidden; background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); transition: border-color var(--eo-dur) var(--eo-ease); }
.sf-look-v1 .sf-card:hover { border-color: var(--sf-brand-line); }
.sf-look-v1 .sf-card__img { border-radius: 0; }
.sf-look-v1 .sf-card__body { gap: 6px; padding: 12px 14px 14px; }
.sf-look-v1 .sf-card__name { color: var(--eo-text); font-weight: var(--eo-fw-semibold); }
.sf-look-v1 .sf-card__body > .sf-price { margin-bottom: 10px; }
.sf-look-v1 .sf-card__body > .sf-price .sf-price__now { color: var(--eo-brand); font-size: var(--eo-fs-lg); }
.sf-look-v1 .sf-card__body > .sf-price .sf-price__was { font-size: var(--eo-fs-base); }
.sf-look-v1 .sf-card__save { display: none; }
.sf-look-v1 .sf-card__off { position: absolute; top: 12px; left: 12px; z-index: 2; display: block; padding: 3px 8px; color: #FFFFFF; font-size: var(--eo-fs-xs); font-weight: var(--eo-fw-semibold); line-height: 1.5; letter-spacing: 0.01em; background: #E11D48; border-radius: var(--sf-radius-label); }
.sf-look-v1 .sf-card__cta { display: flex; align-items: center; justify-content: center; gap: var(--eo-space-xs); margin-top: auto; min-height: 40px; padding: 0 var(--eo-space-base); color: var(--eo-brand); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-semibold); letter-spacing: 0.01em; background: var(--sf-brand-soft); border: 1px solid var(--sf-brand-line); border-radius: var(--sf-radius-btn); transition: background var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease); }
.sf-look-v1 .sf-card__cta .svg-icon { width: 14px; height: 14px; transition: transform var(--eo-dur) var(--eo-ease); }
.sf-look-v1 .sf-card:hover .sf-card__cta,
.sf-look-v1 .sf-card:focus-visible .sf-card__cta { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
.sf-look-v1 .sf-card:hover .sf-card__cta .svg-icon { transform: translateX(2px); }

@media (max-width: 767.98px) {
    /* the switch sits low on the left, out of the way of the cards */
    .sf-look-switch { top: auto; bottom: 96px; left: 8px; flex-direction: row; gap: 2px; padding: 4px; transform: none; }
    .sf-look-switch button { padding: 6px 8px; font-size: var(--eo-fs-xs); }
    .sf-look-v1 .sf-intro { padding-block: 36px 40px; }
    .sf-look-v1 .sf-intro__text { margin-bottom: 28px; }
    .sf-look-v1 .sf-intro__grid,
    .sf-look-v1 .sf-more__grid { --sf-gap: 12px; }
    .sf-look-v1 .sf-card__body { gap: 4px; padding: 10px 10px 12px; }
    .sf-look-v1 .sf-card__body > .sf-price .sf-price__now { font-size: var(--eo-fs-lg); }
    .sf-look-v1 .sf-card__cta { min-height: 38px; padding: 0 var(--eo-space-sm); font-size: var(--eo-fs-sm); }
    .sf-look-v1 .sf-card__off { top: 8px; left: 8px; padding: 2px 8px; }
}

/* v3: the white page of v2, but each card sits on its own soft tinted panel with the photo inset, the quiet price,
   and an order button along the bottom that fills in the shop colour on hover */
.sf-look-v3 .sf-intro__grid { --sf-gap: 24px 20px; }
.sf-look-v3 .sf-more__grid { --sf-gap: 20px; }
.sf-look-v3 .sf-card { padding: 8px; background: var(--sf-tint); border-radius: calc(var(--sf-radius) + 4px); transition: background var(--eo-dur) var(--eo-ease); }
.sf-look-v3 .sf-card:hover { background: color-mix(in srgb, var(--eo-brand) 7%, #EEF0F0); }
.sf-look-v3 .sf-card__img { background: var(--eo-surface); }
.sf-look-v3 .sf-card__body { gap: 4px; padding: 12px 6px 2px; }
.sf-look-v3 .sf-card__cta { display: flex; align-items: center; justify-content: center; gap: var(--eo-space-xs); margin-top: auto; min-height: 42px; padding: 0 var(--eo-space-base); color: var(--eo-brand); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-semibold); background: var(--eo-surface); border: 1px solid var(--sf-brand-line); border-radius: var(--sf-radius-btn); transition: background var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease); }
.sf-look-v3 .sf-card__body > .sf-price { margin-bottom: 12px; }
.sf-look-v3 .sf-card__cta .svg-icon { width: 14px; height: 14px; transition: transform var(--eo-dur) var(--eo-ease); }
.sf-look-v3 .sf-card:hover .sf-card__cta,
.sf-look-v3 .sf-card:focus-visible .sf-card__cta { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
.sf-look-v3 .sf-card:hover .sf-card__cta .svg-icon { transform: translateX(2px); }

@media (max-width: 767.98px) {
    .sf-look-v3 .sf-intro__grid,
    .sf-look-v3 .sf-more__grid { --sf-gap: 12px; }
    .sf-look-v3 .sf-card { padding: 6px; }
    .sf-look-v3 .sf-card__body { padding: 10px 4px 2px; }
    .sf-look-v3 .sf-card__body > .sf-price { margin-bottom: 10px; }
    .sf-look-v3 .sf-card__cta { min-height: 38px; padding: 0 var(--eo-space-sm); font-size: var(--eo-fs-sm); }
}
