/* Bewakoof-style root landing (/) — single viewport, no scroll */
body.page-landing {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
    background-image: url('../images/landing-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.page-landing .store-header {
    position: relative;
    flex-shrink: 0;
}

body.page-landing .store-header__inner {
    padding: 0.4rem 1rem;
}

body.page-landing .store-header__logo {
    font-size: 1.15rem;
}

body.page-landing .store-nav__trigger,
body.page-landing .store-nav__list > li > a:not(.store-nav__trigger) {
    padding: 0.45rem 0;
}

body.page-landing main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

body.page-landing .store-footer {
    display: none;
}

@media (max-width: 767px) {
    body.page-landing {
        height: auto;
        max-height: none;
        overflow-x: clip;
        overflow-y: auto;
    }

    body.page-landing main {
        overflow: visible;
        min-height: calc(100dvh - 3.5rem);
    }
}

.bw-shop--root {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bw-shop--root .bw-shop__inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(0.45rem, 1.4vh, 0.9rem) clamp(1rem, 4vw, 2rem) clamp(0.7rem, 2vh, 1.25rem);
    max-width: none;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.bw-shop--root .bw-shop__brand {
    font-size: clamp(0.95rem, 2.5vw, 1.35rem);
    margin-bottom: 0.05rem;
    flex-shrink: 0;
}

.bw-shop--root .bw-shop__heading {
    font-size: clamp(1.1rem, 3.5vw, 1.85rem);
    margin: 0 0 clamp(0.35rem, 1.5vh, 0.65rem);
    flex-shrink: 0;
}

.bw-shop__sale-strip {
    position: relative;
    width: min(88vw, 1140px);
    height: clamp(83px, 13vh, 143px);
    margin: 0 0 clamp(0.65rem, 1.8vh, 1.1rem);
    border-radius: clamp(10px, 1.5vw, 16px);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease;
    will-change: transform;
}

.bw-shop--root .bw-shop__sale-strip:hover {
    transform: translateY(-4px) scale(1.015);
}

.bw-sale-banner {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity 0.65s ease-in-out;
}

.bw-sale-banner.is-active {
    opacity: 1;
    z-index: 1;
}

.bw-sale-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bw-sale-countdown {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.15rem, 0.6vh, 0.4rem);
    padding: clamp(0.25rem, 1vh, 0.55rem) clamp(0.35rem, 1.2vw, 0.75rem);
    text-align: center;
    color: #111;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 252, 245, 0.55) 28%, rgba(255, 252, 245, 0.72) 100%);
}

.bw-sale-countdown__title {
    display: block;
    font-size: clamp(0.58rem, 1.35vw, 0.85rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #111;
}

.bw-sale-countdown__clock {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(0.15rem, 0.6vw, 0.35rem);
}

.bw-sale-countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(1.6rem, 3.2vw, 2.6rem);
}

.bw-sale-countdown__block strong {
    font-size: clamp(1.05rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #111;
}

.bw-sale-countdown__unit {
    margin-top: 0.15em;
    font-size: clamp(0.48rem, 1.05vw, 0.68rem);
    font-weight: 500;
    line-height: 1;
    color: #777;
    text-transform: lowercase;
}

.bw-sale-countdown__sep {
    font-size: clamp(0.95rem, 2.4vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    padding-top: 0.05em;
    color: #111;
}

.bw-shop--root .bw-shop__cards {
    flex: 1 1 auto;
    min-height: 0;
    width: min(88vw, 1140px);
    height: auto;
    max-width: none;
    max-height: none;
    align-content: stretch;
    gap: clamp(0.85rem, 2.2vw, 1.5rem);
}

.bw-shop--root .bw-shop-card {
    height: 100%;
    max-height: none;
    min-height: 0;
    border-radius: clamp(10px, 1.5vw, 16px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease;
}

.bw-shop--root .bw-shop-card__img {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: unset;
    background: #2a2a2a;
}

.bw-shop-card__slider {
    position: relative;
    overflow: hidden;
}

.bw-shop-card__slider .bw-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    will-change: opacity;
}

.bw-shop-card__slider .bw-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.bw-shop-card__slider.is-running .bw-slide {
    transition: opacity 0.85s ease-in-out;
}

.bw-shop--root .bw-shop-card__btn {
    font-size: clamp(0.65rem, 1.6vw, 0.92rem);
    line-height: 1.2;
    letter-spacing: 0.07em;
    padding: clamp(0.4rem, 1.2vh, 0.7rem) 0.35rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .bw-shop--root .bw-shop__cards {
        grid-template-columns: 1fr;
        width: min(88vw, 420px);
        height: auto;
        flex: 0 0 auto;
        gap: clamp(1rem, 4vw, 1.35rem);
    }

    .bw-shop--root .bw-shop-card {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .bw-shop--root .bw-shop-card__img {
        aspect-ratio: 4 / 3;
        flex: none;
        min-height: 150px;
    }

    .bw-shop--root .bw-shop__inner {
        justify-content: flex-start;
        padding: clamp(1rem, 3vh, 1.5rem) clamp(1rem, 5vw, 1.5rem) clamp(1.25rem, 4vh, 2rem);
        overflow-y: auto;
    }

    .bw-shop__sale-strip {
        width: min(88vw, 420px);
        margin-bottom: clamp(1rem, 4vw, 1.35rem);
    }

    .bw-sale-countdown {
        width: 38%;
    }

    .bw-sale-countdown__title {
        font-size: clamp(0.52rem, 2.6vw, 0.68rem);
    }

    .bw-sale-countdown__block strong {
        font-size: clamp(0.95rem, 5vw, 1.25rem);
    }
}

@media (min-width: 992px) {
    .bw-shop--root .bw-shop__cards {
        width: min(86vw, 1200px);
    }
}

@media (max-height: 760px) and (min-width: 768px) {
    .bw-shop__sale-strip {
        height: clamp(68px, 10.4vh, 109px);
        margin-bottom: 0.55rem;
    }

    .bw-shop--root .bw-shop-card__btn {
        padding: 0.35rem 0.25rem;
        font-size: 0.68rem;
    }
}
.bw-shop__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bw-shop__spark {
    position: absolute;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(0,0,0,0.15);
}

.bw-shop__spark--1 { top: 18%; left: 12%; }
.bw-shop__spark--2 { top: 28%; right: 15%; font-size: 1.5rem; }
.bw-shop__spark--3 { bottom: 22%; left: 18%; }
.bw-shop__spark--4 { bottom: 30%; right: 12%; }

.bw-shop {
    min-height: 0;
    background-color: #f7f7f7;
    background-image: url('../images/landing-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.bw-shop::before {
    content: none;
}

.bw-shop__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 2rem;
    text-align: center;
}

/* default inner padding only when not root landing */
body:not(.page-landing) .bw-shop__inner {
    padding: 2.5rem 1.25rem 2rem;
}

.bw-shop__brand {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
    color: #111;
}

.bw-shop__heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0 0 2rem;
    color: #111;
}

.bw-shop__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.5rem, 2vw, 1rem);
    max-width: 520px;
    margin: 0 auto;
}

.bw-shop-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #111;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.2s;
}

.bw-shop-card:hover {
    transform: translateY(-6px) scale(1.02);
    color: #111;
}

.bw-shop-card__img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
}

.bw-shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bw-shop-card__btn {
    display: block;
    padding: 0.85rem;
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Photo customise lines below */
.bw-photo-lines {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 2rem 0 3rem;
    border-radius: 24px 24px 0 0;
    margin-top: 1rem;
}

.bw-photo-lines__title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    text-align: center;
}

.bw-photo-lines__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .bw-photo-lines__grid { grid-template-columns: repeat(3, 1fr); }
}

.bw-photo-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.bw-photo-line:hover {
    border-color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #111;
}

.bw-photo-line img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.bw-photo-line__placeholder {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 1.5rem;
    color: #aaa;
}

.bw-photo-line__name {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
}

.bw-photo-lines .home-container {
    max-width: 900px;
    margin: 0 auto;
    padding-inline: 1rem;
}
