﻿:root {
    --bm-pink: #D890BA;
    --bm-pink-700: #BD458B;
    --bm-pink-600: #C55B99;
    --bm-pink-500: #D890BA;
    --bm-pink-400: #E3AECD;
    --bm-pink-100: #ECD7E4;
    --bm-pink-50: #F9F4F7;
    --bm-ink: #464345;
    --bm-ink-700: #1F1E1E;
    --bm-ink-500: #464345;
    --bm-ink-300: #656164;
    --bm-bg: #D890BA;
    --bm-bg-soft: #D17DAE;
    --bm-radius: 12px;
    --bm-pill: 999px;
    --bm-focus: 0 0 0 3px color-mix(in oklab, var(--bm-pink-400) 40%, transparent);
}

/* Typography */
html {
    font-size: 16px;
}

body {
    
    color: var(--bm-ink-500);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    color: var(--bm-ink-700);
    font-weight: 700;
}

/* Links */
a {
    color: var(--bm-pink-600);
    text-decoration: none;
}

    a:hover {
        color: var(--bm-pink-700);
    }

    a:focus-visible {
        outline: none;
        box-shadow: var(--bm-focus);
        border-radius: 6px;
    }

/* Buttons */
.bm-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: var(--bm-pill);
    background: linear-gradient(180deg, var(--bm-pink-500), var(--bm-pink-600));
    color: #fff;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px color-mix(in oklab, var(--bm-pink-600) 25%, transparent);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

    .bm-btn:hover {
        transform: translateY(-1px);
        background: linear-gradient(180deg, var(--bm-pink-600), var(--bm-pink-700));
    }

    .bm-btn:active {
        transform: translateY(0);
    }

    .bm-btn:focus-visible {
        outline: none;
        box-shadow: var(--bm-focus);
    }

.bm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.1rem;
    border-radius: var(--bm-pill);
    background: transparent;
    color: var(--bm-pink-600);
    border: 2px solid var(--bm-pink-400);
    font-weight: 600;
}

    .bm-btn-outline:hover {
        background: var(--bm-pink-50);
    }

/* Pills / badges */
.bm-badge {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: var(--bm-pill);
    background: var(--bm-pink-50);
    color: var(--bm-pink-700);
    font-weight: 600;
}

/* Form basics */
input, select, textarea {
    border: 1px solid var(--bm-ink-300);
    border-radius: 10px;
    padding: .65rem .8rem;
    width: 100%;
    background: #fff;
    color: var(--bm-ink-700);
}

    input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: none;
        box-shadow: var(--bm-focus);
    }

/* RTL helpers */
[dir="rtl"] .ml-auto {
    margin-left: unset;
    margin-right: auto;
}

[dir="rtl"] .mr-auto {
    margin-right: unset;
    margin-left: auto;
}

[dir="rtl"] .text-start {
    text-align: right;
}

[dir="rtl"] .text-end {
    text-align: left;
}

/* visibility */
.show-mobile {
    display: flex;
}

.show-desktop {
    display: none;
}

@media (min-width: 992px) {
    .show-mobile {
        display: none;
    }

    .show-desktop {
        display: flex;
    }
}

/* header layout */
.bm-topbar {
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .75rem 1rem;
}

.bm-desktop {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.bm-logo img {
    height: 34px;
    display: block;
}

.bm-iconbtn {
    background: transparent;
    border: 0;
    padding: .35rem;
    line-height: 0;
    cursor: pointer;
}

.bm-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bm-link {
    color: var(--bm-ink-700);
    text-decoration: none;
}

    .bm-link:hover {
        color: var(--bm-pink-600);
    }

/* search */
.bm-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

    .bm-search input {
        flex: 1;
    }

/* cart badge */
.bm-cart {
    position: relative;
}

.bm-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--bm-pink-600);
    color: #fff;
    border-radius: 999px;
    font-size: .72rem;
    padding: .1rem .35rem;
}


/* main nav */
.bm-mainnav {
    border-top: 1px solid var(--bm-ink-300);
    border-bottom: 1px solid var(--bm-ink-300);
}

