/* ==========================================================================
   Custom Site Header — Persian RTL WooCommerce Header (Electrical Store)
   Theme: Blue / White
   Scoped entirely under .cshdr — no leakage into the rest of the theme.
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* Breaks the header out of any narrow theme/page-builder container so it
   always spans the full viewport width, regardless of where the shortcode
   is placed. The header's own content still respects --cshdr-maxw inside. */
.cshdr-fullbleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.cshdr {
  /* ---- Color tokens (Blue / White) ---- */
  --cshdr-white:       #FFFFFF;
  --cshdr-bg:           #F4F8FC;
  --cshdr-ink:          #16233A;
  --cshdr-ink-soft:     #64748B;
  --cshdr-blue:         #0E5FD8;
  --cshdr-blue-dark:    #0A469E;
  --cshdr-blue-tint:    #E9F1FE;
  --cshdr-electric:     #21B8E8;
  --cshdr-electric-dark:#0F97C4;
  --cshdr-border:       #E1E8F1;
  --cshdr-danger:       #E1462C;

  /* ---- Structure tokens ---- */
  --cshdr-radius-sm:  8px;
  --cshdr-radius-md:  12px;
  --cshdr-radius-lg:  16px;
  --cshdr-shadow:     0 6px 24px rgba(14, 40, 80, 0.08);
  --cshdr-shadow-lg:  0 14px 44px rgba(14, 40, 80, 0.14);
  --cshdr-maxw:       1320px;
  --cshdr-header-h:   76px;
  --cshdr-header-h-sticky: 62px;
  --cshdr-header-h-mobile: 60px;
  --cshdr-transition: 180ms cubic-bezier(.4,0,.2,1);
  /* High baseline so the header reliably sits above typical theme content. */
  --cshdr-z: 99990;

  direction: rtl;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  color: var(--cshdr-ink);
  position: relative;
  z-index: var(--cshdr-z);
  background: var(--cshdr-white);
  box-sizing: border-box;
}

.cshdr *, .cshdr *::before, .cshdr *::after { box-sizing: inherit; }
.cshdr a { color: inherit; text-decoration: none; }
.cshdr button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.cshdr ul { list-style: none; margin: 0; padding: 0; }
.cshdr img { max-width: 100%; display: block; }

.cshdr-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Sticky wrapper
   -------------------------------------------------------------------------- */
.cshdr-sticky-zone { position: sticky; top: 0; z-index: var(--cshdr-z); }

.cshdr.is-sticky .cshdr-main { box-shadow: var(--cshdr-shadow); border-bottom-color: transparent; }

/* --------------------------------------------------------------------------
   Main row — explicit two-column split (right group / left group)
   -------------------------------------------------------------------------- */
.cshdr-main {
  border-bottom: 1px solid var(--cshdr-border);
  background: var(--cshdr-white);
  transition: box-shadow var(--cshdr-transition);
}

.cshdr-inner {
  max-width: var(--cshdr-maxw);
  margin: 0 auto;
  min-height: var(--cshdr-header-h-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
}

.cshdr-side-start { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cshdr-side-end { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }

.cshdr-side-divider {
  display: none; width: 1px; align-self: stretch; margin: 10px 4px;
  background: var(--cshdr-border); flex-shrink: 0;
}

/* Logo (main header) */
.cshdr-logo { display: flex; align-items: center; flex-shrink: 0; }
.cshdr-logo img { height: 34px; width: auto; }
.cshdr-logo-text { font-weight: 800; font-size: 1.18rem; color: var(--cshdr-ink); white-space: nowrap; }
.cshdr-logo-text span { color: var(--cshdr-blue); }

/* Hamburger (mobile only) */
.cshdr-hamburger {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--cshdr-radius-sm);
  background: var(--cshdr-bg);
  transition: background var(--cshdr-transition);
}
.cshdr-hamburger:hover, .cshdr-hamburger:focus-visible { background: var(--cshdr-blue-tint); }

.cshdr-hamburger-bars { width: 20px; height: 14px; position: relative; }
.cshdr-hamburger-bars span {
  position: absolute; right: 0; width: 100%; height: 2px;
  background: var(--cshdr-ink); border-radius: 2px;
  transition: transform 220ms cubic-bezier(.4,0,.2,1), opacity 220ms ease, top 220ms ease;
}
.cshdr-hamburger-bars span:nth-child(1) { top: 0; }
.cshdr-hamburger-bars span:nth-child(2) { top: 6px; }
.cshdr-hamburger-bars span:nth-child(3) { top: 12px; }
.cshdr-hamburger.is-active .cshdr-hamburger-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.cshdr-hamburger.is-active .cshdr-hamburger-bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cshdr-hamburger.is-active .cshdr-hamburger-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Search (desktop: inline / mobile: icon trigger) */
.cshdr-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 480px; display: none; }
.cshdr-search-input {
  width: 100%; height: 46px;
  border: 1.5px solid var(--cshdr-border);
  border-radius: var(--cshdr-radius-md);
  background: var(--cshdr-bg);
  padding: 0 48px 0 16px;
  font-family: inherit; font-size: 0.92rem; color: var(--cshdr-ink);
  outline: none;
  transition: border-color var(--cshdr-transition), background var(--cshdr-transition);
}
.cshdr-search-input::placeholder { color: var(--cshdr-ink-soft); }
.cshdr-search-input:focus { border-color: var(--cshdr-electric); background: var(--cshdr-white); }

