/* ==========================================================================
   EQUIPPEDLY — HOMEPAGE BATCH 2
   Sections 02–05 + mobile bottom navigation.

   Load order: after foundation + header + hero.
   Does not restyle Batch 1 (header / hero).
   ========================================================================== */


/* --- Shared reveal -------------------------------------------------------
   Frontend-only entrance state. Bricks Builder iframe body does NOT carry
   .bricks-is-frontend, so IntersectionObserver never promotes .is-in and
   opacity:0 would leave Batch 2 content invisible/uneditable in the canvas.
   Force visible whenever we are not on the live frontend. */

.eq-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity var(--eq-motion-reveal) var(--eq-ease),
	            transform var(--eq-motion-reveal) var(--eq-ease);
}

.eq-reveal.is-in {
	opacity: 1;
	transform: none;
}

body:not(.bricks-is-frontend) .eq-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.eq-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}


/* ==========================================================================
   02 — SHOP BY PLAYING STYLE
   Hi-Fi Spec v1 §02
   ========================================================================== */

.eq-styles {
	background-color: var(--eq-color-chalk-white);
	color: var(--eq-color-ink-black);
}

.eq-styles__intro {
	max-width: 36rem;
	margin-bottom: var(--eq-space-2xl);
}

.eq-styles__intro .eq-h2 {
	margin-bottom: var(--eq-space-md);
}

.eq-styles__intro .eq-body-lg {
	color: var(--eq-color-text-secondary-light);
	max-width: 32rem;
}

.eq-styles__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--eq-space-lg);
}

.eq-style-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--eq-radius-lg);
	aspect-ratio: 3 / 4;
	background-color: var(--eq-color-graphite);
	color: var(--eq-color-chalk-white);
	text-decoration: none;
	isolation: isolate;
	/* Reset Bricks button/link chrome if the element is mis-tagged. */
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
	width: 100%;
	font: inherit;
}

.eq-style-card__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.eq-style-card__media > img,
.eq-style-card__media.eq-media-cover--placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--eq-motion-standard) var(--eq-ease);
}

.eq-style-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(14, 14, 16, 0.65) 0%,
		rgba(14, 14, 16, 0) 45%
	);
	pointer-events: none;
	transition: background var(--eq-motion-standard) var(--eq-ease);
	z-index: 1;
}

.eq-style-card__copy {
	position: absolute;
	left: var(--eq-space-lg);
	right: var(--eq-space-lg);
	bottom: var(--eq-space-lg);
	z-index: 2;
}

.eq-style-card__label {
	font-family: var(--eq-font-heading);
	font-size: var(--eq-type-h3);
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	margin: 0 0 var(--eq-space-xs);
}

.eq-style-card__line {
	font-family: var(--eq-font-body);
	font-size: var(--eq-type-body);
	line-height: 1.55;
	color: color-mix(in srgb, var(--eq-color-chalk-white) 88%, transparent);
	margin: 0;
}

.eq-style-card__arrow {
	position: absolute;
	right: var(--eq-space-lg);
	bottom: var(--eq-space-lg);
	z-index: 2;
	width: 16px;
	height: 16px;
	opacity: 0;
	color: var(--eq-color-volt);
	transition: opacity var(--eq-motion-standard) var(--eq-ease);
	pointer-events: none;
}

.eq-style-card__arrow::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eq-style-card__arrow svg {
	display: none;
}

.eq-style-card:hover .eq-style-card__media > img,
.eq-style-card:hover .eq-style-card__media.eq-media-cover--placeholder,
.eq-style-card:focus-visible .eq-style-card__media > img {
	transform: scale(1.04);
}

.eq-style-card:hover .eq-style-card__scrim,
.eq-style-card:focus-visible .eq-style-card__scrim {
	background: linear-gradient(
		to top,
		rgba(14, 14, 16, 0.78) 0%,
		rgba(14, 14, 16, 0) 50%
	);
}

.eq-style-card:hover .eq-style-card__arrow,
.eq-style-card:focus-visible .eq-style-card__arrow {
	opacity: 1;
}

.eq-styles__dots {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: var(--eq-space-md);
}

.eq-styles__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--eq-color-border-light);
	cursor: pointer;
}

.eq-styles__dots button.is-active {
	background: var(--eq-color-ink-black);
}

