.store-front {
    --sf-ink: var(--ink, #172b25);
    --sf-muted: var(--muted, #60716a);
    --sf-line: var(--line, #dce5e0);
    --sf-surface: #fff;
    --sf-soft: var(--brand-tint, #f3f7f5);
    --sf-accent: var(--primary-color);
    background: #fff;
    color: var(--sf-ink);
    min-height: 65vh;
    padding-bottom: 88px;
}
.store-front * { box-sizing: border-box; }
.sf-wrap { width: 100%; max-width: 1320px; margin: auto; padding: 0 32px; }
.sf-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-inline: calc(50% - 50vw);
    padding: 48px max(32px, calc((100vw - 1256px) / 2));
    overflow: hidden;
    color: #fff;
    background: var(--brand-deep, #153f34);
}
.sf-header::after { content: ''; position: absolute; inset-inline-end: -120px; inset-block-start: -190px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.sf-header-copy { position: relative; z-index: 1; width: min(100%, 720px); }
.sf-eyebrow { font-size: 13px; font-weight: 700; opacity: .8; margin-bottom: 10px; }
.sf-header h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; }
.sf-intro { max-width: 620px; margin-top: 12px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.78); }
.sf-header-art { position: relative; z-index: 1; display: grid; place-items: center; width: 190px; height: 150px; flex-shrink: 0; color: #fff; opacity: .85; }
.sf-header-art svg { width: 180px; height: 140px; }
.sf-hero-search { display: flex; align-items: center; width: min(100%, 650px); min-height: 56px; margin-top: 25px; padding: 5px 6px 5px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: #fff; color: var(--sf-ink); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
[dir="rtl"] .sf-hero-search { padding: 5px 16px 5px 6px; }
.sf-hero-search svg { width: 21px; height: 21px; flex: 0 0 auto; color: var(--sf-muted); }
.sf-hero-search input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--sf-ink); font-size: 14px; }
.sf-hero-search button { min-height: 44px; padding: 8px 22px; border-radius: 6px; background: var(--sf-accent); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sf-kinds { display: flex; gap: 6px; margin: 28px 0 18px; overflow-x: auto; scrollbar-width: thin; }
.sf-kinds a { min-height: 42px; display: grid; place-items: center; flex: 0 0 auto; padding: 8px 18px; border: 1px solid var(--sf-line); border-radius: 999px; color: var(--sf-ink); font-size: 14px; font-weight: 700; background: #fff; }
.sf-kinds a:hover { border-color: var(--sf-accent); color: var(--sf-accent); }
.sf-kinds a[aria-current="page"] { border-color: var(--sf-accent); background: var(--sf-accent); color: #fff; }
.sf-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-soft); }
.sf-field { grid-column: span 1; min-width: 0; }
.sf-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; color: var(--sf-muted); }
.sf-field input, .sf-field select { display: block; width: 100%; height: 44px; padding-inline: 12px; border: 1px solid #cedbd4; border-radius: 6px; outline: 0; background: #fff; color: var(--sf-ink); font-size: 13px; }
.sf-field input:hover, .sf-field select:hover { border-color: #96aaa0; }
.sf-field input:focus, .sf-field select:focus { border-color: var(--sf-accent); box-shadow: 0 0 0 3px var(--primary-color-opacity); }
.sf-actions { grid-column: span 2; display: flex; gap: 8px; }
.sf-actions > * { display: grid; place-items: center; min-height: 44px; padding: 8px 15px; border-radius: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.sf-apply { flex: 1; background: var(--sf-accent); color: #fff; }
.sf-reset { border: 1px solid #cedbd4; background: #fff; color: var(--sf-ink); }
.sf-apply:hover { filter: brightness(.91); }
.sf-reset:hover { border-color: var(--sf-accent); color: var(--sf-accent); }
.sf-results { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 36px 0 17px; }
.sf-results h2 { font-size: 23px; font-weight: 800; }
.sf-results p { color: var(--sf-muted); font-size: 13px; }
.sf-results strong { color: var(--sf-ink); }
.sf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.sf-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-surface); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sf-card:hover, .sf-card:focus-within { transform: translateY(-3px); border-color: #b5c9be; box-shadow: 0 12px 28px rgb(var(--brand-rgb, 20 60 48) / .12); }
.sf-image { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; background: var(--brand-soft, #e7f0eb); color: var(--sf-accent); }
.sf-image::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -45px 50px -48px rgba(0,0,0,.5); pointer-events: none; }
.sf-image-type { position: absolute; z-index: 2; inset-inline-start: 12px; inset-block-start: 12px; padding: 5px 9px; border-radius: 5px; background: rgba(255,255,255,.94); color: var(--sf-accent); font-size: 11px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sf-illustration { display: grid; place-items: center; width: 74px; height: 74px; opacity: .65; }
.sf-illustration svg { width: 100%; height: 100%; }
.sf-image img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sf-image img[hidden] { display: none; }
.sf-card:hover .sf-image img { transform: scale(1.035); }
.sf-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.sf-card h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.55; overflow-wrap: anywhere; }
.sf-card h3 a { color: inherit; text-decoration: none; }
.sf-provider { margin-top: 6px; color: var(--sf-muted); font-size: 11px; line-height: 1.6; }
.sf-description { display: -webkit-box; min-height: 3.2em; margin-top: 10px; overflow: hidden; color: var(--sf-muted); font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sf-card-bottom { margin-top: auto; padding-top: 16px; }
.sf-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 13px; border-top: 1px solid #edf1ef; }
.sf-price span { color: var(--sf-muted); font-size: 11px; font-weight: 500; }
.sf-price strong { color: var(--sf-accent); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sf-details { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; margin-top: 13px; padding: 8px 12px; border: 1px solid var(--sf-accent); border-radius: 6px; color: var(--sf-accent); font-size: 13px; font-weight: 800; text-decoration: none; }
.sf-details:hover { background: var(--sf-accent); color: #fff; }
.sf-details span { font-size: 17px; line-height: 1; }
.sf-empty { grid-column: 1/-1; padding: 52px 24px; border: 1px dashed #b9ccc1; border-radius: 8px; background: var(--sf-soft); color: var(--sf-muted); text-align: center; }
.sf-empty a { display: inline-block; margin-top: 14px; color: var(--sf-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sf-notice { margin: 22px 0; padding: 15px; border: 1px solid #e8c6c6; border-radius: 6px; background: #fff7f7; color: #9c2929; }
.sf-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; }
.sf-pagination a, .sf-pagination span { display: grid; place-items: center; min-height: 42px; padding: 8px 17px; border: 1px solid var(--sf-line); border-radius: 6px; color: var(--sf-ink); font-size: 13px; }
.sf-pagination a:hover { border-color: var(--sf-accent); color: var(--sf-accent); }
.store-front a:focus-visible, .store-front button:focus-visible { outline: 3px solid var(--sf-accent); outline-offset: 3px; }
@media (max-width: 1120px) {
    .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-field { grid-column: span 3; }
    .sf-actions { grid-column: span 6; }
}
@media (max-width: 820px) {
    .sf-wrap { padding: 0 22px; }
    .sf-header { padding: 38px 22px; }
    .sf-header-art { width: 130px; }
    .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .store-front { padding-bottom: 64px; }
    .sf-wrap { padding: 0 16px; }
    .sf-header { margin-inline: -16px; padding: 30px 16px 34px; }
    .sf-header-art { display: none; }
    .sf-intro { font-size: 15px; }
    .sf-hero-search { min-height: 52px; margin-top: 20px; }
    .sf-hero-search button { padding-inline: 15px; }
    .sf-kinds { margin-top: 20px; }
    .sf-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
    .sf-field { grid-column: span 1; }
    .sf-actions { grid-column: span 2; }
    .sf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .sf-card { display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); }
    .sf-image { height: 100%; min-height: 188px; aspect-ratio: auto; }
    .sf-description { display: none; }
    .sf-card-body { padding: 14px; }
    .sf-price { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (max-width: 420px) {
    .sf-card { display: flex; }
    .sf-image { min-height: 0; aspect-ratio: 16/8; }
    .sf-field { grid-column: span 2; }
    .sf-actions { flex-wrap: wrap; }
    .sf-actions > * { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-card, .sf-image img { transition: none; }
    .sf-card:hover, .sf-card:focus-within, .sf-card:hover .sf-image img { transform: none; }
}
