/* Shared header. Category navigation is a sibling, never header chrome. */
:root { --msbd-page-background:#fbfcfd; }
/* The outer canvas is shared by home, catalog, product, account and content pages.
   Product cards, forms, banners and navigation retain their own surface colors. */
html body,
body .reference-home,
body .reference-home > section,
body main.page-main,
body main.commerce-main,
body .site-footer,
body #msbd-phone-home,
body .msbd-phone #msbd-phone-main {
  background:var(--msbd-page-background)!important;
}
.msbd-desktop-category-bar { display:none; }
@media (max-width:767px) {
  .msbd-phone .msbd-phone-wordmark {
    --yb-site-font:system-ui,sans-serif;
    color:#005940;font-family:system-ui,sans-serif;font-size:23px;font-weight:500;
    letter-spacing:-.7px;white-space:nowrap;background:transparent;
  }
}
@media (min-width:768px) {
  html { scrollbar-gutter:stable; }
  body { --msbd-content-width:min(1520px,calc(100% - 36px)); }
  header.site-header {
    position:sticky!important;top:0;z-index:1000;transform:none!important;
    margin:0!important;padding:0!important;border:0!important;background:#005b43!important;
    box-shadow:0 1px 0 rgba(0,45,32,.1)!important;
  }
  body.admin-bar header.site-header { top:32px; }
  header.site-header > .msbd-announcements-wrap { display:none!important; }
  header.site-header .msbd-desktop-header-band { background:#005b43;width:100%; }
  header.site-header .container.header-main.msbd-modern-header {
    width:var(--msbd-content-width)!important;max-width:1520px!important;
    height:80px!important;min-height:80px!important;max-height:80px!important;
    margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;
    display:grid!important;grid-template-columns:180px 300px minmax(0,1fr) 216px!important;
    grid-template-areas:'brand highlights search actions'!important;gap:20px!important;
    align-items:center!important;background:transparent!important;box-shadow:none!important;
  }
  header.site-header .header-main::before { content:none!important; }
  header.site-header .msbd-modern-header .identity { grid-area:brand!important; }
  header.site-header .msbd-modern-header .brand.yb-wordmark {
    --yb-site-font:system-ui,sans-serif;
    display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;
    font-family:system-ui,sans-serif!important;font-size:29px!important;font-weight:500!important;
    line-height:1.2!important;letter-spacing:-1px!important;color:#fff!important;white-space:nowrap;
    border:0!important;background:none!important;box-shadow:none!important;transform:none!important;
  }
  header.site-header .msbd-desktop-highlights { grid-area:highlights;display:flex;gap:18px;align-items:center; }
  header.site-header .msbd-highlight-item { display:flex;align-items:center;gap:8px;color:#fff;white-space:nowrap; }
  header.site-header .msbd-highlight-item + .msbd-highlight-item { border-left:1px solid #ffffff26;padding-left:18px; }
  header.site-header .msbd-highlight-icon { display:flex;width:23px;height:23px;flex:none;color:#f9c948; }
  header.site-header .msbd-highlight-icon svg { width:23px;height:23px; }
  header.site-header .msbd-highlight-copy { display:flex;flex-direction:column;line-height:1.35; }
  header.site-header .msbd-highlight-copy strong { font-size:13px;font-weight:500; }
  header.site-header .msbd-highlight-copy small { font-size:11px;font-weight:400;color:#d8e9e3; }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search {
    grid-area:search!important;display:flex!important;align-items:center!important;gap:10px!important;
    width:100%!important;max-width:none!important;min-width:0!important;height:44px!important;min-height:44px!important;
    margin:0!important;padding:4px 5px 4px 14px!important;border:1px solid #e2ebe6!important;
    background:#fff!important;border-radius:999px!important;box-shadow:none!important;transform:none!important;
    transition:none!important;
  }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search:is(:hover,:focus-within) {
    transform:none!important;translate:none!important;scale:none!important;
    background:#fff!important;border-color:#e2ebe6!important;box-shadow:none!important;
  }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search:has(#store-query:focus-visible) {
    outline:2px solid #f9c948;outline-offset:3px;
  }
  header.site-header .msbd-modern-header .msbd-search-leading { display:flex!important;flex:none; }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search #store-query {
    flex:1!important;min-width:0!important;width:100%!important;height:34px!important;min-height:0!important;
    padding:0!important;font-size:13px!important;font-weight:400!important;background:transparent!important;box-shadow:none!important;
  }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit {
    display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 88px!important;
    width:88px!important;min-width:88px!important;height:34px!important;min-height:34px!important;max-height:34px!important;
    padding:0 12px!important;border:0!important;border-radius:999px!important;background:#006247!important;
    color:#fff!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important;transform:none!important;
    transition:background-color .18s ease,color .18s ease!important;
  }
  header.site-header .header-main.msbd-modern-header form.store-search.yb-search-enhanced.msbd-modern-search .yb-search-submit:is(:hover,:focus-visible) {
    background:#f9c948!important;color:#123d32!important;
    box-shadow:none!important;transform:none!important;filter:none!important;
  }
  header.site-header .msbd-modern-header .msbd-search-button-label { display:block!important; }
  header.site-header .msbd-modern-header .yb-search-submit .yb-icon { display:none!important; }
  header.site-header .msbd-modern-header .header-actions.msbd-modern-actions {
    grid-area:actions!important;display:flex!important;gap:0!important;justify-content:flex-end!important;width:216px!important;
    height:56px!important;align-items:center!important;padding:3px!important;
    border:1px solid #ffffff30!important;border-radius:12px!important;background:#ffffff0a!important;
  }
  header.site-header .msbd-modern-header .header-actions > * {
    flex:1 1 0!important;min-width:0!important;
  }
  header.site-header .msbd-modern-header .header-actions .yb-action-card {
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-width:0!important;height:48px!important;min-height:48px!important;padding:0 8px!important;gap:3px!important;
    border:0!important;border-radius:8px!important;
    background:transparent!important;color:#fff!important;box-shadow:none!important;transform:none!important;
  }
  header.site-header .header-main.msbd-modern-header .header-actions .yb-action-card + .yb-action-card {
    border-left:0!important;
  }
  header.site-header .msbd-modern-header .header-actions .yb-action-card .yb-icon {
    width:25px!important;height:25px!important;color:#fff!important;stroke-width:1.6!important;transform:none!important;
  }
  header.site-header .msbd-modern-header .header-actions .msbd-wishlist-icon-wrap,
  header.site-header .msbd-modern-header .header-actions .yb-cart-icon-wrap { width:25px!important;height:25px!important; }
  header.site-header .msbd-modern-header .header-actions .yb-action-card > span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count),
  header.site-header .msbd-modern-header .header-actions .yb-action-card:is(:hover,:focus-visible) > span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count),
  header.site-header .msbd-modern-header .msbd-header-account-menu[open] > .yb-action-card > span:not(.yb-cart-icon-wrap):not(.msbd-wishlist-icon-wrap):not(.cart-count):not(.msbd-wishlist-count) {
    font-size:11px!important;font-weight:400!important;line-height:1.2!important;color:#fff!important;
  }
  header.site-header .msbd-modern-header .header-actions .yb-action-card:is(:hover,:focus-visible),
  header.site-header .msbd-modern-header .header-actions .msbd-header-account-menu[open] > .yb-action-card {
    background:transparent!important;box-shadow:none!important;transform:none!important;
  }
  header.site-header .msbd-modern-header .header-actions .yb-action-card:is(:hover,:focus-visible) .yb-icon {
    color:#f9c948!important;transform:none!important;
  }
  header.site-header .msbd-modern-header .msbd-header-account-links { top:calc(100% + 12px); }
  body > .msbd-desktop-category-bar {
    display:block!important;position:relative;margin:0!important;padding:22px 0 12px!important;background:#fbfcfd!important;
  }
  .msbd-desktop-category-bar .container.msbd-desktop-category-wrap {
    width:var(--msbd-content-width)!important;max-width:1520px!important;padding:0!important;margin:0 auto!important;
  }
  .msbd-desktop-category-inner { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px; }
  .msbd-desktop-category-bar .msbd-desktop-category-card {
    display:flex;align-items:center;gap:12px;height:76px;min-width:0;padding:0 18px;
    border:1px solid var(--card-line);border-radius:14px;background:var(--card-bg);color:#123d32;
    box-shadow:0 3px 10px #153b2c05;font-size:14px;font-weight:500;line-height:1.25;text-decoration:none;
    transition:border-color .15s,box-shadow .15s;
  }
  .msbd-desktop-category-card:hover { border-color:var(--card-icon);box-shadow:0 5px 14px #153b2c0d; }
  .msbd-desktop-category-icon { display:flex;width:30px;height:30px;flex:none;color:var(--card-icon); }
  .msbd-desktop-category-icon svg { width:30px;height:30px; }
  .msbd-desktop-category-title { flex:1;min-width:0; }
  .msbd-desktop-category-arrow { display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#fff;color:#17634e; }
  .msbd-desktop-category-arrow svg { width:13px;height:13px; }
  .msbd-desktop-category-card--kitchen { --card-bg:#eef6f1;--card-line:#e0ece4;--card-icon:#006047; }
  .msbd-desktop-category-card--baby-kids { --card-bg:#fff1f5;--card-line:#f7e3eb;--card-icon:#f44880; }
  .msbd-desktop-category-card--home-living { --card-bg:#fff7ea;--card-line:#f3e9d6;--card-icon:#d39413; }
  .msbd-desktop-category-card--electronics { --card-bg:#eff5ff;--card-line:#e1eafb;--card-icon:#347fee; }
  .msbd-desktop-category-card--all { --card-bg:#eef5f1;--card-line:#dfebe3;--card-icon:#00583f; }
  body main.container.page-main,
  body main.container.commerce-main,
  body .reference-home.yb-refined-home > section.container,
  body .reference-home .container,
  body .site-footer > .container {
    width:var(--msbd-content-width)!important;max-width:1520px!important;
    margin-inline:auto!important;
  }
}
@media (min-width:768px) and (max-width:1199px) {
  header.site-header .container.header-main.msbd-modern-header {
    grid-template-columns:170px minmax(0,1fr) 198px!important;grid-template-areas:'brand search actions'!important;gap:16px!important;
  }
  header.site-header .msbd-desktop-highlights { display:none; }
  header.site-header .msbd-modern-header .header-actions.msbd-modern-actions { width:198px!important; }
  .msbd-desktop-category-inner { gap:10px; }
  .msbd-desktop-category-bar .msbd-desktop-category-card { padding:0 12px;gap:8px;font-size:13px; }
  .msbd-desktop-category-icon, .msbd-desktop-category-icon svg { width:25px;height:25px; }
  .msbd-desktop-category-arrow { width:22px;height:22px; }
}
@media (min-width:768px) and (max-width:900px) {
  body { --msbd-content-width:calc(100% - 24px); }
  .msbd-desktop-category-bar .msbd-desktop-category-card { padding:0 10px;font-size:12px; }
}
@media (min-width:768px) and (max-width:782px) { body.admin-bar header.site-header { top:46px; } }
@media (prefers-reduced-motion:reduce) { .msbd-desktop-category-card { transition:none!important; } }
