.sr-header-shell {
  position: relative;
  z-index: 70;
  background: var(--sr-header-bg, #fff);
  color: var(--sr-text-color, #10233f);
  box-shadow: 0 1px 0 rgba(16, 35, 63, 0.08);
}

.sr-header-shell,
.sr-header,
#desktop-header,
#header,
#sr-header-sticky,
.sr-nav-sticky-shell {
  overflow: visible !important;
}

.sr-header-shell.is-scrolled {
  box-shadow: 0 18px 48px rgba(9, 24, 44, 0.12);
}

body.sr-header-overlap #wrapper {
  padding-top: calc(1.563rem + var(--sr-header-overlap, 0px));
}

body#index #wrapper {
  padding-top: 0;
}

body#index.sr-header-overlap #wrapper {
  padding-top: var(--sr-header-overlap, 0px);
}

body.sr-header-mobile-mode .sr-header-shell {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  transform: none !important;
  z-index: 70 !important;
}

body#index.sr-header-mobile-mode #desktop-header.header_style_default.sr-header-shell {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  transform: none !important;
  z-index: 70 !important;
}

.sr-header-spacer {
  display: none;
}

body.sr-header-mobile-mode .sr-header-spacer {
  display: none;
  height: 0;
}

.sr-container {
  width: min(100% - 32px, var(--sr-max-width, 1440px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-topbar {
  background: var(--sr-topbar-bg, #0d1b2a);
  color: var(--sr-topbar-text, #f8fafc);
}

.sr-topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 40px;
}

.sr-topbar-copy,
.sr-topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sr-topbar-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.sr-topbar-links {
  margin-left: auto;
}

.sr-topbar-kicker {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
}

.sr-topbar-message,
.sr-topbar-link,
.sr-topbar-cta {
  color: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.sr-topbar-link:hover,
.sr-topbar-cta:hover {
  color: #fff;
}

.sr-topbar-cta {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.sr-header {
  background: var(--sr-header-bg, #fff);
}

.sr-mainbar {
  display: grid;
  grid-template-columns: auto minmax(420px, 1.35fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0 10px;
}

.sr-nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--sr-text-color, #10233f);
  padding: 8px 0;
}

.sr-nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.sr-nav-toggle-box span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.sr-nav-toggle-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sr-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sr-logo-image {
  display: block;
  width: auto;
  height: 40px;
  max-width: 170px;
  object-fit: contain;
}

.sr-logo-wordmark {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sr-muted-text, #607089);
}

.sr-search {
  min-width: 0;
  width: 100%;
  max-width: 720px;
  justify-self: center;
}

.sr-search-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid rgba(16, 35, 63, 0.14);
}

.sr-search-shell:focus-within {
  border-color: rgba(16, 35, 63, 0.28);
}

.sr-search-icon svg,
.sr-utility-icon svg,
.sr-mobile-close svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-search-input,
.sr-mobile-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sr-text-color, #10233f);
  font-size: 16px;
}

.sr-search-input:focus,
.sr-mobile-search-input:focus {
  outline: none;
}

.sr-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 3010;
}

.sr-search-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(460px, 94vw);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: none;
  z-index: 3020;
}

body.sr-search-open {
  overflow: hidden;
}

body.sr-search-open .sr-search-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.sr-search-open .sr-search-drawer {
  box-shadow: -24px 0 48px rgba(7, 17, 32, 0.18);
  transform: translateX(0);
}

.sr-search-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-search-drawer-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--sr-text-color, #10233f);
}

.sr-search-drawer-query,
.sr-search-drawer-state,
.sr-search-empty {
  margin-top: 8px;
  color: var(--sr-muted-text, #607089);
  font-size: 13px;
  line-height: 1.4;
}

.sr-search-drawer-close {
  border: 0;
  background: var(--sr-surface-bg, #f4f7fb);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.sr-search-drawer-close svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-search-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.sr-search-results-list {
  display: grid;
  gap: 12px;
}

.sr-search-result {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--sr-text-color, #10233f);
}

.sr-search-result:hover {
  color: var(--sr-color-primary, #0057b8);
}

.sr-search-result-media {
  width: 76px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sr-surface-bg, #f4f7fb);
}

.sr-search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-search-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sr-search-result-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.sr-search-result-meta {
  color: var(--sr-muted-text, #607089);
  font-size: 12px;
}

.sr-search-result-price {
  color: var(--sr-color-primary, #0057b8);
  font-size: 13px;
  font-weight: 800;
}

.sr-search-view-all {
  width: 100%;
  min-height: 42px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sr-color-primary, #0057b8);
  color: #fff;
  font-weight: 800;
}

.sr-search-view-all:hover {
  color: #fff;
}

.sr-search-button,
.sr-utility-cta,
.sr-mobile-cta,
.sr-feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--sr-color-primary, #0057b8);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sr-search-button:hover,
.sr-utility-cta:hover,
.sr-mobile-cta:hover,
.sr-feature-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 87, 184, 0.18);
}

.sr-utilities {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.sr-mobile-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sr-mobile-sticky-row {
  display: contents;
}

.sr-utility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sr-text-color, #10233f);
  flex: 0 0 auto;
}

.sr-utility-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sr-utility-label {
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sr-muted-text, #607089);
}

.sr-utility-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.sr-utility-meta {
  font-size: 11px;
  line-height: 1.1;
  color: var(--sr-muted-text, #607089);
}

.sr-utility-icononly {
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 50%;
  background: var(--sr-surface-bg, #f4f7fb);
}

.sr-utility-phone-toggle {
  border: 0;
  cursor: pointer;
}

.sr-phone-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 92vw);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: none;
  z-index: 3020;
}

.sr-phone-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 32, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 3010;
}

body.sr-phone-open {
  overflow: hidden;
}

body.sr-phone-open .sr-phone-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.sr-phone-open .sr-phone-drawer {
  box-shadow: -24px 0 48px rgba(7, 17, 32, 0.18);
  transform: translateX(0);
}

.sr-phone-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-phone-drawer-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--sr-text-color, #10233f);
}

.sr-phone-drawer-meta {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sr-muted-text, #607089);
}

.sr-phone-drawer-close {
  border: 0;
  background: var(--sr-surface-bg, #f4f7fb);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.sr-phone-drawer-close svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-phone-drawer-body {
  padding: 20px;
}

.sr-phone-drawer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sr-color-primary, #0057b8);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.sr-phone-drawer-link:hover {
  color: #fff;
}

.sr-utility-cart {
  flex: 0 0 auto;
  min-width: 0;
}

.sr-utility-cart-button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--sr-text-color, #10233f);
  cursor: pointer;
}

.sr-utility-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.sr-cart-button-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sr-surface-bg, #f4f7fb);
  color: var(--sr-text-color, #10233f);
  position: relative;
}

.sr-cart-button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-cart-button-count {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sr-color-accent, #ff6b00);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.sr-utility-cart-button:hover .sr-cart-button-icon {
  color: var(--sr-color-primary, #0057b8);
}

.sr-nav {
  background: var(--sr-nav-bg, #fff);
  border-top: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-nav-sticky-shell {
  position: relative;
  z-index: 68;
}

#desktop-header #sr-header-sticky.sr-is-sticky {
  position: relative;
  width: auto;
  top: auto;
  left: auto;
}

#desktop-header #sr-header-sticky.sr-is-sticky .sr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 14px 28px rgba(9, 24, 44, 0.08);
}

.sr-header-shell.is-scrolled .sr-nav {
  box-shadow: 0 14px 28px rgba(9, 24, 44, 0.08);
}

.sr-nav .sr-container {
  position: relative;
}

.sr-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-nav-item {
  position: static;
}

.sr-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  color: var(--sr-text-color, #10233f);
  font-size: 14px;
  font-weight: 700;
}

.sr-nav-link:hover {
  color: var(--sr-color-primary, #0057b8);
}

.sr-nav-badge,
.sr-feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--sr-color-accent, #ff6b00);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sr-mega-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1100px, 88vw);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sr-nav-item:hover .sr-mega-panel,
.sr-nav-item:focus-within .sr-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.sr-mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 56px rgba(9, 24, 44, 0.16);
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-mega-grid.no-feature {
  grid-template-columns: minmax(0, 1fr);
}

.sr-mega-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sr-mega-grid.no-feature .sr-mega-columns {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sr-mega-column {
  padding: 4px 4px 4px 0;
}

.sr-mega-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-muted-text, #607089);
}

.sr-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-mega-links li + li {
  margin-top: 10px;
}

.sr-mega-links li.sr-mega-links-title {
  margin-top: 20px;
}

.sr-mega-links li.sr-mega-links-title:first-child {
  margin-top: 0;
}

.sr-mega-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--sr-text-color, #10233f);
  font-size: 14px;
  font-weight: 700;
}

.sr-mega-links a small {
  color: var(--sr-muted-text, #607089);
  font-size: 12px;
  font-weight: 500;
}

.sr-mega-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(0, 87, 184, 0.08), rgba(255, 107, 0, 0.11));
}

.sr-mega-feature h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  color: var(--sr-text-color, #10233f);
}

.sr-mega-feature p {
  margin: 0;
  color: var(--sr-muted-text, #607089);
  line-height: 1.5;
}

.sr-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 32, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 3010;
}

.sr-mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(420px, 92vw);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: none;
  z-index: 3020;
}

body.sr-mobile-open {
  overflow: hidden;
}

body.sr-mobile-open .sr-mobile-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.sr-mobile-open .sr-mobile-drawer {
  box-shadow: 24px 0 48px rgba(7, 17, 32, 0.18);
  transform: translateX(0);
}

.sr-mobile-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-mobile-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.sr-mobile-logo img {
  max-height: 28px;
  width: auto;
  display: block;
}

.sr-mobile-close {
  border: 0;
  background: var(--sr-surface-bg, #f4f7fb);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-mobile-search {
  padding: 18px 20px 12px;
}

.sr-mobile-search-input {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--sr-surface-bg, #f4f7fb);
}

.sr-mobile-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 28px;
}

.sr-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-mobile-item {
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.sr-mobile-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.sr-mobile-link {
  display: block;
  padding: 18px 0;
  color: var(--sr-text-color, #10233f);
  font-size: 16px;
  font-weight: 700;
}

.sr-mobile-toggle {
  border: 0;
  background: transparent;
  color: var(--sr-text-color, #10233f);
  padding: 12px 0 12px 14px;
}

.sr-mobile-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  transition: transform 0.2s ease;
}

.sr-mobile-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sr-mobile-panel {
  display: none;
  padding: 0 0 16px;
}

.sr-mobile-panel.is-open {
  display: block;
}

.sr-mobile-group + .sr-mobile-group {
  margin-top: 16px;
}

.sr-mobile-group-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-muted-text, #607089);
}

.sr-mobile-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-mobile-group li + li {
  margin-top: 10px;
}

.sr-mobile-group a {
  color: var(--sr-text-color, #10233f);
  font-size: 14px;
}

.sr-mobile-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.sr-mobile-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--sr-surface-bg, #f4f7fb);
  color: var(--sr-text-color, #10233f);
  font-weight: 700;
}

.sr-mobile-shortcut-icon {
  color: var(--sr-color-accent, #ff6b00);
}

.sr-mobile-utility-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.sr-mobile-utility-links a {
  color: var(--sr-text-color, #10233f);
  font-size: 14px;
  font-weight: 600;
}

.sr-mobile-cta {
  width: 100%;
  margin-top: 22px;
}

@media (max-width: 1399px) {
  .sr-mainbar {
    grid-template-columns: auto minmax(340px, 1.2fr) auto;
  }

  .sr-utilities {
    gap: 10px;
  }

  .sr-mega-grid.no-feature .sr-mega-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 1199px) {
  .sr-mainbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sr-utilities {
    display: none;
  }

  .sr-nav {
    display: none;
  }

  .sr-nav-toggle {
    display: inline-flex;
  }

  .sr-mega-grid.no-feature .sr-mega-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Tablet (768px–1199px) : grid logo centré + search pleine largeur + icônes ── */
@media (min-width: 768px) and (max-width: 1199px) {
  /* Annule display:block + padding compensatoire de la sticky row fixe (≤991px) */
  .sr-mainbar {
    display: grid !important;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    padding: 10px 0 !important;
  }

  /* Annule position:fixed du bloc ≤991px */
  .sr-mobile-sticky-row {
    position: static !important;
    display: contents !important;
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .sr-nav-toggle {
    grid-column: 1;
    grid-row: 1;
  }

  .sr-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  /* Masque mobile-actions (≤991px le force à flex) pour éviter les doublons */
  .sr-mobile-actions {
    display: none !important;
  }

  /* Réaffiche les icônes utilities en col 3 */
  .sr-utilities {
    display: flex !important;
    grid-column: 3;
    grid-row: 1;
    gap: 8px;
  }

  .sr-utilities .sr-utility-cta { display: none; }
  .sr-utilities .sr-utility-copy { display: none; }

  /* Search pleine largeur en ligne 2 */
  .sr-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    padding-bottom: 10px;
  }
}

@media (max-width: 991px) {
  .sr-topbar-inner {
    min-height: 30px;
  }

  .sr-topbar-copy {
    gap: 10px;
  }

  .sr-topbar-message {
    display: none;
  }

  .sr-topbar-links {
    gap: 10px;
  }

  .sr-mainbar {
    display: block;
    padding: calc(var(--sr-mobile-sticky-row-height, 60px) + 8px) 0 10px;
  }

  .sr-logo-wordmark {
    display: none;
  }

  .sr-logo-image {
    height: 40px;
    max-width: 136px;
  }

  .sr-nav-toggle-label {
    display: none;
  }

  .sr-mobile-sticky-row {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    box-sizing: border-box;
    min-height: var(--sr-mobile-sticky-row-height, 60px);
    padding: 10px max(10px, calc((100vw - var(--sr-max-width, 1440px)) / 2 + 16px));
    background: var(--sr-header-bg, #fff);
    box-shadow: 0 1px 0 rgba(16, 35, 63, 0.08);
  }

  .sr-nav-toggle {
    grid-column: 1;
    grid-row: 1;
    min-width: 44px;
    min-height: 40px;
    justify-content: flex-start;
    padding: 0;
  }

  .sr-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
  }

  .sr-mobile-actions {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    gap: 6px;
  }

  .sr-mobile-actions .sr-utility-icononly,
  .sr-mobile-actions .sr-utility-cart {
    display: inline-flex;
  }

  .sr-mobile-actions .sr-utility-icononly,
  .sr-mobile-actions .sr-cart-button-icon {
    width: 40px;
    height: 40px;
  }

  .sr-search {
    display: block;
    max-width: none;
    overflow: visible;
    opacity: 1;
    transform: none;
  }

  .sr-search-shell {
    min-height: 38px;
    gap: 9px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    border-color: rgba(16, 35, 63, 0.12);
    box-shadow: 0 8px 20px rgba(16, 35, 63, 0.06);
  }

  .sr-search-shell:focus-within {
    border-color: rgba(16, 35, 63, 0.24);
    box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08);
  }

  .sr-search-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
  }

  .sr-search-input {
    font-size: 16px; /* < 16px déclenche le zoom automatique iOS Safari */
    line-height: 1.2;
  }
}

button.sr-utility {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.sr-utility--logged {
  position: relative;
}
.sr-utility--logged::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}

/* ── Services dropdown (mobile uniquement) ───────────────── */
.sr-mobile-services {
  position: relative;
}

.sr-services-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(16, 35, 63, 0.16);
  border: 1px solid rgba(16, 35, 63, 0.07);
  z-index: 3100;
}

.sr-services-dropdown.is-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Normalise le bouton injecté par le hook store locator */
.sr-services-locator-wrap > * {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: none !important;
  border: 0 !important;
  color: var(--sr-text-color, #10233f) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.sr-services-locator-wrap > *:hover {
  background: var(--sr-surface-bg, #f4f7fb) !important;
}

/* Cache l'éventuel cercle icon-only à l'intérieur du hook */
.sr-services-locator-wrap .sr-utility-icononly,
.sr-services-locator-wrap .sr-utility-icon {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
}

/* Label masqué partout sauf dans le dropdown services */
.sr-utility-store-label {
  display: none;
}

.sr-services-locator-wrap .sr-utility-store-label {
  display: inline;
  font-size: 14px;
  font-weight: 600;
  color: var(--sr-text-color, #10233f);
}

.sr-services-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  background: none;
  border: 0;
  color: var(--sr-text-color, #10233f);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sr-services-item:hover {
  background: var(--sr-surface-bg, #f4f7fb);
}

.sr-services-item-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sr-mobile-services { display: none; }
}

@media (max-width: 767px) {
  .sr-container {
    width: min(100% - 20px, var(--sr-max-width, 1440px));
  }

  .sr-topbar {
    display: none;
  }

  .sr-logo-image {
    max-width: 126px;
    height: 36px;
  }

  .sr-mobile-shortcuts {
    grid-template-columns: 1fr;
  }

  .sr-mega-columns,
  .sr-mega-grid.no-feature .sr-mega-columns {
    grid-template-columns: 1fr;
  }
}
