/* Victor Site Shell — scoped Header and Announcement components. */
.victor-shell-header {
	--victor-shell-z-header: 9990;
	--victor-shell-action: var( --victor-action, #155eef );
	--victor-shell-ink: var( --victor-ink, #232323 );
	--victor-shell-muted: var( --victor-text-muted, #787878 );
	position: sticky;
	z-index: var( --victor-shell-z-header );
	top: 0;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	direction: ltr;
	font-family: var( --victor-font-family, Peyda, Arial, sans-serif );
}

.victor-shell-header *,
.victor-shell-header *::before,
.victor-shell-header *::after {
	box-sizing: border-box;
}

.victor-shell-header__surface {
	width: 100%;
	border-block-end: 1px solid rgba( 26, 34, 48, .08 );
	border-radius: 0 0 18px 18px;
	background: rgba( 255, 255, 255, .66 );
	box-shadow: 0 8px 26px rgba( 26, 34, 48, .07 );
	-webkit-backdrop-filter: blur( 18px ) saturate( 155% );
	backdrop-filter: blur( 18px ) saturate( 155% );
	transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
}

.victor-shell-header.is-scrolled .victor-shell-header__surface {
	border-color: rgba( 26, 34, 48, .12 );
	background: rgba( 255, 255, 255, .86 );
	box-shadow: 0 10px 30px rgba( 26, 34, 48, .11 );
	-webkit-backdrop-filter: blur( 28px ) saturate( 175% );
	backdrop-filter: blur( 28px ) saturate( 175% );
}

.victor-shell-header__inner {
	display: grid;
	grid-template-columns: minmax( 72px, 1fr ) auto;
	align-items: center;
	gap: 24px;
	width: 100%;
	min-height: 58px;
	padding: 7px clamp( 18px, 3vw, 48px );
	transition: min-height .24s ease, padding-block .24s ease;
}

.victor-shell-header.is-scrolled .victor-shell-header__inner {
	min-height: 50px;
	padding-block: 4px;
}

.victor-shell-header__logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	justify-self: start;
	min-width: 72px;
	max-width: 150px;
	height: 44px;
	overflow: hidden;
	color: var( --victor-shell-ink );
	text-decoration: none;
}

.victor-shell-header__logo-image {
	display: block;
	width: auto;
	max-width: 100%;
	height: 36px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
}

.victor-shell-header__logo-empty {
	display: block;
	width: 72px;
	height: 32px;
}

.victor-shell-header__logo:focus {
	outline: none;
}

.victor-shell-header__logo:focus-visible {
	border-radius: 8px;
	outline: 2px solid rgba( 31, 35, 41, .58 );
	outline-offset: 3px;
	box-shadow: 0 0 0 4px rgba( 255, 255, 255, .62 );
}

.victor-shell-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
	gap: 8px;
	min-width: 0;
	direction: ltr;
}

.victor-shell-header__control {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var( --victor-shell-ink );
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.victor-shell-header__control:hover {
	border-color: rgba( 21, 94, 239, .10 );
	background: rgba( 21, 94, 239, .07 );
	color: var( --victor-shell-action );
	transform: translateY( -1px );
}

.victor-shell-header__control:focus-visible {
	outline: 2px solid var( --victor-shell-action );
	outline-offset: 2px;
}

.victor-shell-header__control[aria-disabled="true"] {
	cursor: default;
}

.victor-shell-header__control[aria-disabled="true"]:hover {
	border-color: transparent;
	background: transparent;
	color: var( --victor-shell-ink );
	transform: none;
}

.victor-shell-header__control svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.victor-shell-header__cart-count {
	position: absolute;
	top: 1px;
	right: -2px;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border: 2px solid rgba( 255, 255, 255, .94 );
	border-radius: 999px;
	background: var( --victor-shell-action );
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.victor-shell-header__cart-count.is-empty {
	display: none;
}

.victor-shell-header__cart.is-disabled {
	color: var( --victor-shell-muted );
}

.victor-shell-announcement {
	--victor-announcement-background: #111;
	--victor-announcement-color: #fff;
	--victor-announcement-speed: 28s;
	--victor-announcement-font-size: 13px;
	--victor-announcement-font-weight: 600;
	position: relative;
	z-index: 9989;
	width: 100%;
	overflow: hidden;
	background: var( --victor-announcement-background );
	color: var( --victor-announcement-color );
	font-family: var( --victor-font-family, Peyda, Arial, sans-serif );
	font-size: var( --victor-announcement-font-size );
	font-weight: var( --victor-announcement-font-weight );
	line-height: 1.35;
}

.victor-shell-announcement *,
.victor-shell-announcement *::before,
.victor-shell-announcement *::after {
	box-sizing: border-box;
}

.victor-shell-announcement__track {
	display: flex;
	width: max-content;
	min-width: 200%;
	will-change: transform;
	animation: victor-shell-announcement-rtl var( --victor-announcement-speed ) linear infinite;
}

.victor-shell-announcement[data-direction="ltr"] .victor-shell-announcement__track {
	animation-name: victor-shell-announcement-ltr;
}

.victor-shell-announcement:hover .victor-shell-announcement__track,
.victor-shell-announcement:focus-within .victor-shell-announcement__track {
	animation-play-state: paused;
}

.victor-shell-announcement__group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-around;
	min-width: 50%;
	direction: ltr;
}

.victor-shell-announcement__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	padding: 7px clamp( 28px, 4vw, 72px );
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.victor-shell-announcement__item::after {
	width: 3px;
	height: 3px;
	margin-inline-start: clamp( 28px, 4vw, 72px );
	border-radius: 50%;
	background: currentColor;
	content: '';
	opacity: .48;
}

.victor-shell-announcement__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.victor-shell-announcement__cta {
	padding-block-end: 1px;
	border-block-end: 1px solid currentColor;
	font-weight: 700;
}

@keyframes victor-shell-announcement-ltr {
	from { transform: translate3d( -50%, 0, 0 ); }
	to { transform: translate3d( 0, 0, 0 ); }
}

@keyframes victor-shell-announcement-rtl {
	from { transform: translate3d( 0, 0, 0 ); }
	to { transform: translate3d( -50%, 0, 0 ); }
}

@media ( max-width: 768px ) {
	.victor-shell-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		min-height: calc( 56px + env( safe-area-inset-top, 0px ) );
		opacity: 1;
		transform: translate3d( 0, 0, 0 );
		visibility: visible;
		transition: opacity .26s cubic-bezier( .2, .8, .2, 1 ), transform .26s cubic-bezier( .2, .8, .2, 1 ), visibility 0s linear 0s;
		will-change: opacity, transform;
	}

	.victor-shell-header__surface,
	.victor-shell-header.is-scrolled .victor-shell-header__surface {
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.victor-shell-header__inner,
	.victor-shell-header.is-scrolled .victor-shell-header__inner {
		position: relative;
		display: block;
		min-height: calc( 56px + env( safe-area-inset-top, 0px ) );
		padding: 0;
		direction: ltr;
	}

	.victor-shell-header__logo {
		position: absolute;
		top: calc( env( safe-area-inset-top, 0px ) + 6px );
		left: 50%;
		display: flex;
		justify-content: center;
		min-width: 64px;
		max-width: 112px;
		height: 44px;
		transform: translateX( -50% );
	}

	.victor-shell-header__logo-image {
		height: 32px;
		object-position: center;
	}

	.victor-shell-header__actions {
		display: none;
	}

	.victor-shell-header.victor-shell-header--mobile-hidden,
	.victor-shell-header.victor-shell-header--overlay-suppressed {
		opacity: 0;
		pointer-events: none;
		transform: translate3d( 0, -14px, 0 );
		visibility: hidden;
		transition: opacity .26s cubic-bezier( .2, .8, .2, 1 ), transform .26s cubic-bezier( .2, .8, .2, 1 ), visibility 0s linear .26s;
	}

	.victor-shell-header.victor-shell-header--mobile-visible:not(.victor-shell-header--overlay-suppressed) {
		opacity: 1;
		pointer-events: auto;
		transform: translate3d( 0, 0, 0 );
		visibility: visible;
	}
}

@media ( max-width: 767px ) {
	.victor-shell-announcement.is-mobile-hidden {
		display: none;
	}

	.victor-shell-announcement__item {
		min-height: 34px;
		padding-inline: 24px;
	}

	.victor-shell-announcement__item::after {
		margin-inline-start: 24px;
	}
}

@media ( min-width: 768px ) {
	.victor-shell-announcement.is-desktop-hidden {
		display: none;
	}
}

@media ( max-width: 390px ) {
	.victor-shell-header__logo {
		max-width: 88px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.victor-shell-header__surface,
	.victor-shell-header__inner,
	.victor-shell-header__control,
	.victor-shell-header {
		transition: none;
	}

	.victor-shell-announcement__track {
		animation: none;
		transform: none;
	}
}

@media ( prefers-reduced-motion: reduce ) and ( max-width: 768px ) {
	.victor-shell-header.victor-shell-header--mobile-hidden,
	.victor-shell-header.victor-shell-header--overlay-suppressed {
		transform: translate3d( 0, 0, 0 );
	}
}