.cshdr-search::after {
  content: ''; position: absolute; right: 14px; left: 14px; bottom: -1px; height: 2px;
  background: var(--cshdr-electric);
  transform: scaleX(0); transform-origin: right;
  transition: transform 260ms cubic-bezier(.4,0,.2,1);
}
.cshdr-search:focus-within::after { transform: scaleX(1); }

.cshdr-search-btn {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cshdr-blue);
  color: var(--cshdr-white);
  transition: background var(--cshdr-transition);
}
.cshdr-search-btn:hover { background: var(--cshdr-blue-dark); }
.cshdr-search-btn svg { width: 20px; height: 20px; }

/* Mobile search trigger — always visible with a light circle so it never
   looks like empty space, larger icon than before. */
.cshdr-mobile-search-toggle {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cshdr-blue-tint);
  color: var(--cshdr-blue-dark);
  transition: background var(--cshdr-transition), color var(--cshdr-transition);
}
.cshdr-mobile-search-toggle:hover { background: var(--cshdr-blue); color: var(--cshdr-white); }
.cshdr-mobile-search-toggle.is-active { background: var(--cshdr-blue); color: var(--cshdr-white); }
.cshdr-mobile-search-toggle svg { width: 22px; height: 22px; }

/* Account (main header trigger) */
.cshdr-account {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px;
  border-radius: var(--cshdr-radius-sm); flex-shrink: 0;
  transition: background var(--cshdr-transition);
}
.cshdr-account:hover { background: var(--cshdr-bg); }
.cshdr-account-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cshdr-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background var(--cshdr-transition), color var(--cshdr-transition);
}
.cshdr-account.is-logged-in .cshdr-account-icon,
.cshdr-account-icon.is-logged-in { background: var(--cshdr-blue-tint); color: var(--cshdr-blue-dark); }
.cshdr-account-icon svg { width: 18px; height: 18px; }
.cshdr-account-label {
  display: none; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Generic hoverable/clickable dropdown wrapper — used for the desktop
   category mega menu, the site-pages menu, and the mini-cart preview.
   Wrapping trigger + panel in one positioned parent avoids any dependency
   on sibling order in the markup (the previous adjacent-sibling CSS bug).
   -------------------------------------------------------------------------- */
.cshdr-dropdown { position: relative; }

.cshdr-dropdown-panel {
  position: absolute;
  top: 100%;
  background: var(--cshdr-white);
  box-shadow: var(--cshdr-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--cshdr-transition), transform var(--cshdr-transition), visibility var(--cshdr-transition);
  z-index: 40;
}

@media (min-width: 768px) {
  .cshdr-dropdown:hover .cshdr-dropdown-panel,
  .cshdr-dropdown:focus-within .cshdr-dropdown-panel,
  .cshdr-dropdown-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.cshdr-dropdown-panel.is-open {
  /* also allow explicit open via JS on touch/keyboard, any width */
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Cart */
.cshdr-dropdown-cart { flex-shrink: 0; }
.cshdr-cart {
  position: relative; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cshdr-bg);
  transition: background var(--cshdr-transition);
}
.cshdr-cart:hover { background: var(--cshdr-blue-tint); }
.cshdr-cart svg { width: 22px; height: 22px; }
.cshdr-cart-badge {
  position: absolute; top: 1px; left: 1px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--cshdr-electric); color: #ffffff;
  font-size: 0.66rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  animation: cshdr-badge-pop 320ms cubic-bezier(.34,1.56,.64,1);
}
.cshdr-cart-badge.is-hidden { display: none; }
@keyframes cshdr-badge-pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

.cshdr-minicart { right: 0; left: auto; width: 340px; max-width: 90vw; border-top: 3px solid var(--cshdr-electric); padding: 16px; }
.cshdr-minicart-empty { padding: 20px 4px; text-align: center; color: var(--cshdr-ink-soft); font-size: 0.86rem; }
.cshdr-minicart-items { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.cshdr-minicart-item { display: flex; align-items: center; gap: 10px; }
.cshdr-minicart-item-thumb { width: 48px; height: 48px; border-radius: var(--cshdr-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--cshdr-bg); }
.cshdr-minicart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cshdr-minicart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cshdr-minicart-item-name { font-size: 0.84rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cshdr-minicart-item-name:hover { color: var(--cshdr-blue-dark); }
.cshdr-minicart-item-meta { font-size: 0.76rem; color: var(--cshdr-ink-soft); }
.cshdr-minicart-item-total { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.cshdr-minicart-footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cshdr-border); }
.cshdr-minicart-subtotal { display: flex; align-items: center; justify-content: space-between; font-size: 0.86rem; margin-bottom: 12px; }
.cshdr-minicart-btn {
  display: block; text-align: center; width: 100%; height: 42px; line-height: 42px;
  border-radius: var(--cshdr-radius-md); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px;
  transition: background var(--cshdr-transition), color var(--cshdr-transition), border-color var(--cshdr-transition);
}
.cshdr-minicart-btn:last-child { margin-bottom: 0; }
.cshdr-minicart-btn.is-secondary { background: var(--cshdr-bg); color: var(--cshdr-ink); border: 1px solid var(--cshdr-border); }
.cshdr-minicart-btn.is-secondary:hover { background: var(--cshdr-blue-tint); }
.cshdr-minicart-btn.is-primary { background: var(--cshdr-blue); color: var(--cshdr-white); }
.cshdr-minicart-btn.is-primary:hover { background: var(--cshdr-blue-dark); }

/* Mobile full-width search panel */
.cshdr-mobile-search-panel {
  max-height: 0; overflow: hidden; padding: 0 14px;
  transition: max-height var(--cshdr-transition), padding var(--cshdr-transition);
}
.cshdr-mobile-search-panel.is-open { max-height: 70px; padding: 0 14px 12px; }
.cshdr-mobile-search-panel .cshdr-search { display: block; max-width: none; }

/* --------------------------------------------------------------------------
   Category bar (desktop) — two triggers: Categories mega menu + Pages menu
   -------------------------------------------------------------------------- */
.cshdr-catbar { display: none; background: var(--cshdr-white); border-bottom: 1px solid var(--cshdr-border); }
.cshdr-catbar-inner {
  max-width: var(--cshdr-maxw); margin: 0 auto; padding: 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.cshdr-catbar-trigger {
  display: flex; align-items: center; gap: 8px; padding: 0 18px; height: 48px;
  font-weight: 700; font-size: 0.9rem;
  border-radius: var(--cshdr-radius-sm) var(--cshdr-radius-sm) 0 0;
  margin-top: 8px;
  transition: background var(--cshdr-transition), color var(--cshdr-transition);
}
.cshdr-catbar-trigger--categories { background: var(--cshdr-blue); color: var(--cshdr-white); }
.cshdr-catbar-trigger--categories:hover,
.cshdr-dropdown-categories:hover .cshdr-catbar-trigger--categories,
.cshdr-catbar-trigger--categories[aria-expanded="true"] { background: var(--cshdr-blue-dark); }

.cshdr-catbar-trigger--pages { background: var(--cshdr-bg); color: var(--cshdr-ink); }
.cshdr-catbar-trigger--pages:hover,
.cshdr-dropdown-pages:hover .cshdr-catbar-trigger--pages,
.cshdr-catbar-trigger--pages[aria-expanded="true"] { background: var(--cshdr-blue-tint); color: var(--cshdr-blue-dark); }

.cshdr-catbar-trigger svg { width: 16px; height: 16px; transition: transform var(--cshdr-transition); }
.cshdr-catbar-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.cshdr-megamenu { right: 0; left: 0; }
.cshdr-megamenu-inner {
  max-width: var(--cshdr-maxw); margin: 0 auto; padding: 28px 24px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px;
}
.cshdr-megamenu-col-title {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--cshdr-border);
}
.cshdr-megamenu-col-title img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.cshdr-megamenu-col ul li a { display: block; padding: 6px 0; font-size: 0.84rem; color: var(--cshdr-ink-soft); transition: color var(--cshdr-transition); }
.cshdr-megamenu-col ul li a:hover { color: var(--cshdr-blue-dark); }
.cshdr-megamenu { border-top: 3px solid var(--cshdr-electric); }

.cshdr-pagesmenu { right: 0; left: auto; min-width: 240px; border-top: 3px solid var(--cshdr-electric); padding: 10px; }
.cshdr-pagesmenu ul li a {
  display: block; padding: 10px 12px; border-radius: var(--cshdr-radius-sm);
  font-size: 0.88rem; color: var(--cshdr-ink);
  transition: background var(--cshdr-transition), color var(--cshdr-transition);
}
.cshdr-pagesmenu ul li a:hover { background: var(--cshdr-blue-tint); color: var(--cshdr-blue-dark); }
.cshdr-pagesmenu ul ul { padding-right: 14px; }
.cshdr-pagesmenu-empty { padding: 14px; font-size: 0.84rem; color: var(--cshdr-ink-soft); text-align: center; }

/* --------------------------------------------------------------------------
   Drawer (mobile nav) — slides from the RIGHT
   -------------------------------------------------------------------------- */
.cshdr-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 24, 46, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--cshdr-transition), visibility var(--cshdr-transition);
  z-index: calc(var(--cshdr-z) + 10);
}
.cshdr-overlay.is-open { opacity: 1; visibility: visible; }

