/* ===== Home page product slider ===== */
.hs {
    --hs-dur: 6000ms;
    --hs-ease: cubic-bezier(.65, 0, .35, 1);
    position: relative;
    overflow: hidden;
    padding: 0;            /* index.css gives every section 50px padding */
    color: #fff;
    background: #3c413c;
}
.hs__viewport { overflow: hidden; touch-action: pan-y; }
.hs__track {
    display: flex;
    will-change: transform;
    transition: transform .8s var(--hs-ease);
}
.hs__slide {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 74vh, 660px);
    padding: 48px 0 112px;
    background:
        radial-gradient(60% 80% at 78% 45%, var(--tint, #4a8bb3) 0%, transparent 70%),
        linear-gradient(135deg, #3c413c 0%, #2f5f80 100%);
}
.hs__inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

/* text, with a soft staggered entrance on the active slide */
.hs__text > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.hs__slide.is-active .hs__text > * { opacity: 1; transform: none; }
.hs__slide.is-active .hs__text > *:nth-child(1) { transition-delay: .25s; }
.hs__slide.is-active .hs__text > *:nth-child(2) { transition-delay: .35s; }
.hs__slide.is-active .hs__text > *:nth-child(3) { transition-delay: .45s; }
.hs__slide.is-active .hs__text > *:nth-child(4) { transition-delay: .55s; }
.hs__slide.is-active .hs__text > *:nth-child(5) { transition-delay: .65s; }

.hs__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffd8b0;
}
.hs__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--secondary, #e67e22); }
.hs__title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #fff;
}
.hs__desc {
    margin: 0 0 22px;
    max-width: 52ch;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #e3eef5;
}
.hs__facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
}
.hs__facts li {
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .85rem;
    line-height: 1.3;
    color: #dbe8f0;
}
.hs__facts strong { display: block; font-size: 1.05rem; color: #fff; }
.hs__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hs__cta .btn { margin-top: 0; padding: 14px 30px; font-size: 1rem; border-radius: 6px; }
.hs__ghost {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    transition: background-color .2s ease;
}
.hs__ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* product image card */
.hs__media {
    display: block;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
    transform: scale(.94);
    opacity: .6;
    transition: transform .9s var(--hs-ease), opacity .9s ease;
}
.hs__slide.is-active .hs__media { transform: none; opacity: 1; }
.hs__media img {
    display: block;
    width: 100%;
    height: clamp(240px, 38vh, 360px);
    object-fit: contain;
    border-radius: 10px;
}

/* arrows */
.hs__arrow {
    position: absolute;
    top: calc(50% - 32px);
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.hs__arrow:hover { background: rgba(0, 0, 0, .35); transform: scale(1.06); }
.hs__arrow svg { width: 20px; height: 20px; display: block; }
.hs__arrow--prev { left: 18px; }
.hs__arrow--next { right: 18px; }

/* bottom bar: product names with an autoplay progress line */
.hs__nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
}
.hs__nav .container { display: flex; align-items: flex-end; gap: 12px; }
.hs__tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hs__tab {
    display: block;
    padding: 0 0 2px;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .62);
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}
.hs__tab:hover, .hs__tab.is-active { color: #fff; }
.hs__tab span { display: block; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs__bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hs__bar i { display: block; height: 100%; width: 0; background: var(--secondary, #e67e22); border-radius: 3px; }
.hs__tab.is-active .hs__bar i { width: 100%; }
.hs.is-auto .hs__tab.is-active .hs__bar i { width: 0; animation: hs-fill var(--hs-dur) linear forwards; }
.hs.is-paused .hs__tab.is-active .hs__bar i { animation-play-state: paused; }
@keyframes hs-fill { from { width: 0; } to { width: 100%; } }

.hs__pause {
    flex: none;
    width: 34px;
    height: 34px;
    margin-bottom: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.hs__pause:hover { background: rgba(255, 255, 255, .12); }
.hs__pause svg { width: 14px; height: 14px; display: block; }
.hs__pause .i-play { display: none; }
.hs.is-user-paused .hs__pause .i-play { display: block; }
.hs.is-user-paused .hs__pause .i-pause { display: none; }

.hs :focus-visible { outline: 2px solid #ffd8b0; outline-offset: 3px; }

/* tablet & phone */
@media (max-width: 1100px) {
    .hs__arrow { display: none; }
}
@media (max-width: 900px) {
    .hs__slide { min-height: 0; padding: 28px 0 76px; align-items: flex-start; }
    .hs__inner { grid-template-columns: 1fr; gap: 22px; }
    .hs__media { order: -1; padding: 10px; border-radius: 14px; max-width: 520px; }
    .hs__media img { height: 190px; }
    .hs__title { font-size: 1.75rem; }
    .hs__desc { font-size: 1rem; margin-bottom: 16px; }
    .hs__facts { margin-bottom: 20px; }
    .hs__facts li { padding: 6px 10px; }
    .hs__facts strong { font-size: .95rem; }
    .hs__tab span { display: none; }
    .hs__tabs { gap: 6px; }
    .hs__nav { bottom: 22px; }
    .hs__pause { width: 30px; height: 30px; margin-bottom: -13px; }
}
@media (max-width: 575px) {
    .hs__cta { flex-wrap: nowrap; gap: 10px; }
    .hs__cta .btn, .hs__ghost { flex: 1 1 0; width: auto; text-align: center; padding: 12px 10px; white-space: nowrap; }
}
@media (max-width: 480px) {
    .hs__facts li:nth-child(3) { display: none; }
}

