/* Figma: A Calm Commerce / D FIXservice Brand Blue. Theme adapter, local phase 1. */
.fs-store-header { --fs-blue:#2d5fa8; --fs-ink:#1b2839; --fs-muted:#657285; --fs-soft:#eef3f9; background:#fff; color:var(--fs-ink); position:relative; z-index:100; }
.fs-store-header .container,.fs-store-sticky .container { width:100%; max-width:1312px; padding-inline:16px; margin-inline:auto; }
.fs-store-header a { text-decoration:none; }
.fs-store-header .fs-header-info { background:#f7f9fc; font-size:12px; color:var(--fs-muted); }
.fs-header-info__inner { display:flex; justify-content:space-between; align-items:center; min-height:36px; gap:24px; }
.fs-header-info__links { display:flex; gap:24px; }
.fs-store-header .fs-header-info a { color:var(--fs-muted); }
.fs-store-header .fs-header-navigation,.fs-store-sticky .navigation { padding:0; background:#fff; position:relative; }
.fs-store-sticky.navigation { padding:0; background:#fff; position:fixed; top:0; left:0; right:0; }
.fs-header-main { display:grid; grid-template-columns:240px minmax(0,1fr) 260px; align-items:center; gap:24px; min-height:92px; }
.fs-header-brand { display:flex; align-items:center; gap:16px; min-width:0; color:#1b2839; }
.fs-header-brand img { width:48px; height:48px; object-fit:contain; }
.fs-header-brand strong { display:block; font-size:24px; font-weight:600; line-height:1.2; }
.fs-header-brand small { display:block; margin-top:5px; font-size:11px; color:#657285; }
.fs-header-mobile-catalog { display:none; }
.fs-store-header .search-block,.fs-store-sticky .search-block { width:100%; min-width:0; margin:0; flex:none; }
.fs-store-header .search-block.fs-live-search,.fs-store-sticky .search-block.fs-live-search { height:48px; border:1px solid #e1e7ef; border-radius:16px; background:#f7f9fc; }
.fs-store-header .fs-live-search .search-button,.fs-store-sticky .fs-live-search .search-button { order:-1; color:#657285; border-radius:16px 0 0 16px; }
.fs-store-header .fs-live-search input[name="search"],.fs-store-sticky .fs-live-search input[name="search"] { padding-left:0; }
.fs-store-header .fs-live-search__shortcut,.fs-store-sticky .fs-live-search__shortcut { padding-right:16px; }
.fs-store-header .header-actions,.fs-store-sticky .header-actions { display:flex; align-items:center; justify-content:space-between; gap:20px; width:auto; margin:0; }
.fs-store-header .header-action,.fs-store-sticky .header-action { display:flex; flex-direction:column; gap:6px; align-items:center; justify-content:center; color:#1b2839; font-size:12px; min-width:50px; padding:0; }
.fs-store-header .header-action img,.fs-store-sticky .header-action img { width:24px; height:24px; }
.fs-store-header .cart-qty,.fs-store-header .wishlist-qty,.fs-store-sticky .cart-qty,.fs-store-sticky .wishlist-qty { background:#2d5fa8; }
.fs-header-bar { background:#2d5fa8; }
.fs-header-bar__inner { display:flex; align-items:center; gap:24px; min-height:56px; position:relative; }
.fs-store-header .navigation-catalog,.fs-store-sticky .navigation-catalog { display:flex; align-items:center; justify-content:center; gap:10px; width:210px; min-width:210px; min-height:40px; padding:10px 16px; margin:0; border:0; border-radius:14px; background:#254f8d; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.fs-header-quick-links { display:flex; gap:28px; align-items:center; min-width:0; }
.fs-store-header .fs-header-quick-links a { color:white; font-size:13px; font-weight:600; white-space:nowrap; }
.fs-header-special { background:#254f8d; border-radius:14px; padding:10px 22px; }
.fs-store-header a:hover,.fs-store-sticky a:hover { color:#2d5fa8; }
.fs-store-header .fs-header-quick-links a:hover { color:#fff; text-decoration:underline; }
.fs-store-header button:focus-visible,.fs-store-header a:focus-visible,.fs-store-sticky a:focus-visible { outline:2px solid #2d5fa8; outline-offset:4px; }
.fs-store-header .catalog-menu-panel { top:100%; left:16px; right:16px; z-index:40; }
.fs-store-header .catalog-menu-panel { margin-top:24px; padding:8px; border:1px solid #e1e7ef; border-radius:24px; background:white; box-shadow:0 12px 36px #1b283914; align-items:stretch; }
.fs-store-header .catalog-menu-panel .catalog-menu { flex:0 0 28%; background:white; border-radius:16px; padding:0; box-shadow:none; max-height:65vh; scrollbar-color:#c7d3e4 transparent; }
.fs-store-header .catalog-menu-panel .catalog-menu li { border:0; }
.fs-store-header .catalog-menu-panel .catalog-menu li a { color:#1b2839 !important; padding:18px 12px; padding-right:32px; font-size:13px; font-weight:400; border-radius:14px; position:relative; }
.fs-store-header .catalog-menu-panel .catalog-menu li a::after { content:'›'; position:absolute; right:16px; color:#657285; }
.fs-store-header .catalog-menu-panel .catalog-menu li.is-active > a,.fs-store-header .catalog-menu-panel .catalog-menu li a:hover { color:#2d5fa8 !important; background:#eef3f9; }
.fs-store-header .catalog-menu-panel .catalog-menu-flyout { position:relative; flex:1; left:auto; top:auto; width:auto; min-width:0; max-width:none; min-height:0; max-height:65vh; padding:20px 32px; border:0; box-shadow:none; background:white; }
.fs-store-header .fs-catalog-heading { font-size:26px; line-height:1.35; margin:0 0 24px; font-weight:600; }
.fs-store-header .fs-catalog-all { display:block; text-align:center; padding:16px; background:#eef3f9; border-radius:14px; color:#2d5fa8; font-weight:600; font-size:14px; }
.fs-store-header .catalog-menu-panel .cat-mega-grid { grid-template-columns:repeat(2,minmax(0,1fr)); padding:24px 0 0; gap:24px 32px; }
.fs-store-header .catalog-menu-panel .cat-mega-header { color:#1b2839 !important; font-weight:400; }
.fs-catalog-back,.fs-catalog-close { border:0; background:none; color:#2d5fa8; padding:8px; min-width:36px; min-height:36px; }
.fs-catalog-back { font-size:24px; }
.fs-store-sticky { --fs-blue:#2d5fa8; box-shadow:0 4px 20px #1b283914; }
.fs-store-sticky .fs-header-bar { display:none; }
.fs-store-sticky .fs-header-main { min-height:76px; }
.fs-filter-price-label { display:none; }
.fs-category-selection {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;}
.fs-category-selection[hidden] {display:none;}
.fs-category-selection__chip {display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:10px 16px;border-radius:12px;background:#2d5fa8;color:#fff;font-size:13px;font-weight:500;text-decoration:none;overflow-wrap:anywhere;transition:background 200ms ease;}
.fs-category-selection__chip:hover {background:#254f8d;color:#fff;}
.fs-category-selection__chip:focus-visible {outline:3px solid #2d5fa8;outline-offset:3px;}
.fs-category-selection__chip span {flex-shrink:0;font-size:18px;line-height:1;}
#product-category .category-empty .btn-primary {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border:0;border-radius:12px;background:#2d5fa8;font-size:13px;font-weight:600;}
#product-category .category-empty .btn-primary:hover {background:#254f8d;}
#product-category .category-subcategory {min-width:0;min-height:44px;overflow-wrap:anywhere;color:#2d5fa8;}
#product-category .category-subcategories-more:not([hidden]) {min-height:44px;color:#2d5fa8;}
@media(prefers-reduced-motion:reduce) {.fs-category-selection__chip {transition:none;}}
.fs-filter-price-apply { display:none; }
.fs-filter-sheet .fs-filter-price-apply { display:block; width:100%; min-height:48px; margin-top:16px; border:0; border-radius:12px; background:#eef3f9; color:#2d5fa8; font-size:13px; font-weight:600; }
.fs-filter-sheet { --bs-offcanvas-width:100vw; left:0 !important; right:0 !important; top:0 !important; bottom:0 !important; width:100% !important; max-width:none !important; height:100vh; height:100dvh; margin:0 !important; background:#f7f9fc; color:#1b2839; }
.fs-filter-sheet .offcanvas-header { flex:none; padding:20px 16px; min-height:64px; }
.fs-filter-sheet .offcanvas-title { margin:0; font-size:22px; font-weight:600; }
.fs-filter-sheet .btn-close,.fs-sort-sheet .btn-close { opacity:1; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231b2839'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E"); }
.fs-filter-sheet .offcanvas-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:12px 16px 16px; }
.fs-filter-sheet #column-left,.fs-filter-sheet #column-left-mobile { display:block !important; width:100%; max-width:none; padding:0; margin:0; float:none; }
.fs-filter-sheet .category-filter { padding:16px; border:0; border-radius:20px; background:#fff; width:100%; margin:0; --filter-blue:#2d5fa8; --filter-border:#e1e7ef; --filter-ink:#1b2839; --filter-muted:#657285; }
.fs-filter-sheet .filter-title { font-size:14px; font-weight:600; }
.fs-filter-sheet .filter-block { padding:20px 0; margin:0; }
.fs-filter-sheet .filter-block:first-child { padding-top:0; }
.fs-filter-sheet .filter-block--price > .filter-title,.fs-filter-sheet .price-range,.fs-filter-sheet .price-range__sep,.fs-filter-sheet .price-input__prefix { display:none; }
.fs-filter-sheet .price-range__inputs { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:end; }
.fs-filter-sheet .price-input { display:flex; flex-direction:column; align-items:stretch; height:auto; padding:0; border:0; min-width:0; background:none; }
.fs-filter-sheet .fs-filter-price-label { display:block; margin-bottom:8px; font-size:12px; color:#1b2839; }
.fs-filter-sheet .price-input input { width:100%; height:48px; padding:12px; border:1px solid #e1e7ef; border-radius:12px; font-size:16px; color:#1b2839; }
.fs-filter-sheet .filter-check { min-height:44px; padding:8px 0; font-size:13px; }
.fs-filter-sheet .btn-close,.fs-sort-sheet .btn-close {box-sizing:border-box;width:44px;height:44px;margin:0;padding:12px;background-size:16px;flex-shrink:0;}
.fs-filter-sheet .filter-check__box { width:20px; height:20px; border-radius:5px; flex:0 0 20px; border-color:#e1e7ef; }
.fs-filter-sheet .filter-check input:checked ~ .filter-check__box { background:#2d5fa8; border-color:#2d5fa8; }
.fs-filter-sheet .filter-options--scroll { max-height:none; overflow:visible; }
.fs-filter-sheet__footer { padding:16px; padding-bottom:max(16px,env(safe-area-inset-bottom)); background:#f7f9fc; flex:none; }
.fs-filter-sheet__footer button { width:100%; min-height:52px; border:0; border-radius:16px; background:#2d5fa8; color:white; font-size:14px; font-weight:600; }
.fs-sort-toggle { border:0; border-radius:16px; background:transparent; color:#2d5fa8; width:100%; min-height:48px; font-size:14px; font-weight:600; }
.fs-sort-sheet { height:auto !important; max-height:80vh; border-radius:24px 24px 0 0; background:#f7f9fc; }
.fs-sort-sheet .offcanvas-header { padding:24px 16px 12px; }
.fs-sort-sheet .offcanvas-body { padding:12px 16px max(24px,env(safe-area-inset-bottom)); }
.fs-sort-option { display:flex; gap:12px; align-items:center; min-height:56px; padding:12px 16px; margin-bottom:8px; border-radius:12px; background:white; font-size:14px; cursor:pointer; }
.fs-sort-option input { accent-color:#2d5fa8; width:20px; height:20px; }
.fs-dialog-open #bingc-phone-button { visibility:hidden !important; pointer-events:none !important; }
@media (min-width:992px) { .fs-sort-toggle { display:none !important; } }
@media (max-width:1199.98px) and (min-width:992px) {
  .fs-header-main { grid-template-columns:210px minmax(0,1fr) 220px; gap:16px; }
  .fs-header-quick-links { gap:16px; }
  .fs-store-header .fs-header-quick-links a { font-size:11px; }
  .fs-store-header .navigation-catalog { min-width:180px; width:180px; }
}
@media (max-width:991.98px) {
  .fs-header-info,.fs-header-bar { display:none; }
  .fs-header-main { grid-template-columns:minmax(0,1fr) 108px 32px; gap:12px; padding-block:16px; min-height:136px; }
  .fs-header-brand { gap:10px; }
  .fs-header-brand img { width:26px; height:26px; }
  .fs-header-brand strong { color:#2d5fa8; font-size:18px; }
  .fs-header-brand small { display:none; }
  .fs-header-mobile-catalog { display:block; border:0; border-radius:16px; background:#eef3f9; color:#2d5fa8; min-height:44px; font-size:13px; font-weight:600; padding:10px; }
  .fs-store-header .search-block,.fs-store-sticky .search-block { grid-row:2; grid-column:1 / -1; }
  .fs-store-header .header-actions,.fs-store-sticky .header-actions { grid-row:1; grid-column:3; justify-content:center; }
  .fs-store-header .header-action-user,.fs-store-header .header-action-wishlist,.fs-store-sticky .header-action-user,.fs-store-sticky .header-action-wishlist { display:none; }
  .fs-store-header .header-action-cart,.fs-store-sticky .header-action-cart { display:flex; min-width:24px; color:#2d5fa8; }
  .fs-store-header .header-action-label,.fs-store-sticky .header-action-label { display:none; }
  .fs-store-header .cart-qty,.fs-store-sticky .cart-qty { font-size:9px; min-width:14px; height:14px; line-height:14px; right:-8px; top:-7px; }
  .fs-store-sticky { display:none !important; }
  #product-category .category-toolbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  #product-category .category-result-count { grid-column:1 / -1; grid-row:2; margin:12px 0 4px; }
  #product-category .category-sort { width:100%; margin:0; min-width:0; }
  #product-category .category-filter-toggle { min-width:0; }
  #product-category .category-filter-toggle .btn { min-height:48px; border:0; border-radius:16px; background:#eef3f9; color:#2d5fa8; font-size:14px; font-weight:600; display:flex; align-items:center; justify-content:center; }
  #product-category .fs-sort-enhanced .input-group { display:none; }
  #catalogMobileMenu.offcanvas-header-menu,#childrenMenu.offcanvas-header-menu { inset:0 !important; height:100vh !important; height:100dvh !important; max-height:none; width:100%; margin:0; border-radius:0; background:#f7f9fc; }
  #catalogMobileMenu .offcanvas-header,#childrenMenu .offcanvas-header { background:#f7f9fc; color:#1b2839; padding:20px 16px; }
  #catalogMobileMenu .offcanvas-header h5,#childrenMenu .offcanvas-header h5 { font-size:20px; }
  #catalogMobileMenu .offcanvas-header svg path,#childrenMenu .offcanvas-header svg path { fill:#2d5fa8; }
  #catalogMobileMenu .list-group,#childrenMenu .list-group { padding:0 16px; }
  #catalogMobileMenu .list-group-item,#childrenMenu .list-group-item { background:#fff; margin-bottom:8px; border:0; border-radius:12px; padding:16px; font-size:13px; }
  #catalogMobileMenu .offcanvas-header {gap:8px;}
  #catalogMobileMenu .offcanvas-header h5 {min-width:0;overflow-wrap:anywhere;}
  #catalogMobileMenu .fs-catalog-back,#catalogMobileMenu .fs-catalog-close {width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;flex-shrink:0;}
  #catalogMobileMenu .list-group-item {display:flex;align-items:stretch;min-height:52px;padding:0;overflow:hidden;}
  #catalogMobileMenu .list-group-item>a {display:flex;align-items:center;flex:1;min-width:0;min-height:52px;padding:14px 16px;overflow-wrap:anywhere;color:#1b2839;text-decoration:none;}
  #catalogMobileMenu .list-group-item>.next-level {position:static;display:flex;align-self:stretch;flex:0 0 44px;width:44px;margin:0;}
  #catalogMobileMenu .next-level>button {width:44px;min-height:44px;height:100%;padding:8px;border:0;background:transparent;}
  #catalogMobileMenu .list-group-item>a:hover,#catalogMobileMenu .next-level>button:hover {background:#eef3f9;color:#2d5fa8;}
  #catalogMobileMenu button:focus-visible,#catalogMobileMenu a:focus-visible {outline:3px solid #2d5fa8;outline-offset:-3px;}
}
@media (max-width:359.98px) { .fs-header-main { grid-template-columns:minmax(0,1fr) 90px 24px; gap:10px; } .fs-header-brand strong { font-size:16px; } }
@media (prefers-reduced-motion:reduce) { .fs-filter-sheet,.fs-sort-sheet { transition:none; } }
