/* Beauty In Stem inspired — fullscreen homepage hero slider */
body.bis-home .hero_area.bis-hero-wrap {
    background: #f2f2f2;
    min-height: 0 !important;
}

body.bis-home .hero_area.bis-hero-wrap > .bg-box {
    display: none !important;
}

/* ── Fullscreen slider ── */
.bis-slider {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
    width: 100%;
    min-height: calc(100svh - 130px);
    height: calc(100svh - 130px);
    display: flex;
    flex-direction: column;
}

.bis-slider__crumb {
    position: absolute;
    top: clamp(1.25rem, 3vh, 1.75rem);
    left: clamp(1.25rem, 4vw, 3.5rem);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bis-slider__crumb a {
    color: var(--bis-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bis-slider__crumb a:hover {
    color: var(--bis-text);
}

.bis-slider__crumb-sep {
    color: var(--bis-border);
    user-select: none;
}

.bis-slider__viewport {
    flex: 1 1 auto;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.bis-slider__track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.75s var(--bis-ease);
    will-change: transform;
}

.bis-slider__slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.bis-slider__slide-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    width: 100%;
    height: 100%;
    margin: 0;
    padding:
        clamp(3.5rem, 8vh, 5rem)
        clamp(2rem, 5vw, 5rem)
        clamp(3rem, 7vh, 4.5rem)
        clamp(0.5rem, 1.5vw, 1.25rem);
}

/* Media column — image from left edge */
.bis-slider__media-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.bis-slider__media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    max-height: min(82vh, 780px);
    overflow: hidden;
    background: transparent;
}

.bis-slider__media img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: min(82vh, 780px);
    object-fit: contain;
    object-position: left center;
    transition: transform 1s var(--bis-ease), opacity 0.6s ease;
}

.bis-slider__slide:not(.is-active) .bis-slider__media img {
    opacity: 0.88;
}

/* Copy column — full text visible on the right */
.bis-slider__copy-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    align-self: center;
    min-width: 0;
    max-width: 560px;
    padding-right: clamp(0.5rem, 2vw, 2rem);
}

.bis-slider__title {
    margin: 0 0 1.25rem;
    font-family: var(--bis-font);
    font-size: clamp(1.75rem, 3.8vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bis-text);
    line-height: 1.08;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.bis-slider__title a {
    color: inherit;
    text-decoration: none;
}

.bis-slider__title a:hover {
    opacity: 0.65;
}

.bis-slider__tagline {
    margin: 0 0 2rem;
    font-size: clamp(0.6875rem, 1.1vw, 0.8125rem);
    font-weight: 400;
    color: var(--bis-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.65;
    width: 100%;
    max-width: 100%;
}

.bis-slider__price {
    font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--bis-text);
    margin: 0;
}

.bis-slider__desc {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--bis-muted);
    max-width: 38ch;
}

.bis-slider__cta {
    display: inline-flex;
    margin-top: 1.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bis-text);
    text-decoration: none;
    border-bottom: 1px solid var(--bis-text);
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.bis-slider__cta:hover {
    opacity: 0.55;
    color: var(--bis-text);
    text-decoration: none;
}

/* CMS slide */
.bis-slider__slide--cms .bis-slider__media img {
    object-fit: contain;
    object-position: left center;
}

/* Numbered pagination — bottom right */
.bis-slider__counter {
    position: absolute;
    bottom: clamp(1.5rem, 4vh, 2.75rem);
    right: clamp(1.25rem, 4vw, 3rem);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.bis-slider__counter-btn {
    border: none;
    background: none;
    padding: 0;
    font-family: var(--bis-font);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--bis-muted);
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.2s ease;
    line-height: 1;
}

.bis-slider__counter-btn:hover {
    color: var(--bis-text);
}

.bis-slider__counter-btn.is-active {
    color: var(--bis-text);
    font-weight: 700;
}

/* Home main content */
.bis-home-main {
    background: var(--bis-bg);
}

.bis-home-main .bis-section + .bis-section {
    border-top: 1px solid var(--bis-border);
}

/* ── Wide-screen products (copy + 2-col grid) ── */
.bis-products-wide {
    width: 100%;
    background: #f9f9f9;
    border-top: 1px solid var(--bis-border);
}

.bis-products-wide__inner {
    display: grid;
    grid-template-columns: minmax(260px, 36%) 1fr;
    align-items: start;
    width: 100%;
}

.bis-products-wide__copy {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4.5rem);
    background: #f9f9f9;
}

.bis-products-wide__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 2.25rem;
    font-family: var(--bis-font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c4a49a;
}

.bis-products-wide__eyebrow-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c4a49a;
}

