.storefront { --brand: #007bff; --ink: #0e2147; --muted: #526785; --line: #e1e9f3; }
.sf-header, .sf-footer, .sf-hero, .sf-categories, .sf-products { color: var(--ink); font: 15px/1.5 'Segoe UI', Arial, sans-serif; }
.sf-header *, .sf-footer *, .sf-hero *, .sf-categories *, .sf-products * { box-sizing: border-box; }
.sf-header a, .sf-footer a, .sf-hero a, .sf-categories a, .sf-products a { color: inherit; text-decoration: none; }
.sf-header a:hover, .sf-footer a:hover, .sf-hero a:hover, .sf-categories a:hover, .sf-products a:hover { color: var(--brand); }
.sf-header button, .sf-header input, .sf-products button, .sf-products input, .sf-products select { font: inherit; }
.sf-header button, .sf-header summary, .sf-products button { cursor: pointer; }
.sf-header :focus-visible, .sf-footer :focus-visible, .sf-hero :focus-visible, .sf-categories :focus-visible, .sf-products :focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.sf-header h1, .sf-header h2, .sf-header h3, .sf-header p, .sf-footer p, .sf-hero h1, .sf-hero h2, .sf-hero h3, .sf-hero p, .sf-categories h1, .sf-categories h2, .sf-categories h3, .sf-categories p, .sf-products h1, .sf-products h2, .sf-products h3, .sf-products p { margin-top: 0; }
.sf-wrap { width: min(1240px, calc(100% - 72px)); margin: auto; }
.sf-skip { position: absolute; left: 12px; top: -60px; background: white; z-index: 20; padding: 12px; }
.sf-skip:focus { top: 12px; }
.sf-header__main { display: flex; align-items: center; gap: 30px; min-height: 102px; padding-block: 20px; }
.sf-logo { display: inline-flex; flex-shrink: 0; align-items: center; max-width: 200px; color: var(--brand); font-size: 25px; line-height: 1.2; }
.sf-logo img { width: auto; max-width: 185px; max-height: 60px; object-fit: contain; }
.sf-search { display: flex; min-width: 0; }
.sf-header__main > .sf-search { flex: 1; margin-inline: 22px; }
.sf-search input { width: 100%; min-width: 0; background: #f4f7fc; border: 1px solid var(--line); border-radius: 6px 0 0 6px; padding: 11px 16px; color: var(--ink); }
.sf-search button { background: var(--brand); color: white; border: 1px solid var(--brand); border-radius: 0 5px 5px 0; padding: 10px 18px; }
.sf-help { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.sf-help i { font-size: 32px; color: #24a344; }
.sf-help small, .sf-help strong { display: block; }
.sf-account { position: relative; }
.sf-account summary { font-size: 23px; list-style: none; padding: 8px; }
.sf-account > div, .sf-all > div { position: absolute; z-index: 10; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 25px #19385a16; min-width: 210px; padding: 12px; }
.sf-account > div { right: 0; }
.sf-account a, .sf-all a { display: block; padding: 8px; }
.sf-cart { position: relative; font-size: 23px; }
.sf-cart > span { position: absolute; top: -10px; right: -12px; background: var(--brand); color: white; border-radius: 50%; min-width: 21px; text-align: center; font-size: 11px; padding: 2px; }
.sf-nav { border-top: 1px solid var(--line); background: #f8faff; }
.sf-nav__inner { display: flex; align-items: stretch; gap: 32px; }
.sf-nav__inner > a { padding: 17px 5px; font-size: 14px; border-bottom: 3px solid transparent; }
.sf-nav__inner > a[aria-current] { color: var(--brand); border-color: var(--brand); }
.sf-all { position: relative; margin-right: 20px; flex-shrink: 0; }
.sf-all summary { padding: 18px 8px; font-size: 14px; font-weight: 600; }
.sf-all summary i { margin-right: 7px; }
.sf-all > div { max-height: 350px; overflow: auto; }
.sf-hero { background: linear-gradient(105deg, #f0f7ff, #dcecff); position: relative; overflow: hidden; }
.sf-hero::after { content: ''; position: absolute; width: 330px; height: 500px; background: var(--brand); opacity: .12; transform: rotate(42deg); right: -180px; top: -180px; pointer-events: none; }
.sf-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-block: 44px; min-height: 405px; position: relative; z-index: 1; }
.sf-eyebrow { display: block; text-transform: uppercase; color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .06em; margin-bottom: 8px; }
.sf-hero h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 16px; overflow-wrap: anywhere; }
.sf-hero__copy > p { font-size: 19px; max-width: 510px; }
.sf-hero__image { width: 100%; max-height: 340px; object-fit: contain; }
.sf-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; background: var(--brand); color: white !important; border-radius: 5px; padding: 10px 24px; font-size: 14px; font-weight: 600; }
.sf-button:hover { filter: brightness(.92); }
.sf-button--disabled { background: #708097; }
.sf-hero__actions { display: flex; flex-direction: column; align-items: flex-start; }
.sf-benefits { width: 100%; padding: 22px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.sf-benefits li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sf-benefits i { color: var(--brand); font-size: 26px; }
.sf-benefits strong, .sf-benefits small { display: block; font-size: 12px; }
.sf-benefits small { color: var(--muted); }
.sf-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.sf-heading h2 { font-size: 24px; line-height: 1.2; margin: 0; }
.sf-heading h2 i { color: var(--brand); margin-right: 8px; }
.sf-heading > a { font-size: 14px; color: var(--brand); }
.sf-categories { padding-top: 34px; padding-bottom: 14px; }
.sf-categories__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sf-category { text-align: center; background: linear-gradient(135deg, #f9fbfd, #f0f5fb); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.sf-category img { width: 100%; height: 160px; object-fit: contain; padding: 10px; }
.sf-category > div { padding: 12px 18px 20px; }
.sf-category h3 { font-size: 18px; margin-bottom: 4px; }
.sf-category p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.sf-category__button { border: 1px solid #bfd5ef; border-radius: 30px; padding: 5px 18px; color: var(--brand); font-size: 13px; display: inline-block; }
.sf-categories--banners { padding-top: 40px; }
.sf-categories--banners .sf-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sf-categories--banners .sf-category { background: white; }
.sf-categories--banners .sf-category img { height: auto; aspect-ratio: 1; object-fit: contain; padding: 0; background: #f6f8fb; }
.sf-products { padding-top: 32px; padding-bottom: 65px; scroll-margin-top: 20px; }
.sf-products__heading p { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.sf-product-filters { display: flex; align-items: center; gap: 15px; font-size: 12px; }
.sf-product-filters .sf-search { max-width: 300px; }
.sf-product-filters label { white-space: nowrap; }
.sf-product-filters select { background: white; border: 1px solid var(--line); padding: 10px; color: var(--ink); border-radius: 5px; margin-left: 8px; }
.sf-sort-button { background: #f4f7fc; border: 1px solid var(--line); padding: 10px; border-radius: 5px; color: var(--brand); }
.sf-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sf-product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; text-align: center; padding: 14px 18px 18px; position: relative; min-width: 0; }
.sf-product__image { height: 175px; display: block; margin-bottom: 16px; }
.sf-product__image img { width: 100%; height: 100%; object-fit: contain; }
.sf-product h3 { font-size: 14px; line-height: 1.45; font-weight: 500; margin-bottom: 10px; }
.sf-product p { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.sf-price { display: flex; justify-content: center; align-items: center; gap: 7px; flex-wrap: wrap; padding-block: 8px 12px; margin-top: auto; }
.sf-price strong { font-size: 16px; }
.sf-price del { font-size: 12px; color: var(--muted); }
.sf-product > .sf-button { margin-top: auto; }
.sf-offer { position: absolute; top: 12px; left: 12px; background: #f33945; color: white; font-size: 12px; padding: 4px 13px; border-radius: 20px; }
.sf-empty { grid-column: 1 / -1; padding: 45px 15px; text-align: center; background: #f6f9fc; }
.sf-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 30px; }
.sf-pagination a { min-width: 34px; padding: 6px 10px; text-align: center; border: 1px solid var(--line); border-radius: 5px; }
.sf-pagination a[aria-current] { background: var(--brand); color: white; }
.sf-footer { background: #f9fbfe; border-top: 1px solid var(--line); padding-block: 32px 22px; font-size: 13px; }
.sf-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 10px; }
.sf-footer .sf-logo img { max-width: 150px; max-height: 48px; }
.sf-social, .sf-contact { display: flex; flex-wrap: wrap; gap: 24px; }
.sf-social a { background: #edf2f8; padding: 7px 11px; border-radius: 50%; }
@media (max-width: 1050px) { .sf-header__main { gap: 20px; } .sf-header__main > .sf-search { margin: 0; } .sf-help { display: none; } .sf-nav__inner { gap: 15px; } .sf-nav__inner > a:nth-of-type(n+5) { display: none; } .sf-product-filters { flex-wrap: wrap; justify-content: flex-end; } .sf-products__heading { align-items: flex-start; } .sf-product-grid, .sf-categories__grid { gap: 15px; } }
@media (max-width: 760px) { .sf-wrap { width: calc(100% - 32px); } .sf-header__main { flex-wrap: wrap; gap: 16px; } .sf-header__main > .sf-search { order: 5; flex-basis: 100%; } .sf-logo { margin-right: auto; } .sf-logo img { max-width: 155px; } .sf-cart { margin-right: 12px; } .sf-nav__inner > a:nth-of-type(n+3) { display: none; } .sf-all { margin-right: 0; } .sf-hero__inner { grid-template-columns: 1fr; padding-block: 30px; } .sf-hero__image { max-height: 250px; } .sf-hero__copy > p { font-size: 16px; } .sf-benefits { grid-template-columns: 1fr; } .sf-categories__grid, .sf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-categories--banners .sf-categories__grid { grid-template-columns: 1fr; } .sf-categories--banners .sf-category img { max-height: 400px; } .sf-products__heading { flex-direction: column; align-items: stretch; } .sf-product-filters { justify-content: flex-start; } .sf-product-filters .sf-search { max-width: none; flex: 1 1 100%; } .sf-product { padding: 10px; } .sf-product__image { height: 145px; } .sf-price strong { font-size: 14px; } .sf-heading h2 { font-size: 21px; } .sf-category img { height: 130px; } .sf-heading > a { font-size: 12px; } .sf-footer__row { flex-wrap: wrap; } }
@media (prefers-reduced-motion: no-preference) { .sf-product, .sf-category { transition: box-shadow .18s, transform .18s; } .sf-product:hover, .sf-category:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #1837530d; } }
