/* Category navigation only: the site's existing palette and product cards remain. */
#shopSidebar .catalog-nav-item {display:block;padding:0;cursor:default;border-bottom:1px solid #e8edf3;}
.catalog-nav-row {display:flex;align-items:stretch;min-width:0;}
.catalog-nav-button,.catalog-nav-toggle,.catalog-subgroup-button {border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;}
.catalog-nav-button {display:flex;align-items:center;gap:7px;text-align:left;flex:1;min-width:0;padding:13px 8px;min-height:48px;}
.catalog-nav-button svg {width:17px;height:17px;flex:0 0 17px;}
.catalog-nav-label {flex:1;overflow-wrap:break-word;font-size:.82rem;line-height:1.4;}
.catalog-nav-count {font-size:.72rem;font-weight:500;color:#64748b;background:#edf2f7;padding:2px 6px;border-radius:10px;}
.catalog-nav-toggle {width:30px;flex:0 0 30px;font-size:22px;}
.catalog-nav-toggle[aria-expanded=true] {transform:rotate(180deg);}
.catalog-nav-button[aria-pressed=true],.catalog-subgroup-button[aria-pressed=true] {color:var(--color-primary,#003366);font-weight:700;background:#edf4fc;box-shadow:inset 3px 0 var(--color-primary,#003366);}
.catalog-nav-button:hover,.catalog-subgroup-button:hover,.catalog-nav-toggle:hover {background:#f0f5fa;}
.catalog-nav-button:focus-visible,.catalog-nav-toggle:focus-visible,.catalog-subgroup-button:focus-visible {outline:2px solid #1c72ba;outline-offset:-3px;}
.catalog-subgroups {list-style:none;margin:0;padding:2px 0 10px;background:#fafbfd;}
.catalog-subgroups[hidden] {display:none!important;}
.catalog-subgroup-button {display:flex;width:100%;gap:8px;justify-content:space-between;text-align:left;font-size:.8rem;line-height:1.45;padding:10px 14px 10px 24px;min-height:42px;}
.catalog-subgroup-button span {overflow-wrap:anywhere;}
.catalog-subgroup-button small {color:#64748b;flex-shrink:0;}
#shopSidebar .catalog-category-link {display:block;width:auto;height:auto;padding:10px 14px 5px 24px;font-size:.75rem;background:transparent;color:var(--color-primary,#003366);}
@media(max-width:1024px){#shopSidebar.open {max-width:min(340px,92vw);overflow-y:auto;overscroll-behavior:contain;} .catalog-nav-button {min-height:50px;} .catalog-nav-toggle {width:44px;flex-basis:44px;}}
.shop-search__input {min-width:0;}
.shop-search__input::placeholder {color:rgba(255,255,255,.78);}
.catalog-filter-toggle {display:none;}
@media(max-width:768px){
  .shop-hero {padding-top:calc(var(--nav-height) + 18px);padding-bottom:22px;}
  .shop-hero__breadcrumb {font-size:.72rem;margin-bottom:10px;}
  .shop-hero__title {font-size:clamp(1.45rem,5.6vw,2rem);line-height:1.2;margin-bottom:9px;}
  .shop-hero__subtitle {font-size:.88rem;line-height:1.5;margin-bottom:16px;color:rgba(255,255,255,.78);}
  .shop-search {flex-direction:row;border-radius:10px;}
  .shop-search__input {padding:12px 10px;font-size:16px;width:0;text-align:left;}
  .shop-search__btn {width:auto;flex-shrink:0;min-height:44px;padding:10px 18px;margin:3px;}
  .shop-products__bar {gap:10px;margin-bottom:12px;}
  .shop-products__sort {max-width:100%;min-height:42px;}
  .catalog-filter-toggle {display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #dce4ee;border-radius:8px;color:#003366;font:inherit;font-size:.83rem;text-align:left;margin-bottom:12px;}
  .catalog-filter-toggle::after {content:'⌄';font-size:20px;}
  .catalog-filter-toggle[aria-expanded=true]::after {content:'⌃';}
  .catalog-filters.is-mobile-collapsed {display:none;}
  .catalog-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px;}
  .catalog-filters>label {font-size:.78rem;}
  .catalog-filters select {font-size:16px;min-width:0;padding:8px;}
  .catalog-filters>.catalog-filters__stock {grid-column:1/-1;min-height:32px;}
  .catalog-filters button {grid-column:1/-1;justify-self:start;padding:4px 0;}
}

/* v9: compact store masthead leaves more room for products. */
.shop-hero {padding:calc(var(--nav-height) + 18px) 0 22px;}
.shop-hero__breadcrumb {margin-bottom:10px;}
.shop-hero__title {font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.2;margin-bottom:8px;}
.shop-hero__subtitle {font-size:.94rem;line-height:1.5;max-width:760px;margin-bottom:16px;}
.shop-hero>.container {position:relative;}
.shop-search {max-width:760px;}
.shop-layout {padding-top:22px;}
html[dir=rtl] .shop-search__input,html[dir=rtl] .catalog-nav-button,html[dir=rtl] .catalog-subgroup-button {text-align:right;}
html[dir=rtl] .shop-search__icon {margin-left:0;margin-right:1rem;}
.shop-hero__title span,.section-title span {margin-inline-start:.14em;}
@media(max-width:768px){
.shop-hero {padding-top:calc(var(--nav-height) + 12px);padding-bottom:16px;}
.shop-hero__subtitle {font-size:.84rem;margin-bottom:12px;}
.shop-hero__title {font-size:1.55rem;}
.shop-layout {padding-top:16px;}
}
