/* One header for all 4 URSY sites (Lee, 3 Dec 2026). The same file in every theme as assets/top.css, loaded last.
   A white bar with a clear edge, the barcode logo, the menu as buttons on a soft tray, Log in and Open a shop.
   Light only. Nothing folds away: on narrower screens the menu tray moves under the logo and slides sideways. */

/* The logo: the ending sits closer to URSY (Lee: about a millimetre to the left) */
.up-logo__word small { margin-left: -2px; }

/* The bar */
.up-head.up-top { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid #e6e6ee; box-shadow: 0 6px 18px -16px rgba(10, 10, 12, .35); backdrop-filter: none; }
.up-top .up-head__in { display: flex; flex-wrap: nowrap; align-items: center; gap: 24px; min-height: 78px; padding-top: 0; row-gap: 0; }
.up-top .up-logo { flex: none; }

/* The menu: white buttons on a soft grey tray */
.up-top .up-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; margin: 0; padding: 0; overflow: visible; }
.up-top .up-nav ul { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 0; padding: 5px; list-style: none; background: #f1f1f5; border: 1px solid #e6e6ee; border-radius: 999px; }
.up-top .up-nav li { display: flex; flex: none; }
.up-top .up-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border: 1px solid #e3e3ea; border-radius: 999px; background: #fff; color: #0a0a0c; font-size: 14.5px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(10, 10, 12, .06); transition: border-color .15s, background-color .15s, color .15s; }
.up-top .up-nav a:hover { border-color: #0a0a0c; background: #fff; color: #0a0a0c; }
.up-top .up-nav a:focus-visible { outline: 3px solid #7c5cff; outline-offset: 2px; }
.up-top .up-nav a[aria-current="page"] { border-color: #0a0a0c; background: #0a0a0c; color: #fff; }

/* Log in and Open a shop */
.up-top .up-head__end { display: flex; flex: none; align-items: center; gap: 8px; }
.up-top .up-head__end .up-btn { min-height: 40px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.up-top .up-head__end .up-btn--line { display: inline-flex; background: #fff; color: #0a0a0c; }
.up-top .up-head__end .up-btn--line:hover { background: #0a0a0c; color: #fff; }

/* Narrower screens: logo and the two buttons on one line, the menu tray under them, sliding sideways */
@media (max-width: 1240px) {
	.up-top .up-head__in { flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-top: 14px; }
	.up-top .up-nav { order: 3; flex: 0 0 100%; justify-content: flex-start; margin: 14px -24px 0; padding: 0 24px 13px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.up-top .up-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
	.up-top .up-head__in { column-gap: 10px; padding-top: 12px; }
	.up-top .up-nav { margin: 12px -18px 0; padding: 0 18px 11px; }
	.up-top .up-nav a { min-height: 34px; padding: 0 13px; font-size: 14px; }
	.up-top .up-head__end { gap: 6px; }
	.up-top .up-head__end .up-btn { min-height: 36px; padding: 0 13px; font-size: 14px; }
}
@media (max-width: 360px) {
	.up-top .up-head__end .up-btn { padding: 0 10px; font-size: 13px; }
}

/* The foot (ursy.com, 3 Dec 2026): the long barcode is the last thing on the page; the cookie choices link and the
   "For AI assistants and developers" line sit together, centred, just above it */
.up-foot__band--end { display: block; margin: 0; }
.up-foot .ursy-cookie-link { display: block; width: max-content; margin: 10px auto 0; color: var(--ink2, #3a3a44); font-size: 14px; }
.up .ursy-doors-foot { color: var(--ink2, #3a3a44); }
.up .ursy-doors-foot a { color: var(--ink, #0a0a0c); }
