/* 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); }
/* the last list in the drawer needs no line under it */
.sf-drawer__nav:last-child { border-bottom: 0; }
/* the list starts right under the drawer head, no empty band */
.sf-drawer__nav:first-of-type { padding-top: var(--eo-space-xs); }
.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; }

    /* 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-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);
}

/* ============================================================
   the shop's three templates, one picked per shop in the shop settings (storefront.template); the layout puts
   .sf-look-v1 / v2 / v3 on <html>. The base rules draw v2's quiet parts, v3 puts them on tinted cards with a button,
   v1 and v2 have their own blocks further down. The card's discount label and button wait for a template to show them.
   ============================================================ */
.sf-card__off,
.sf-card__cta {
    display: none;
}

/* 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); }
}

/* ============================================================
   template v1 (small shops): the shop drawn as a full e-commerce site. Every rule sits under .sf-look-v1, and the
   parts it shares with v2 (.sf-home-part, the header's links) say which looks leave them out (.sf-hide-vN, in the v2 block). If v1 is the look that is
   kept, drop the .sf-look-v1 prefix and the two helper classes.
   ============================================================ */
.sf-header__nav { display: none; }

/* softer corners, a lift for what is hovered, and a page a shade off white so the white cards stand out */
.sf-look-v1 .sf-body { --sf-radius: 12px; --sf-radius-btn: 8px; --sf-section: 48px; --sf-lift: 0 2px 4px rgba(16, 24, 40, 0.04), 0 18px 34px -18px color-mix(in srgb, var(--eo-brand) 30%, rgba(16, 24, 40, 0.45)); }

/* header: the logo, then where the parcel is, the buyer's orders and a number to call; a phone keeps the icons only */
.sf-look-v1 .sf-header { background: var(--eo-surface); border-bottom-color: var(--eo-border); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sf-look-v1 .sf-header__row { min-height: 72px; gap: var(--eo-space-md); }
.sf-look-v1 .sf-header__nav { display: flex; align-items: center; gap: var(--eo-space-xs); margin-left: auto; }
.sf-header__link { display: inline-flex; align-items: center; gap: var(--eo-space-sm); min-height: 40px; padding: 0 var(--eo-space-md); color: var(--eo-text); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-medium); white-space: nowrap; text-decoration: none; border: 1px solid transparent; border-radius: var(--sf-radius-btn); transition: background var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease); }
.sf-header__link .svg-icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--eo-brand); }
.sf-header__link:hover,
.sf-header__link.is-active { color: var(--eo-brand); background: var(--sf-brand-soft); }
.sf-header__link:focus-visible { outline: 0; box-shadow: var(--eo-focus); }
.sf-header__link--call { margin-left: var(--eo-space-xs); color: var(--eo-brand); font-weight: var(--eo-fw-semibold); letter-spacing: 0.02em; background: var(--sf-brand-soft); border-color: var(--sf-brand-line); }
.sf-header__link--call:hover { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
.sf-header__link--call:hover .svg-icon { color: inherit; }

/* home: the opening band. The shop's words on the left, photos of the newest products on the right */
/* the band takes the shop colour, deepened, with the words in white (as the big shop's banner without a photo) */
.sf-hero { position: relative; isolation: isolate; padding-block: 56px 88px; color: #FFFFFF; background: radial-gradient(60% 90% at 88% 10%, color-mix(in srgb, var(--eo-brand) 60%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--eo-brand) 55%, #06120F) 0%, var(--sf-ink) 100%); }
.sf-hero .sf-eyebrow { color: #FFFFFF; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); }
.sf-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
.sf-hero__text,
.sf-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--eo-space-base); min-width: 0; }
.sf-hero__text { gap: var(--eo-space-xl); }
.sf-hero__title { margin: 0; color: #FFFFFF; font-size: clamp(1.875rem, 4.2vw, 3.25rem); font-weight: var(--eo-fw-bold); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.sf-hero__title span { color: color-mix(in srgb, var(--eo-brand) 30%, #FFFFFF); }
/* the shop's own words, kept to three lines so a long text never turns into a wall */
.sf-hero__lead { display: -webkit-box; max-width: 34rem; margin: 0; overflow: hidden; color: rgba(255, 255, 255, 0.86); font-size: 1.0625rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-wrap: pretty; }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: var(--eo-space-md); }
.sf-hero__actions .eo-btn { min-height: 52px; padding-inline: var(--eo-space-xl); font-weight: var(--eo-fw-semibold); }
/* on the dark band the main button turns white and WhatsApp a clear outline */
.sf-body .sf-hero__actions .eo-btn--primary { color: var(--eo-text); background: #FFFFFF; border-color: #FFFFFF; }
.sf-body .sf-hero__actions .eo-btn--primary:hover { color: var(--eo-text); background: #F1F3F2; border-color: #F1F3F2; }
.sf-body .sf-hero__wa { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.sf-body .sf-hero__wa:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.16); border-color: #FFFFFF; }
.sf-hero__wa .svg-icon { color: #25D366; }
/* no photo to show at all: the words take the middle */
.sf-hero--plain .sf-hero__grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sf-hero--plain .sf-hero__text,
.sf-hero--plain .sf-hero__copy { align-items: center; text-align: center; }
.sf-hero--plain .sf-hero__actions { justify-content: center; }

/* up to three product photos: a tall one with its name and price, two small ones beside it; each opens its product */
.sf-hero__shots { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--eo-space-base); aspect-ratio: 5 / 4; }
.sf-hero__shots:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
.sf-hero__shot { position: relative; display: block; overflow: hidden; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: calc(var(--sf-radius) + 4px); box-shadow: var(--sf-shadow-card); }
.sf-hero__shot:first-child,
.sf-hero__shot:nth-child(2):last-child { grid-row: 1 / -1; }
.sf-hero__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 0.4s ease-in-out; }
.sf-hero__shot:focus-visible { outline: 0; box-shadow: var(--eo-focus); }
.sf-hero__tag { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; gap: var(--eo-space-md); padding: 10px 14px; background: color-mix(in srgb, var(--eo-surface) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--sf-radius); }
.sf-hero__tag-name { min-width: 0; overflow: hidden; color: var(--eo-text); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-semibold); white-space: nowrap; text-overflow: ellipsis; }
.sf-hero__tag-price { flex: 0 0 auto; color: var(--eo-brand); font-weight: var(--eo-fw-bold); }

/* the banner arrows and dots (v2's banner, home/banner) */
.sf-banner__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--eo-text); background: color-mix(in srgb, var(--eo-surface) 90%, transparent); border: 0; border-radius: 50%; box-shadow: var(--sf-shadow); cursor: pointer; transform: translateY(-50%); transition: background var(--eo-dur) var(--eo-ease), color var(--eo-dur) var(--eo-ease); }
.sf-banner__nav:hover { color: var(--eo-on-brand); background: var(--eo-brand); }
.sf-banner__nav:focus-visible { outline: 0; box-shadow: var(--eo-focus); }
.sf-banner__nav--prev { left: 12px; }
.sf-banner__nav--next { right: 12px; }
.sf-banner__nav .svg-icon { width: 20px; height: 20px; }
.sf-banner__dots { position: absolute; bottom: 12px; left: 50%; display: flex; gap: 6px; padding: 6px 8px; background: rgba(17, 24, 39, 0.35); border-radius: var(--eo-radius-pill); transform: translateX(-50%); }
.sf-banner__dot { width: 8px; height: 8px; padding: 0; background: rgba(255, 255, 255, 0.6); border: 0; border-radius: var(--eo-radius-pill); cursor: pointer; transition: width var(--eo-dur) var(--eo-ease), background var(--eo-dur) var(--eo-ease); }
.sf-banner__dot.is-active { width: 22px; background: #FFFFFF; }

/* what the shop promises: one white strip that sits half on the opening band, a hairline between the reasons */
.sf-perks { position: relative; z-index: 1; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 1px; margin: -44px 0 0; padding: 0; overflow: hidden; list-style: none; background: var(--eo-border); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); box-shadow: var(--sf-shadow-card); }
.sf-perks__item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px; background: var(--eo-surface); }
.sf-perks .sf-why__icon { width: 44px; height: 44px; border-radius: 50%; }
.sf-perks .sf-why__name { font-size: var(--eo-fs-base); line-height: 1.4; }
.sf-perks .sf-why__text { font-size: var(--eo-fs-sm); line-height: 1.5; }

