/* Design tokens read off the reference site (audit/refsite.mjs): Jost, navy #0D396A, orange #FA4E1B,
   warm ink #3B2F2F, page #FCFBFA, 8px radius. */
:root {
	--aura-navy: #0D396A;
	--aura-navy-dk: #0A2B50;
	--aura-orange: #FA4E1B;
	--aura-ink: #3B2F2F;
	--aura-body: #2F3337;
	--aura-muted: #736D63;
	--aura-grey: #626669;
	--aura-line: #DADCDF;
	--aura-line-soft: #EAE7E1;
	--aura-cream: #F6F3EA;
	--aura-page: #FCFBFA;
	--aura-sale: #C52D05;
	--aura-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--aura-shell: 1440px;
	--aura-pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0; background: #FFFFFF; color: var(--aura-body);
	font-family: var(--aura-sans); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--aura-sans); color: var(--aura-ink); margin: 0; font-weight: 700; }
button { font-family: inherit; }
.aura-shell { max-width: var(--aura-shell); margin: 0 auto; padding: 0 var(--aura-pad); }
.aura-i { display: inline-block; vertical-align: middle; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:is(a, button):focus-visible { outline: 2px solid var(--aura-navy); outline-offset: 2px; }

/* ============================================================ brand bar + promo bar */
.aura-brandbar { background: var(--aura-ink); color: #FCFBFA; font-size: 12px; line-height: 1; }
.aura-brandbar__in { display: flex; justify-content: center; align-items: center; gap: 0; height: 30px; }
.aura-brandbar a, .aura-brandbar span { padding: 0 16px; border-right: 1px solid rgba(255, 255, 255, .28); }
.aura-brandbar :last-child { border-right: 0; }
.aura-brandbar .is-current { font-weight: 600; }

.aura-promobar { background: var(--aura-muted); color: #FFFFFF; font-size: 14px; font-weight: 700; }
.aura-promobar__in { display: flex; justify-content: center; align-items: center; gap: 8px; height: 34px; text-align: center; }
.aura-promobar a { font-weight: 400; text-decoration: underline; }

/* ============================================================ header */
.aura-header { background: #FFFFFF; position: relative; z-index: 60; }
.aura-header__main { display: flex; align-items: center; gap: 18px; padding: 14px var(--aura-pad) 12px; }
.aura-logo { flex: none; display: block; color: var(--aura-navy); }
.aura-logo__mark { font-weight: 700; font-size: 19px; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
.aura-logo:hover { text-decoration: none; }

.aura-search { flex: 1 1 auto; min-width: 0; position: relative; display: flex; }
.aura-search input {
	width: 100%; height: 44px; border: 1px solid var(--aura-line); background: var(--aura-page);
	border-radius: 8px 0 0 8px; padding: 0 16px; font: 400 15px/1 var(--aura-sans); color: var(--aura-ink);
}
.aura-search input::placeholder { color: #8A8578; }
.aura-search button {
	width: 52px; height: 44px; border: 0; border-radius: 0 8px 8px 0; background: var(--aura-navy);
	color: #FFFFFF; cursor: pointer; display: grid; place-items: center;
}
.aura-search button:hover { background: var(--aura-navy-dk); }

.aura-utils { flex: none; display: flex; align-items: center; gap: 15px; }
.aura-util { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--aura-ink); font-size: 12px; line-height: 1; }
.aura-util:hover { text-decoration: none; color: var(--aura-navy); }
.aura-util__badge { position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; border-radius: 999px; background: var(--aura-navy); color: #FFFFFF; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.aura-util__ico { position: relative; display: grid; place-items: center; }
.aura-rewards { color: var(--aura-navy); font-weight: 700; font-size: 13px; line-height: 1.1; text-align: right; }
.aura-rewards small { display: block; font-weight: 400; font-size: 11px; color: var(--aura-muted); }

/* ============================================================ department nav */
.aura-nav { border-top: 1px solid var(--aura-line); border-bottom: 1px solid var(--aura-line); background: #FFFFFF; }
.aura-nav__row { display: flex; align-items: stretch; justify-content: space-between; gap: 4px; list-style: none; margin: 0; padding: 0; }
.aura-nav__item { position: static; }
.aura-nav__link { display: flex; align-items: center; height: 44px; padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--aura-ink); white-space: nowrap; }
.aura-nav__link:hover, .aura-nav__item.is-open .aura-nav__link { text-decoration: none; color: var(--aura-navy); box-shadow: inset 0 -3px 0 var(--aura-navy); }

.aura-mega {
	display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; z-index: 70;
	border-top: 1px solid var(--aura-line); box-shadow: 0 18px 30px rgba(0, 0, 0, .12); padding: 26px 0 32px;
}
.aura-nav__item.is-open .aura-mega { display: block; }
.aura-mega__in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 28px; }
.aura-mega__col h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--aura-ink); }
.aura-mega__col a { display: block; font-size: 13.5px; color: var(--aura-body); padding: 5px 0; }
.aura-mega__col a:hover { color: var(--aura-navy); }
.aura-mega__all { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--aura-navy); padding-top: 6px; }

/* mobile header */
.aura-burger, .aura-header__mobrow { display: none; }

@media (max-width: 1100px) {
	.aura-utils .aura-util--rewards, .aura-util--lists, .aura-util--notif, .aura-util--registry { display: none; }
	.aura-nav__row { overflow-x: auto; justify-content: flex-start; gap: 10px; scrollbar-width: none; }
	.aura-nav__row::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
	:root { --aura-pad: 14px; }
	.aura-brandbar { font-size: 11px; }
	.aura-brandbar a, .aura-brandbar span { padding: 0 9px; }
	.aura-promobar__in { height: auto; padding: 7px 0; font-size: 12.5px; line-height: 1.3; }
	.aura-header__main { flex-wrap: wrap; gap: 12px; padding: 10px 0; }
	.aura-burger { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; color: var(--aura-ink); }
	.aura-search { order: 3; flex-basis: 100%; }
	.aura-logo__mark { font-size: 16px; }
	.aura-utils { gap: 14px; margin-left: auto; }
	.aura-util__badge { right: 0; top: -4px; }  /* keep the badge inside the viewport on phones */
	.aura-mega { position: static; box-shadow: none; padding: 10px 0 16px; }
	.aura-mega__in { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
}
