/* Utility bar, sticky header, search and nav row. Source: "Utility bar + header" in app/globals.css. */

.util { background: var(--cc-topbar-bg, var(--night)); color: var(--cc-topbar-text, var(--card)); padding: 0 16px; }
.util-in { max-width: var(--cc-content-width, 1300px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.util-left { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.04em; color: var(--cc-topbar-text, var(--fog2)); }
.pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 10px rgba(242,106,31,0.55); display: inline-block; flex-shrink: 0; }
.util-right { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.util-right a { color: var(--cc-topbar-muted, var(--fog)); }
.util-right a:hover { color: var(--cc-topbar-text, var(--card)); }

/* top offset keeps the sticky header below the WordPress admin bar when logged in. */
.hdr { background: var(--cc-header-bg, var(--card)); border-bottom: 1px solid var(--line); position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 40; }
/* At 600px and below WordPress lets the admin bar scroll away, so the header sticks to the very top. */
@media screen and (max-width: 600px) { .admin-bar .hdr { top: 0; } }
.hdr-main { max-width: var(--cc-content-width, 1300px); margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { display: flex; align-items: baseline; gap: 7px; flex-shrink: 0; }
.logo span.w { font-family: var(--display); font-size: calc(30px * var(--cc-wide-scale, 1)); line-height: 1; letter-spacing: 0.02em; color: var(--cc-header-text, var(--ink)); }
.logo span.o { font-family: var(--display); font-size: calc(30px * var(--cc-wide-scale, 1)); line-height: 1; letter-spacing: 0.02em; color: var(--cc-header-accent, var(--orange)); }
.logo .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--orange); display: inline-block; }

.search { flex: 1; min-width: 240px; display: flex; align-items: center; background: var(--white); border: 1px solid var(--line2); border-radius: var(--cc-btn-radius, 999px); padding: 0 6px 0 16px; height: 44px; margin: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--ink); height: 42px; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search button { border: 0; cursor: pointer; background: var(--ink); color: var(--card); border-radius: var(--cc-btn-radius, 999px); height: 32px; padding: 0 18px; font-size: 13px; font-weight: 600; }

.hdr-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hdr-meta { display: flex; align-items: center; gap: 20px; }
.hdr-meta .k { font-size: 10.5px; color: var(--cc-header-muted, var(--mute)); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.hdr-meta .v { font-size: 14px; font-weight: 600; color: var(--cc-header-text, var(--ink)); }
.hdr-meta .sep { width: 1px; height: 28px; background: var(--line); }
.cart-btn { letter-spacing: 0.02em; }
/* My Account (1.11.1): left out from 861px to 960px, where it would push the search box onto its own row; the utility bar's "My account" stays. */
@media (max-width: 960px) { .hdr-meta .hdr-acct { display: none; } }

.navbar { border-top: 1px solid var(--line); background: var(--cc-nav-bg, var(--paper)); position: relative; }
.navrow { max-width: var(--cc-content-width, 1300px); margin: 0 auto; padding: 0 16px; display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.navrow .ni { cursor: pointer; padding: 13px 14px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; border: 0; border-bottom: 2px solid transparent; color: var(--cc-nav-text, var(--ink)); background: none; }
.navrow .ni:hover { background: var(--cc-nav-hover, var(--tan)); }
.navrow .ni.on { border-bottom-color: var(--orange); color: var(--cc-nav-accent, var(--orange2)); }
.navrow .spacer { flex: 1; }
.navrow .clear { font-weight: 700; color: var(--cc-nav-accent, var(--orange2)); }
