/**
 * Arena store design: shop, product pages, cart, checkout and My account.
 * Scoped to body.arena-store and layered over the Kallyas theme.
 * Colours and corner radius come from WooCommerce > Store Design.
 *
 * @author Blair Patterson // Canyon, INC https://canyoninc.net/
 */

body.arena-store {
	--arena-accent: #0063be;
	--arena-dark: #202b30;
	--arena-red: #cd2122;
	--arena-radius: 8px;
	--arena-gallery-bg: #ffffff;
	--arena-overlay: rgba(32, 43, 48, 0.7);
	--arena-line: #e3e6ea;
	--arena-soft: #f5f7f9;
	--arena-muted: #6b7680;
	--arena-header: 105px; }

.arena-banner {
	position: relative;
	color: #fff;
	background-color: var(--arena-dark);
	background-image: linear-gradient(var(--arena-overlay), var(--arena-overlay)), var(--arena-banner-image, none);
	background-size: cover;
	background-position: center;
}

.arena-banner--dark-text {
	color: var(--arena-dark);
	background-color: var(--arena-soft);
}

.arena-banner-inner::before,
.arena-banner-inner::after {
	display: none !important;
}

.arena-banner-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	padding-top: 56px;
	padding-bottom: 56px;
}

.arena-banner-inner.has-side {
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

@media (min-width: 768px) {
	.arena-banner .arena-banner-inner {
		padding-top: calc(var(--arena-header) + 56px);
	}
}

.arena-banner--hero .arena-banner-inner {
	padding-bottom: 72px;
	min-height: 420px;
}

@media (min-width: 768px) {
	.arena-banner--hero .arena-banner-inner {
		min-height: calc(var(--arena-header) + 460px);
	}
}

@media (max-width: 767px) {
	.arena-banner-inner.has-side {
		grid-template-columns: minmax(0, 1fr);
	}

	.arena-banner-side {
		max-width: 240px;
	}
}

.arena-banner--breakout {
	width: 100vw;
	margin: 0 0 32px calc(50% - 50vw);
}

.arena-eyebrow {
	margin: 0 0 10px;
	color: inherit;
	opacity: 0.85;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.arena-banner h1,
.arena-banner .arena-banner-title {
	margin: 0 0 14px;
	color: inherit;
	font-size: clamp(30px, 4.4vw, 52px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.arena-banner--page .arena-banner-title {
	font-size: clamp(26px, 3.4vw, 40px);
	margin-bottom: 8px;
}

.arena-lede {
	max-width: 620px;
	margin: 0 0 26px;
	color: inherit;
	opacity: 0.9;
	font-size: 18px;
	line-height: 1.6;
}

.arena-banner--page .arena-lede {
	margin-bottom: 0;
	font-size: 16px;
}

.arena-crumbs {
	margin-bottom: 12px;
	font-size: 13px;
	opacity: 0.85;
}

.arena-crumbs a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.arena-crumbs span {
	margin: 0 8px;
}

.arena-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
}

.arena-store .arena-btn {
	padding: 15px 28px;
	border-radius: var(--arena-radius);
	font-size: 15px;
	letter-spacing: 0.02em;
}

.arena-btn-ghost {
	display: inline-block;
	padding: 13px 24px;
	border: 2px solid currentColor;
	border-radius: var(--arena-radius);
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.arena-btn-ghost:hover,
.arena-btn-ghost:focus {
	color: inherit;
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}

.arena-price {
	font-size: 18px;
	font-weight: 700;
}

.arena-banner .arena-price .amount {
	color: inherit;
}

.arena-note {
	margin: 18px 0 0;
	opacity: 0.85;
	font-size: 14px;
}

.arena-banner-side img,
.arena-banner-side svg {
	display: block;
	width: 100%;
	max-height: 420px;
	object-fit: contain;
	border-radius: var(--arena-radius);
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

body.arena-store #content {
	padding-top: 0;
}

.arena-section-title {
	margin: 0 0 18px;
	color: var(--arena-dark);
	font-size: 28px;
	font-weight: 700;
}

.arena-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	margin: 40px 0;
	padding: 0;
	list-style: none;
	counter-reset: arena-step;
}

.arena-steps li {
	position: relative;
	margin: 0;
	padding: 24px 24px 24px 72px;
	background: #fff;
	border-radius: var(--arena-radius);
	box-shadow: 0 1px 2px rgba(32, 43, 48, 0.06), 0 8px 24px rgba(32, 43, 48, 0.06);
	counter-increment: arena-step;
}

.arena-steps li::before {
	content: counter(arena-step);
	position: absolute;
	top: 22px;
	left: 24px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--arena-accent);
	color: #fff;
	font-weight: 700;
	line-height: 34px;
	text-align: center;
}

.arena-steps strong {
	display: block;
	margin-bottom: 6px;
	color: var(--arena-dark);
	font-size: 17px;
}

.arena-steps span {
	color: #4a555e;
	font-size: 14px;
	line-height: 1.6;
}

.arena-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: 48px 0;
	overflow: hidden;
	background: #fff;
	border-radius: var(--arena-radius);
	box-shadow: 0 8px 24px rgba(32, 43, 48, 0.08);
}

.arena-feature.is-flipped .arena-feature-image {
	order: 2;
}

.arena-feature.no-image {
	grid-template-columns: minmax(0, 1fr);
}

.arena-feature-image {
	min-height: 300px;
	background-size: cover;
	background-position: center;
}

.arena-feature-text {
	padding: 44px;
	align-self: center;
}

.arena-feature-text h2 {
	margin: 0 0 12px;
	color: var(--arena-dark);
	font-weight: 700;
}

.arena-feature-text p {
	margin: 0 0 22px;
	color: #4a555e;
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.arena-feature {
		grid-template-columns: minmax(0, 1fr);
	}

	.arena-feature.is-flipped .arena-feature-image {
		order: 0;
	}

	.arena-feature-text {
		padding: 28px;
	}
}

.arena-faq {
	margin: 48px 0 24px;
}

.arena-faq details {
	margin: 0 0 10px;
	background: #fff;
	border-radius: var(--arena-radius);
	box-shadow: 0 1px 2px rgba(32, 43, 48, 0.06);
}

.arena-faq summary {
	position: relative;
	padding: 18px 52px 18px 22px;
	color: var(--arena-dark);
	font-size: 16px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.arena-faq summary::-webkit-details-marker {
	display: none;
}

.arena-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
	color: var(--arena-accent);
	font-size: 24px;
	font-weight: 400;
}

.arena-faq details[open] summary::after {
	content: "\2212";
}

.arena-faq details p {
	margin: 0;
	padding: 0 22px 20px;
	color: #4a555e;
	line-height: 1.65;
}

.arena-store ul.products li.product {
	border-radius: var(--arena-radius);
	transition: box-shadow 0.2s, transform 0.2s;
}

.arena-store ul.products li.product:hover {
	box-shadow: 0 14px 32px rgba(32, 43, 48, 0.12);
	transform: translateY(-3px);
}

.arena-store ul.products li.product .woocommerce-loop-product__title,
.arena-store ul.products li.product h3 {
	color: var(--arena-dark);
	font-weight: 700;
}

.arena-store ul.products li.product .price {
	color: var(--arena-accent);
	font-weight: 700;
}

.arena-product-art svg {
	display: block;
	width: 100%;
	height: auto;
}

.arena-store .single_product_main_image .images,
.arena-store .single_product_main_image .woocommerce-product-gallery {
	padding: 20px;
	background: var(--arena-gallery-bg);
	border-radius: var(--arena-radius);
}

.arena-store div.product .product_title {
	color: var(--arena-dark);
	font-weight: 700;
}

.arena-store div.product p.price,
.arena-store div.product span.price {
	color: var(--arena-accent);
	font-weight: 700;
}

.arena-banner .arena-highlights li {
	color: inherit;
}

.arena-highlights {
	margin: 18px 0;
	padding: 0;
	list-style: none;
}

.arena-highlights li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
	color: var(--arena-dark);
	font-weight: 600;
}