@media (max-width: 991px) {
	.eq-styles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.eq-styles__intro {
		margin-bottom: var(--eq-space-xl);
	}

	.eq-styles__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 12px;
		padding-inline: var(--eq-gutter);
		margin-inline: calc(var(--eq-gutter) * -1);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.eq-styles__grid::-webkit-scrollbar { display: none; }

	.eq-style-card {
		flex: 0 0 78vw;
		scroll-snap-align: start;
	}

	.eq-styles__dots { display: flex; }
}


/* ==========================================================================
   03 — DESIGN YOUR RACKET
   Hi-Fi Spec v1 §03 — signature dark section.
   Scroll-scrub without GSAP (Batch 2 performance boundary).
   ========================================================================== */

.eq-design {
	background-color: var(--eq-color-ink-black);
	color: var(--eq-color-chalk-white);
	/* 140vh scrub range per Hi-Fi §03; sticky pin holds one viewport. */
	min-height: 140vh;
}

.eq-design__pin {
	position: sticky;
	top: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-block: var(--eq-section-y-signature);
}

.eq-design__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: var(--eq-space-2xl);
	align-items: center;
	width: 100%;
}

.eq-design__copy {
	max-width: 26rem;
}

.eq-design__copy .eq-display-l {
	margin-bottom: var(--eq-space-lg);
	white-space: pre-line;
}

.eq-design__copy .eq-body-lg {
	color: color-mix(in srgb, var(--eq-color-chalk-white) 85%, transparent);
	max-width: 420px;
	margin-bottom: var(--eq-space-xl);
}

.eq-design__stage {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--eq-radius-lg);
	overflow: hidden;
	background:
		radial-gradient(ellipse at 40% 30%, rgba(203, 255, 77, 0.08), transparent 55%),
		var(--eq-color-graphite);
}

.eq-design__frame {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	opacity: 0;
	transition: opacity 180ms var(--eq-ease);
	pointer-events: none;
}

.eq-design__frame.is-active {
	opacity: 1;
}

.eq-design__racket {
	width: min(52%, 280px);
	aspect-ratio: 1 / 1.55;
	border-radius: 48% 48% 18% 18% / 36% 36% 12% 12%;
	border: 2px solid color-mix(in srgb, var(--eq-color-chalk-white) 35%, transparent);
	position: relative;
	transform: rotate(-8deg);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eq-design__racket::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -18%;
	width: 18%;
	height: 22%;
	transform: translateX(-50%);
	border-radius: 6px;
	background: color-mix(in srgb, var(--eq-color-chalk-white) 28%, transparent);
}

