/* Attire — homepage editorial. Diskop di bawah .ah-home. Token sama dengan editorial.css (PDP). */

.ah-home {
	--ah-bg: #f8f8f8;
	--ah-ink: #33383c;
	--ah-muted: #757a7e;
	--ah-line: #e2e2e2;
	--ah-dark: #1f2224;
	--ah-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ah-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	background: var(--ah-bg);
	color: var(--ah-ink);
	font-family: var(--ah-sans);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	/* keluar dari container Savoy supaya penuh lebar */
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	overflow: hidden;
}
.ah-home *, .ah-home *::before, .ah-home *::after { box-sizing: border-box; }
.ah-home img { display: block; max-width: 100%; height: auto; }
.ah-home p { margin: 0; }
.ah-home a { color: inherit; text-decoration: none; }
.ah-home h1, .ah-home h2 { color: var(--ah-ink); letter-spacing: 0; }

.ah-eyebrow { display: block; font-size: 12px; letter-spacing: .04em; color: var(--ah-muted); margin: 0 0 14px; }
.ah-h1, .ah-h2 { font-family: var(--ah-serif); font-weight: 400; line-height: 1.12; margin: 0 0 20px; }
.ah-h1 { font-size: clamp(34px, 4vw, 56px); }
.ah-h2 { font-size: clamp(28px, 3vw, 44px); }
.ah-underline { display: inline-block; font-size: 13px; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.ah-pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 4px; background: #fff; border: 1px solid var(--ah-line); font-size: 13px; color: var(--ah-ink) !important; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: border-color .2s; }
.ah-pill:hover { border-color: var(--ah-ink); }
.ah-pill--light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); box-shadow: none; }
.ah-pill--light:hover { border-color: #fff; }

/* ---------- HERO (inset, seperti Dior) ---------- */
.ah-hero { padding: 24px 5vw 0; }
.ah-hero__frame { position: relative; display: block; max-width: 1240px; margin: 0 auto; overflow: hidden; background: #2a2a2a; }
.ah-hero__images { display: grid; grid-template-columns: repeat(3, 1fr); }
.ah-hero__img img { width: 100%; aspect-ratio: 773 / 1000; object-fit: cover; transition: transform 1.2s ease; }
.ah-hero__frame:hover .ah-hero__img img { transform: scale(1.02); }
.ah-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.45) 100%); pointer-events: none; }
.ah-hero__text { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding: 0 16px; }
.ah-hero__text .ah-eyebrow { color: rgba(255,255,255,.85); }
.ah-hero__title { font-family: var(--ah-serif); font-size: clamp(48px, 7vw, 96px); line-height: 1; margin-bottom: 14px; }
.ah-hero__sub { font-size: 16px; margin-bottom: 22px; }

/* ---------- INTERLUDE ---------- */
.ah-interlude { text-align: center; padding: 110px 16px 120px; max-width: 900px; margin: 0 auto; }

/* ---------- FEATURE SPLIT ---------- */
.ah-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--ah-bg); }
.ah-feature.is-reversed .ah-feature__media { order: 2; }
.ah-feature__media { display: block; overflow: hidden; background: #e9e7e4; }
.ah-feature__media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; aspect-ratio: 773 / 1000; }
.ah-feature__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 72px clamp(24px, 5vw, 80px); }
.ah-feature__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 6px; margin: 18px 0 34px; }