/* a section's name with a short bar of the shop colour before it; how many there are sits quietly at the end */
/* (only the home page's own sections: other pages wrap themselves in .sf-section and keep its room) */
.sf-look-v1 .sf-home-part > .sf-section { padding-block: var(--sf-section) 0; }
.sf-look-v1 .sf-section__head { justify-content: flex-start; gap: var(--eo-space-md); margin-bottom: var(--eo-space-xl); }
.sf-look-v1 .sf-section__title { position: relative; padding-left: 16px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.sf-look-v1 .sf-section__title::before { content: ""; position: absolute; top: 0.2em; bottom: 0.2em; left: 0; width: 4px; background: var(--eo-brand); border-radius: var(--eo-radius-pill); }
.sf-section__count { margin-left: auto; padding: 4px 12px; color: var(--eo-text-muted); font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-medium); background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--eo-radius-pill); }
.sf-row-grid { --sf-gap: 20px; }
/* v1 shows four to a row; the rows carry five for v2's wider grid */
.sf-look-v1 .sf-row-grid > :nth-child(n + 5) { display: none; }
/* one row only: a screen with three to a row drops the fourth card instead of leaving it alone on a line */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .sf-row-grid > :nth-child(n + 4) { display: none; }
}

/* the full list: no band of its own any more, the same four to a row as the sections above it */
.sf-look-v1 .sf-intro { padding-block: var(--sf-section) 64px; background: none; border-bottom: 0; scroll-margin-top: 72px; }
.sf-look-v1 .sf-intro__grid,
.sf-look-v1 .sf-more__grid { --sf-gap: 20px; grid-template-columns: repeat(var(--sf-cols), minmax(0, 1fr)); justify-content: stretch; }

/* the card: a white box that lifts a little when pointed at, a red label on the photo, the price in the shop colour
   and an order button that fills in on hover */
.sf-look-v1 .sf-card { overflow: hidden; padding: 8px; background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); transition: border-color 0.3s ease; }
/* the photo zoom follows ViserMart's card: the photo grows 1.2x inside its own rounded frame over 0.4s, ease-in-out.
   The card stays put and only its border colour changes, so nothing else is redrawn while the photo grows */