.bm-menu {
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

    .bm-menu a {
        color: var(--bm-ink-700);
        text-decoration: none;
    }

        .bm-menu a:hover {
            color: var(--bm-pink-600);
        }

.has-sub {
    position: relative;
}

.bm-subbtn {
    background: transparent;
    border: 0;
    font: inherit;
    color: var(--bm-ink-700);
    cursor: pointer;
}

.bm-sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--bm-ink-300);
    border-radius: 10px;
    padding: .5rem;
    display: none;
}

.has-sub:focus-within .bm-sub, .has-sub:hover .bm-sub {
    display: block;
}

/* mobile sheet */
.bm-sheet[hidden] {
    display: none;
}

.bm-sheet {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.bm-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--bm-ink-300);
}

.bm-sheet__nav {
    padding: .5rem 1rem 1.25rem;
}

    .bm-sheet__nav .bm-menu {
        flex-direction: column;
        gap: .25rem;
    }

.bm-sheet__lang {
    padding: 0 1rem 1rem;
    display: flex;
    gap: .5rem;
}

.bm-chip {
    border: 1px solid var(--bm-ink-300);
    background: #fff;
    border-radius: 999px;
    padding: .4rem .8rem;
}

.sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -6px 24px rgba(0,0,0,.08);
    padding: .6rem 1rem;
    z-index: 40
}

    .sticky-buy.hidden {
        display: none
    }

    .sticky-buy .wrap {
        display: flex;
        align-items: center;
        gap: .75rem
    }

    .sticky-buy img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 8px
    }

.chip {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--bm-pink-50);
    color: var(--bm-pink-700);
    font-weight: 600;
    margin: .25rem .25rem 0 0
}

    .chip.soft {
        background: var(--bm-bg-soft);
        color: var(--bm-ink-700)
    }

.oos a {
    opacity: .35;
    pointer-events: none
}


.category_tile .img-fallback {
    height: 220px;
    background: var(--bm-pink-50);
    border-radius: 16px;
}

.category_tile .fallback-initial {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bm-pink-700);
}

.bm-breadcrumb .crumbs {
    display: flex;
    gap: .5rem;
    font-size: .95rem
}

.bm-pagination .page-item.active .page-link {
    background: var(--bm-pink-600);
    border-color: var(--bm-pink-600)
}


.bz_category_card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px
}

    .bz_category_card img {
        transition: transform .35s
    }

    .bz_category_card:hover img {
        transform: scale(1.05)
    }

.bz_category_overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,.55))
}


/***************    Icons in Sticky Header  ************/

/* Right-side icons inside sticky nav row */
.bm-navbar {
    gap: 1rem;
}

.bm-navicons {
    gap: 1rem;
}

.bm-navicon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--bm-ink-700);
    transition: background .15s ease, transform .08s ease;
}

    .bm-navicon:hover {
        background: rgba(0,0,0,.05);
    }

    .bm-navicon:active {
        transform: translateY(1px);
    }

.bm-cart .bm-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: .72rem;
    line-height: 18px;
    text-align: center;
    color: #fff;
    border-radius: 999px;
    background: var(--bm-pink-600);
}

