/* Prospekt Parts — public storefront and unified search. */
.storefront {
    --sf-ink: #172438;
    --sf-muted: #6e7c90;
    --sf-blue: #2463eb;
    --sf-line: #e2e8f0;
    --sf-navy: #10233e;
    background: #f5f7fb;
    color: var(--sf-ink);
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
}
.storefront .container { width: min(1320px, calc(100% - 64px)); }
.storefront .site-main { background: #f5f7fb; }
.storefront .header { background: #fff; border-bottom: 1px solid var(--sf-line); }
.storefront .header-row { min-height: 88px; }
.storefront .logo-symbol { background: var(--sf-blue); border-radius: 10px; }
.storefront .nav { border-top: 1px solid #f0f3f7; background: #fff; }
.storefront .nav a { font-weight: 600; color: #536178; }
.storefront .nav a:hover { color: var(--sf-blue); }
.storefront .btn { border-radius: 9px; background: var(--sf-blue); font-weight: 650; gap: 10px; }
.storefront .btn.secondary { background: #fff; border-color: var(--sf-line); color: var(--sf-ink); }
.storefront .btn:hover { filter: brightness(.96); }
.storefront :focus-visible { outline: 3px solid #8bb2ff; outline-offset: 3px; }
.sf-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 750; letter-spacing: .13em; color: var(--sf-muted); }
.sf-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sf-blue); }
.sf-hero { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .85fr); gap: 54px; padding-block: 56px 48px; align-items: center; }
.sf-hero h1 { margin: 22px 0 20px; font-size: clamp(38px, 4.1vw, 61px); line-height: 1.08; letter-spacing: -.045em; font-weight: 760; }
.sf-hero h1 > span { color: var(--sf-blue); }
.sf-lead { color: var(--sf-muted); font-size: 15px; line-height: 1.8; max-width: 540px; margin-bottom: 26px; }
.sf-search-box { padding: 18px; border: 1px solid var(--sf-line); border-radius: 15px; background: #fff; box-shadow: 0 10px 32px #182b4810; }
.sf-search-caption { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 12px; }
.sf-search-caption > span { color: var(--sf-muted); font-size: 11px; }
.sf-main-search { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 6px 6px 14px; border: 1px solid #d7e0ec; border-radius: 10px; background: #fff; }
.sf-main-search:focus-within { border-color: #8fb1f6; box-shadow: 0 0 0 3px #2463eb0b; }
.sf-main-search > svg { flex: 0 0 20px; width: 20px; color: #8a99ad; }
.sf-main-search > input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; box-shadow: none; font-size: 14px; outline: none; }
.sf-main-search > button { min-height: 44px; flex-shrink: 0; padding-inline: 17px; font-size: 12px; }
.sf-examples { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; font-size: 10px; }
.sf-examples > span { color: var(--sf-muted); }
.sf-examples > a { color: var(--sf-blue); }
.sf-examples > a:last-child { margin-left: auto; }
.sf-hero-facts { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; margin-top: 25px; }
.sf-hero-facts > div { display: flex; flex-direction: column; gap: 6px; padding-right: 12px; border-right: 1px solid #dce4ee; }
.sf-hero-facts > div:last-child { border: 0; }
.sf-hero-facts strong { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.sf-hero-facts span { color: var(--sf-muted); font-size: 10px; line-height: 1.5; }
.sf-stock-panel { align-self: stretch; padding: 26px; background: var(--sf-navy); border-radius: 18px; color: #fff; display: flex; flex-direction: column; }
.sf-stock-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.sf-stock-panel .sf-eyebrow { color: #9eafc7; font-size: 9px; }
.sf-live { display: inline-flex; align-items: center; gap: 6px; color: #b4e5cd; font-size: 9px; white-space: nowrap; }
.sf-live > span { width: 5px; height: 5px; border-radius: 50%; background: #68d29f; }
.sf-stock-panel h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; margin: 22px 0 10px; }
.sf-stock-panel > p { color: #a5b4ca; font-size: 11px; line-height: 1.7; margin-bottom: 22px; }
.sf-featured { display: grid; gap: 9px; margin-top: auto; }
.sf-featured-item { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid #ffffff15; background: #ffffff07; border-radius: 10px; color: #fff; min-width: 0; }
.sf-featured-item:hover { background: #ffffff0e; }
.sf-featured-image { width: 57px; height: 57px; flex: 0 0 57px; padding: 5px; background: #fff; border-radius: 8px; }
.sf-featured-image img { width: 100%; height: 100%; object-fit: contain; }
.sf-featured-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-featured-info small { color: #9eb4d3; font-size: 8px; text-transform: uppercase; }
.sf-featured-info strong { font-size: 11px; }
.sf-featured-info > span { font-size: 9px; color: #b7c4d7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.sf-featured-price { margin-left: auto; white-space: nowrap; font-size: 11px; font-weight: 700; text-align: right; }
.sf-featured-price small { display: block; color: #9eb4d3; margin-top: 7px; font-size: 9px; font-weight: 400; }
.sf-stock-placeholder { display: flex; align-items: center; justify-content: center; gap: 24px; padding-block: 40px; color: #b4c5df; }
.sf-stock-placeholder svg { width: 90px; height: 90px; }
.sf-stock-placeholder strong { font-size: 14px; line-height: 1.7; }
.sf-stock-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff18; margin-top: 20px; padding-top: 18px; font-size: 11px; font-weight: 600; }
.sf-stock-link svg { width: 16px; }
.sf-brand-strip { background: #fff; border-block: 1px solid var(--sf-line); }
.sf-brand-strip > .container { display: flex; align-items: center; gap: 27px; min-height: 78px; }
.sf-brand-strip > .container > span { max-width: 90px; font-size: 9px; line-height: 1.7; color: #8995a7; letter-spacing: .1em; }
.sf-brand-strip > .container > div { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 18px; flex-wrap: wrap; }
.sf-brand-strip > .container > div a { font-size: 13px; font-weight: 750; color: #526178; letter-spacing: -.02em; }
.sf-brand-strip .sf-brand-all { color: var(--sf-blue); font-size: 10px; white-space: nowrap; }
.sf-section { padding-block: 46px; }
.sf-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sf-section-heading h2, .sf-how-intro h2 { font-size: 29px; letter-spacing: -.035em; line-height: 1.22; margin: 10px 0 0; }
.sf-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--sf-blue); }
.sf-text-link svg { width: 16px; }
.sf-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.sf-category { position: relative; min-height: 235px; padding: 24px; background: #fff; border: 1px solid var(--sf-line); border-radius: 13px; transition: transform .18s, border-color .18s; }
.sf-category:hover { border-color: #8eb1f3; transform: translateY(-3px); }
.sf-category-number { position: absolute; top: 23px; right: 22px; color: #a0adbd; font-size: 10px; }
.sf-category-icon { width: 45px; height: 45px; display: grid; place-items: center; background: #edf3ff; color: var(--sf-blue); border-radius: 11px; margin-bottom: 23px; }
.sf-category-icon svg { width: 25px; height: 25px; }
.sf-category h3 { font-size: 15px; letter-spacing: -.015em; margin-bottom: 10px; }
.sf-category p { max-width: 210px; color: var(--sf-muted); font-size: 11px; line-height: 1.75; margin: 0; }
.sf-category-arrow { display: flex; justify-content: end; color: #8296b4; margin-top: 16px; }
.sf-category-arrow svg { width: 17px; }
.sf-how-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; border-top: 1px solid var(--sf-line); }
.sf-how-intro > p { max-width: 440px; margin: 20px 0 24px; font-size: 13px; line-height: 1.85; color: var(--sf-muted); }
.sf-how-intro .btn { font-size: 12px; }
.sf-steps { display: grid; }
.sf-steps > div { display: flex; align-items: start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--sf-line); }
.sf-steps > div:first-child { padding-top: 0; }
.sf-steps > div:last-child { border-bottom: 0; }
.sf-steps > div > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #e8effa; color: #5277b0; font-size: 10px; font-weight: 700; }
.sf-steps h3 { font-size: 14px; margin-bottom: 8px; }
.sf-steps p { font-size: 12px; line-height: 1.8; color: var(--sf-muted); margin: 0; max-width: 390px; }
.sf-contact-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; background: #eaf0fc; border: 1px solid #d9e4f7; border-radius: 14px; }
.sf-contact-banner h2 { margin: 10px 0; font-size: 25px; letter-spacing: -.03em; }
.sf-contact-banner p { color: #6b7e9b; font-size: 12px; margin: 0; }
.sf-contact-banner > .btn { flex-shrink: 0; font-size: 12px; }
.sf-data-note { padding-block: 22px 36px; font-size: 10px; color: #8c99ab; }
/* Search: catalogue identity on the left, individual offers on the right. */
.sf-search-page { padding-block: 25px 55px; }
.sf-search-page .breadcrumbs { margin-bottom: 24px; font-size: 10px; }
.sf-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sf-search-heading h1 { margin: 9px 0; font-size: 34px; letter-spacing: -.04em; line-height: 1.2; }
.sf-search-heading p { font-size: 12px; color: var(--sf-muted); margin: 0; }
.sf-search-bar { padding: 7px 7px 7px 18px; box-shadow: 0 4px 16px #132e5910; }
.sf-search-bar > input { font-size: 15px; padding-block: 14px; }
.sf-search-bar > button { min-width: 120px; }
.sf-recent { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 14px 0 24px; }
.sf-recent > span { color: #92a0b2; font-size: 10px; margin-right: 5px; }
.sf-recent a { font-size: 10px; padding: 5px 9px; border-radius: 6px; background: #eaf0f9; color: #60738e; }
.sf-search-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 24px; margin-top: 8px; }
.sf-filter-panel { background: #fff; border: 1px solid var(--sf-line); border-radius: 12px; overflow: hidden; }
.sf-filter-panel > summary { display: flex; align-items: center; justify-content: space-between; padding: 19px; cursor: pointer; font-weight: 700; font-size: 13px; list-style: none; }
.sf-filter-panel > summary::-webkit-details-marker { display: none; }
.sf-filter-panel > summary > svg { width: 16px; color: #9cabc0; }
.sf-filter-panel > form { padding: 0 18px 18px; border-top: 1px solid #f1f4f8; }
.sf-filter-panel label:not(.check) { font-size: 10px; color: #67768e; margin-block: 17px; }
.sf-filter-panel select { padding: 10px; min-width: 0; font-size: 11px; border-radius: 7px; border-color: var(--sf-line); margin-top: 7px; background: #fff; color: var(--sf-ink); }
.sf-filter-panel .sf-stock-check { font-size: 11px; color: #52627b; padding-block: 8px 15px; }
.sf-filter-panel .btn { font-size: 10px; padding-inline: 9px; min-height: 38px; }
.sf-reset { display: block; text-align: center; margin-top: 12px; font-size: 10px; color: #92a0b2; }
.sf-filter-note { padding: 22px 10px; }
.sf-filter-note strong { font-size: 11px; color: #62728b; }
.sf-filter-note p { color: #94a0b1; font-size: 10px; line-height: 1.8; margin-top: 10px; }
.sf-filter-note a { font-size: 10px; color: var(--sf-blue); }
.sf-search-content { min-width: 0; }
.sf-result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 42px; margin-bottom: 13px; }
.sf-result-toolbar > div:first-child { font-size: 11px; color: #6b7c94; }
.sf-result-toolbar > div:first-child strong { color: var(--sf-ink); font-size: 15px; }
.sf-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.sf-toolbar-actions form { display: flex; gap: 4px; align-items: center; }
.sf-toolbar-actions select { width: 145px; font-size: 10px; padding: 8px; border-color: var(--sf-line); background: #fff; border-radius: 7px; }
.sf-sort-submit { font-size: 9px; color: var(--sf-blue); padding: 6px; background: none; border: 0; cursor: pointer; }
.storefront .view-switch { border: 1px solid var(--sf-line); background: #edf1f7; border-radius: 7px; padding: 3px; }
.storefront .view-switch button { font-size: 9px; padding: 7px 9px; border-radius: 5px; }
.storefront .view-switch button.active { background: #fff; color: var(--sf-blue); box-shadow: 0 1px 4px #10233e10; }
.sf-active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-active-filters:not(:empty) { padding-bottom: 12px; }
.sf-active-filters > span { background: #e6eefc; color: #4471b9; border-radius: 5px; font-size: 10px; padding: 5px 8px; }
.sf-results { display: grid; gap: 14px; }
.sf-product.product-card { display: grid; grid-template-columns: minmax(200px,.9fr) minmax(0,2fr); padding: 0; margin: 0; border: 1px solid var(--sf-line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 7px #18335803; }
.sf-identity.product-identity { display: flex; align-items: start; gap: 14px; padding: 23px 18px; border: 0; border-right: 1px solid #edf1f7; min-width: 0; }
.sf-product .product-image { flex: 0 0 68px; width: 68px; height: 75px; background: #fff; border: 1px solid #f0f3f7; border-radius: 8px; padding: 5px; }
.sf-product .product-image img { object-fit: contain; width: 100%; height: 100%; }
.sf-product .product-image > svg { color: #b2c1d5; width: 35px; height: 35px; }
.sf-product .product-info { min-width: 0; }
.sf-product .product-brand { color: #5e7fac; font-size: 8px; font-weight: 750; letter-spacing: .09em; }
.sf-product .product-info h2 { font-size: 16px; margin: 7px 0; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sf-product .product-info p { font-size: 10px; color: #6d7e96; line-height: 1.65; margin: 0; }
.sf-product .product-info > small { font-size: 8px; color: #9b7a40; display: block; margin-top: 6px; }
.sf-product .match-label { margin-top: 12px; font-size: 8px; padding: 4px 6px; border-radius: 4px; }
.sf-offer-count { display: block; color: #9aa8bb; margin-top: 10px; font-size: 9px; }
.sf-offer-list { min-width: 0; padding: 0 16px; }
.sf-offer-list .offer-head, .sf-offer-list .offer-row { display: grid; grid-template-columns: minmax(90px,1.1fr) 48px 75px minmax(80px,1fr) 90px; gap: 9px; align-items: center; }
.sf-offer-list .offer-head { min-height: 38px; border-bottom: 1px solid #edf1f7; color: #98a5b7; font-size: 9px; }
.sf-offer-list .offer-row { padding: 16px 0; border: 0; border-bottom: 1px solid #edf1f7; min-height: 76px; }
.sf-offer-list .offer-row:last-child { border-bottom: 0; }
.sf-offer-list .warehouse { font-size: 10px; gap: 6px; }
.sf-offer-list .warehouse small { font-size: 8px; line-height: 1.6; margin-top: 4px; color: #9ba7b8; }
.sf-offer-list .offer-qty { font-size: 12px; font-weight: 650; }
.sf-offer-list .offer-qty small { font-size: 8px; }
.sf-offer-list .offer-delivery { font-size: 10px; color: #697b93; }
.sf-offer-list .offer-price { font-size: 12px; text-align: right; white-space: normal; }
.sf-offer-list .offer-buy { gap: 5px; }
.sf-offer-list .offer-buy input { width: 39px; padding: 7px 3px; height: 31px; border-radius: 5px; font-size: 10px; }
.sf-offer-list .offer-buy button { width: 32px; min-height: 31px; padding: 5px; border-radius: 5px; }
.sf-offer-list .offer-buy button svg { width: 15px; height: 15px; }
.sf-offer-list .muted.fine { font-size: 8px; line-height: 1.6; text-align: right; }
.sf-more-offers { border-top: 1px solid #edf1f7; }
.sf-more-offers > summary { display: flex; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; color: #607fa8; padding: 12px 0; font-size: 9px; }
.sf-more-offers > summary::-webkit-details-marker { display: none; }
.sf-more-offers[open] > summary { border-bottom: 1px solid #edf1f7; }
.sf-results.tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sf-results.tiles .sf-product { grid-template-columns: 1fr; }
.sf-results.tiles .sf-identity { border-right: 0; border-bottom: 1px solid #edf1f7; }
.sf-results.tiles .sf-offer-list .offer-head, .sf-results.tiles .sf-offer-list .offer-row { grid-template-columns: minmax(70px,1fr) 38px 58px minmax(68px,1fr) 80px; gap: 6px; }
.sf-results.tiles .sf-offer-list { padding-inline: 12px; }
.sf-results.tiles .sf-offer-list .offer-price { font-size: 10px; }
.sf-results.tiles .sf-offer-list .offer-buy input { width: 33px; }
.sf-results.tiles .sf-offer-list .warehouse small { display: none; }
.sf-analogs { padding-top: 38px; }
.sf-analogs .sf-section-heading h2 { font-size: 25px; }
.sf-analogs .sf-section-heading p { color: #8897aa; font-size: 11px; margin-top: 9px; }
.sf-analog { display: grid; grid-template-columns: minmax(0,1fr) 100px 120px 20px; align-items: center; gap: 15px; border: 1px solid var(--sf-line); background: #fff; border-radius: 8px; padding: 17px 20px; margin-bottom: 8px; font-size: 11px; }
.sf-analog > div { min-width: 0; }
.sf-analog > div > span { display: block; color: #8997a9; font-size: 10px; margin-top: 6px; }
.sf-analog > svg { width: 16px; color: #869bb9; }
.sf-empty.empty-state { margin: 0; border: 1px solid var(--sf-line); border-radius: 12px; padding: 60px 25px; }
.storefront .footer { margin-top: 0; }
.admin-main .sf-search-page { width: 100%; max-width: 100%; padding-inline: 0; }
@media (max-width: 1150px) {
    .sf-hero { gap: 28px; }
    .sf-stock-panel { padding: 22px; }
    .sf-featured-info > span { max-width: 120px; }
    .sf-search-layout { grid-template-columns: 190px minmax(0,1fr); gap: 16px; }
    .sf-product.product-card { grid-template-columns: 1fr; }
    .sf-identity.product-identity { border-right: 0; border-bottom: 1px solid #edf1f7; padding: 18px; }
    .sf-product .product-info h2 { font-size: 17px; }
    .sf-product .product-info p { max-width: 360px; }
    .sf-offer-count { display: inline-block; margin-left: 12px; }
    .sf-results.tiles { grid-template-columns: 1fr; }
    .sf-brand-strip > .container { gap: 18px; }
    .sf-brand-strip > .container > div a:nth-child(n+6) { display: none; }
}
@media (max-width: 800px) {
    .storefront .container { width: calc(100% - 36px); }
    .sf-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
    .sf-hero h1 { font-size: 47px; }
    .sf-lead { max-width: 590px; }
    .sf-stock-panel { padding: 23px; }
    .sf-stock-panel h2 br { display: none; }
    .sf-featured-info > span { max-width: 270px; }
    .sf-brand-strip > .container { min-height: 90px; padding-block: 18px; flex-wrap: wrap; gap: 14px; }
    .sf-brand-strip > .container > span { max-width: none; width: 100%; }
    .sf-brand-strip > .container > div { flex-wrap: wrap; justify-content: start; gap: 14px 24px; }
    .sf-brand-strip > .container > div a { font-size: 12px; }
    .sf-brand-strip > .container > div a:nth-child(n+6) { display: inline; }
    .sf-section { padding-block: 30px; }
    .sf-section-heading h2, .sf-how-intro h2 { font-size: 26px; }
    .sf-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sf-category { min-height: 210px; padding: 21px; }
    .sf-how-section { grid-template-columns: 1fr; gap: 28px; }
    .sf-contact-banner { padding: 26px; align-items: start; flex-direction: column; }
    .sf-search-page { padding-top: 18px; }
    .sf-search-heading .sf-text-link { display: none; }
    .sf-search-heading h1 { font-size: 29px; }
    .sf-search-layout { grid-template-columns: 1fr; }
    .sf-filter-side { min-width: 0; }
    .sf-filter-panel > form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
    .sf-filter-panel .sf-stock-check { align-self: end; }
    .sf-filter-note { display: none; }
    .sf-filter-panel > summary { padding: 16px; }
    .sf-result-toolbar { flex-wrap: wrap; }
    .sf-toolbar-actions { margin-left: auto; }
    .sf-search-bar > input { font-size: 13px; }
    .sf-search-bar > button { min-width: 90px; }
    .sf-results.tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sf-results.tiles .sf-offer-list .offer-head { display: none; }
    .sf-results.tiles .sf-offer-list .offer-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sf-results.tiles .offer-price { text-align: left; }
    .sf-results.tiles .offer-buy { grid-column: 2; }
    .sf-results.tiles .offer-delivery { grid-column: 1/-1; grid-row: 2; }
    .sf-results.tiles .offer-qty { text-align: right; }
}
@media (max-width: 480px) {
    .storefront .container { width: calc(100% - 28px); }
    .storefront .header-row { min-height: 75px; }
    .sf-hero h1 { font-size: 40px; margin-top: 18px; }
    .sf-hero .sf-eyebrow { font-size: 8px; letter-spacing: .08em; }
    .sf-lead { font-size: 13px; line-height: 1.85; }
    .sf-search-box { padding: 13px; }
    .sf-search-caption { font-size: 11px; }
    .sf-search-caption > span { font-size: 9px; }
    .sf-main-search { gap: 7px; padding-left: 10px; flex-wrap: wrap; }
    .sf-main-search > input { font-size: 12px; }
    .sf-hero .sf-main-search > button { width: 100%; }
    .sf-hero-facts { gap: 9px; grid-template-columns: 1fr 1fr; }
    .sf-hero-facts strong { font-size: 22px; }
    .sf-hero-facts > div:nth-child(2) { border: 0; }
    .sf-hero-facts > div:last-child { grid-column: 1/-1; padding-top: 5px; flex-direction: row; align-items: center; gap: 12px; }
    .sf-hero-facts > div:last-child strong { font-size: 13px; }
    .sf-stock-panel { padding: 21px; }
    .sf-stock-panel h2 { font-size: 24px; }
    .sf-featured-info > span { max-width: 120px; }
    .sf-featured-image { width: 46px; height: 46px; flex-basis: 46px; }
    .sf-featured-price { font-size: 10px; }
    .sf-stock-panel .sf-eyebrow { font-size: 8px; }
    .sf-category { padding: 18px; min-height: 215px; }
    .sf-category h3 { font-size: 13px; }
    .sf-category p { font-size: 10px; }
    .sf-category-number { top: 20px; right: 17px; }
    .sf-category-icon { margin-bottom: 18px; }
    .sf-section-heading { align-items: start; flex-direction: column; gap: 15px; }
    .sf-section-heading h2, .sf-how-intro h2 { font-size: 25px; }
    .sf-search-bar { flex-wrap: nowrap; gap: 7px; padding-left: 11px; }
    .sf-search-bar > input { font-size: 11px; }
    .sf-search-bar > button { min-width: 70px; padding-inline: 11px; font-size: 11px; }
    .sf-search-bar > button svg { display: none; }
    .sf-filter-panel > form { grid-template-columns: 1fr; }
    .sf-filter-panel label:not(.check) { margin-block: 11px; }
    .sf-toolbar-actions { width: 100%; margin: 0; justify-content: space-between; gap: 5px; }
    .sf-result-toolbar > div:first-child { font-size: 11px; }
    .sf-toolbar-actions select { width: 137px; }
    .sf-sort-submit { display: none; }
    .sf-offer-list { padding-inline: 12px; }
    .sf-offer-list .offer-head { display: none; }
    .sf-offer-list .offer-row { grid-template-columns: minmax(90px,1fr) 48px minmax(78px,1fr); gap: 9px; padding-block: 14px; }
    .sf-offer-list .warehouse { grid-column: 1; grid-row: 1; }
    .sf-offer-list .offer-qty { grid-column: 2; grid-row: 1; text-align: center; }
    .sf-offer-list .offer-price { grid-column: 3; grid-row: 1; font-size: 12px; text-align: right; }
    .sf-offer-list .offer-delivery { grid-column: 1/3; grid-row: 2; }
    .sf-offer-list .offer-buy, .sf-offer-list .muted.fine { grid-column: 3; grid-row: 2; }
    .sf-results.tiles { grid-template-columns: 1fr; }
    .sf-results.tiles .sf-offer-list .offer-row { grid-template-columns: minmax(90px,1fr) 48px minmax(78px,1fr); gap: 9px; }
    .sf-results.tiles .sf-offer-list .offer-qty { grid-column: 2; }
    .sf-results.tiles .sf-offer-list .offer-delivery { grid-column: 1/3; grid-row: 2; }
    .sf-results.tiles .sf-offer-list .offer-buy { grid-column: 3; }
    .sf-results.tiles .sf-offer-list .offer-price { font-size: 12px; }
    .sf-analog { grid-template-columns: minmax(0,1fr) auto; padding: 15px; gap: 10px; }
    .sf-analog > div { grid-column: 1/-1; }
    .sf-analog > svg { display: none; }
    .sf-contact-banner { padding: 23px; }
    .sf-contact-banner h2 { font-size: 23px; }
    .sf-contact-banner p { line-height: 1.8; }
    .sf-contact-banner > .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-category { transition: none; }
}
/* Override the base form control specificity for the two search fields. */
.storefront .sf-main-search input[type=search] { border: 0; border-radius: 0; background: transparent; padding: 10px 0; box-shadow: none; outline: none; }
.storefront .header-search input[type=search] { border: 0; border-radius: 0; background: transparent; box-shadow: none; }

/* Новая компоновка плитки товаров */
.storefront #catalogResults.tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.storefront #catalogResults.tiles .sf-product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 3px 12px #10233e05;
}

/* Фото, бренд, артикул и название */
.storefront #catalogResults.tiles .sf-identity {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid #edf1f7;
}

.storefront #catalogResults.tiles .product-image {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    padding: 7px;
    border-radius: 10px;
}

.storefront #catalogResults.tiles .product-info {
    flex: 1;
}

.storefront #catalogResults.tiles .product-brand {
    font-size: 9px;
}

.storefront #catalogResults.tiles .product-info h2 {
    margin: 7px 0;
    font-size: 18px;
    line-height: 1.3;
}

.storefront #catalogResults.tiles .product-info p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.55;
}

.storefront #catalogResults.tiles .sf-offer-count {
    display: block;
    margin: 9px 0 0;
    font-size: 10px;
}

/* Предложения складов */
.storefront #catalogResults.tiles .sf-offer-list {
    padding: 0 20px;
}

.storefront #catalogResults.tiles .offer-head {
    display: none;
}

.storefront #catalogResults.tiles .offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "warehouse quantity"
        "delivery price"
        "buy buy";
    align-items: center;
    gap: 10px 16px;
    min-height: 0;
    padding: 18px 0;
}

.storefront #catalogResults.tiles .warehouse {
    grid-area: warehouse;
    min-width: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.storefront #catalogResults.tiles .warehouse small {
    display: none;
}

.storefront #catalogResults.tiles .stock-dot {
    flex-shrink: 0;
}

.storefront #catalogResults.tiles .offer-qty {
    grid-area: quantity;
    justify-self: end;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f1f5fb;
    font-size: 12px;
    white-space: nowrap;
}

.storefront #catalogResults.tiles .offer-qty small {
    font-size: 10px;
}

.storefront #catalogResults.tiles .offer-delivery {
    grid-area: delivery;
    font-size: 11px;
    line-height: 1.5;
}

.storefront #catalogResults.tiles .offer-price {
    grid-area: price;
    justify-self: end;
    text-align: right;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -.025em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Количество и покупка */
.storefront #catalogResults.tiles .offer-buy {
    grid-area: buy;
    display: flex;
    width: 100%;
    gap: 8px;
    margin: 4px 0 0;
}

.storefront #catalogResults.tiles .offer-buy input[type=number] {
    box-sizing: border-box;
    flex: 0 0 64px;
    width: 64px !important;
    min-width: 64px;
    height: 40px;
    padding: 8px !important;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.storefront #catalogResults.tiles .offer-buy button {
    flex: 1;
    width: auto;
    min-height: 40px;
    padding: 9px 14px !important;
    gap: 9px;
    border-radius: 8px;
    font-size: 12px;
}

.storefront #catalogResults.tiles .offer-buy button::after {
    content: "В корзину";
}

.storefront #catalogResults.tiles .offer-buy button svg {
    width: 17px;
    height: 17px;
}

/* Товар недоступен для заказа */
.storefront #catalogResults.tiles .offer-row > .muted.fine {
    grid-area: buy;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #77859a;
    font-size: 11px;
    text-align: center;
}

.storefront #catalogResults.tiles .sf-more-offers > summary {
    padding: 15px 0;
    font-size: 11px;
    font-weight: 600;
}

/* Телефон */
@media (max-width: 740px) {
    .storefront #catalogResults.tiles {
        grid-template-columns: 1fr;
    }

    .storefront #catalogResults.tiles .sf-identity {
        padding: 18px;
    }

    .storefront #catalogResults.tiles .sf-offer-list {
        padding-inline: 18px;
    }
}