.eq-design__frame[data-state="0"] .eq-design__racket {
	background: linear-gradient(160deg, #6a6a6e, #3a3a3e);
}

.eq-design__frame[data-state="1"] .eq-design__racket {
	background:
		linear-gradient(110deg, transparent 35%, rgba(203, 255, 77, 0.55) 35%, rgba(203, 255, 77, 0.55) 100%),
		linear-gradient(160deg, #2a2a2e, #121214);
}

.eq-design__frame[data-state="2"] .eq-design__racket {
	background:
		repeating-linear-gradient(
			-28deg,
			rgba(247, 245, 241, 0.18) 0 6px,
			transparent 6px 14px
		),
		linear-gradient(160deg, #1a3a2a, #0e0e10);
}

.eq-design__frame[data-state="3"] .eq-design__racket {
	background:
		radial-gradient(circle at 50% 38%, rgba(203, 255, 77, 0.35), transparent 42%),
		repeating-linear-gradient(
			-28deg,
			rgba(247, 245, 241, 0.14) 0 6px,
			transparent 6px 14px
		),
		linear-gradient(160deg, #152418, #0e0e10);
	transform: rotate(7deg);
}

.eq-design__caption {
	position: absolute;
	left: var(--eq-space-md);
	bottom: var(--eq-space-md);
	font-family: var(--eq-font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--eq-color-chalk-white) 45%, transparent);
}

.eq-design__reduced {
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: var(--eq-space-md);
	align-items: center;
	width: 100%;
	height: 100%;
	padding: var(--eq-space-lg);
}

.eq-design__reduced .eq-design__racket {
	width: min(70%, 180px);
	margin-inline: auto;
}

.eq-design__arc {
	position: absolute;
	inset: 20% 18%;
	border: 1px solid color-mix(in srgb, var(--eq-color-volt) 35%, transparent);
	border-radius: 50%;
	border-bottom-color: transparent;
	border-left-color: transparent;
	pointer-events: none;
	opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
	.eq-design {
		min-height: 0;
	}

	.eq-design__pin {
		position: static;
		min-height: 0;
	}

	.eq-design__frame { display: none; }

	.eq-design__reduced {
		display: grid;
	}
}

@media (max-width: 991px) {
	.eq-design {
		min-height: 0;
	}

	.eq-design__pin {
		position: static;
		min-height: 0;
	}

	.eq-design__layout {
		grid-template-columns: 1fr;
		gap: var(--eq-space-xl);
	}

	.eq-design__stage {
		order: -1;
		aspect-ratio: 4 / 5;
	}

	/* Mobile frontend: cycle the four placeholder states (no scroll scrub). */
	body.bricks-is-frontend .eq-design__frame {
		opacity: 0;
		transition: none;
	}

	body.bricks-is-frontend .eq-design__frame[data-state="0"] { animation: eq-design-f0 6s ease-in-out infinite; }
	body.bricks-is-frontend .eq-design__frame[data-state="1"] { animation: eq-design-f1 6s ease-in-out infinite; }
	body.bricks-is-frontend .eq-design__frame[data-state="2"] { animation: eq-design-f2 6s ease-in-out infinite; }
	body.bricks-is-frontend .eq-design__frame[data-state="3"] { animation: eq-design-f3 6s ease-in-out infinite; }

	.eq-design__copy .eq-btn {
		width: 100%;
	}
}

@keyframes eq-design-f0 {
	0%, 20% { opacity: 1; }
	25%, 100% { opacity: 0; }
}
@keyframes eq-design-f1 {
	0%, 20% { opacity: 0; }
	25%, 45% { opacity: 1; }
	50%, 100% { opacity: 0; }
}
@keyframes eq-design-f2 {
	0%, 45% { opacity: 0; }
	50%, 70% { opacity: 1; }
	75%, 100% { opacity: 0; }
}
@keyframes eq-design-f3 {
	0%, 70% { opacity: 0; }
	75%, 95% { opacity: 1; }
	100% { opacity: 0; }
}

/* Builder canvas: keep first scrub frame visible; never run loop animations. */
body:not(.bricks-is-frontend) .eq-design__frame {
	animation: none !important;
}

body:not(.bricks-is-frontend) .eq-design__frame[data-state="0"] {
	opacity: 1 !important;
}

body:not(.bricks-is-frontend) .eq-design__frame:not([data-state="0"]) {
	opacity: 0 !important;
}

body:not(.bricks-is-frontend) .eq-design__reduced {
	display: none !important;
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
	body.bricks-is-frontend .eq-design__frame {
		animation: none !important;
		display: none;
	}

	body.bricks-is-frontend .eq-design__reduced {
		display: grid;
	}
}

@media (min-width: 992px) {
	.eq-design__frame {
		animation: none !important;
	}
}


/* ==========================================================================
   04 — BEST SELLERS
   Hi-Fi Spec v1 §04 + Design System §18
   ========================================================================== */

.eq-bestsellers {
	background-color: var(--eq-color-chalk-white);
	color: var(--eq-color-ink-black);
}

.eq-bestsellers__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--eq-space-md);
	margin-bottom: 40px;
}

.eq-bestsellers__head .eq-btn--text {
	flex-shrink: 0;
}

.eq-bestsellers__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--eq-space-lg);
}

.eq-card-product {
	display: flex;
	flex-direction: column;
	background: transparent;
	border-radius: var(--eq-radius-lg);
	transition: box-shadow var(--eq-motion-standard) var(--eq-ease),
	            transform var(--eq-motion-standard) var(--eq-ease);
}

.eq-card-product:hover {
	box-shadow: var(--eq-shadow-card);
	transform: translateY(-2px);
}

.eq-card-product__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--eq-radius-sm);
	background-color: var(--eq-color-pure-white);
	border: 1px solid var(--eq-color-border-light);
}

.eq-card-product__media img,
.eq-card-product__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: var(--eq-space-md);
}