/* Make sure the nav row remains sticky (you already have this working) */
.pd_navigation_wrapper {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* Icons hidden initially */
.bm-navicons{
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

/* When the sticky nav is engaged, reveal them */
.pd_navigation_wrapper.is-stuck .bm-navicons{
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.bm-sum__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.bm-sum__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: .65rem;
}

.bm-sum__divider {
    border: 0;
    border-top: 1px solid #2a2a2a;
    margin: 1rem 0;
}

.bm-sum__subtotal {
    font-weight: 800;
    font-size: 1.06rem;
}

.bm-sum__csv {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #9aa0a6;
    font-size: .95rem;
}

    .bm-sum__csv:hover {
        color: #c6cbd0;
    }

/* Blue primary button like the screenshot */
.bm-btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: .9rem 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: 0;
    background: #1ea7ff;
    color: #001018;
    text-decoration: none;
    transition: filter .15s ease;
}

    .bm-btn-primary:hover {
        filter: brightness(.95);
    }

/* RTL tweaks */
html[dir="rtl"] .bm-sum__row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .bm-sum__csv i {
    transform: scaleX(-1);
}


.bm-header {
    position: relative;
    z-index: 2000;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1500;
}

.bm-cart {
    position: relative;
    z-index: 2001;
}

.bm-mini-host {
    position: absolute;
    z-index: 2002;
    pointer-events: none;
}
/* JS flips it to auto when open */


.qty-controls .btn {
    width: 32px;
    height: 32px;
    padding: 0;
}

.qty-controls .qty-input {
    text-align: center;
}


/* Cart line */
.bm-cartline {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--bm-ink-300, #dcdcdc);
    border-radius: 12px;
    background: #fff;
    margin-bottom: .75rem;
}

.bm-cartline__media img {
    display: block;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

.bm-cartline__info {
    min-width: 0;
}

.bm-cartline__name {
    display: block;
    font-weight: 700;
    color: var(--bm-ink-700, #222);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: .2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bm-cartline__sku {
    color: #777;
    font-size: .85rem;
}

.bm-cartline__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .5rem;
    flex-wrap: wrap;
}

.bm-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bm-ink-300,#dcdcdc);
    border-radius: 12px;
    overflow: hidden;
    height: 36px;
}

.bm-qty__btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: #f6f6f6;
    cursor: pointer;
    font-size: 1.1rem;
}

    .bm-qty__btn:active {
        transform: translateY(0.5px);
    }

.bm-qty__input {
    width: 64px;
    height: 36px;
    border: 0;
    text-align: center;
    outline: none;
}

.bm-link-danger {
    background: none;
    border: 0;
    color: #c0392b;
    padding: 0;
    font-weight: 600;
    cursor: pointer;
}

.bm-cartline__price {
    text-align: right;
    min-width: 160px;
}

.bm-price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .25rem;
}

.bm-price-row__label {
    color: #777;
    font-size: .9rem;
}

.bm-price-row__value {
    font-weight: 600;
}

.bm-price-row__value--emph {
    font-weight: 700;
}

.bm-stock {
    margin-top: .35rem;
    font-size: .9rem;
}

.bm-stock--ok {
    color: #2e7d32;
}

.bm-stock--out {
    color: #c62828;
}

/* Mobile */
@media (max-width: 576px) {
    .bm-cartline {
        grid-template-columns: 72px 1fr;
        grid-template-areas:
            "media info"
            "price price";
    }

    .bm-cartline__media {
        grid-area: media;
    }

    .bm-cartline__info {
        grid-area: info;
    }

    .bm-cartline__price {
        grid-area: price;
        text-align: left;
        padding-top: .25rem;
        border-top: 1px dashed #eee;
    }
}



/* Checkout button — black base, pink hover */
.bm-btn-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .9rem 1.25rem;
    border: none;
    border-radius: var(--bm-pill, 999px);
    background-color: #000; /* base black */
    color: #fff;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: background .25s ease, transform .1s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .bm-btn-checkout:hover {
        background-color: var(--bm-pink-600, #C55B99); /* your pink */
        color: #fff;
        transform: translateY(-1px);
    }

    .bm-btn-checkout:active {
        transform: translateY(0);
    }

    .bm-btn-checkout:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px color-mix(in oklab, var(--bm-pink-400, #E3AECD) 40%, transparent);
    }


.bm-ship {
    display: grid;
    gap: .4rem;
    margin-top: .35rem;
}

.bm-ship__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--bm-ink-300,#ddd);
    border-radius: 10px;
    background: #fff;
}

    .bm-ship__opt input {
        margin-right: .5rem;
    }

    .bm-ship__opt span {
        font-weight: 600;
    }

    .bm-ship__opt em {
        font-style: normal;
        color: #555;
        font-size: .9rem;
    }

.bm-coupon .input-group input {
    border-radius: 10px 0 0 10px;
}

.bm-coupon .input-group .btn {
    border-radius: 0 10px 10px 0;
}