.cshdr-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  /* Solid, explicit white — guarded with !important because this panel
     must stay fully opaque even if a theme's own CSS targets `aside`
     or similar generic selectors. */
  background-color: var(--cshdr-white) !important;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(.4,0,.2,1);
  z-index: calc(var(--cshdr-z) + 11);
  display: flex; flex-direction: column;
  box-shadow: var(--cshdr-shadow-lg);
}
.cshdr-drawer.is-open { transform: translateX(0); }

.cshdr-drawer-brand {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cshdr-border);
}
.cshdr-drawer-logo { display: flex; align-items: center; }
.cshdr-drawer-logo img { height: 28px; width: auto; }
.cshdr-drawer-logo-text { font-weight: 800; font-size: 1.05rem; color: var(--cshdr-ink); }
.cshdr-drawer-logo-text span { color: var(--cshdr-blue); }

.cshdr-drawer-close {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--cshdr-ink-soft);
  background: var(--cshdr-bg);
  transition: background var(--cshdr-transition), color var(--cshdr-transition);
}
.cshdr-drawer-close:hover { background: var(--cshdr-blue-tint); color: var(--cshdr-blue-dark); }
.cshdr-drawer-close svg { width: 17px; height: 17px; }

.cshdr-drawer-account-row {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  margin: 12px 16px 6px;
  padding: 10px 12px;
  border-radius: var(--cshdr-radius-md);
  background: var(--cshdr-blue-tint);
  transition: background var(--cshdr-transition);
}
.cshdr-drawer-account-row:hover { background: #DCEAFD; }
.cshdr-drawer-account-row .cshdr-account-icon { width: 38px; height: 38px; background: var(--cshdr-white); color: var(--cshdr-blue-dark); }
.cshdr-drawer-account-row.is-logged-in .cshdr-account-icon { background: var(--cshdr-blue); color: var(--cshdr-white); }
.cshdr-drawer-account-text { display: flex; flex-direction: column; min-width: 0; }
.cshdr-drawer-account-label { font-size: 0.88rem; font-weight: 700; color: var(--cshdr-blue-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cshdr-drawer-account-sub { font-size: 0.73rem; color: var(--cshdr-ink-soft); }

.cshdr-drawer-tabs { flex-shrink: 0; display: flex; gap: 8px; padding: 14px 16px 10px; }
.cshdr-tab-btn {
  flex: 1; height: 42px; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  background: var(--cshdr-bg); color: var(--cshdr-ink-soft);
  border: 1.5px solid var(--cshdr-border);
  transition: background var(--cshdr-transition), color var(--cshdr-transition), border-color var(--cshdr-transition);
}
.cshdr-tab-btn.is-active { background: var(--cshdr-blue); color: var(--cshdr-white); border-color: var(--cshdr-blue); }

.cshdr-drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; background-color: var(--cshdr-white); }
.cshdr-drawer-panel[hidden] { display: none; }

.cshdr-drawer-item { border-bottom: 1px solid var(--cshdr-border); }
.cshdr-drawer-row-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.cshdr-drawer-row-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--cshdr-bg); }
.cshdr-drawer-row-icon.is-generic { padding: 7px; color: var(--cshdr-blue); }
.cshdr-drawer-row-title { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cshdr-drawer-link { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 8px 16px; gap: 10px; }
.cshdr-drawer-link:hover .cshdr-drawer-row-title { color: var(--cshdr-blue-dark); }

.cshdr-drawer-accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  min-height: 58px; padding: 8px 16px; gap: 10px; text-align: right;
}
.cshdr-drawer-accordion-btn svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--cshdr-ink-soft); transition: transform var(--cshdr-transition), color var(--cshdr-transition); }
.cshdr-drawer-accordion-btn[aria-expanded="true"] .cshdr-drawer-row-title { color: var(--cshdr-blue-dark); font-weight: 700; }
.cshdr-drawer-accordion-btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--cshdr-blue-dark); }

