/* Equipsport — home page (shop first). Loaded only on the front page. */

body.home .site-content .ast-container,
body.home .site-content #primary.content-area.primary {
	width: 100%; max-width: 100%; margin: 0; padding: 0; float: none;
}

.es-home {
	--ink: #111;
	--muted: #6b7280;
	--line: #e5e7eb;
	--soft: #f5f6f8;
	--yellow: #f4ff1b;
	--radius: 14px;
	display: block; width: 100%; margin: 0; padding: 0 0 56px; color: var(--ink);
}
.es-home *, .es-home *::before, .es-home *::after { box-sizing: border-box; }
.es-home__wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.es-home ul { list-style: none; margin: 0; padding: 0; }
.es-home a { text-decoration: none; color: inherit; }

/* Hero */
.es-home__hero { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(40px, 7vw, 88px) 0; text-align: center; }
.es-home__kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.es-home__title { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto 28px; color: var(--ink); }
.es-home__search { display: flex; max-width: 620px; margin: 0 auto 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.es-home__search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font-size: 16px; outline: none; box-shadow: none; }
.es-home__search button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 10px 22px; font-weight: 700; font-size: 14px; cursor: pointer; }
.es-home__search:focus-within { border-color: var(--ink); }
.es-home__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.es-home__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); font-weight: 700; font-size: 14px; background: #fff; color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.es-home__btn:hover { background: var(--ink); color: #fff; }
.es-home a.es-home__btn--dark { background: var(--ink); color: #fff; }
.es-home a.es-home__btn--dark:hover { background: #333; }
.es-home a.es-home__btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.es-home a.es-home__btn--yellow:hover { background: #fff; border-color: #fff; }
.es-home a.es-home__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.es-home a.es-home__btn--ghost:hover { background: #fff; color: var(--ink); }

/* Sections */
.es-home__section { padding-top: clamp(40px, 6vw, 64px); }
.es-home__h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 20px; color: inherit; }
.es-home__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.es-home__more { font-weight: 700; font-size: 14px; text-decoration: underline !important; text-underline-offset: 3px; }

/* Category tiles */
.es-home__cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.es-home__cat { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.es-home__cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.es-home__cat span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.es-home__cat:hover img { transform: scale(1.04); }

/* Product cards */
.es-home__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.es-home__card { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.es-home__card-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); margin-bottom: 8px; }
.es-home__card-media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.es-home__card:hover .es-home__card-media img { transform: scale(1.03); }
.es-home__card-brand { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.es-home__card-title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.es-home__card:hover .es-home__card-title { text-decoration: underline; }
.es-home__card-price { font-size: 15px; font-weight: 800; }
.es-home__card-price del { color: var(--muted); font-weight: 500; margin-right: 6px; }
.es-home__card-price ins { text-decoration: none; }

/* Club strip */
.es-home__club { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.es-home__club .es-home__h2 { margin-bottom: 8px; color: #fff; }
.es-home__club p { margin: 0; color: rgba(255, 255, 255, .75); max-width: 52ch; }

/* Brands */
.es-home__brands ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; border-top: 1px solid var(--line); padding-top: 32px; }
.es-home__brands a { display: inline-block; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.es-home__brands a:hover { border-color: var(--ink); }

@media (max-width: 1024px) {
	.es-home__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.es-home__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.es-home__cats, .es-home__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.es-home__search button { padding: 10px 16px; }
	.es-home__club { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.es-home__cat img, .es-home__card-media img { transition: none; transform: none !important; }
}