.eq-card-product__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #f0eee9, #e4e2dd);
}

.eq-badge {
	position: absolute;
	top: var(--eq-space-sm);
	left: var(--eq-space-sm);
	z-index: 2;
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--eq-color-ink-black);
	color: var(--eq-color-chalk-white);
	font-family: var(--eq-font-body);
	font-size: var(--eq-type-caption);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.4;
}

.eq-card-product__wish {
	position: absolute;
	top: var(--eq-space-sm);
	right: var(--eq-space-sm);
	z-index: 2;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--eq-color-ink-black);
	opacity: 0;
	background: color-mix(in srgb, var(--eq-color-pure-white) 88%, transparent);
	transition: opacity var(--eq-motion-standard) var(--eq-ease);
	pointer-events: none;
}

.eq-card-product__wish svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eq-card-product:hover .eq-card-product__wish {
	opacity: 0.7;
}

.eq-card-product__body {
	display: flex;
	flex-direction: column;
	gap: var(--eq-space-sm);
	padding-top: var(--eq-space-md);
	flex: 1;
}

.eq-card-product__name {
	font-family: var(--eq-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.eq-card-product__name a {
	color: inherit;
	text-decoration: none;
}

.eq-card-product__line {
	font-size: var(--eq-type-body-sm);
	line-height: 1.4;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eq-card-product__price {
	font-family: var(--eq-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.eq-card-product__price .woocommerce-Price-amount {
	font-weight: 600;
}

.eq-card-product__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.eq-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--eq-color-border-light);
	font-family: var(--eq-font-body);
	font-size: var(--eq-type-caption);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eq-color-text-secondary-light);
	line-height: 1.4;
}

.eq-card-product__meters {
	display: grid;
	gap: 6px;
}

.eq-meter {
	display: grid;
	grid-template-columns: 64px 1fr;
	align-items: center;
	gap: 8px;
}

.eq-meter__label {
	font-family: var(--eq-font-body);
	font-size: var(--eq-type-caption);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eq-color-text-muted);
}

.eq-meter__track {
	display: flex;
	gap: 2px;
}

.eq-meter__seg {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: var(--eq-color-border-light);
}

.eq-meter--ink .eq-meter__seg.is-filled {
	background: var(--eq-color-ink-black);
}

.eq-meter--volt .eq-meter__seg.is-filled {
	background: var(--eq-color-volt);
}

.eq-card-product__cta {
	margin-top: auto;
	opacity: 0.7;
	align-self: stretch;
	width: 100%;
}

.eq-card-product:hover .eq-card-product__cta {
	opacity: 1;
}

.eq-card-product--temp .eq-card-product__name::after {
	content: " TEMP";
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--eq-color-text-muted);
	font-weight: 500;
}

@media (max-width: 1199px) {
	.eq-bestsellers__track {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eq-bestsellers__track > .eq-card-product:nth-child(4) {
		display: none;
	}
}

@media (max-width: 767px) {
	.eq-bestsellers__head {
		margin-bottom: var(--eq-space-xl);
		align-items: flex-start;
		flex-direction: column;
		gap: var(--eq-space-sm);
	}

	.eq-bestsellers__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 12px;
		padding-inline: var(--eq-gutter);
		margin-inline: calc(var(--eq-gutter) * -1);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.eq-bestsellers__track::-webkit-scrollbar { display: none; }

	.eq-bestsellers__track > .eq-card-product {
		flex: 0 0 72vw;
		scroll-snap-align: start;
		display: flex;
	}

	.eq-card-product__wish {
		opacity: 0.55;
	}
}


/* ==========================================================================
   05 — FIND YOUR RACKET
   Hi-Fi Spec v1 §05
   ========================================================================== */

.eq-finder {
	background-color: var(--eq-color-chalk-white);
	color: var(--eq-color-ink-black);
}

.eq-finder__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: var(--eq-space-2xl);
	align-items: center;
	padding: var(--eq-space-2xl);
	background: var(--eq-color-pure-white);
	border: 1px solid var(--eq-color-border-light);
	border-radius: var(--eq-radius-lg);
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--eq-motion-standard) var(--eq-ease);
	cursor: pointer;
}

.eq-finder__panel .eq-btn {
	pointer-events: none;
}