.cshdr-drawer-subpanel { max-height: 0; overflow: hidden; background: var(--cshdr-bg); transition: max-height 220ms ease; }
.cshdr-drawer-subpanel a { min-height: 46px; display: flex; align-items: center; padding: 8px 16px 8px 46px; font-size: 0.85rem; color: var(--cshdr-ink-soft); }
.cshdr-drawer-subpanel a:hover { color: var(--cshdr-blue-dark); }
.cshdr-drawer-subpanel a.is-view-all { font-weight: 700; color: var(--cshdr-blue-dark); }

.cshdr-drawer-empty { padding: 30px 16px; text-align: center; color: var(--cshdr-ink-soft); font-size: 0.86rem; }

.cshdr-drawer-contact { padding: 14px 16px; border-top: 1px solid var(--cshdr-border); font-size: 0.8rem; color: var(--cshdr-ink-soft); flex-shrink: 0; }
.cshdr-drawer-contact a { color: var(--cshdr-blue-dark); font-weight: 700; }

.cshdr-scroll-lock { overflow: hidden !important; height: 100%; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 576px) { .cshdr-account-label { display: block; } }

@media (min-width: 768px) {
  .cshdr-hamburger { display: none; }
  .cshdr-search { display: block; }
  .cshdr-mobile-search-toggle { display: none; }
  .cshdr-mobile-search-panel { display: none; }
  .cshdr-inner { min-height: var(--cshdr-header-h); padding: 14px 20px; gap: 20px; }
  .cshdr-side-divider { display: block; }
}

@media (min-width: 1024px) {
  .cshdr-catbar { display: block; position: relative; }
  .cshdr-inner { padding: 16px 24px; }
}

@media (min-width: 768px) {
  .cshdr.is-sticky .cshdr-inner { min-height: var(--cshdr-header-h-sticky); padding-top: 8px; padding-bottom: 8px; }
  .cshdr.is-sticky .cshdr-logo img { height: 28px; }
}

@media (min-width: 1440px) { .cshdr-inner { padding: 18px 0; max-width: var(--cshdr-maxw); } }

@media (prefers-reduced-motion: reduce) {
  .cshdr, .cshdr * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

.cshdr a:focus-visible,
.cshdr button:focus-visible,
.cshdr input:focus-visible {
  outline: 2px solid var(--cshdr-electric-dark);
  outline-offset: 2px;
}