.ah-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; padding: 0 0 16px; }
.ah-card__img { display: block; width: 100%; overflow: hidden; background: #efeeec; margin-bottom: 14px; }
.ah-card__img img { width: 100%; aspect-ratio: 773 / 1000; object-fit: cover; transition: transform .6s ease; }
.ah-card:hover .ah-card__img img { transform: scale(1.04); }
.ah-card__name { font-size: 13px; font-weight: 400; padding: 0 8px; margin-bottom: 4px; min-height: 2.6em; display: flex; align-items: center; }
.ah-card__price { font-size: 12px; color: var(--ah-muted); margin-bottom: 12px; }
.ah-card__price del { opacity: .6; margin-right: 4px; }
.ah-card__price ins { text-decoration: none; color: var(--ah-ink); }
.ah-card__cta { font-size: 12px; border: 1px solid var(--ah-line); border-radius: 4px; padding: 5px 14px; }
.ah-card:hover .ah-card__cta { border-color: var(--ah-ink); }

/* ---------- CLEARANCE ---------- */
.ah-clearance { background: var(--ah-dark); color: #eee; display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; padding: 96px 5vw; }
.ah-clearance .ah-eyebrow { color: #a8adb1; }
.ah-clearance .ah-h2 { color: #fff; }
.ah-clearance__text p:not(.ah-eyebrow) { font-size: 15px; color: #c9ccce; margin-bottom: 28px; }
.ah-clearance__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ah-clearance .ah-card { background: #2a2d30; }
.ah-clearance .ah-card__name { color: #fff; }
.ah-clearance .ah-card__price, .ah-clearance .ah-card__price ins { color: #c9ccce; }
.ah-clearance .ah-card__cta { border-color: rgba(255,255,255,.25); color: #fff; }

/* ---------- KATEGORI ---------- */
.ah-cats { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; padding: 110px 0 110px 5vw; }
.ah-cats__intro p { font-size: 15px; line-height: 1.6; color: var(--ah-muted); margin-bottom: 28px; }
.ah-cats__nav { display: flex; gap: 8px; }
.ah-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ah-line); background: #fff; font-size: 20px; line-height: 1; color: var(--ah-ink); cursor: pointer; }
.ah-arrow:hover { border-color: var(--ah-ink); }
.ah-cats__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-right: 5vw; }
.ah-cats__track::-webkit-scrollbar { display: none; }
.ah-cat { position: relative; flex: 0 0 clamp(220px, 22vw, 320px); scroll-snap-align: start; overflow: hidden; background: #e9e7e4; }
.ah-cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s ease; }
.ah-cat:hover img { transform: scale(1.04); }
.ah-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); }
.ah-cat__label { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 400; }
.ah-cat__label .ah-underline { font-size: 12px; }

/* ---------- SERVIS ---------- */
.ah-services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ah-line); border-bottom: 1px solid var(--ah-line); background: #fff; }
.ah-service { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 5vw 30px 40px; font-size: 13px; line-height: 1.55; color: var(--ah-muted) !important; }
.ah-service + .ah-service { border-left: 1px solid var(--ah-line); }
.ah-service strong { display: block; font-weight: 500; color: var(--ah-ink); margin-bottom: 4px; font-size: 14px; }
.ah-service__arrow { font-size: 22px; color: var(--ah-ink); }
a.ah-service:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.ah-all-title { text-align: center; padding: 90px 16px 10px; margin: 0; }

/* ---------- RESPONSIF ---------- */
@media (max-width: 1100px) {
	.ah-clearance { grid-template-columns: 1fr; gap: 36px; }
	.ah-cats { grid-template-columns: 240px 1fr; gap: 32px; }
}
@media (max-width: 900px) {
	.ah-hero { padding: 0; }
	.ah-hero__images { grid-template-columns: 1fr; }
	.ah-hero__img:not(.is-main) { display: none; }
	.ah-hero__img img { aspect-ratio: 4 / 5; }
	.ah-hero__text { bottom: 36px; }
	.ah-interlude { padding: 72px 16px 80px; }
	.ah-feature { grid-template-columns: 1fr; }
	.ah-feature.is-reversed .ah-feature__media { order: 0; }
	.ah-feature__media img { aspect-ratio: 4 / 5; }
	.ah-feature__body { padding: 48px 16px 64px; }
	.ah-feature__cards { grid-template-columns: repeat(3, 1fr); width: 100%; gap: 4px; }
	.ah-card__name { font-size: 12px; }
	.ah-clearance { padding: 64px 16px; }
	.ah-clearance__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
	.ah-clearance__cards::-webkit-scrollbar { display: none; }
	.ah-clearance__cards .ah-card { flex: 0 0 46%; scroll-snap-align: start; }
	.ah-cats { grid-template-columns: 1fr; gap: 28px; padding: 72px 0; }
	.ah-cats__intro { padding: 0 16px; }
	.ah-cats__nav { display: none; }
	.ah-cats__track { padding: 0 16px; }
	.ah-cat { flex-basis: 68%; }
	.ah-services { grid-template-columns: 1fr; }
	.ah-service { padding: 22px 16px; }
	.ah-service + .ah-service { border-left: 0; border-top: 1px solid var(--ah-line); }
	.ah-all-title { padding-top: 64px; }
}

/* 100vw termasuk scrollbar: elak scroll mendatar tanpa jadikan body scroll container */
body.attire-home-editorial { overflow-x: clip; }