/* toggle style */
.login_form .switch {
    --w: 42px;
    --h: 24px;
    --p: 3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .login_form .switch input {
        appearance: none;
        width: var(--w);
        height: var(--h);
        background: #e6e6e6;
        border-radius: var(--h);
        outline: none;
        cursor: pointer;
        position: relative;
        transition: background .2s ease;
    }

        .login_form .switch input::after {
            content: "";
            position: absolute;
            left: var(--p);
            top: var(--p);
            width: calc(var(--h) - 2*var(--p));
            height: calc(var(--h) - 2*var(--p));
            background: #fff;
            border-radius: 50%;
            transition: transform .2s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,.15);
        }

        .login_form .switch input:checked {
            background: #ff6ea8;
        }

            .login_form .switch input:checked::after {
                transform: translateX(calc(var(--w) - var(--h)));
            }



.bm-suggest {
    position: absolute;
    z-index: 30;
    background: #fff;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bm-search--sheet .bm-suggest {
    position: static;
    box-shadow: none;
    border: 0;
    margin-top: .5rem;
}

.bm-suggest__item {
    display: flex;
    gap: .6rem;
    padding: .6rem .8rem;
    text-decoration: none;
    color: #222;
}

    .bm-suggest__item:hover {
        background: #faf7fb;
    }

.bm-suggest__img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.bm-suggest__title {
    font-weight: 600;
    line-height: 1.2;
}

.bm-suggest__sub {
    font-size: .8rem;
    opacity: .7;
}


.bm-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border: 1px solid var(--bm-ink-300);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
    max-height: 420px;
    overflow: auto;
    z-index: 60;
}

    .bm-suggest.hidden {
        display: none;
    }

    .bm-suggest .s-item {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: .75rem;
        padding: .6rem .8rem;
        text-decoration: none;
        color: inherit;
    }

        .bm-suggest .s-item:hover {
            background: var(--bm-pink-50);
        }

        .bm-suggest .s-item img {
            width: 48px;
            height: 48px;
            object-fit: cover;
            border-radius: 8px;
        }

        .bm-suggest .s-item b {
            display: block;
            line-height: 1.2;
        }

        .bm-suggest .s-item small {
            color: var(--bm-ink-300);
        }




/* prevent containers from clipping children like suggest dropdowns */
.bm-header, .bm-header .container, .bm-col--search {
    overflow: visible;
}

/* Lock page scroll when a sheet is open */
html.bm-lock, html.bm-lock body {
    overflow: hidden;
}

/* Generic sheet (menu) */
.bm-sheet {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: grid;
    grid-template-rows: auto 1fr;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

    .bm-sheet.open {
        opacity: 1;
        pointer-events: auto;
    }

    .bm-sheet[hidden] {
        display: none !important;
    }

    /* Menu panel content (the black column you showed) */
    .bm-sheet > * {
        background: #101010;
        color: #fff;
    }

.bm-sheet__header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bm-sheet__nav {
    padding: 8px 16px 24px;
    overflow: auto;
}

/* Search full-screen sheet */
.bm-searchsheet {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1200;
    transform: translateY(100%);
    transition: transform .2s ease;
}

    .bm-searchsheet.open {
        transform: translateY(0);
    }

    .bm-searchsheet[hidden] {
        display: none !important;
    }

.bm-searchsheet__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.bm-searchsheet__content {
    padding: 12px 16px;
}

/* Header bar spacing/icons on mobile */
.bm-mobilebar .bm-mobilebar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
}

.bm-mobilebar .bm-ico, .bm-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Ensure nav drawer (theme’s black panel) sits over page */
.bm-navpanel {
    position: relative;
    z-index: 1150;
}

/* Suggest dropdown inside the search input (mobile & desktop) */
.bm-searchwrap {
    position: relative;
    width: 100%;
}

.bm-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border: 1px solid var(--bm-ink-300);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
    max-height: 60vh;
    overflow: auto;
    z-index: 1300;
}

    .bm-suggest.hidden {
        display: none;
    }