html { scroll-padding-top: calc(var(--customer-header-height, 150px) + 16px); }
.topbar.customer-header {
  position: sticky;
  top: 0;
  z-index: 15;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) minmax(240px, 1fr);
  gap: 20px;
  padding: 14px 20px;
  min-height: 96px;
  border-radius: 0 0 8px 8px;
}
.customer-header .customer-home { display: block; min-width: 0; }
.customer-header .brand-logo { width: 180px; max-width: 100%; height: auto; }
.customer-contacts { min-width: 0; display: grid; gap: 8px; text-align: center; justify-items: center; }
.customer-contact-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.customer-header .customer-messenger { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.customer-messenger img { flex: 0 0 26px; width: 26px; height: 26px; object-fit: contain; }
.customer-phone { color: var(--ink); font-size: 17px; font-weight: 700; white-space: nowrap; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; gap: 7px; }
.customer-phone svg { flex-shrink: 0; }
.customer-contact-prompt { color: #c65300; font-size: 24px; font-weight: 800; line-height: 1.25; text-decoration: none; animation: customer-call-pulse 1.8s ease-in-out infinite; }
@keyframes customer-call-pulse { 0%, 35%, 100% { opacity: 1; } 65% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .customer-contact-prompt { animation: none; } }
.customer-header a:hover { text-decoration: underline; text-underline-offset: 3px; }
.customer-header a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.customer-header .topbar-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.customer-header .topbar-actions a, .customer-header .cart-pill { padding-inline: 14px; }
.customer-header .topbar-actions .customer-booking { order: 2; flex: 1 0 100%; background: #ff8a0a; color: #17191c; border: 1px solid #ff8a0a; border-radius: 8px; padding: 9px 12px; text-align: center; font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.3; }
.customer-header .topbar-actions a, .customer-header .topbar-actions .cart-pill, .customer-header .topbar-actions .customer-booking { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #303237; border-radius: 8px; background: #303237; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; box-shadow: none; }
.customer-header .topbar-actions a:hover, .customer-header .topbar-actions .cart-pill:hover { background: #474a50; border-color: #474a50; text-decoration: none; }
.customer-booking-short { display: none; }
@media (min-width: 1101px) {
  .customer-header .topbar-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .customer-header .topbar-actions > a, .customer-header .topbar-actions > .cart-pill { width: 100%; min-width: 0; }
  .customer-header .topbar-actions > .customer-booking { grid-column: 1 / -1; }
  .customer-header .topbar-actions > .cart-pill { padding-inline: 8px; gap: 6px; }
  .customer-header .cart-icon { flex: 0 0 20px; }
}
@media (max-width: 1100px) {
  .topbar.customer-header { grid-template-columns: 145px minmax(0,1fr); gap: 8px 18px; }
  .customer-header .brand-logo { width: 145px; }
  .customer-header .topbar-actions { grid-column: 1 / -1; width: 100%; justify-content: flex-end; }
  .customer-header .topbar-actions .customer-booking { flex: 0 1 auto; order: 0; }
}
@media (max-width: 620px) {
  .topbar.customer-header { width: 100%; grid-template-columns: minmax(100px,1fr) auto; gap: 8px; padding: 8px 12px; min-height: 0; justify-items: stretch; border-radius: 0; }
  .customer-header .customer-home { align-self: center; padding: 0; }
  .customer-header .brand-logo { width: 120px; display: block; }
  .customer-contacts { display: contents; }
  .customer-contact-links { display: grid; grid-template-columns: repeat(3,44px); gap: 4px; }
  .customer-header .customer-messenger, .customer-header .customer-phone { width: 44px; height: 44px; min-height: 44px; justify-content: center; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; }
  .customer-messenger span, .customer-phone span { display: none; }
  .customer-messenger img { width: 26px; height: 26px; flex-basis: 26px; }
  .customer-contact-prompt { grid-column: 1 / -1; font-size: 16px; line-height: 1.25; text-align: center; justify-self: center; max-width: 360px; }
  .customer-header .topbar-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-column: 1 / -1; gap: 6px; }
  .customer-header .topbar-actions a, .customer-header .topbar-actions .cart-pill, .customer-header .topbar-actions .customer-booking { width: 100%; height: 44px; min-height: 44px; padding: 4px 6px; font-size: 12px; gap: 5px; }
  .customer-header .topbar-actions .customer-booking { order: 2; }
  .customer-header .cart-icon { display: none; }
  .customer-header .cart-pill { min-width: 0; }
  .customer-header #cartCount { min-width: 22px; height: 22px; padding: 2px 5px; font-size: 12px; }
  .customer-booking-full { display: none; }
  .customer-booking-short { display: inline; }
  .customer-header + .page:not(.manager-page) { width: calc(100% - 24px); padding-top: 12px; }
  .customer-header + .page > .search-hero { margin-top: 0; padding: 16px 0 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .customer-header + .page > .search-hero .eyebrow { display: none; }
  .customer-header + .page > .search-hero h1 { font-size: 26px; line-height: 1.15; max-width: 360px; }
  .customer-header + .page .search-panel { margin-top: 18px; padding: 8px; border-radius: 8px; }
  .customer-header + .page .mode-switch { width: 100%; border-radius: 6px; }
  .customer-header + .page .tab { min-width: 0; min-height: 44px; font-size: 13px; border-radius: 6px; }
  .customer-header + .page .search-form input, .customer-header + .page .car-form input { min-width: 0; min-height: 48px; padding: 12px; font-size: 16px; border-radius: 6px; }
  .customer-header + .page .search-panel .primary-button { min-height: 48px; padding: 12px; border-radius: 6px; }
}

/* Customer header background */
.topbar.customer-header { background: #f2eadf; }