.eq-finder__panel:hover {
	box-shadow: var(--eq-shadow-card);
}

.eq-finder__copy .eq-h2 {
	margin-bottom: var(--eq-space-md);
}

.eq-finder__copy .eq-body-lg {
	color: var(--eq-color-text-secondary-light);
	max-width: 400px;
	margin-bottom: var(--eq-space-xl);
}

.eq-finder__visual {
	position: relative;
	min-height: 260px;
	display: grid;
	place-items: center;
}

.eq-finder__arc {
	position: absolute;
	width: 120%;
	height: 70%;
	left: -10%;
	top: 15%;
	border: 2px solid color-mix(in srgb, var(--eq-color-volt) 20%, transparent);
	border-radius: 50%;
	border-bottom-color: transparent;
	pointer-events: none;
}

.eq-finder__stack {
	position: relative;
	width: min(100%, 320px);
	height: 220px;
}

.eq-finder__card {
	position: absolute;
	width: 58%;
	aspect-ratio: 3 / 4;
	border-radius: var(--eq-radius-lg);
	border: 1px solid var(--eq-color-border-light);
	background: var(--eq-color-border-light);
	box-shadow: var(--eq-shadow-card);
}

.eq-finder__card--back {
	left: 8%;
	top: 18%;
	transform: rotate(-10deg);
	opacity: 0.7;
}

.eq-finder__card--mid {
	left: 22%;
	top: 10%;
	transform: rotate(-3deg);
	background: #eceae5;
	opacity: 0.85;
}

.eq-finder__card--front {
	left: 38%;
	top: 0;
	background: var(--eq-color-pure-white);
	transform: rotate(4deg);
	padding: var(--eq-space-md);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--eq-space-sm);
	transition: transform var(--eq-motion-standard) var(--eq-ease);
}

.eq-finder__panel:hover .eq-finder__card--front {
	transform: rotate(4deg) translateY(-4px);
}

.eq-finder__chip {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--eq-color-volt);
	color: var(--eq-color-ink-black);
	font-family: var(--eq-font-body);
	font-size: var(--eq-type-caption);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.eq-finder__sil {
	width: 42%;
	aspect-ratio: 1 / 1.55;
	margin: 0 auto var(--eq-space-sm);
	border-radius: 48% 48% 18% 18% / 36% 36% 12% 12%;
	background: linear-gradient(160deg, #2a2a2e, #121214);
	border: 1px solid rgba(14, 14, 16, 0.2);
}

.eq-finder__card--front .eq-meter {
	grid-template-columns: 52px 1fr;
}

@media (max-width: 767px) {
	.eq-finder__panel {
		grid-template-columns: 1fr;
		padding: var(--eq-space-lg);
		gap: var(--eq-space-xl);
	}

	.eq-finder__visual {
		order: -1;
		min-height: 200px;
	}

	.eq-finder__copy .eq-btn {
		width: 100%;
	}
}


/* ==========================================================================
   F — MOBILE BOTTOM NAVIGATION
   Hi-Fi Spec: 56px, Chalk White, 1px Fog top border, 20px icons + 10px labels.
   ========================================================================== */

.eq-bottom-nav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	height: calc(56px + env(safe-area-inset-bottom, 0px));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--eq-color-chalk-white);
	border-top: 1px solid var(--eq-color-border-light);
}

.eq-bottom-nav__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	height: 56px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eq-bottom-nav__link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 44px;
	height: 100%;
	padding: 6px 4px;
	color: var(--eq-color-text-muted);
	text-decoration: none;
	font-family: var(--eq-font-body);
}

.eq-bottom-nav__icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
}

.eq-bottom-nav__icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eq-bottom-nav__label {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.eq-bottom-nav__item.is-active .eq-bottom-nav__link {
	color: var(--eq-color-ink-black);
}

.eq-bottom-nav__link .eq-cart__count {
	position: absolute;
	top: 4px;
	right: calc(50% - 18px);
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--eq-color-volt);
	color: var(--eq-color-ink-black);
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	text-align: center;
}

@media (max-width: 767px) {
	.eq-bottom-nav {
		display: block;
	}

	/* Keep page content clear of the fixed bar + Woo notices. */
	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	.woocommerce-notices-wrapper,
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		margin-bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px);
	}
}
