/* ==========================================================================
   Kinetix — homepage layout (Step 3)
   ========================================================================== */

.home .kx-main { background: var(--kx-bg-soft); }
@media (min-width: 1024px) { .home .kx-main { background: #fff; } }

.kx-home { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
@media (min-width: 1024px) { .kx-home { gap: 48px; padding-bottom: 64px; } }

.kx-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.kx-section__title { margin: 0; font-size: 26px; text-transform: uppercase; }
.kx-section__title.kx-center { margin-bottom: 20px; }
.kx-section .kx-center .kx-btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.kx-hero-wrap { padding-top: 12px; }
.kx-hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 196px;
	border-radius: 16px;
	overflow: hidden;
	background: #8DB6E3;
}
.kx-hero--empty { background: linear-gradient(120deg, #7A0A0A, #C70A0A); }
.kx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.kx-hero__panel {
	position: relative;
	margin: 14px;
	max-width: 230px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 14px;
}
.kx-hero__title { margin: 0; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.kx-hero__text { display: none; margin: 0; color: var(--kx-ink-soft); }
.kx-hero .kx-btn { align-self: flex-start; min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

@media (min-width: 1024px) {
	.kx-hero-wrap { padding-top: 20px; }
	.kx-hero { min-height: 500px; align-items: center; border-radius: 24px; }
	.kx-hero__panel { margin: 56px; max-width: 520px; padding: 36px 40px; gap: 16px; border-radius: 20px; }
	.kx-hero__title { font-size: 56px; }
	.kx-hero__text { display: block; font-size: 18px; }
	.kx-hero .kx-btn { min-height: 54px; padding: 0 30px; font-size: 15px; border-radius: 14px; }
}

/* ---------- Price tiles ---------- */
.kx-tiles {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(150px, 1fr);
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.kx-tiles::-webkit-scrollbar { display: none; }
.kx-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; }
.kx-tile--red { background: #FBEAEA; }
.kx-tile--gold { background: #FDF1DC; }
.kx-tile--grey { background: #fff; }
.kx-tile__label { font-size: 12px; font-weight: 600; color: var(--kx-red-dark); }
.kx-tile--gold .kx-tile__label { color: #8A5A08; }
.kx-tile--grey .kx-tile__label { color: var(--kx-ink-soft); }
.kx-tile__price { font-family: var(--kx-font-title); font-weight: 800; font-size: 17px; text-transform: uppercase; color: var(--kx-ink); }
@media (min-width: 1024px) {
	.kx-tiles { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-top: -24px; }
	.kx-tile { padding: 26px 30px; border-radius: 20px; }
	.kx-tile--grey { background: #F1F0EE; }
	.kx-tile__label { font-size: 14px; }
	.kx-tile__price { font-size: 28px; }
}

/* ---------- Category circles ---------- */
.kx-catgroups { display: flex; flex-direction: column; gap: 10px; }
.kx-catgroup { background: #fff; border-radius: 16px; padding: 12px 12px 14px; }
.kx-catgroup__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.kx-catgroup__head h3 { margin: 0; font-family: var(--kx-font-body); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.kx-catgroup__head a { font-size: 13px; font-weight: 700; color: var(--kx-red-dark); }
.kx-circles { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.kx-circles::-webkit-scrollbar { display: none; }
.kx-circle { flex: none; width: 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-align: center; }
.kx-circle__img {
	display: block;
	width: 62px; height: 62px;
	border-radius: 50%;
	overflow: hidden;
	background: #F1EFEC;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1.5px var(--kx-gold);
}
.kx-circle__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
	.kx-catgroups { flex-direction: row; gap: 20px; }
	.kx-catgroup { flex: 1 1 0; background: #FAF8F6; border: 1px solid #EFEBE7; border-radius: 24px; padding: 22px 24px 26px; }
	.kx-catgroup__head h3 { font-size: 18px; }
	.kx-circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 16px; overflow: visible; }
	.kx-circle { width: auto; font-size: 14px; }
	.kx-circle__img { width: 110px; height: 110px; border-width: 3px; box-shadow: 0 0 0 2px var(--kx-gold); }
}

/* ---------- Price drop ---------- */
.kx-drop { background: var(--kx-red); color: #fff; overflow: hidden; }
.kx-drop__inner { display: flex; gap: 14px; padding-top: 16px; padding-bottom: 16px; align-items: center; }
.kx-drop__media { position: relative; flex: none; width: 130px; }
.kx-drop__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 4px solid #fff; background: #fff; }
.kx-drop__sticker {
	position: absolute; top: -6px; left: -6px;
	display: flex; flex-direction: column; align-items: center;
	padding: 4px 8px;
	border-radius: 10px;
	background: var(--kx-gold);
	color: var(--kx-ink);
	line-height: 1;
}
.kx-drop__sticker strong { font-family: var(--kx-font-title); font-weight: 800; font-size: 15px; }
.kx-drop__sticker small { display: none; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; margin-top: 3px; }
.kx-drop__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kx-drop__title { margin: 0; font-size: 17px; text-transform: uppercase; color: #fff; }
.kx-drop__text { display: none; margin: 0; color: #FFE3E3; }
.kx-drop__prices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.kx-drop__label { display: none; }
.kx-drop__now { font-family: var(--kx-font-title); font-weight: 800; font-size: 22px; color: var(--kx-gold); }
.kx-drop__was { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #FFD2D2; }
.kx-drop__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kx-drop__actions .kx-btn { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.kx-drop__actions .kx-btn:not(.kx-btn--ghost) { background: #fff; color: var(--kx-maroon); }
.kx-drop__actions .kx-btn--ghost { display: none; }
.kx-drop__actions .added_to_cart { color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; align-self: center; }
.kx-drop__note { margin: 0; font-size: 12px; color: #FFE3E3; }

@media (min-width: 1024px) {
	.kx-drop__inner { flex-direction: row-reverse; justify-content: space-between; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
	.kx-drop__media { width: 420px; }
	.kx-drop__img { aspect-ratio: 1 / 1; border-width: 8px; border-radius: 32px; }
	.kx-drop__sticker { top: 24px; left: -20px; padding: 10px 16px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
	.kx-drop__sticker strong { font-size: 32px; }
	.kx-drop__sticker small { display: block; }
	.kx-drop__body { gap: 18px; max-width: 560px; }
	.kx-drop__title { font-size: 46px; line-height: 1; }
	.kx-drop__text { display: block; font-size: 17px; }
	.kx-drop__prices { background: rgba(0, 0, 0, 0.18); border-radius: 20px; padding: 18px 22px; align-self: flex-start; gap: 20px; }
	.kx-drop__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: #FFE3E3; }
	.kx-drop__now { font-size: 44px; line-height: 1; }
	.kx-drop__was { flex-direction: column; align-items: flex-start; font-size: 18px; }
	.kx-drop__actions .kx-btn { min-height: 56px; padding: 0 30px; font-size: 16px; border-radius: 14px; }
	.kx-drop__actions .kx-btn:not(.kx-btn--ghost) { background: var(--kx-ink); color: #fff; }
	.kx-drop__actions .kx-btn--ghost { display: inline-flex; }
	.kx-drop__note { font-size: 14px; }
}

/* ---------- Mobile feed ---------- */
.kx-feed { padding: 4px 8px 0; }
.kx-feed .kx-chips { padding: 6px 4px 12px; }

/* ---------- Collection banners ---------- */
.kx-banners { display: grid; gap: 10px; }
.kx-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 220px;
	border-radius: 16px;
	overflow: hidden;
	background: #3A3936;
}
.kx-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.kx-banner:hover .kx-banner__img { transform: scale(1.03); }
.kx-banner__card { position: relative; margin: 14px; padding: 12px 16px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.kx-banner__title { font-family: var(--kx-font-title); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--kx-ink); }
.kx-banner__link { font-size: 13px; font-weight: 700; color: var(--kx-red-dark); }
@media (min-width: 1024px) {
	.kx-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.kx-banner { min-height: 380px; border-radius: 24px; }
	.kx-banner__card { margin: 20px; padding: 18px 22px; border-radius: 18px; }
	.kx-banner__title { font-size: 24px; }
}

/* ---------- Newsletter ---------- */
.kx-news {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 18px;
	border-radius: 20px;
	background: var(--kx-footer);
	color: #fff;
}
.kx-news::after {
	content: "";
	position: absolute;
	right: -70px; top: -70px;
	width: 200px; height: 200px;
	border-radius: 50%;
	border: 30px solid rgba(199, 10, 10, 0.35);
	pointer-events: none;
}
.kx-news__intro { position: relative; display: flex; align-items: center; gap: 14px; }
.kx-news__mark { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.kx-news__title { margin: 0 0 4px; font-size: 22px; text-transform: uppercase; color: #fff; }
.kx-news__intro p { margin: 0; font-size: 14px; color: #CFC8C4; }
.kx-news__form { position: relative; }
.kx-news__form input[type="email"],
.kx-news__form input[type="text"] {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--kx-pill);
	background: #fff;
	color: var(--kx-ink);
}
.kx-news__form button,
.kx-news__form input[type="submit"] {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--kx-pill);
	background: var(--kx-red);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
@media (min-width: 1024px) {
	.kx-news { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; border-radius: 28px; }
	.kx-news__intro { flex: 1 1 420px; gap: 20px; }
	.kx-news__mark { width: 76px; height: 76px; border-radius: 16px; }
	.kx-news__title { font-size: 34px; }
	.kx-news__form { flex: 1 1 420px; }
}

/* ---------- Trust strip ---------- */
.kx-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kx-trust > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; color: var(--kx-red-dark); }
.kx-trust span { display: flex; flex-direction: column; font-size: 12px; color: var(--kx-muted); line-height: 1.35; }
.kx-trust strong { font-size: 13px; color: var(--kx-ink); }
@media (min-width: 1024px) {
	.kx-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.kx-trust > div { padding: 18px 20px; border-radius: 16px; background: #FAF8F6; }
	.kx-trust strong { font-size: 15px; }
	.kx-trust span { font-size: 13px; }
}

.kx-news__admin { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(242, 167, 27, 0.15); color: #F7D9A3; font-size: 13px; line-height: 1.5; }

/* ---------- Hero slider ---------- */
.kx-slider { position: relative; border-radius: 16px; overflow: hidden; background: #8DB6E3; }
.kx-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.kx-slider__track::-webkit-scrollbar { display: none; }
.kx-slider .kx-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; border-radius: 0; }
.kx-slider .kx-hero picture { position: absolute; inset: 0; }
.kx-hero--image-only { display: block; }

.kx-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	display: flex;
	gap: 2px;
	padding: 2px 6px;
	border-radius: var(--kx-pill);
	background: rgba(0, 0, 0, 0.25);
}
.kx-slider__dot {
	width: 22px; height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.kx-slider__dot::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.7);
	transition: width 0.2s ease, background-color 0.2s ease;
}
.kx-slider__dot[aria-current="true"]::before { width: 18px; background: #fff; }

.kx-slider__arrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--kx-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--kx-shadow);
}
.kx-slider__arrow--prev { left: 16px; }
.kx-slider__arrow--next { right: 16px; }

@media (min-width: 1024px) {
	.kx-slider { border-radius: 24px; }
	.kx-slider__arrow { display: flex; align-items: center; justify-content: center; }
	.kx-slider__dots { bottom: 16px; }
	.kx-slider .kx-hero__panel { margin-left: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.kx-slider__track { scroll-behavior: auto; }
}
/* Phone: all category circles in ONE swipeable row (Clothing then Accessories) */
@media (max-width: 1023px) {
	.kx-catgroups {
		flex-direction: row;
		gap: 14px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		padding: 12px;
		background: #fff;
		border-radius: 16px;
	}
	.kx-catgroups::-webkit-scrollbar { display: none; }
	.kx-catgroup, .kx-catgroup .kx-circles { display: contents; }
	.kx-catgroup__head { display: none; }
	.kx-catgroups .kx-circle { scroll-snap-align: start; }
}