/* =========================================================================
   CLUTCHES — Homepage sections
   Centered narrow column, tight vertical rhythm, small bold section heads.
   ========================================================================= */

/* ---- Home layout primitives ---- */
.container--home {
	width: 100%;
	max-width: var(--container-home);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section--home { padding-block: clamp(18px, 2.6vw, 36px); }

/* Small bold uppercase section heading (with optional "view all" link) */
.home-head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: var(--sp-4); margin-block-end: var(--sp-4);
}
.home-head h2 {
	font-size: var(--fs-sm); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase; margin: 0;
}

/* Product carousels join the same column + heading style on the homepage */
.home .product-carousel .container--wide { max-width: var(--container-home); }
.home .product-carousel.section { padding-block: clamp(18px, 2.6vw, 36px); }
.home .product-carousel .section-head { margin-block-end: var(--sp-4); }
.home .product-carousel .section-head h2 {
	font-size: var(--fs-sm); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase;
}

/* ---- Logo marquee strip ---- */
.logo-marquee {
	background: var(--c-black); color: var(--c-white);
	overflow: hidden; padding-block: 12px;
	direction: ltr; /* decorative Latin wordmark; keeps the loop math identical in RTL */
}
.logo-marquee { max-inline-size: 100vw; }
/* phones: keep the strip as a subtle decorative band */
@media (max-width: 640px) {
	.logo-marquee { padding-block: 7px; }
	.logo-marquee-item { font-size: 0.78rem; letter-spacing: .18em; }
}
.logo-marquee-track { display: flex; width: max-content; animation: clutches-marquee 32s linear infinite; }
.logo-marquee-group { display: flex; align-items: center; gap: 40px; padding-inline-end: 40px; }
.logo-marquee-item {
	font-family: var(--font-serif); font-size: 1.05rem;
	letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.logo-marquee-sep { font-size: .6rem; opacity: .65; }
@keyframes clutches-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.logo-marquee-track { animation: none; }
}

/* ---- World tabs ---- */
.home-tabs { border-block-end: 1px solid var(--c-line); }
.home-tabs-row {
	display: grid; grid-template-columns: repeat(4, 1fr);
	max-width: 760px; margin-inline: auto;
}
.home-tab {
	text-align: center; padding: 14px 8px;
	font-size: var(--fs-sm); font-weight: var(--fw-medium);
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-muted); border-block-end: 2px solid transparent;
	transition: color var(--dur-fast) var(--ease);
}
.home-tab:hover { color: var(--c-black); }
.home-tab.is-active {
	color: var(--c-black); font-weight: var(--fw-bold);
	background: var(--c-bg-soft); border-block-end-color: var(--c-black);
}

/* ---- Hero (contained promo banner) ---- */
.section--hero { padding-block-start: clamp(14px, 2vw, 24px); }
.hero { position: relative; overflow: hidden; background: var(--c-bg-soft); }
.hero-track { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur) var(--ease); display: block; }
.hero-slide.is-active { position: relative; opacity: 1; }
.hero-img { inline-size: 100%; block-size: clamp(300px, 36vw, 520px); object-fit: cover; }
/* The designed banner carries its own typography (logo at the top, tagline at
   the bottom): show the whole 16:9 artwork, never crop it to a fixed height. */
.hero-slide--designed .hero-img { block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-slide--designed picture { display: block; }
/* Slide without an uploaded photo: designed black promo panel */
.hero-slide--flat { min-block-size: clamp(300px, 36vw, 520px); background: var(--c-black); }
.hero-slide--flat .hero-overlay { position: absolute; background: none; }

.hero-overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: var(--sp-3); text-align: center; padding: var(--sp-5);
	color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35);
	background: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12));
}
.hero-eyebrow { font-size: var(--fs-sm); letter-spacing: var(--ls-wider); text-transform: uppercase; }
.hero-title {
	font-weight: var(--fw-bold); color: var(--c-hl);
	font-size: clamp(2.1rem, 5.2vw, 4rem);
	line-height: 1; letter-spacing: .01em; text-transform: uppercase;
}
.hero-sub {
	font-weight: var(--fw-bold); color: var(--c-hl);
	font-size: clamp(1.3rem, 3.2vw, 2.4rem);
	line-height: 1.05; text-transform: uppercase;
}
.hero-cta {
	margin-block-start: var(--sp-3);
	background: var(--c-white); color: var(--c-black);
	padding: 10px 24px; font-size: var(--fs-sm); font-weight: var(--fw-bold);
	letter-spacing: .06em; text-shadow: none;
}
.hero-legal {
	margin: var(--sp-3) 0 0; text-align: center;
	font-size: var(--fs-xs); color: var(--c-muted); line-height: var(--lh-snug);
}