.sf-look-v1 .sf-card__img img { transform: scale(1); transition: transform 0.4s ease-in-out, opacity var(--eo-dur-slow) var(--eo-ease); }
.sf-look-v1 .sf-card__img { overflow: hidden; border-radius: calc(var(--sf-radius) - 4px); }
.sf-look-v1 .sf-card__body { gap: 6px; padding: 12px 6px 6px; }
.sf-look-v1 .sf-card__name { min-height: 2.8em; 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-xl); }
.sf-look-v1 .sf-card__body > .sf-price .sf-price__was { font-size: var(--eo-fs-md); }
.sf-look-v1 .sf-card__save { display: none; }
.sf-look-v1 .sf-card__off { position: absolute; top: 8px; left: 8px; z-index: 2; display: block; padding: 3px 10px; 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(--eo-radius-pill); }
.sf-look-v1 .sf-card__cta { display: flex; align-items: center; justify-content: center; gap: var(--eo-space-xs); min-height: 42px; margin-top: auto; 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:focus-visible { box-shadow: var(--eo-focus); }
.sf-look-v1 .sf-card:focus-visible .sf-card__img { box-shadow: none; }
.sf-look-v1 .sf-card:focus-visible .sf-card__cta { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
@media (hover: hover) {
    .sf-look-v1 .sf-card:hover { border-color: var(--eo-brand); }
    .sf-look-v1 .sf-card:hover .sf-card__img img { transform: scale(1.2); }
    .sf-look-v1 .sf-card:hover .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); }
    .sf-hero__shot:hover img { transform: scale(1.2); }
}