.arena-highlights li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--arena-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.arena-product-info {
	clear: both;
	margin: 10px 0 30px;
}

.arena-progress {
	display: flex;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.arena-progress li {
	position: relative;
	flex: 1;
	margin: 0;
	color: var(--arena-muted);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.arena-progress li::after {
	content: "";
	position: absolute;
	top: 16px;
	left: calc(50% + 22px);
	right: calc(-50% + 22px);
	height: 2px;
	background: var(--arena-line);
}

.arena-progress li:last-child::after {
	display: none;
}

.arena-progress span {
	display: block;
	width: 34px;
	height: 34px;
	margin: 0 auto 6px;
	border: 2px solid var(--arena-line);
	border-radius: 50%;
	background: #fff;
	line-height: 30px;
}

.arena-progress .is-done,
.arena-progress .is-current {
	color: var(--arena-dark);
}

.arena-progress .is-done span {
	border-color: var(--arena-accent);
	background: var(--arena-accent);
	color: #fff;
}

.arena-progress .is-done::after {
	background: var(--arena-accent);
}

.arena-progress .is-current span {
	border-color: var(--arena-accent);
	color: var(--arena-accent);
}

.arena-store .woocommerce-cart-form,
.arena-store .cart-collaterals .cart_totals,
.arena-store .woocommerce-checkout-review-order,
.arena-store .woocommerce-MyAccount-content,
.arena-store .woocommerce-order,
.arena-store form.woocommerce-form-login,
.arena-store form.woocommerce-form-register {
	padding: 24px;
	background: #fff;
	border: 0;
	border-radius: var(--arena-radius);
	box-shadow: 0 1px 2px rgba(32, 43, 48, 0.06), 0 8px 24px rgba(32, 43, 48, 0.06);
}

.arena-store table.shop_table {
	border: 0;
	border-radius: 0;
}

.arena-store table.shop_table th {
	color: var(--arena-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.arena-store table.shop_table td,
.arena-store table.shop_table th {
	border-color: var(--arena-line);
}

.arena-store .cart_item .variation {
	margin: 6px 0 0;
	color: var(--arena-muted);
	font-size: 13px;
}

.arena-store .cart_totals h2,
.arena-store #order_review_heading,
.arena-store .woocommerce-billing-fields h3,
.arena-store .woocommerce-shipping-fields h3,
.arena-store .woocommerce-additional-fields h3 {
	color: var(--arena-dark);
	font-weight: 700;
}

.arena-store .order-total .amount {
	color: var(--arena-accent);
	font-size: 20px;
}

.arena-store form.checkout .form-row input.input-text,
.arena-store form.checkout .form-row select,
.arena-store form.checkout .form-row textarea {
	border: 1px solid var(--arena-line);
	border-radius: calc(var(--arena-radius) / 2);
	box-shadow: none;
}

.arena-store form.checkout .form-row input.input-text:focus,
.arena-store form.checkout .form-row textarea:focus {
	border-color: var(--arena-accent);
}

.arena-store .arena-rush-field {
	margin: 18px 0;
	padding: 14px 16px;
	border-left: 4px solid var(--arena-red);
	border-radius: calc(var(--arena-radius) / 2);
	background: var(--arena-soft);
}

.arena-store .arena-rush-field label {
	color: var(--arena-dark);
	font-weight: 700;
}

.arena-checkout-note {
	margin: 0 0 14px;
	color: var(--arena-muted);
	font-size: 14px;
}

.arena-empty {
	margin: 24px 0;
	padding: 40px;
	background: #fff;
	border-radius: var(--arena-radius);
	text-align: center;
}

.arena-empty p {
	margin: 0 0 18px;
	color: #4a555e;
	font-size: 17px;
}

.arena-store .cart-empty.woocommerce-info,
.arena-store .return-to-shop {
	display: none;
}

.arena-store .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border-radius: var(--arena-radius);
	box-shadow: 0 1px 2px rgba(32, 43, 48, 0.06);
}

.arena-store .woocommerce-MyAccount-navigation li {
	margin: 0;
	border: 0;
}

.arena-store .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 14px;
	border-radius: calc(var(--arena-radius) / 2);
	color: var(--arena-dark);
	font-weight: 600;
	text-decoration: none;
}

.arena-store .woocommerce-MyAccount-navigation li a:hover {
	background: var(--arena-soft);
}

.arena-store .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--arena-accent);
	color: #fff;
}

.arena-account-intro {
	margin: 0 0 16px;
	color: #4a555e;
	font-size: 16px;
}

.arena-store .woocommerce-message,
.arena-store .woocommerce-info {
	border-top-color: var(--arena-accent);
	border-radius: calc(var(--arena-radius) / 2);
}

.arena-store .woocommerce-error {
	border-top-color: var(--arena-red);
	border-radius: calc(var(--arena-radius) / 2);
}
