/**
 * Global child theme styles.
 */

:root {
	--orly-shop-navy: #071b36;
	--orly-shop-navy-light: #0d294d;
	--orly-shop-blue: #1769aa;
	--orly-shop-red: #d8262f;
	--orly-shop-white: #ffffff;
	--orly-shop-ink: #132238;
	--orly-shop-muted: #667085;
	--orly-shop-border: #dfe5ec;
	--orly-shop-surface: #f5f7fa;
	--orly-shop-content-width: 1240px;
	--orly-shop-gutter: clamp(20px, 4vw, 48px);
	--orly-shop-space-1: 8px;
	--orly-shop-space-2: 16px;
	--orly-shop-space-3: 24px;
	--orly-shop-space-4: 32px;
	--orly-shop-space-5: 48px;
	--orly-shop-focus: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 0 0 5px var(--orly-shop-blue);
	--orly-shop-font: Inter, "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

.orly-shop-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--orly-shop-content-width);
	margin-inline: auto;
	padding-inline: var(--orly-shop-gutter);
}

.site-header {
	position: relative;
	z-index: 50;
	margin-bottom: 0;
	padding: 0;
	border: 0;
	background: var(--orly-shop-navy);
	font-family: var(--orly-shop-font);
}

.site-header .orly-shop-menu,
.site-footer .orly-shop-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.orly-shop-utility-bar {
	min-height: 38px;
	background: var(--orly-shop-white);
	color: var(--orly-shop-ink);
}

.orly-shop-menu--utility {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 38px;
}

.orly-shop-menu--utility a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 0;
	color: var(--orly-shop-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.orly-shop-menu--utility a:hover,
.orly-shop-menu--utility a:focus-visible {
	color: var(--orly-shop-blue);
}

.orly-shop-menu--utility .orly-shop-icon {
	width: 15px;
	height: 15px;
}

.orly-shop-header-main {
	position: relative;
	background: var(--orly-shop-navy);
	color: var(--orly-shop-white);
}

.orly-shop-header-main__inner {
	display: grid;
	grid-template-columns: minmax(120px, 1fr) minmax(280px, 2fr) minmax(120px, 1fr);
	align-items: center;
	min-height: 92px;
	gap: var(--orly-shop-space-3);
}

.orly-shop-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.orly-shop-logo .custom-logo-link,
.orly-shop-footer__logo .custom-logo-link {
	display: inline-flex;
	margin: 0;
}

.orly-shop-logo .custom-logo {
	width: auto;
	max-width: 92px;
	height: 64px;
	object-fit: contain;
}

.orly-shop-logo__fallback {
	color: var(--orly-shop-white);
	font-size: 22px;
	font-weight: 900;
	text-decoration: none;
}

.orly-shop-primary-nav[hidden] {
	display: block;
}

.orly-shop-menu--primary {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: clamp(24px, 3vw, 48px);
}

.orly-shop-menu--primary > li {
	position: relative;
}

.orly-shop-menu--primary > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92px;
	padding: 0;
	color: var(--orly-shop-white);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	letter-spacing: 0.015em;
}

.orly-shop-menu--primary > li > a::after {
	position: absolute;
	right: 0;
	bottom: 24px;
	left: 0;
	height: 2px;
	background: var(--orly-shop-red);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 160ms ease;
}

.orly-shop-menu--primary > li > a:hover::after,
.orly-shop-menu--primary > li > a:focus-visible::after,
.orly-shop-menu--primary > .current-menu-item > a::after,
.orly-shop-menu--primary > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.orly-shop-menu--primary .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 10;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	background: var(--orly-shop-white);
	box-shadow: 0 16px 36px rgba(7, 27, 54, 0.18);
	list-style: none;
	transform: translateX(-50%);
}

.orly-shop-menu--primary li:hover > .sub-menu,
.orly-shop-menu--primary li:focus-within > .sub-menu {
	display: block;
}

