/* Approved header: benefits, logo/search/actions, then a dedicated category row. */
html { scroll-padding-top: 168px; }
.topbar > .container { min-height: 34px; gap: 24px; }
.top-messages { gap: 28px; }
.top-messages span { font-size: 13px; gap: 9px; }
.top-messages svg { width: 18px; height: 18px; }
.topbar nav { gap: 16px; flex-shrink: 0; }
.topbar nav button { font-size: 12px; padding-right: 16px; }
.store-header { background: #fffdfb; backdrop-filter: none; border: 0; }
.store-header .header-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 250px;
  gap: 40px;
  min-height: 92px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.store-header .logo { justify-self: start; font-size: 38px; letter-spacing: -2.5px; }
.store-header .logo span { height: 48px; margin: 0 7px; }
.store-header .search {
  width: 100%;
  max-width: 640px;
  justify-self: center;
  margin: 0;
  padding: 12px 18px;
  gap: 14px;
  min-height: 48px;
  border-radius: 8px;
  border-color: #ded9d3;
  background: #fff;
}
.store-header .search svg { width: 22px; height: 22px; }
.store-header .search input { font-size: 15px; }
.store-header .header-actions { display: flex; justify-content: space-between; gap: 18px; margin: 0; }
.store-header .header-actions .icon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  min-width: 62px;
  height: 56px;
  padding: 0;
}
.store-header .header-actions svg { width: 27px; height: 27px; }
.action-label { font-size: 13px; line-height: 1.3; white-space: nowrap; }
.store-header .header-actions button:hover { color: var(--wine); }
.store-header #cart-count { right: 8px; top: -2px; width: 21px; height: 21px; font-size: 11px; }
.store-header .mobile-menu { display: none; }
.category-navigation { border-top: 1px solid #efeae4; border-bottom: 1px solid #e5ded6; }
.store-header .desktop-nav { display: flex; justify-content: center; gap: 32px; min-height: 50px; }
.store-header .nav-link { font-size: 15px; font-weight: 500; line-height: 1.4; padding: 13px 0; white-space: nowrap; }
.store-header .nav-link:hover { color: var(--wine); }
.store-header .nav-link.active { color: var(--wine); box-shadow: inset 0 -2px var(--wine); }
.store-header .nav-offer { color: var(--wine); font-weight: 700; }
.store-header #mobile-nav { max-height: 65vh; overflow-y: auto; background: #fffdfb; }
.store-header #mobile-nav:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.store-header #mobile-nav .nav-link { font-size: 16px; padding: 14px 8px; white-space: normal; }
@media (min-width: 1024px) {
  .store-header #mobile-nav:not([hidden]) { display: none; }
}
@media (max-width: 1199px) {
  .top-messages { gap: 24px; justify-content: space-between; }
  .topbar nav { display: none; }
  .store-header .header-row { grid-template-columns: 165px minmax(0, 1fr) 220px; gap: 24px; }
  .store-header .logo { font-size: 34px; }
  .store-header .header-actions { gap: 12px; }
  .store-header .search { max-width: none; }
  .store-header .desktop-nav { gap: 24px; }
  .store-header .nav-link { font-size: 14px; }
}
@media (max-width: 1023px) {
  .top-messages span:nth-child(4) { display: none; }
  html { scroll-padding-top: 100px; }
  .store-header .header-row { grid-template-columns: 36px 150px minmax(0, 1fr) 144px; gap: 16px; min-height: 84px; }
  .store-header .mobile-menu { display: grid; width: 36px; height: 44px; }
  .store-header .logo { font-size: 30px; }
  .store-header .logo span { height: 40px; margin: 0 5px; }
  .store-header .header-actions { gap: 4px; }
  .store-header .header-actions .icon-button { min-width: 44px; width: 44px; height: 44px; }
  .store-header .header-actions svg { width: 24px; height: 24px; }
  .store-header .action-label { display: none; }
  .store-header .search { min-height: 44px; padding: 10px 12px; gap: 10px; }
  .store-header #cart-count { right: 0; top: -3px; width: 18px; height: 18px; font-size: 10px; }
  .category-navigation { display: none; }
}
@media (max-width: 379px) {
  .top-messages span:nth-child(2) { display: none; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 140px; }
  .topbar > .container { min-height: 32px; }
  .top-messages { justify-content: center; gap: 16px; }
  .top-messages span { font-size: 12px; gap: 6px; }
  .top-messages svg { width: 16px; height: 16px; }
  .top-messages span:nth-child(n+3) { display: none; }
  .store-header .header-row {
    grid-template-columns: 32px minmax(0, 1fr) 132px;
    grid-template-rows: 44px 44px;
    min-height: 116px;
    gap: 12px 8px;
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .store-header .mobile-menu { width: 32px; }
  .store-header .logo { font-size: 27px; letter-spacing: -2px; }
  .store-header .logo span { height: 34px; margin: 0 4px; }
  .store-header .search { grid-column: 1 / -1; grid-row: 2; order: initial; }
  .store-header .search input { font-size: 14px; }
  .store-header .header-actions { grid-column: 3; grid-row: 1; gap: 0; }
  .store-header #mobile-nav { padding: 12px 16px 20px; }
}
@media (max-width: 359px) {
  .top-messages span:nth-child(2) { display: none; }
  .store-header .header-row { grid-template-columns: 28px minmax(0, 1fr) 120px; gap: 12px 4px; }
  .store-header .logo { font-size: 24px; }
  .store-header .header-actions .icon-button { min-width: 40px; width: 40px; }
}
