/* Shared by mall and products. Keep both copies byte-identical. */
.storefront {
    --bb-blue: #3568e8;
    --bb-blue-soft: #edf3ff;
    --bb-ink: #182238;
    --bb-text: #597393;
    --bb-muted: #78869d;
    --bb-line: #e6ebf2;
    --bb-canvas: #f6f8fb;
    --bb-surface: #fff;
    --bb-success: #16855e;
    --bb-red: #3568e8;
    --bb-red-deep: #245bdd;
    --bb-gold: #3568e8;
    --bb-yellow: #3568e8;
    --ink: #182238;
    --muted: #78869d;
    --line: #e6ebf2;
    --paper: #f6f8fb;
    --content-inset: clamp(24px, calc(50vw - 899px), 125px);
    margin: 0;
    min-width: 0;
    color: var(--bb-ink);
    background: var(--bb-canvas);
    font: 400 14px/1.6 Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.storefront *, .storefront *::before, .storefront *::after { box-sizing: border-box; letter-spacing: 0 !important; }
.storefront :is(h1,h2,h3,h4,button,input,select,textarea) { font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif !important; }
.storefront .skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px; background: #fff; transform: translateY(-150%); }
.storefront .skip-link:focus { transform: none; }
.storefront .operations-shell { display: grid; grid-template-columns: 294px minmax(0,1fr); min-height: 100vh; }
.storefront .operations-sidebar {
    display: block;
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: 294px;
    height: 100vh !important;
    min-height: 0;
    padding: 28px 18px;
    overflow-y: auto;
    border-right: 1px solid var(--bb-line);
    background: #fff;
    transform: none;
    box-shadow: none;
}
.storefront .operations-brand { display: flex; min-height: 86px; align-items: center; gap: 11px; padding: 0 6px 24px; border-bottom: 1px solid #9bb7f5; color: var(--bb-ink); font-size: 15px; }
.storefront .operations-brand-mark { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 8px; color: #fff; background: var(--bb-blue); box-shadow: none; font: 800 16px/1 Inter, "Microsoft YaHei", sans-serif; }
.storefront .operations-brand strong { display: block; color: var(--bb-ink); font: 700 21px/1.4 Georgia, "Times New Roman", serif; }
.storefront .operations-brand small { display: block; margin-top: 3px; color: var(--bb-muted); font-size: 10px; font-weight: 400; line-height: 1.6; }
.storefront .operations-nav { display: flex; flex-direction: column; gap: 7px; padding: 22px 0 0; }
.storefront .operations-project-selector { display: block; min-width: 0; margin: 0 0 4px; padding: 0 11px 16px; border-bottom: 1px solid var(--bb-line); }
.storefront .operations-project-selector label { display: none; }
.storefront .operations-project-selector select { display: block; width: 100%; min-width: 0; min-height: 40px; height: 40px; padding: 0 30px 0 11px; border: 1px solid #dce3ee; border-radius: 7px; color: var(--bb-blue); background: var(--bb-blue-soft); font: 600 12px/1.6 Inter, "Microsoft YaHei", sans-serif; }
.storefront .bb-product-select { position: relative; width: 100%; }
.storefront .bb-product-select-trigger { display: flex; width: 100%; height: 40px; align-items: center; justify-content: space-between; padding: 0 11px; border: 1px solid #dce3ee; border-radius: 7px; color: var(--bb-blue); background: var(--bb-blue-soft); font: 600 12px/1.6 Inter, "Microsoft YaHei", sans-serif; cursor: pointer; }
.storefront .bb-product-select-trigger i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.storefront .bb-product-select-menu { display: none; position: absolute; z-index: 80; top: calc(100% + 4px); left: 0; right: 0; overflow: hidden; border: 1px solid #b9c9e8; border-radius: 7px; background: #edf3ff; box-shadow: 0 10px 24px rgba(25,47,86,.14); }
.storefront .bb-product-select.is-open .bb-product-select-menu { display: block; }
.storefront .bb-product-select-option { display: block; width: 100%; min-height: 40px; padding: 0 11px; border: 0; color: var(--bb-blue); background: transparent; font: 600 12px/1.6 Inter, "Microsoft YaHei", sans-serif; text-align: left; cursor: pointer; }
.storefront .bb-product-select-option:hover, .storefront .bb-product-select-option.is-selected { color: #fff; background: var(--bb-blue); }
.storefront .bb-product-select-trigger:focus-visible, .storefront .bb-product-select-option:focus-visible { outline: 2px solid var(--bb-blue); outline-offset: 2px; }
.storefront .operations-category-group { display: grid; gap: 3px; margin: 0 0 13px; padding: 0 0 17px; border: 0; border-bottom: 1px solid var(--bb-line); }
.storefront .operations-nav > a, .storefront .operations-category-group > :is(a,button) { display: flex; position: relative; min-height: 44px; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 8px; color: var(--bb-muted); background: transparent; font-size: 13px; font-weight: 600; text-decoration: none; }
.storefront .operations-nav > a:is(:hover,.active), .storefront .operations-category-group > :is(a,button):is(:hover,.active) { color: var(--bb-blue); background: var(--bb-blue-soft); }
.storefront .operations-nav a:focus-visible, .storefront .operations-nav button:focus-visible, .storefront select:focus-visible { outline: 2px solid var(--bb-blue); outline-offset: 2px; }
.storefront .operations-nav i { display: none; }
.storefront .operations-main { grid-column: 2; min-width: 0; background: var(--bb-canvas); }
.storefront .operations-topbar { display: flex; position: sticky; top: 0; z-index: 20; height: 84px; min-height: 84px; align-items: center; justify-content: flex-end; padding: 0 30px; border-bottom: 1px solid var(--bb-line); background: #fff; box-shadow: none; }
.storefront .operations-status { display: flex; align-items: center; gap: 20px; color: var(--bb-muted); font-size: 13px; line-height: 1.6; }
.storefront .operations-status span { display: inline-flex; align-items: center; gap: 8px; }
.storefront .operations-status i { display: inline-block; width: 7px; height: 7px; margin: 0; border-radius: 50%; background: var(--bb-success); box-shadow: none; }
.storefront .operations-status a { display: inline-flex; height: 40px; min-height: 40px; align-items: center; padding: 0 16px; border: 1px solid var(--bb-blue); border-radius: 7px; color: #fff; background: var(--bb-blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.storefront .operations-menu-toggle { display: none; }
.storefront .operations-main .container, .storefront .hero-layout, .storefront .catalog-content, .storefront .operations-overview-grid {
    width: min(1520px, calc(100% - var(--content-inset) - 24px));
    max-width: 1520px;
    margin-left: var(--content-inset);
    margin-right: 24px;
    padding-left: 0;
    padding-right: 0;
}
.storefront .operations-main .operations-hero { height: 557px; min-height: 557px; border-bottom: 1px solid var(--bb-line); background: #fff; }
.storefront .operations-main .hero-content, .storefront .hero-layout { height: 556px; min-height: 556px; padding-top: 54px; padding-bottom: 42px; }
.storefront .hero-layout { grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); grid-template-rows: 1fr auto; gap: 24px 78px; }
.storefront .hero-main { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: 78px; align-items: center; }
.storefront .hero-copy { max-width: 700px; min-width: 0; }
.storefront .operations-main .hero-copy h1 { margin: 13px 0 0; color: var(--bb-ink); font-size: 48px; line-height: 1.17; }
.storefront .operations-main .hero-copy h1 span, .storefront .operations-main .hero-copy h1 em { font-size: inherit; }
.storefront .operations-main .hero-copy h1 em { color: var(--bb-blue); font-style: normal; }
.storefront .operations-main .hero-copy > p { margin: 18px 0 23px; color: var(--bb-muted); font-size: 15px; line-height: 1.75; }
.storefront .operations-main .hero-online, .storefront .operations-main .steam-offer-live { width: auto; height: auto; min-height: 24px; border: 0; border-radius: 5px; padding: 4px 8px; font-size: 10px; line-height: 1.6; }
.storefront .operations-main .hero-online i, .storefront .operations-main .steam-offer-live i { background: #fff !important; }
.storefront .operations-main .steam-offer-hero::before { display: none; }
.storefront .operations-main .steam-offer-hero, .storefront .directory-strip { min-width: 0; border: 1px solid var(--bb-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(25,47,86,.06); }
.storefront .hero-signals { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; color: var(--bb-muted); font-size: 11px; }
.storefront .operations-overview { margin-top: 0; background: var(--bb-canvas); }
.storefront .operations-overview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: 20px; margin-top: -20px; }
.storefront .operations-overview-grid a { min-width: 0; min-height: 142px; padding: 23px 26px; border: 1px solid var(--bb-line); border-radius: 8px; }
.storefront .operations-overview-grid strong { margin: 0; font-family: inherit; font-size: 29px; font-weight: 700; }
.storefront .operations-overview-grid small { margin-top: 5px; font-size: 12px; }
.storefront .operations-main .button { display: inline-flex; min-height: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--bb-blue); border-radius: 7px; color: #fff; background: var(--bb-blue); box-shadow: none; font-size: 13px; font-weight: 700; line-height: 1.4; transform: none; }
.storefront .operations-main .button:hover { color: #fff; background: #245bdd; box-shadow: none; transform: none; }
.storefront .operations-main .button:is(.button-ghost,.button-secondary,.button-light) { border-color: var(--bb-line); color: var(--bb-text); background: #fff; }
.storefront .operations-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) { width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid var(--bb-line); border-radius: 7px; color: var(--bb-ink); background: #fff; font-size: 13px; line-height: 20px; }
.storefront .operations-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select) { height: 42px; padding-top: 0; padding-bottom: 0; }
.storefront .operations-main :is(input,select,textarea):focus { outline: 0; border-color: #6d96f5; box-shadow: 0 0 0 3px var(--bb-blue-soft); }
.storefront .operations-main :is(.filter-bar,.catalog-filter-bar,.quotes-filter) { gap: 12px; margin-bottom: 24px; padding: 14px; border: 1px solid var(--bb-line); border-radius: 8px; background: #fff; box-shadow: none; }
.storefront .operations-main :is(.filter-bar,.catalog-filter-bar,.quotes-filter) label { min-width: 0; color: var(--bb-muted); font-size: 11px; }
.storefront .operations-main .filter-reset { min-height: 42px; height: 42px; align-items: center; color: var(--bb-muted); font-size: 12px; }
.storefront .operations-main .product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.storefront .operations-main .product-card { min-width: 0; min-height: 270px; height: auto; border: 1px solid var(--bb-line); border-radius: 8px; box-shadow: none; }
.storefront .operations-main .product-card::before { border-radius: 8px 8px 0 0; }
.storefront .operations-main :is(.quote-card,.contact-form-shell,.empty-state,.empty,.process-grid article) { border: 1px solid var(--bb-line); border-radius: 8px; background: #fff; box-shadow: none; }
.storefront .operations-main :is(.product-card,.quote-card):hover { border-color: #9bb7f5; box-shadow: 0 10px 24px rgba(25,47,86,.08); }
.storefront .operations-main .pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.storefront .operations-main .pagination :is(a,span,button) { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--bb-line); border-radius: 6px; color: var(--bb-text); background: #fff; font-size: 12px; }
.storefront .operations-main .pagination .active, .storefront .operations-main .pagination :is(a,button):hover:not(:disabled) { color: #fff; background: var(--bb-blue); border-color: var(--bb-blue); }
.storefront .operations-main .pagination-controls { flex-wrap: wrap; gap: 12px; }
.storefront .operations-main :is(.compact-hero,.section-light,.featured-section) { background: var(--bb-canvas); }
.storefront .operations-main .compact-hero::before { display: none; }
.storefront .operations-main .compact-hero h1 { color: var(--bb-ink); font-size: 30px; }
.storefront .operations-main .compact-hero p { color: var(--bb-muted); }
.storefront .operations-main .eyebrow { margin: 0; color: var(--bb-blue); font-family: inherit; font-size: 10px; font-weight: 700; }
.storefront .operations-main .container .catalog-content { width: 100%; max-width: none; margin: 0; padding: 0; }
@media (max-width:1200px) {
    .storefront .operations-main .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .storefront .hero-main, .storefront .hero-layout { gap: 24px; }
    .storefront .operations-main .hero-copy h1 { font-size: 36px; }
    .storefront .operations-main .product-detail { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
}
@media (max-width:900px) {
    .storefront { --content-inset: 16px; }
    .storefront .operations-shell { display: block; }
    .storefront .operations-sidebar { display: block; position: static !important; width: 100%; height: auto !important; min-height: 0; padding: 12px 14px; overflow: visible; transform: none; border-right: 0; border-bottom: 1px solid var(--bb-line); }
    .storefront .operations-brand { min-height: 0; padding: 0 6px 13px; }
    .storefront .operations-nav { display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 12px 0 0; overflow-x: auto; overscroll-behavior-x: contain; }
    .storefront .operations-project-selector { flex: 0 0 220px; min-width: 220px; margin: 0; padding: 0; border: 0; }
    .storefront .operations-category-group { display: flex; flex: 0 0 auto; gap: 6px; margin: 0; padding: 0; border: 0; }
    .storefront .operations-nav > a, .storefront .operations-category-group > :is(a,button) { flex: 0 0 auto; width: auto; min-height: 42px; white-space: nowrap; }
    .storefront .operations-topbar { height: 84px; min-height: 84px; padding: 0 15px; }
    .storefront .operations-main .container, .storefront .hero-layout, .storefront .catalog-content, .storefront .operations-overview-grid { width: calc(100% - 32px); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
    .storefront .operations-main .operations-hero, .storefront .operations-main .hero-content, .storefront .hero-layout { height: auto; min-height: 0; }
    .storefront .operations-main .hero-content, .storefront .hero-layout { padding-top: 32px; padding-bottom: 40px; }
    .storefront .hero-main, .storefront .hero-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .storefront .operations-main .hero-copy h1 { font-size: 40px; }
    .storefront .operations-main .product-grid, .storefront .operations-main .quote-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .storefront .operations-main .catalog-filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .storefront .operations-main .product-detail, .storefront .operations-main .contact-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:560px) {
    .storefront { --content-inset: 14px; }
    .storefront .operations-status { width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; }
    .storefront .operations-status > span:first-child { display: inline-flex !important; }
    .storefront .operations-clock { display: none !important; }
    .storefront .operations-main .container, .storefront .hero-layout, .storefront .catalog-content, .storefront .operations-overview-grid { width: calc(100% - 28px); }
    .storefront .operations-main .hero-copy h1 { font-size: 34px; overflow-wrap: anywhere; }
    .storefront .operations-main .hero-copy > p { font-size: 13px; }
    .storefront .hero-actions { display: flex; flex-wrap: wrap; flex-direction: row; gap: 12px; }
    .storefront .operations-main .product-grid, .storefront .operations-main .quote-grid, .storefront .operations-main .process-grid, .storefront .operations-overview-grid { grid-template-columns: minmax(0,1fr); }
    .storefront .operations-overview-grid { gap: 12px; }
    .storefront .operations-overview-grid a { min-height: 100px; padding: 16px; }
    .storefront .operations-main .catalog-filter-bar, .storefront .operations-main .quotes-filter { display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: none; }
    .storefront .operations-main .catalog-filter-bar > *, .storefront .operations-main .quotes-filter > * { grid-area: auto !important; grid-column: auto !important; }
    .storefront .operations-main .pagination-controls { align-items: flex-start; flex-direction: column; }
    .storefront .operations-main .contact-form-shell { padding: 22px 18px; }
    .storefront .operations-main .product-card { height: auto; min-height: 270px; }
    .storefront .operations-main .catalog-content { padding: 0; }
    .storefront .operations-main .price-range { max-width: none; }
    .storefront .operations-main .catalog-shortcuts { flex-wrap: wrap; }
    .storefront .directory-list { flex-wrap: wrap; }
}