.hero-dots { position: absolute; inset-block-end: 14px; inset-inline: 0; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.hero-dot { inline-size: 9px; block-size: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; inline-size: 24px; border-radius: var(--radius-pill); }
.hero-arrow {
	position: absolute; inset-block-start: 50%; transform: translateY(-50%);
	inline-size: 44px; block-size: 44px; border-radius: 50%;
	background: rgba(255,255,255,.85); border: 0; cursor: pointer; z-index: 3;
	display: flex; align-items: center; justify-content: center;
}
.hero-arrow--prev { inset-inline-start: 12px; }
.hero-arrow--next { inset-inline-end: 12px; }
html[dir="rtl"] .hero-arrow--next .icon { transform: scaleX(-1); }
html[dir="ltr"] .hero-arrow--prev .icon { transform: scaleX(-1); }

/* ---- Split editorial banner ---- */
.split-banner {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
	overflow: hidden; background: var(--c-bg-soft);
}
.split-banner img { inline-size: 100%; block-size: clamp(280px, 32vw, 500px); object-fit: cover; }
.split-banner-cap {
	position: absolute; inset: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.4); pointer-events: none;
}
.split-banner-title {
	font-family: var(--font-serif); font-style: italic;
	font-size: clamp(1.9rem, 4.4vw, 3.4rem); letter-spacing: .04em; text-align: center;
}
.split-banner-tag {
	position: absolute; inset-block-end: 16px; z-index: 2;
	color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45);
	font-size: var(--fs-xxs); letter-spacing: var(--ls-wider); text-transform: uppercase;
}
.split-banner-tag--start { inset-inline-start: 20px; }
.split-banner-tag--end { inset-inline-end: 20px; }

/* ---- Category rail (label under image) ---- */
.rail--cats { gap: var(--sp-4); }
.rail--cats > * { flex-basis: calc((100% - (var(--sp-4) * 4)) / 4.6); }
.cat-card { display: block; }
.cat-card-media {
	display: block; position: relative; aspect-ratio: 1;
	overflow: hidden; background: var(--c-bg-soft);
}
.cat-card-media img {
	position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
	object-fit: cover; transition: transform var(--dur) var(--ease);
}
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card-label {
	display: block; padding-block-start: var(--sp-2);
	font-size: var(--fs-xs); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink);
}
.cat-rail .rail-arrow { inset-block-start: 34%; }

/* ---- NEW IN promo grid ---- */
.promo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.promo-card {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 4 / 5; background: var(--c-bg-soft);
}
.promo-card img {
	position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
	object-fit: cover; transition: transform var(--dur) var(--ease);
}
.promo-card:hover img { transform: scale(1.05); }
.promo-card-chip {
	position: absolute; inset-block-end: 10px; inset-inline-start: 10px; z-index: 2;
	background: var(--c-white); color: var(--c-black);
	padding: 6px 10px; font-size: var(--fs-xxs); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase;
}
.promo-card-chip--hl { background: var(--c-hl); color: var(--c-on-hl); }