.bis-products-wide__text {
    margin: 0 0 1.35rem;
    max-width: 36ch;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.85;
    color: #000000;
}

.bis-products-wide__shop {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid #000000;
    font-family: var(--bis-font);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.bis-products-wide__shop:hover {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
}

.bis-products-wide__products {
    background: #efefef;
    border-left: 1px solid #ffffff;
}

.bis-products-wide__empty {
    min-height: 320px;
}

@media (max-width: 991px) {
    .bis-products-wide__inner {
        grid-template-columns: 1fr;
    }

    .bis-products-wide__copy {
        position: static;
        padding: 2.5rem 1.5rem 2rem;
    }

    .bis-products-wide__products {
        border-left: none;
        border-top: 1px solid #ffffff;
    }
}

.bis-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

/* Categories — horizontal slider */
.bis-section--cats {
    padding: 3.25rem 0 3.5rem;
}

.bis-section__title--cats {
    text-align: center;
    margin: 0 0 1.75rem;
    font-family: var(--bis-serif);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.04em;
}

.bis-cats-slider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
}

.bis-cats-slider__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.bis-cats-slider__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.25rem 2.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0 0.35rem;
}

.bis-cats-slider__track::-webkit-scrollbar {
    display: none;
}

.bis-cat-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    width: 222px;
    text-decoration: none;
    color: var(--bis-text);
    transition: opacity 0.2s ease;
}

.bis-cat-card:hover {
    opacity: 0.72;
    color: var(--bis-text);
    text-decoration: none;
}

.bis-cat-card__media {
    display: block;
    width: 198px;
    height: 198px;
    overflow: hidden;
    background: var(--bis-surface);
    border: 1px solid var(--bis-border);
    border-radius: 5px;
}

.bis-cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.45s var(--bis-ease);
}

.bis-cat-card:hover .bis-cat-card__media img {
    transform: scale(1.05);
}

.bis-cat-card__label {
    display: block;
    width: 100%;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
}

.bis-cats-slider__nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.35rem;
    padding-left: 0.25rem;
}

.bis-cats-slider__btn {
    border: none;
    background: none;
    padding: 0.25rem 0.45rem;
    font-family: var(--bis-font);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    color: var(--bis-muted);
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.bis-cats-slider__btn:hover:not(:disabled) {
    color: var(--bis-text);
}

.bis-cats-slider__btn:disabled {
    opacity: 0.25;
    cursor: default;
}

@media (max-width: 575px) {
    .bis-section--cats {
        padding: 1.75rem 0 2rem;
    }

    .bis-cats-slider__track {
        gap: 0.65rem 1rem;
    }

    .bis-cat-card {
        width: 180px;
    }

    .bis-cat-card__media {
        width: 162px;
        height: 162px;
    }

    .bis-cat-card__label {
        font-size: 1rem;
        letter-spacing: 0.06em;
    }
}

.bis-cta {
    text-align: center;
    padding: 4rem 1.25rem;
    background: var(--bis-bg-2);
}

.bis-cta__title {
    margin: 0 0 0.75rem;
    font-family: var(--bis-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.03em;
}

.bis-cta__link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bis-text);
    text-decoration: none;
    border-bottom: 1px solid var(--bis-text);
    padding-bottom: 2px;
}

.bis-cta__link:hover {
    opacity: 0.55;
    color: var(--bis-text);
}

@media (max-width: 991px) {
    .bis-slider {
        min-height: calc(100svh - 120px);
        height: auto;
    }

    .bis-slider__slide {
        height: auto;
        min-height: calc(100svh - 120px);
    }

    .bis-slider__slide-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
        padding:
            3.5rem
            clamp(1.25rem, 4vw, 2rem)
            4.5rem
            clamp(0.75rem, 3vw, 1.25rem);
        height: auto;
        min-height: calc(100svh - 120px);
    }

    .bis-slider__media-col {
        justify-content: flex-start;
        height: auto;
    }

    .bis-slider__media {
        max-height: min(48vh, 420px);
        height: auto;
    }

    .bis-slider__media img {
        height: auto;
        max-height: min(48vh, 420px);
        object-position: left center;
    }

    .bis-slider__copy-col {
        align-items: flex-start;
        text-align: left;
        max-width: none;
        padding-right: 0;
    }

    .bis-slider__counter {
        right: clamp(1.25rem, 4vw, 2rem);
        left: auto;
        transform: none;
    }
}

@media (max-width: 575px) {
    .bis-slider__title {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem);
        letter-spacing: 0.04em;
    }

    .bis-slider__media img {
        max-height: 40vh;
    }
}
