/* ==========================================================================
   FUGA — Banner chạy (hero)
   ========================================================================== */
.fg-hero { position: relative; overflow: hidden; background: #000; color: #fff; }
.fg-hero__track { display: flex; transition: transform .6s var(--fg-ease); will-change: transform; }
.fg-hero__slide { position: relative; flex: 0 0 100%; min-width: 0; }
.fg-hero__media { display: block; }
/* Lớp tối dần ở dưới để chữ trắng dễ đọc */
.fg-hero__slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 41.6%; z-index: 1; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .45)); pointer-events: none; }
.fg-hero__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fg-hero__content {
	position: absolute; left: 0; right: 0; bottom: calc(96 * var(--u)); z-index: 2;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	pointer-events: none;
}
.fg-hero__content a { pointer-events: auto; }
.fg-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: calc(11.25 * var(--u)); }
.fg-hero__title { font-size: 40px; line-height: normal; font-weight: 500; letter-spacing: normal; }
.fg-hero__sub { font-size: 24px; line-height: 25px; letter-spacing: normal; }
.fg-hero__buttons { display: flex; align-items: center; gap: 31px; }

.fg-hero__arrow {
	position: absolute; top: 50%; z-index: 10; transform: translateY(-50%);
	width: 41px; height: 41px; line-height: 0; opacity: .38; transition: opacity .2s;
}
.fg-hero__arrow:hover { opacity: .7; }
.fg-hero__arrow[disabled] { opacity: .3; cursor: default; }
.fg-hero__arrow .fg-icon { width: 41px; height: 41px; }
.fg-hero__arrow--prev { left: 13px; }
.fg-hero__arrow--next { right: 13px; }

.fg-hero__progress { position: absolute; left: 0; right: 0; bottom: calc(38.25 * var(--u)); z-index: 10; pointer-events: none; }
.fg-hero__segs { display: flex; justify-content: center; gap: calc(30 * var(--u)); }
.fg-hero__seg { position: relative; width: calc(165 * var(--u)); height: calc(2.625 * var(--u)); background: rgba(255, 255, 255, .15); overflow: hidden; }
.fg-hero__seg i { position: absolute; inset: 0; background: rgba(255, 255, 255, .38); transform: scaleX(0); transform-origin: left; }
.fg-hero__seg.is-done i { transform: scaleX(1); }

@media (max-width: 768px) {
	.fg-hero__img { aspect-ratio: 9 / 16; }
	.fg-hero__slide::after { height: 53%; }
	.fg-hero__content { bottom: 59px; flex-direction: column; align-items: center; text-align: center; }
	.fg-hero__text { align-items: center; gap: 6px; }
	.fg-hero__title { font-size: 24px; }
	.fg-hero__sub { font-size: 14px; line-height: 16px; font-weight: 500; }
	.fg-hero__buttons { gap: 24px; }
	.fg-hero__arrow { display: none; }
	.fg-hero__progress { bottom: 27px; padding-inline: 29px; }
	.fg-hero__segs { gap: 6px; }
	.fg-hero__seg { flex: 1; width: auto; height: 2px; }
}

/* Banner trong khung (khối "New Arrivals") */
.fg-hero--boxed { background: #d9d9d9; }
.fg-hero--boxed .fg-hero__img { aspect-ratio: 1744 / 760; }
.fg-hero--boxed .fg-hero__slide::after { height: 42%; }
.fg-hero--boxed .fg-hero__content { bottom: calc(60 * var(--u)); }
.fg-hero--boxed .fg-hero__text { gap: calc(15 * var(--u)); }
.fg-hero--boxed .fg-hero__arrow--prev { left: calc(12.75 * var(--u)); }
.fg-hero--boxed .fg-hero__arrow--next { right: calc(12.75 * var(--u)); }
.fg-hero--boxed .fg-hero__progress { bottom: calc(40.5 * var(--u)); }
.fg-hero--boxed .fg-hero__segs { justify-content: flex-start; }
@media (max-width: 768px) {
	.fg-hero--boxed { margin-inline: -17px; }
	.fg-hero--boxed .fg-hero__img { aspect-ratio: 3 / 4; }
	.fg-hero--boxed .fg-hero__content { bottom: 59px; }
	.fg-hero--boxed .fg-hero__text { gap: 6px; }
	.fg-hero--boxed .fg-hero__progress { bottom: 25px; padding-inline: 0; }
	.fg-hero--boxed .fg-hero__segs { justify-content: center; }
	.fg-hero--boxed .fg-hero__seg { flex: none; width: 107px; }
}
