/**
 * Header chrome presentation (announcement bar clip + Stay In Touch success).
 *
 * Does not change typography or layout of the source header.
 */

/*
 * Homepage does not load vendor main.js, so slick never attaches.
 * Uninitialized slides stack (4 × 37px) and overflow the 37px black bar
 * with white text over the brand strip. Clip to the source bar height.
 */
.promo-messages-slider-holder {
	max-height: 37px;
	overflow: hidden;
}

.js-promo-messages-slider.arisch-promo-fallback .promo-message {
	display: none;
}

.js-promo-messages-slider.arisch-promo-fallback .promo-message.is-active {
	align-items: center;
	display: flex;
}

.navbar-email-signup-success-message {
	margin-top: 12px;
}

/*
 * Source skip links are position:absolute; top:-4.2em inside the fixed header.
 * Their :hover/:active rule snaps them to top:0 with z-index:10000000, so a
 * mousedown on the announcement bar or header icons can hit
 * href="#maincontent" / href="#footercontent" and scroll the page instead of
 * the search button / promo slider. Keyboard Tab still reveals them.
 */
.header_wrap > a.skip {
	pointer-events: none;
}

.header_wrap > a.skip:focus,
.header_wrap > a.skip:focus-visible {
	pointer-events: auto;
}

/*
 * Profile dropdown — logged-in item icons. No glyphs exist for these in the
 * source icon font, so they are thin-line SVG masks tinted with currentColor
 * to match the existing .icon-* items (24px slot, #333).
 */
.account-signin-popover .account-signin-options .arisch-noc-account-icon {
	background-color: #333;
	display: inline-block;
	flex: 0 0 24px;
	height: 22px;
	-webkit-mask: var(--arisch-noc-account-icon) center / 22px 22px no-repeat;
	mask: var(--arisch-noc-account-icon) center / 22px 22px no-repeat;
	width: 24px;
}

.arisch-noc-account-icon--orders {
	--arisch-noc-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8z'/%3E%3Cpath d='M9 10V6.5a3 3 0 0 1 6 0V10'/%3E%3C/svg%3E");
}

.arisch-noc-account-icon--addresses {
	--arisch-noc-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-7 8 7'/%3E%3Cpath d='M6 9.5V20h12V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
}

.arisch-noc-account-icon--details {
	--arisch-noc-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M5.5 16c.6-1.6 1.9-2.5 3.5-2.5s2.9.9 3.5 2.5'/%3E%3Cpath d='M15 10h3.5M15 13h3.5'/%3E%3C/svg%3E");
}

.arisch-noc-account-icon--signout {
	--arisch-noc-account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h8'/%3E%3Cpath d='M10 12h10M16.5 8.5 20 12l-3.5 3.5'/%3E%3C/svg%3E");
}

/*
 * Account modal (#arischNocAccountModal). Layout, typography, inputs, buttons,
 * error box, spinner and shake all come from the source .sign-in-modal rules in
 * global.css; only what those rules do not cover is added here.
 */
.arisch-noc-account-modal [hidden] {
	display: none !important;
}

.modal-backdrop.arisch-noc-account-backdrop {
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

body.arisch-noc-scroll-locked {
	overflow: hidden;
}

.arisch-noc-account-modal.show {
	overflow-x: hidden;
	overflow-y: auto;
}

/* bootstrap.css caps .modal-content at 100vh with overflow hidden; the register
   view is taller than a phone screen, so let the modal itself scroll instead. */
.arisch-noc-account-modal .modal-content {
	max-height: none;
	overflow: visible;
	position: relative;
}

.arisch-noc-account-modal .password-field-group .form-control {
	padding-right: 32px;
}

.arisch-noc-account-modal .password-field-group .pass-icon {
	align-items: center;
	background: none;
	border: 0;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	padding: 0;
	width: 32px;
}

.arisch-noc-account-modal .pass-icon .pass-icon__hide,
.arisch-noc-account-modal .pass-icon.is-visible .pass-icon__show {
	display: none;
}

.arisch-noc-account-modal .pass-icon.is-visible .pass-icon__hide {
	display: block;
}

.arisch-noc-account-modal .pass-icon:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.arisch-noc-account-modal .arisch-noc-account-row {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.arisch-noc-account-modal .arisch-noc-account-row .remember-me {
	position: relative;
}

.arisch-noc-account-modal .arisch-noc-account-success {
	background-color: #f8f8f8;
	border: 1px solid #e1ded9;
	color: #333;
	font-family: var(--brand-font-family--tertiary);
	font-size: 13px;
	line-height: 19.5px;
	margin-bottom: 24px;
	padding: 12px 16px;
}

.arisch-noc-account-modal .arisch-noc-account-back {
	margin: 24px 0 0;
}

/* Autofilled fields (no input event fired yet): same lift as the source
   .form-group.input-active label rule. */
.arisch-noc-account-modal .form-group:has(.form-control:-webkit-autofill) label:not(.custom-control-label) {
	margin: -1.25rem 0 -.4375rem;
	transform: scale(.75);
}

.arisch-noc-account-modal .form-group:has(.form-control:autofill) label:not(.custom-control-label) {
	margin: -1.25rem 0 -.4375rem;
	transform: scale(.75);
}

/* Generic .btn (max-width 328px, height 48px) and a later duplicate of the
   source submit rule (border-radius 0) override the pill button; restore the
   full-width rounded submit shown in the reference design. */
.arisch-noc-account-modal .sign-in-modal__form .btn-primary.js-signin-modal-submit {
	align-items: center;
	border-radius: 32px;
	height: 32px;
	justify-content: center;
	max-width: none;
	padding: 0 16px;
	width: 100%;
}