.orly-shop-menu--primary .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: var(--orly-shop-ink);
	font-weight: 700;
	text-decoration: none;
}

.orly-shop-menu--primary .sub-menu a:hover,
.orly-shop-menu--primary .sub-menu a:focus-visible {
	background: var(--orly-shop-surface);
	color: var(--orly-shop-blue);
}

.orly-shop-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.orly-shop-icon-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--orly-shop-white);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.orly-shop-icon-button:hover,
.orly-shop-icon-button:focus,
.orly-shop-icon-button:active {
	border: 0;
	background: var(--orly-shop-navy-light);
	box-shadow: none;
	color: var(--orly-shop-white);
}

.orly-shop-icon-button:focus-visible,
.orly-shop-menu a:focus-visible,
.orly-shop-search-panel input:focus-visible,
.orly-shop-search-panel button:focus-visible,
.orly-shop-footer a:focus-visible {
	outline: 2px solid var(--orly-shop-white);
	outline-offset: 3px;
}

.orly-shop-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
}

.orly-shop-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.orly-shop-cart-count {
	position: absolute;
	top: 2px;
	right: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border: 2px solid var(--orly-shop-navy);
	border-radius: 20px;
	background: var(--orly-shop-red);
	color: var(--orly-shop-white);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
}

.orly-shop-menu-toggle {
	display: none;
}

.orly-shop-icon--close {
	display: none;
}

.orly-shop-menu-toggle[aria-expanded="true"] .orly-shop-icon--menu {
	display: none;
}

.orly-shop-menu-toggle[aria-expanded="true"] .orly-shop-icon--close {
	display: inline-flex;
}

.orly-shop-search-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 30;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--orly-shop-navy);
	box-shadow: 0 18px 36px rgba(7, 27, 54, 0.18);
}

.orly-shop-search-panel[hidden] {
	display: none;
}

.orly-shop-search-panel .woocommerce-product-search,
.orly-shop-search-panel .search-form {
	display: flex;
	max-width: 720px;
	margin: 0 auto;
}

.orly-shop-search-panel input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--orly-shop-border);
	border-radius: 0;
	background: var(--orly-shop-white);
	box-shadow: none;
	color: var(--orly-shop-ink);
}

.orly-shop-search-panel button {
	height: 48px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--orly-shop-blue);
	border-radius: 0;
	background: var(--orly-shop-blue);
	box-shadow: none;
	color: var(--orly-shop-white);
	font-weight: 800;
}

.site-footer {
	padding: 0;
	border-top: 4px solid var(--orly-shop-red);
	background: var(--orly-shop-navy);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--orly-shop-font);
}

.site-footer > .col-full {
	box-sizing: border-box;
	max-width: var(--orly-shop-content-width);
	margin-inline: auto;
	padding: 0 var(--orly-shop-gutter);
}

.orly-shop-footer {
	padding: 64px 0 24px;
}

.orly-shop-footer__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(130px, 1fr));
	gap: clamp(32px, 5vw, 72px);
}

.orly-shop-footer__brand {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: start;
	gap: 22px;
}

.orly-shop-footer__logo .custom-logo {
	width: auto;
	max-width: 112px;
	height: 76px;
	object-fit: contain;
}

.orly-shop-footer__brand p {
	max-width: 310px;
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.65;
}

.orly-shop-footer__nav h2 {
	margin: 0 0 18px;
	color: var(--orly-shop-white);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.orly-shop-footer-menu li + li {
	margin-top: 11px;
}

#page .site-footer .orly-shop-footer-menu a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

#page .site-footer .orly-shop-footer-menu a:hover,
#page .site-footer .orly-shop-footer-menu a:focus-visible {
	color: var(--orly-shop-white);
	text-decoration: underline;
	text-decoration-color: var(--orly-shop-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.orly-shop-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 52px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.56);
	font-size: 12px;
	font-weight: 600;
}