/* ---- Trend grid (ON TREND style: photo card + centered label) ---- */
.promo-card--trend img { filter: brightness(.92); }
.promo-card-veil {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.28));
	transition: background var(--dur-fast) var(--ease);
}
.promo-card--trend:hover .promo-card-veil { background: linear-gradient(rgba(0,0,0,.16), rgba(0,0,0,.4)); }
.promo-card-title {
	position: absolute; inset: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	color: #fff; text-align: center; padding: var(--sp-2);
	font-size: var(--fs-sm); font-weight: var(--fw-bold);
	letter-spacing: .06em; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

/* ---- HOT SALE strip ---- */
.hot-sale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hot-sale-card {
	position: relative; display: flex; flex-direction: column; gap: 4px;
	background: var(--c-bg-muted); padding: var(--sp-4) var(--sp-5) var(--sp-5);
	transition: background var(--dur-fast) var(--ease);
}
.hot-sale-card:hover { background: var(--c-line); }
.hot-sale-title { font-size: var(--fs-md); font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--c-ink); }
.hot-sale-sub { font-size: var(--fs-sm); color: var(--c-muted); }
.hot-sale-cta {
	align-self: flex-start; margin-block-start: var(--sp-2);
	background: var(--c-hl); color: var(--c-on-hl);
	font-size: var(--fs-xxs); font-weight: var(--fw-bold);
	letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px;
}

/* ---- BEST BRANDS grid (typographic tiles) ---- */
.brands-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.brand-tile {
	display: flex; align-items: center; justify-content: center;
	background: var(--c-bg-soft); block-size: 84px;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
	color: var(--c-ink);
}
.brand-tile:hover { background: var(--c-black); color: #fff; }
.brand-tile-name {
	font-family: var(--font-serif); font-size: var(--fs-md);
	letter-spacing: .14em; text-transform: uppercase; text-align: center; padding-inline: var(--sp-2);
}
.brands-all { text-align: center; margin: var(--sp-5) 0 0; }
.brands-all-btn {
	display: inline-block; background: var(--c-black); color: #fff;
	font-size: var(--fs-xxs); font-weight: var(--fw-bold);
	letter-spacing: .1em; text-transform: uppercase; padding: 8px 18px;
}
.brands-all-btn:hover { background: var(--c-ink); }

/* ---- Newsletter band (kept for reuse) ---- */
.newsletter-band { background: var(--c-bg-soft); padding-block: var(--sp-9); text-align: center; }
.newsletter-title { font-size: var(--fs-2xl); margin-block-end: var(--sp-2); }
.newsletter-sub { color: var(--c-muted); margin-block-end: var(--sp-5); }
.newsletter-row { display: flex; gap: var(--sp-2); max-inline-size: 520px; margin-inline: auto; }
.newsletter-row .btn { flex: 0 0 auto; }
.newsletter-consent { display: flex; gap: var(--sp-2); align-items: flex-start; justify-content: center; font-size: var(--fs-xs); color: var(--c-muted); margin-block-start: var(--sp-3); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.promo-grid { grid-template-columns: repeat(4, 1fr); }
	.rail--cats > * { flex-basis: calc((100% - (var(--sp-4) * 2)) / 3.3); }
}
@media (max-width: 768px) {
	.promo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.hot-sale { grid-template-columns: 1fr; }
	.brands-grid-home { grid-template-columns: repeat(2, 1fr); }
	.rail--cats > * { flex-basis: calc((100% - var(--sp-4)) / 2.3); }
	.hero-arrow { display: none; }
	.newsletter-row { flex-direction: column; }
	.home-tab { letter-spacing: .04em; padding: 12px 4px; }
	.split-banner img { block-size: clamp(220px, 40vw, 320px); }
}
@media (max-width: 640px) {
	/* Portrait hero on phones (the designed banner swaps to its mobile art) */
	.hero-img { block-size: auto; aspect-ratio: 4 / 5; }
	.hero picture { display: block; }
	/* the designed banner shows complete on phones too (owner's request):
	   the full 16:9 artwork, nothing cropped */
	.hero-slide--designed .hero-img { aspect-ratio: 16 / 9; object-fit: contain; }
}
@media (max-width: 480px) {
	.promo-grid { grid-template-columns: repeat(2, 1fr); }
	.home-tab { font-size: var(--fs-xxs); padding: 9px 2px; letter-spacing: .02em; }
	.home-head h2 { letter-spacing: .05em; }
	.split-banner-title { font-size: 1.3rem; }
}