/* ask on WhatsApp: one band in the shop colour, the button at its end; the reasons already stand under the opening band */
.sf-look-v1 .sf-help { display: block; margin-block: 0 64px; border: 0; border-radius: calc(var(--sf-radius) + 4px); }
.sf-look-v1 .sf-help:not(:has(.sf-help__ask)),
.sf-look-v1 .sf-help__why { display: none; }
.sf-look-v1 .sf-help__ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 32px 40px; background: linear-gradient(120deg, var(--eo-brand), var(--eo-brand-strong)); }
.sf-look-v1 .sf-help__icon { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; border-radius: 50%; }
.sf-look-v1 .sf-help__heading { grid-column: 2; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.sf-look-v1 .sf-help__text { grid-column: 2; max-width: 40rem; opacity: 0.85; }
.sf-look-v1 .sf-body .sf-help__btn { grid-row: 1 / span 2; grid-column: 3; margin: 0; font-weight: var(--eo-fw-semibold); }
.sf-look-v1 .sf-help__btn .svg-icon { color: #25D366; }

/* product page: "more products" is named the way the home page names its sections, and sits on the page, not on a band */
.sf-look-v1 .sf-more { padding-block: var(--sf-section) 64px; background: none; border-top: 0; }
.sf-look-v1 .sf-more .sf-eyebrow { display: none; }
.sf-look-v1 .sf-more__head { align-items: center; margin-bottom: var(--eo-space-xl); }
.sf-look-v1 .sf-more__title { position: relative; margin: 0; padding-left: 16px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.sf-look-v1 .sf-more__title::before { content: ""; position: absolute; top: 0.2em; bottom: 0.2em; left: 0; width: 4px; background: var(--eo-brand); border-radius: var(--eo-radius-pill); }

@media (prefers-reduced-motion: reduce) {
    .sf-hero__shot img,
    .sf-look-v1 .sf-card { transition: none; }
    .sf-look-v1 .sf-card__img img { transition: none; }
}

@media (max-width: 1023.98px) {
    .sf-hero { padding-block: 40px 76px; }
    .sf-hero__grid { gap: 32px; }
    /* four reasons do not fit one line any more: two to a line, an odd last one takes the whole line */
    .sf-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
    .sf-perks__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .sf-look-v1 .sf-header__link:not(.sf-header__link--call) span { display: none; }
    .sf-look-v1 .sf-header__link:not(.sf-header__link--call) { justify-content: center; width: 40px; padding: 0; }
}

@media (max-width: 767.98px) {
    .sf-look-v1 .sf-body { --sf-section: 32px; }
    .sf-look-v1 .sf-header__row { min-height: 60px; gap: var(--eo-space-xs); }
    .sf-look-v1 .sf-header__nav { gap: 2px; }
    .sf-look-v1 .sf-header__link span { display: none; }
    .sf-look-v1 .sf-header__link { justify-content: center; width: 40px; padding: 0; }
    /* the product page's order button needs the room, and its page has the number further down */
    .sf-look-v1 .sf-header__row:has(.sf-header__order) .sf-header__link--call { display: none; }
    .sf-hero { padding-block: 28px 64px; }
    .sf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .sf-hero__text { gap: var(--eo-space-lg); }
    .sf-hero__lead { font-size: var(--eo-fs-base); }
    .sf-hero__actions { width: 100%; }
    .sf-hero__actions .eo-btn { flex: 1 1 100%; }
    .sf-hero__shots { gap: var(--eo-space-md); aspect-ratio: 4 / 3; }
    .sf-banner__nav { display: none; }
    .sf-perks { margin-top: -40px; }
    .sf-perks__item { flex-direction: column; align-items: flex-start; gap: var(--eo-space-sm); padding: 14px; }
    .sf-perks .sf-why__icon { width: 36px; height: 36px; }
    .sf-perks .sf-why__icon .svg-icon { width: 18px; height: 18px; }
    .sf-row-grid,
    .sf-look-v1 .sf-intro__grid,
    .sf-look-v1 .sf-more__grid { --sf-gap: 12px; }
    .sf-look-v1 .sf-intro { padding-block: var(--sf-section) 40px; scroll-margin-top: 60px; }
    .sf-look-v1 .sf-card { padding: 6px; }
    .sf-look-v1 .sf-card__body { gap: 4px; padding: 10px 4px 4px; }
    .sf-look-v1 .sf-card__body > .sf-price .sf-price__now { font-size: var(--eo-fs-lg); }
    .sf-look-v1 .sf-card__body > .sf-price .sf-price__was { font-size: var(--eo-fs-sm); }
    .sf-look-v1 .sf-card__cta { min-height: 40px; padding: 0 var(--eo-space-sm); font-size: var(--eo-fs-sm); }
    .sf-look-v1 .sf-card__off { top: 6px; left: 6px; padding: 2px 8px; }
    .sf-look-v1 .sf-help { margin-bottom: 40px; }
    .sf-look-v1 .sf-help__ask { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 20px; }
    .sf-look-v1 .sf-help__icon,
    .sf-look-v1 .sf-help__heading,
    .sf-look-v1 .sf-help__text,
    .sf-look-v1 .sf-body .sf-help__btn { grid-row: auto; grid-column: 1; }
    .sf-look-v1 .sf-help__icon { width: 48px; height: 48px; }
    .sf-look-v1 .sf-body .sf-help__btn { margin-top: var(--eo-space-sm); }
}

/* ============================================================
   template v2 (shops with many products): the shop for many products. A header with the product search and a line of the main
   categories, a phone menu with a bottom bar, a short home page (banner, category tiles, offers, best sellers and
   one row of the newest), and the category and search pages for the rest. Every rule sits under .sf-look-v2; v3 still builds on
   the plain base rules, so nothing here touches it.
   ============================================================ */

/* the parts a look leaves out; they never set a display of their own, so each part keeps its own layout */
.sf-look-v1 .sf-hide-v1,
.sf-look-v2 .sf-hide-v2,
.sf-look-v3 .sf-hide-v3 { display: none; }

.sf-look-v2 .sf-body { --sf-radius: 10px; --sf-radius-btn: 8px; --sf-section: 40px; --sf-gap: 16px; }
@media (min-width: 1200px) {
    .sf-look-v2 .sf-body { --sf-cols: 5; }
}

/* header: logo, a wide search in the middle, then the parcel, the buyer's orders and the number to call; the line of
   categories under it, the open one underlined in the shop colour */
.sf-look-v2 .sf-header { background: var(--eo-surface); border-bottom: 1px solid var(--eo-border); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sf-look-v2 .sf-header__row { min-height: 72px; gap: var(--eo-space-lg); }
.sf-look-v2 .sf-body .sf-search { flex: 1 1 auto; max-width: 620px; margin-inline: auto; }
.sf-look-v2 .sf-search .eo-control { height: 46px; background: var(--sf-tint); border-color: var(--eo-border); border-radius: var(--sf-radius-btn); }
.sf-look-v2 .sf-search .eo-control:focus { background: var(--eo-surface); border-color: var(--eo-brand); }
.sf-look-v2 .sf-body .sf-search__go { top: 4px; right: 4px; bottom: 4px; border-radius: calc(var(--sf-radius-btn) - 2px); font-weight: var(--eo-fw-semibold); }
.sf-look-v2 .sf-header__nav { display: flex; flex: 0 0 auto; align-items: center; gap: var(--eo-space-2xs); }
.sf-look-v2 .sf-header__link--call { margin-left: var(--eo-space-xs); color: var(--eo-brand); font-weight: var(--eo-fw-semibold); background: var(--sf-brand-soft); border-color: var(--sf-brand-line); }
.sf-look-v2 .sf-header__link--call:hover { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
.sf-look-v2 .sf-header__link--call:hover .svg-icon { color: inherit; }
.sf-look-v2 .sf-nav { border-top: 1px solid var(--eo-border); }
.sf-look-v2 .sf-nav__row { align-items: center; gap: var(--eo-space-base); overflow: visible; }
/* the categories: one line that scrolls sideways, faded at the edge that has more; the arrows sit over the fade */
.sf-nav__scroller { position: relative; display: flex; flex: 1 1 auto; align-items: center; min-width: 0; }
.sf-nav__links { display: flex; flex: 1 1 auto; gap: var(--eo-space-xs); min-width: 0; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.sf-nav__links::-webkit-scrollbar { display: none; }
.sf-nav__scroller.has-more-right .sf-nav__links { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.sf-nav__scroller.has-more-left .sf-nav__links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px); mask-image: linear-gradient(90deg, transparent, #000 72px); }
.sf-nav__scroller.has-more-left.has-more-right .sf-nav__links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); }
.sf-nav__step { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--eo-text); background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: 50%; box-shadow: var(--sf-shadow); cursor: pointer; transform: translateY(-50%); }
.sf-nav__step:hover { color: var(--eo-brand); border-color: var(--eo-brand); }
.sf-nav__step--prev { left: -4px; }
.sf-nav__step--next { right: -4px; }
.sf-nav__step .svg-icon { width: 16px; height: 16px; }
.sf-look-v2 .sf-nav a { position: relative; padding: 12px var(--eo-space-sm); color: var(--eo-text); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-medium); }
.sf-look-v2 .sf-nav a:first-child { padding-left: 0; }
.sf-look-v2 .sf-nav a:hover,
.sf-look-v2 .sf-nav a.is-active { color: var(--eo-brand); }
.sf-look-v2 .sf-nav a.is-active::after { content: ""; position: absolute; right: var(--eo-space-sm); bottom: 0; left: var(--eo-space-sm); height: 2px; background: var(--eo-brand); }
.sf-look-v2 .sf-nav a:first-child.is-active::after { left: 0; }
/* "বিশেষ অফার": a red pill with its tag at the line's right end, as the cards' discount label */
.sf-look-v2 .sf-nav a.sf-nav__offer { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; align-self: center; padding: 5px 14px; color: #FFFFFF; font-weight: var(--eo-fw-semibold); background: #E11D48; border-radius: var(--eo-radius-pill); transition: background var(--eo-dur) var(--eo-ease); }
.sf-look-v2 .sf-nav a.sf-nav__offer:hover,
.sf-look-v2 .sf-nav a.sf-nav__offer.is-active { color: #FFFFFF; background: #BE123C; }
.sf-look-v2 .sf-nav a.sf-nav__offer::after { content: none; }
.sf-look-v2 .sf-nav a.sf-nav__offer .svg-icon { width: 15px; height: 15px; }

/* home: one full-width banner with the shop's words and buttons on it. Banners from the settings run behind the words,
   darkened on the left where the words sit; with none, a deep shade of the shop colour with the newest products'
   photos on the right. The words pass touches through, so a finger on them still swipes the banners */
.sf-hero2 { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF; background: radial-gradient(60% 90% at 88% 10%, color-mix(in srgb, var(--eo-brand) 60%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--eo-brand) 55%, #06120F) 0%, var(--sf-ink) 100%); }
.sf-hero2__media { position: absolute; inset: 0; z-index: -2; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.sf-hero2__media::-webkit-scrollbar { display: none; }
.sf-hero2__slide { flex: 0 0 100%; scroll-snap-align: start; }
.sf-hero2__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-hero2--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 9, 0.8) 0%, rgba(6, 10, 9, 0.6) 40%, rgba(6, 10, 9, 0.12) 78%, rgba(6, 10, 9, 0) 100%); pointer-events: none; }
.sf-hero2__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 56px; min-height: 500px; padding-block: 56px 104px; pointer-events: none; }
.sf-hero2__inner a,
.sf-hero2__inner button { pointer-events: auto; }
.sf-hero2--photo .sf-hero2__inner { grid-template-columns: minmax(0, 640px); }
/* no banner and no product photos picked: the words take the middle of the band */
.sf-hero2--plain .sf-hero2__inner { grid-template-columns: minmax(0, 760px); justify-content: center; min-height: 420px; }
.sf-hero2--plain .sf-hero2__text { align-items: center; text-align: center; }
.sf-hero2--plain .sf-hero2__lead { margin-inline: auto; }
.sf-hero2--plain .sf-hero2__actions { justify-content: center; }
.sf-hero2__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--eo-space-base); min-width: 0; }
.sf-hero2__shop { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; color: #FFFFFF; font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-semibold); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--eo-radius-pill); }
.sf-hero2__shop .svg-icon { width: 14px; height: 14px; }
.sf-hero2__title { margin: 0; color: #FFFFFF; font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: var(--eo-fw-bold); line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.sf-hero2__title span { color: color-mix(in srgb, var(--eo-brand) 30%, #FFFFFF); }
.sf-hero2__lead { display: -webkit-box; max-width: 34rem; margin: 0; overflow: hidden; color: rgba(255, 255, 255, 0.86); font-size: 1.0625rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-wrap: pretty; }
.sf-hero2__actions { display: flex; flex-wrap: wrap; gap: var(--eo-space-md); margin-top: var(--eo-space-sm); }
.sf-hero2__actions .eo-btn { min-height: 52px; padding-inline: var(--eo-space-xl); font-weight: var(--eo-fw-semibold); }
.sf-body .sf-hero2__go { color: var(--eo-text); background: #FFFFFF; border-color: #FFFFFF; }
.sf-body .sf-hero2__go:hover { color: var(--eo-text); background: #F1F3F2; border-color: #F1F3F2; }
.sf-body .sf-hero2__wa { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.sf-body .sf-hero2__wa:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.16); border-color: #FFFFFF; }
.sf-hero2__wa .svg-icon { color: #25D366; }
/* no banner: up to three product photos, a tall one and two beside it, each opening its product */
.sf-hero2__shots { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--eo-space-base); aspect-ratio: 5 / 4; }
.sf-hero2__shots:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
.sf-hero2__shot { display: block; overflow: hidden; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: calc(var(--sf-radius) + 4px); }
.sf-hero2__shot:first-child,
.sf-hero2__shot:nth-child(2):last-child { grid-row: 1 / -1; }
.sf-hero2__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 0.4s ease-in-out; }
.sf-hero2__shot:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6); }
@media (hover: hover) {
    .sf-hero2__shot:hover img { transform: scale(1.1); }
}
/* the arrows and dots of the banners, above the promise strip that overlaps the band's foot */
.sf-hero2 .sf-banner__nav { z-index: 2; }
.sf-hero2 .sf-banner__dots { bottom: 60px; z-index: 2; }
.sf-look-v2 .sf-perks { margin-top: -48px; }

/* every home part: its name, a "see all" link at the end in the shop colour, then the cards */
.sf-look-v2 .sf-home-part > .sf-section { padding-block: var(--sf-section) 0; }
.sf-look-v2 .sf-section__head { margin-bottom: var(--eo-space-base); }
.sf-look-v2 .sf-section__title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.sf-look-v2 .sf-section__link { color: var(--eo-brand); font-weight: var(--eo-fw-semibold); }
.sf-look-v2 .sf-section__link:hover { color: var(--eo-brand-strong); }

/* category tiles: the photo in a soft frame, the name under it; the frame takes the shop colour's edge on hover */
.sf-look-v2 .sf-tiles { gap: var(--eo-space-base); }
.sf-look-v2 .sf-tile__img { background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); transition: border-color 0.3s ease; }
.sf-look-v2 .sf-tile:hover .sf-tile__img { border-color: var(--eo-brand); }
.sf-look-v2 .sf-tile__img img { transition: transform 0.4s ease-in-out; }
.sf-look-v2 .sf-tile:hover .sf-tile__img img { transform: scale(1.1); }
.sf-look-v2 .sf-tile__name { font-size: var(--eo-fs-md); }

/* one row of cards: five on a wide screen, and a narrower screen drops the last ones instead of leaving one alone */
@media (min-width: 1024px) and (max-width: 1199.98px) {
    .sf-look-v2 .sf-row-grid > :nth-child(n + 5) { display: none; }
}

/* the card: a white box with a fine border; the photo sits in its own rounded frame and grows a little on hover, the
   saving in a red label on it, the price in the shop colour and an order button that fills in on hover */
.sf-look-v2 .sf-card { overflow: hidden; padding: 8px; background: var(--eo-surface); border: 1px solid var(--eo-border); border-radius: var(--sf-radius); transition: border-color 0.3s ease; }
.sf-look-v2 .sf-card__img { overflow: hidden; border-radius: calc(var(--sf-radius) - 4px); }
.sf-look-v2 .sf-card__img img { transform: scale(1); transition: transform 0.4s ease-in-out, opacity var(--eo-dur-slow) var(--eo-ease); }
.sf-look-v2 .sf-card__body { gap: 4px; padding: 10px 4px 4px; }
.sf-look-v2 .sf-card__name { min-height: 2.8em; color: var(--eo-text); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-medium); }
.sf-look-v2 .sf-card__body > .sf-price { margin-bottom: 10px; }
.sf-look-v2 .sf-card__body > .sf-price .sf-price__now { color: var(--eo-brand); font-size: var(--eo-fs-lg); }
.sf-look-v2 .sf-card__body > .sf-price .sf-price__was { font-size: var(--eo-fs-sm); }
.sf-look-v2 .sf-card__save { display: none; }
.sf-look-v2 .sf-card__off { position: absolute; top: 8px; left: 8px; z-index: 2; display: block; padding: 2px 8px; color: #FFFFFF; font-size: var(--eo-fs-xs); font-weight: var(--eo-fw-semibold); line-height: 1.5; background: #E11D48; border-radius: var(--sf-radius-label); }
.sf-look-v2 .sf-card__badge { top: 8px; left: 8px; }
.sf-look-v2 .sf-card__cta { display: flex; align-items: center; justify-content: center; gap: var(--eo-space-xs); min-height: 38px; margin-top: auto; padding: 0 var(--eo-space-sm); color: var(--eo-brand); font-size: var(--eo-fs-md); font-weight: var(--eo-fw-semibold); 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-v2 .sf-card__cta .svg-icon { width: 14px; height: 14px; }
.sf-look-v2 .sf-card:focus-visible { box-shadow: var(--eo-focus); }
.sf-look-v2 .sf-card:focus-visible .sf-card__img { box-shadow: none; }
@media (hover: hover) {
    .sf-look-v2 .sf-card:hover { border-color: var(--eo-brand); }
    .sf-look-v2 .sf-card:hover .sf-card__img img { transform: scale(1.2); }
    .sf-look-v2 .sf-card:hover .sf-card__cta { color: var(--eo-on-brand); background: var(--eo-brand); border-color: var(--eo-brand); }
}

/* ask on WhatsApp: one band in the shop colour, the button at its end; the reasons already stand under the opening part */
.sf-look-v2 .sf-help { display: block; margin-block: 48px; border: 0; }
.sf-look-v2 .sf-help:not(:has(.sf-help__ask)),
.sf-look-v2 .sf-help__why { display: none; }
.sf-look-v2 .sf-help__ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 24px 32px; }
.sf-look-v2 .sf-help__icon { grid-row: 1 / span 2; margin: 0; }
.sf-look-v2 .sf-help__heading { grid-column: 2; font-size: var(--eo-fs-xl); }
.sf-look-v2 .sf-help__text { grid-column: 2; max-width: 44rem; }
.sf-look-v2 .sf-body .sf-help__btn { grid-row: 1 / span 2; grid-column: 3; margin: 0; }
.sf-look-v2 .sf-help__btn .svg-icon { color: #25D366; }

/* the category and search pages: the title with how many, the sort, the categories as chips, then the cards */
.sf-look-v2 .sf-listing__head { padding-bottom: var(--eo-space-base); border-bottom: 1px solid var(--eo-border); }
.sf-look-v2 .sf-chips { margin-block: var(--eo-space-base); }
.sf-look-v2 .sf-chip { border-radius: var(--eo-radius-pill); }

/* the product page's "more products" and its crumbs keep the base look; its card grid follows the cards above */
.sf-look-v2 .sf-more__grid { --sf-gap: 16px; grid-template-columns: repeat(var(--sf-cols), minmax(0, 1fr)); }

@media (prefers-reduced-motion: reduce) {
    .sf-look-v2 .sf-card__img img,
    .sf-look-v2 .sf-tile__img img { transition: none; }
}

@media (max-width: 1023.98px) {
    .sf-look-v2 .sf-header__row { gap: var(--eo-space-md); }
    .sf-look-v2 .sf-header__link:not(.sf-header__link--call) span { display: none; }
    .sf-look-v2 .sf-header__link:not(.sf-header__link--call) { justify-content: center; width: 40px; padding: 0; }
}

@media (max-width: 767.98px) {
    .sf-look-v2 .sf-body { --sf-section: 28px; --sf-gap: 12px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    /* phone header: menu, logo and the icons on one line, the search on its own line under them */
    .sf-look-v2 .sf-header__row { flex-wrap: wrap; gap: var(--eo-space-xs); min-height: 0; padding-block: var(--eo-space-sm); }
    .sf-look-v2 .sf-brand { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: 1.125rem; white-space: nowrap; text-overflow: ellipsis; }
    .sf-look-v2 .sf-body .sf-search { order: 5; flex: 1 1 100%; max-width: none; margin: 0; }
    .sf-look-v2 .sf-search .eo-control { height: 44px; }
    .sf-look-v2 .sf-header__nav { gap: 0; }
    .sf-look-v2 .sf-header__link span { display: none; }
    .sf-look-v2 .sf-header__link { justify-content: center; width: 40px; padding: 0; }
    .sf-look-v2 .sf-header__link--call { margin-left: 0; }
    /* the parcel and the buyer's orders are in the bottom bar, and the product page's order button needs the room */
    .sf-look-v2 .sf-header__nav > a:nth-child(1),
    .sf-look-v2 .sf-header__nav > a:nth-child(2),
    .sf-look-v2 .sf-header__row:has(.sf-header__order) .sf-header__link--call { display: none; }
    /* the bottom bar: home, the offers (or categories), where the parcel is and my orders; the offers in the discount red */
    .sf-look-v2 .sf-tabbar a.sf-tabbar__offer { color: #E11D48; font-weight: var(--eo-fw-semibold); }
    .sf-look-v2 .sf-tabbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-look-v2 .sf-tabbar .svg-icon { width: 20px; height: 20px; }
    .sf-look-v2 .sf-chat { bottom: calc(72px + env(safe-area-inset-bottom)); }
    /* the banner: the words over the photo, darkened from the bottom; the product photos give way to them */
    .sf-hero2--photo::before { background: linear-gradient(0deg, rgba(6, 10, 9, 0.85) 0%, rgba(6, 10, 9, 0.55) 55%, rgba(6, 10, 9, 0.2) 100%); }
    .sf-hero2__inner { grid-template-columns: minmax(0, 1fr); min-height: 420px; gap: 24px; padding-block: 36px 84px; }
    .sf-hero2--photo .sf-hero2__inner { align-items: end; }
    .sf-hero2__lead { font-size: var(--eo-fs-base); }
    .sf-hero2__actions { width: 100%; }
    .sf-hero2__actions .eo-btn { flex: 1 1 100%; min-height: 48px; }
    .sf-hero2__shots { display: none; }
    .sf-hero2:not(.sf-hero2--photo) .sf-hero2__inner { min-height: 0; }
    .sf-hero2 .sf-banner__dots { bottom: 56px; }
    .sf-look-v2 .sf-tiles { gap: var(--eo-space-md); }
    .sf-look-v2 .sf-row-grid > :nth-child(n + 5) { display: none; }
    .sf-look-v2 .sf-card { padding: 6px; }
    .sf-look-v2 .sf-card__body { padding: 8px 2px 2px; }
    .sf-look-v2 .sf-card__body > .sf-price .sf-price__now { font-size: var(--eo-fs-base); }
    .sf-look-v2 .sf-card__cta { min-height: 36px; font-size: var(--eo-fs-sm); }
    .sf-look-v2 .sf-card__off { top: 6px; left: 6px; }
    .sf-look-v2 .sf-help { margin-block: 32px; }
    .sf-look-v2 .sf-help__ask { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 20px 16px; }
    .sf-look-v2 .sf-help__text,
    .sf-look-v2 .sf-body .sf-help__btn { grid-row: auto; grid-column: 1 / -1; }
    .sf-look-v2 .sf-body .sf-help__btn { width: 100%; margin-top: var(--eo-space-sm); }
    /* the categories on the list pages scroll sideways in one line */
    .sf-look-v2 .sf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .sf-look-v2 .sf-chips::-webkit-scrollbar { display: none; }
    .sf-look-v2 .sf-chip { flex: 0 0 auto; }
}

/* ============================================================
   v1 and v2: section heads. The name in bold with one short muted line under it, a fine line under the whole head
   with a short bar of the shop colour under the name, and "see all" as a small bordered button on the right; the
   product page's "more products" head is drawn the same way. Kept last so it wins over each look's earlier head rules.
   ============================================================ */
:is(.sf-look-v1, .sf-look-v2) .sf-section__head,
:is(.sf-look-v1, .sf-look-v2) .sf-more__head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--eo-space-base); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--eo-border); }
:is(.sf-look-v1, .sf-look-v2) .sf-section__heading,
:is(.sf-look-v1, .sf-look-v2) .sf-more__heading { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
:is(.sf-look-v1, .sf-look-v2) .sf-section__heading::after,
:is(.sf-look-v1, .sf-look-v2) .sf-more__heading::after { content: ""; position: absolute; bottom: -13px; left: 0; width: 56px; height: 3px; background: var(--eo-brand); border-radius: 2px; }
:is(.sf-look-v1, .sf-look-v2) .sf-section__title,
:is(.sf-look-v1, .sf-look-v2) .sf-more__title { margin: 0; padding: 0; color: var(--eo-text); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: var(--eo-fw-bold); line-height: 1.3; letter-spacing: -0.01em; }
:is(.sf-look-v1, .sf-look-v2) .sf-section__title::before,
:is(.sf-look-v1, .sf-look-v2) .sf-more__title::before { content: none; }
:is(.sf-look-v1, .sf-look-v2) .sf-more .sf-eyebrow { display: none; }
.sf-section__sub { margin: 0; color: var(--eo-text-muted); font-size: var(--eo-fs-sm); line-height: 1.5; }
:is(.sf-look-v1, .sf-look-v2) .sf-section__link,
:is(.sf-look-v1, .sf-look-v2) .sf-more__all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--eo-space-md); color: var(--eo-text); font-size: var(--eo-fs-sm); font-weight: var(--eo-fw-semibold); text-decoration: none; background: var(--eo-surface); border: 1px solid var(--eo-border-strong); border-radius: var(--sf-radius-btn); transition: color var(--eo-dur) var(--eo-ease), border-color var(--eo-dur) var(--eo-ease); }
:is(.sf-look-v1, .sf-look-v2) .sf-section__link:hover,
:is(.sf-look-v1, .sf-look-v2) .sf-more__all:hover { color: var(--eo-brand); border-color: var(--eo-brand); }
:is(.sf-look-v1, .sf-look-v2) .sf-section__link .svg-icon,
:is(.sf-look-v1, .sf-look-v2) .sf-more__all .svg-icon { width: 14px; height: 14px; transform: none; }
:is(.sf-look-v1, .sf-look-v2) .sf-section__count { flex: 0 0 auto; margin-left: auto; }

@media (max-width: 767.98px) {
    :is(.sf-look-v1, .sf-look-v2) .sf-section__head,
    :is(.sf-look-v1, .sf-look-v2) .sf-more__head { gap: var(--eo-space-sm); margin-bottom: 14px; padding-bottom: 10px; }
    :is(.sf-look-v1, .sf-look-v2) .sf-section__heading::after,
    :is(.sf-look-v1, .sf-look-v2) .sf-more__heading::after { bottom: -11px; width: 40px; }
    :is(.sf-look-v1, .sf-look-v2) .sf-section__title,
    :is(.sf-look-v1, .sf-look-v2) .sf-more__title { font-size: 1.1875rem; }
    .sf-section__sub { font-size: var(--eo-fs-xs); }
    /* on a phone "see all" keeps its arrow and words but is smaller */
    :is(.sf-look-v1, .sf-look-v2) .sf-section__link,
    :is(.sf-look-v1, .sf-look-v2) .sf-more__all { min-height: 32px; padding: 0 var(--eo-space-sm); font-size: var(--eo-fs-xs); }
}

/* ============================================================
   tablets (768-1199px), every look: the footer's first column (name, words, contact card) needs a whole line, the
   other columns share the line under it; v2's header gives its search a line of its own below 1024px, and the call
   button keeps only its icon below 1200px so the search keeps its width
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .sf-footer__grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); grid-auto-flow: row; gap: var(--eo-space-xl) var(--eo-space-lg); }
    .sf-footer__about { grid-column: 1 / -1; }
    .sf-footer__about .sf-footer__text { max-width: 60ch; }

    .sf-look-v2 .sf-header__row { flex-wrap: wrap; row-gap: var(--eo-space-sm); min-height: 0; padding-block: var(--eo-space-sm); }
    .sf-look-v2 .sf-brand { flex: 1 1 auto; min-width: 0; }
    .sf-look-v2 .sf-body .sf-search { order: 5; flex: 1 1 100%; max-width: none; margin: 0; }
    .sf-look-v2 .sf-header__link--call span { display: none; }
    .sf-look-v2 .sf-header__link--call { justify-content: center; width: 40px; padding: 0; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
    .sf-look-v2 .sf-header__link--call span { display: none; }
    .sf-look-v2 .sf-header__link--call { justify-content: center; width: 40px; padding: 0; }
}

/* phones, v1 and v2: a long shop name gives way (cut with "…") so the icons and the order button stay on the logo's line */
@media (max-width: 1023.98px) {
    :is(.sf-look-v1, .sf-look-v2) .sf-brand { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    :is(.sf-look-v1, .sf-look-v2) .sf-brand__name { overflow: hidden; text-overflow: ellipsis; }
    :is(.sf-look-v1, .sf-look-v2) .sf-header__nav,
    :is(.sf-look-v1, .sf-look-v2) .sf-header__order { flex: 0 0 auto; }
}
@media (max-width: 767.98px) {
    :is(.sf-look-v1, .sf-look-v2) .sf-body .sf-header__order { padding: 0 var(--eo-space-md); font-size: var(--eo-fs-sm); }
}

/* phones, v2: one line. The logo on the left, the search in the middle, the menu on the right; the number to call
   waits in the footer and the floating chat button. The search box keeps its magnifier only (the phone's keyboard has
   its own search key). On the product page the order button takes the search's place */
@media (max-width: 767.98px) {
    .sf-look-v2 .sf-header__row { display: grid; grid-template-columns: auto minmax(0, 1fr) 40px; align-items: center; gap: 10px; min-height: 60px; padding-block: 10px; }
    .sf-look-v2 .sf-brand { grid-row: 1; grid-column: 1; max-width: 38vw; }
    .sf-look-v2 .sf-brand__logo { max-height: 36px; max-width: 38vw; }
    .sf-look-v2 .sf-body .sf-search { grid-row: 1; grid-column: 2; max-width: none; margin: 0; }
    /* the menu button matches the search box beside it: the same height, the same soft grey, a full-size icon */
    .sf-look-v2 .sf-body .sf-menu-btn { grid-row: 1; grid-column: 3; width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0; color: var(--eo-text); background: var(--sf-tint); border: 0; border-radius: var(--sf-radius-btn); }
    .sf-look-v2 .sf-body .sf-menu-btn:hover { color: var(--eo-brand); background: var(--sf-brand-soft); }
    .sf-look-v2 .sf-menu-btn .svg-icon { width: 22px; height: 22px; }
    .sf-look-v2 .sf-header__nav { display: none; }
    .sf-look-v2 .sf-search .eo-control { height: 40px; padding-right: var(--eo-space-sm); border-color: transparent; }
    .sf-look-v2 .sf-body .sf-search .eo-control { padding-right: var(--eo-space-sm); }
    .sf-look-v2 .sf-body .sf-search__go { display: none; }
    .sf-look-v2 .sf-header__row:has(.sf-header__order) { grid-template-columns: auto minmax(0, 1fr) auto 40px; }
    .sf-look-v2 .sf-header__row:has(.sf-header__order) .sf-search { display: none; }
    .sf-look-v2 .sf-header__row:has(.sf-header__order) .sf-header__order { grid-row: 1; grid-column: 3; }
    .sf-look-v2 .sf-header__row:has(.sf-header__order) .sf-menu-btn { grid-column: 4; }
}
}
