.hero-banner {
    width: 100%;
    line-height: 0;
}

.hero-banner-img {
    width: 100%;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    height: auto;
}

@media (min-width: 768px) {
    .hero-banner-img {
        max-height: 60vh;
        -o-object-position: center;
           object-position: center;
    }
}

@media (max-width: 767px) {
    .hero-banner-img {
        height: auto;
        width: 100%;
    }
}

.hero-1 .slick-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex !important;
    gap: 8px;
    z-index: 4;
}
.hero-1 .slick-dots li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}
.hero-1 .slick-dots li button {
    font-size: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: var(--theme-color);
    opacity: 0.4;
    cursor: pointer;
    transition: all ease 0.4s;
}
.hero-1 .slick-dots li.slick-active button {
    opacity: 1;
    width: 24px;
    border-radius: 9999px;
}

#service-sec .sub-title {
    font-family: 'DM Sans', sans-serif;
    color: #000;
}

.home-products-view-more {
    font-size: 13px;
    padding: 8px 18px;
    line-height: 1;
}
.home-product-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    border: 1px solid #e8e8e8;
    background: #fff;
}
.home-product-img {
    background-color: #f7f7f7;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.home-product-img > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
}
.home-product-img img {
    max-height: 160px;
    width: auto;
    max-width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    transition: transform 0.3s ease;
}
.home-product-card:hover .home-product-img img {
    transform: scale(1.04);
}
.home-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 10px;
    flex-grow: 1;
}
.home-product-name {
    font-size: 13px;
    color: #222;
    margin: 0;
    font-weight: 400;
    line-height: 1.35;
}
.home-product-price {
    font-size: 13px;
    color: #222;
    margin: 0;
    font-weight: 500;
}
.home-product-add-wrap {
    padding: 0 14px 14px;
    background: #fff;
}
.home-product-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    background: #fff;
    color: #333;
    border: 1px solid #d0d0d0;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    z-index: 1;
}
.home-product-add-btn:hover {
    background: var(--theme-color, #e75480);
    color: #fff;
    border-color: var(--theme-color, #e75480);
}

/* Membership Corner */
#membership-corner-sec .sub-title {
    font-family: 'DM Sans', sans-serif;
    color: #000;
}
.membership-corner-card {
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}
.membership-corner-card > a {
    display: block;
    line-height: 0;
}
.membership-corner-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 468px) {
    .featured-products-scroll {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    .featured-products-scroll::-webkit-scrollbar {
        display: none;
    }
    .featured-products-scroll > div {
        width: 188px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* Before & After */
#ba-sec .sub-title {
    font-family: 'DM Sans', sans-serif;
    color: #000;
}
.ba-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ba-row::-webkit-scrollbar {
    display: none;
}
.ba-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--theme-color, #e75480);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.ba-nav-btn:hover {
    opacity: 0.8;
}
.ba {
    flex: 0 0 260px;
    scroll-snap-align: start;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ba-frame {
    position: relative;
    overflow: hidden;
    cursor: col-resize;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    touch-action: none;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important; /* beats global img { height: auto } rules */
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
    pointer-events: none;
}
.ba-clip {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    will-change: width;
}
/* width set to frame pixel width by JS — no !important so the inline style wins */
.ba-clip .ba-before {
    max-width: none;
    height: 100%;
}

/* ── Per-pair alignment — same object-position on both images, no transforms ── */

/* Pair A – armpit */
.ba-row .ba:nth-child(1) .ba-after,
.ba-row .ba:nth-child(1) .ba-before {
    -o-object-position: 42% 50%;
       object-position: 42% 50%;
}

/* Pair B – teeth */
.ba-row .ba:nth-child(2) .ba-after,
.ba-row .ba:nth-child(2) .ba-before {
    -o-object-position: center 30%;
       object-position: center 30%;
}

/* Pair C – neck: photos taken at different zoom levels, best effort centering */
.ba-row .ba:nth-child(3) .ba-after,
.ba-row .ba:nth-child(3) .ba-before {
    -o-object-position: center center;
       object-position: center center;
}

/* Pair D – leg */
.ba-row .ba:nth-child(4) .ba-after,
.ba-row .ba:nth-child(4) .ba-before {
    -o-object-position: 55% top;
       object-position: 55% top;
}

/* Pair E – thigh/hip */
.ba-row .ba:nth-child(5) .ba-after,
.ba-row .ba:nth-child(5) .ba-before {
    -o-object-position: center 62%;
       object-position: center 62%;
}

.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(255,255,255,0.9);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.3);
}
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: col-resize;
    pointer-events: all;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ba-handle:hover,
.is-dragging .ba-handle {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.6);
}
.ba-handle svg {
    width: 20px;
    height: 20px;
    stroke: #555;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* gradient overlay per side */
.ba-frame::before,
.ba-frame::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.ba-frame::before {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.18), transparent);
}
.ba-frame::after {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.18), transparent);
}
.ba-tag {
    position: absolute;
    top: 12px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    letter-spacing: 0.12em;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}
.ba-tag-before { left: 10px; }
.ba-tag-after  { right: 10px; }
.ba-sparkles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}
.ba figcaption {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: #444;
    letter-spacing: 0.07em;
    padding-top: 2px;
}
