/* Compact header only; storefront sections retain their existing styles. */
.t360-header--compact { border-bottom: 1px solid #edf0f3; }
.t360-header--compact .t360-header-main {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  gap: 28px;
  border: 0;
}
.t360-header--compact .t360-brand-wrap { min-width: 0; }
.t360-header--compact .t360-logo-image img { width: 180px; max-width: 100%; height: auto; }
.t360-header--compact .t360-navigation { display: block; border: 0; background: transparent; }
.t360-header--compact .t360-navigation-inner { min-height: 0; display: flex; gap: 26px; }
.t360-header--compact .t360-products-trigger {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; height: 44px;
  padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--t360-navy);
}
.t360-header--compact .t360-products-trigger strong { font-size: 15px; font-weight: 600; }
.t360-header--compact .t360-primary-menu { flex: none; overflow: visible; }
.t360-header--compact .t360-primary-menu-list { justify-content: center; gap: 26px; }
.t360-header--compact .t360-primary-menu-list a { display: flex; align-items: center; min-height: 44px; color: var(--t360-navy); font-size: 15px; font-weight: 500; }
.t360-header--compact .t360-primary-menu-list a:hover,
.t360-header--compact .t360-products-trigger:hover { color: var(--t360-blue); }
.t360-header--compact .t360-account-actions { justify-self: end; gap: 7px; }
.t360-header--compact .t360-icon-control {
  position: relative; display: inline-flex; justify-content: center; align-items: center;
  flex: 0 0 auto; width: 44px; height: 44px; min-width: 0; min-height: 44px;
  margin: 0; padding: 0; gap: 0; border: 0; border-radius: 8px;
  color: var(--t360-navy); background: transparent; box-shadow: none;
  line-height: 1; text-decoration: none; cursor: pointer; list-style: none;
}
.t360-header--compact .t360-icon-control:hover,
.t360-header--compact details[open] > summary { background: #f2f6fc; color: var(--t360-blue); }
.t360-header--compact a.t360-cart-link { color: var(--t360-navy); }
.t360-header--compact a.t360-cart-link:hover { color: var(--t360-blue); }
.t360-header--compact svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.t360-header--compact svg.t360-chevron { width: 13px; height: 13px; stroke-width: 1.5; }
.t360-header--compact .t360-cart-link .t360-cart-count {
  display: grid;
  position: absolute; right: -1px; top: 0; width: auto; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; color: #fff; background: var(--t360-blue); font-size: 10px; font-weight: 700;
}
.t360-header--compact .t360-mobile-toggle { display: none; }
.t360-header--compact .t360-header-popover { position: relative; margin: 0; padding: 0; border: 0; }
.t360-header--compact summary::marker,
.t360-header--compact summary::-webkit-details-marker { display: none; content: ''; }
.t360-header--compact summary::after { display: none; }
.t360-header--compact .t360-language-picker summary { width: 49px; gap: 6px; }
.t360-header--compact .t360-language-flag { display: block; width: 24px; height: 16px; max-width: none; object-fit: cover; border-radius: 1px; box-shadow: 0 0 0 1px rgba(21,61,92,.12); }
.t360-header--compact .t360-language-code { font-size: 12px; font-weight: 650; }
.t360-header--compact .t360-header-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 10;
  margin: 0; padding: 8px; border: 1px solid var(--t360-line); border-radius: 12px;
  background: #fff; box-shadow: 0 14px 38px rgba(21,61,92,.13);
}
.t360-header--compact .t360-language-options { min-width: 185px; list-style: none; }
.t360-header--compact .t360-language-options li { margin: 0; padding: 0; list-style: none; }
.t360-header--compact .t360-language-options a { display: flex; gap: 13px; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 14px; color: var(--t360-navy); }
.t360-header--compact .t360-language-options a:hover,
.t360-header--compact .t360-language-options a[aria-current] { color: var(--t360-blue); background: #f2f6fc; }
.t360-header--compact .t360-search-picker { position: static; }
.t360-header--compact .t360-search-panel { top: calc(100% + 10px); right: clamp(20px, 5vw, 76px); width: min(460px, calc(100vw - 40px)); padding: 18px; }
.t360-header--compact .t360-header-search { display: block; width: 100%; padding: 0; }
.t360-header--compact .t360-header-search form { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.t360-header--compact .t360-header-search .search-form label { flex: 1; min-width: 0; }
.t360-header--compact .t360-header-search input[type="search"] { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--t360-line); border-radius: 8px; background: #fff; color: var(--t360-navy); box-shadow: none; font-size: 15px; }
.t360-header--compact .t360-header-search input[type="search"]:focus { border-color: var(--t360-blue); outline: 2px solid rgba(44,104,231,.22); outline-offset: 1px; box-shadow: none; }
.t360-header--compact .t360-header-search button,
.t360-header--compact .t360-header-search .search-submit { flex: 0 0 auto; width: auto; height: 48px; margin: 0; padding: 0 18px; border: 0; border-radius: 8px; box-shadow: none; font-size: 14px; font-weight: 600; color: #fff; background: var(--t360-blue); }
.t360-header--compact .t360-header-search :is(button, .search-submit):hover { color: #fff; background: #2358c7; }
.t360-header--compact .t360-header-search :is(button, .search-submit):focus-visible { color: #fff; outline: 2px solid var(--t360-blue); outline-offset: 3px; }
.t360-header--compact .t360-header-search button::after,
.t360-header--compact .t360-header-search .search-submit::after { content: none; }
.t360-header--compact :is(a, button, summary, input):focus-visible { outline: 2px solid var(--t360-blue); outline-offset: 4px; }

@media (max-width: 1250px) {
  .t360-header--compact .t360-header-main { grid-template-columns: minmax(0, 1fr) auto; min-height: 80px; gap: 16px; }
  .t360-header--compact .t360-mobile-toggle { display: inline-flex; }
  .t360-header--compact .t360-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px clamp(20px, 5vw, 76px) 22px; background: #fff; border-bottom: 1px solid var(--t360-line); box-shadow: 0 14px 24px rgba(21,61,92,.06); }
  .t360-header--compact .t360-navigation.is-open { display: block; }
  .t360-header--compact .t360-navigation-inner { display: block; }
  .t360-header--compact .t360-primary-menu-list { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .t360-header--compact .t360-products-trigger { width: 100%; justify-content: space-between; }
  .t360-header--compact .t360-primary-menu-list a { padding: 4px 0; font-size: 15px; }
}
@media (max-width: 480px) {
  .t360-header--compact .t360-header-main { min-height: 72px; padding-inline: 16px; gap: 8px; }
  .t360-header--compact .t360-logo-image img { width: 136px; }
  .t360-header--compact .t360-account-actions { gap: 2px; }
  .t360-header--compact .t360-icon-control { width: 36px; }
  .t360-header--compact .t360-language-picker summary { width: 37px; gap: 3px; }
  .t360-header--compact .t360-language-picker summary .t360-chevron { width: 10px; }
  .t360-header--compact .t360-language-flag { width: 22px; height: 15px; }
  .t360-header--compact .t360-search-panel { right: 16px; width: calc(100% - 32px); }
  .t360-header--compact .t360-header-search form { flex-direction: column; align-items: stretch; }
  .t360-header--compact .t360-header-search input[type="search"],
  .t360-header--compact .t360-header-search .search-form label { flex: none; width: 100%; }
  .t360-header--compact .t360-header-search input[type="search"] { font-size: 16px; }
  .t360-header--compact .t360-header-search button,
  .t360-header--compact .t360-header-search .search-submit { width: 100%; }
  .t360-header--compact .t360-language-options { right: -65px; }
}
@media (max-width: 359px) {
  .t360-header--compact .t360-header-main { padding-inline: 12px; }
  .t360-header--compact .t360-account-actions { gap: 0; }
  .t360-header--compact .t360-icon-control { width: 34px; }
}
