/* Jovio — app-like mobile layout (Bluezone). Mobile only (<992px) except home cleanup. */
.bz-appbar, .bz-tabbar, .bz-search-overlay { display: none; }

/* ---------- home cleanup (all sizes): no filters in the middle ---------- */
.product-style1-area #myTab, .product-style1-area .bz-filter { display: none !important; }
.product-style1-area .tab-content > .tab-pane:not(#our-features) { display: none !important; }
.product-style1-area #our-features { display: block !important; opacity: 1 !important; }

/* ---------- unified product cards (all sizes) ---------- */
.product-item { background: #fff; border: 1px solid #eeebf8 !important; box-shadow: 0 6px 18px -14px rgba(70, 50, 150, .45) !important; height: 100%; display: flex; flex-direction: column; }
.product-item .product-thumb { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #fbfaff; overflow: hidden; }
.product-item .product-thumb > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.product-item .product-thumb img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 10px; }
.product-item .product-info { flex: 1; display: flex; flex-direction: column; padding: 10px 12px 12px !important; text-align: start; }
.product-item .product-info .title { margin: 0 0 6px !important; }
.product-item .product-info .prices { margin-top: auto; flex-wrap: wrap; gap: 4px 8px; }
.product-item .prices .price { color: #5b4fb3; }
.product-item .prices .price.text-decoration-line-through { color: #9b97b3 !important; font-weight: 600; font-size: .85em; }
.slick-slide .slide-item { height: 100%; padding: 6px; }

@media (max-width: 991px) {
    body.bz-app { padding-bottom: 84px; background: #fff; }

    /* hide old mobile header bar, show app bar */
    body.bz-app .header-wrapper > .header-area,
    body.bz-app .header-wrapper > .header-middle,
    body.bz-app .bz-msearch { display: none !important; }

    .bz-appbar {
        display: flex; align-items: center; justify-content: space-between;
        position: sticky; top: 0; z-index: 1040; height: 62px; padding: 0 14px;
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid #f0edf9;
    }
    .bz-ab-logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
    .bz-ab-logo img { height: 38px; width: auto; }
    .bz-ab-end { display: flex; gap: 4px; }
    .bz-ab-btn {
        position: relative; width: 42px; height: 42px; border-radius: 14px; border: 0; background: transparent;
        display: grid; place-items: center; color: #2a2550 !important; cursor: pointer; padding: 0;
    }
    .bz-ab-btn:active { background: #f3f1fc; }
    .bz-ab-btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .bz-ab-badge {
        position: absolute; top: 4px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
        background: #7467c8; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff;
    }

    /* bottom tab bar */
    .bz-tabbar {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
        background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px -12px rgba(40, 30, 90, .25);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    }
    .bz-tab {
        display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 2px 0;
        color: #8d89a6 !important; text-decoration: none !important; font: inherit; cursor: pointer;
    }
    .bz-tab-ic { width: 48px; height: 32px; border-radius: 12px; display: grid; place-items: center; transition: background .2s, color .2s; }
    .bz-tab-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .bz-tab-lbl { font-size: 12px; font-weight: 700; line-height: 1.2; }
    .bz-tab.is-active { color: #5b4fb3 !important; }
    .bz-tab.is-active .bz-tab-ic { background: #ece8fb; }
    .bz-tab.is-active .bz-tab-ic svg { fill: rgba(116, 103, 200, .18); }

    .scroll-to-top { bottom: 96px !important; }

    /* search overlay */
    .bz-search-overlay { position: fixed; inset: 0; z-index: 1060; background: #fff; }
    .bz-search-overlay.open { display: block; animation: bzFade .15s ease; }
    .bz-so-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0edf9; }
    .bz-so-form { flex: 1; margin: 0; }
    .bz-so-form .jovio-search-field { display: flex; align-items: center; background: #f6f4fd; border: 1px solid #ece9f6; border-radius: 14px; padding: 0 6px 0 12px; height: 48px; position: relative; }
    .bz-so-form input { flex: 1; border: 0 !important; background: transparent !important; height: 46px; font-size: 16px; outline: 0; box-shadow: none !important; }
    .bz-so-form button[type="submit"] { width: 38px; height: 38px; border-radius: 12px; border: 0; background: #7467c8; display: grid; place-items: center; }
    .bz-so-form button svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
    .bz-so-close { border: 0; background: none; color: #5b4fb3; font-weight: 700; font-size: 15px; }
    .bz-search-overlay .bz-search-pop { position: static; box-shadow: none; border: 0; margin-top: 8px; }
    @keyframes bzFade { from { opacity: 0; } to { opacity: 1; } }

    /* bigger, cleaner type */
    body.bz-app .section-title h4, body.bz-app .section-title h2 { font-size: 20px !important; font-weight: 800 !important; margin: 0 !important; }
    body.bz-app .section-title { margin-bottom: 14px !important; padding: 0 2px; }
    body.bz-app .product-item .product-info .title, body.bz-app .product-item .product-info .title a { font-size: 14px !important; }
    body.bz-app .product-item .prices .price { font-size: 15px !important; }
    body.bz-app .bz-more { font-size: 13px; padding: 7px 13px; }

    /* spacing between home sections */
    body.bz-app .product-area, body.bz-app .category-area { padding-top: 22px !important; padding-bottom: 8px !important; }
    body.bz-app .container { padding-left: 14px; padding-right: 14px; }

    /* hero banner like the app: rounded card */
    body.bz-app .home-slider-area { padding: 14px 14px 0 !important; }
    body.bz-app .home-slider-area .swiper-container, body.bz-app .home-slider-area .home-slider-container { border-radius: 22px; overflow: hidden; }

    /* category tiles: even gaps */
    body.bz-app .product-category1-area .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; row-gap: 12px; }
    body.bz-app .product-category1-area img { border-radius: 14px; }

    /* new products: horizontal swipe row (app-like), no filters */
    body.bz-app #our-features .product > .row {
        flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin: 0 -14px; padding: 4px 14px 12px; gap: 12px; scrollbar-width: none;
    }
    body.bz-app #our-features .product > .row::-webkit-scrollbar { display: none; }
    body.bz-app #our-features .jovio-product-col { flex: 0 0 46% !important; max-width: 46% !important; padding: 0 !important; scroll-snap-align: start; display: block !important; }
    body.bz-app .product-style1-area .bz-hide-more { display: none !important; }

    /* the big footer is replaced by the tab bar on phones */
    body.bz-app footer.footer-area { padding-bottom: 10px; }
}

/* BZ_WHITE_BIGFONT — white cards + readable mobile type */
.product-item, .product-item .product-thumb, .product-item .product-info { background: #fff !important; }
.product-item .product-thumb { border-bottom: 1px solid #f1eff8; }

@media (max-width: 991px) {
    body.bz-app { font-size: 15px; }
    body.bz-app p, body.bz-app li, body.bz-app label, body.bz-app input, body.bz-app select,
    body.bz-app textarea, body.bz-app .breadcrumb, body.bz-app .breadcrumb a { font-size: 15px !important; line-height: 1.6; }

    /* section titles */
    body.bz-app .section-title h4, body.bz-app .section-title h2, body.bz-app .section-title h3 { font-size: 22px !important; }
    body.bz-app .bz-more { font-size: 14px !important; padding: 8px 14px; }

    /* product cards */
    body.bz-app .product-item .product-info .title, body.bz-app .product-item .product-info .title a { font-size: 15.5px !important; line-height: 1.5 !important; min-height: 3em; font-weight: 700; }
    body.bz-app .product-item .prices .price { font-size: 17px !important; font-weight: 800; }
    body.bz-app .product-item .prices .price.text-decoration-line-through { font-size: 13px !important; }
    body.bz-app .product-item .jovio-card-wishlist, body.bz-app .product-item .jovio-card-wishlist * { font-size: 14px !important; font-weight: 700; }
    body.bz-app .product-item .jovio-card-wishlist { min-height: 44px; }
    body.bz-app .out-stock-badge { font-size: 12px !important; }

    /* menu, tab bar, footer */
    body.bz-app .jovio-native-title { font-size: 16px !important; }
    body.bz-app .jovio-native-category-grid a, body.bz-app .jovio-native-category-grid span { font-size: 15px !important; }
    body.bz-app .bz-tab-lbl { font-size: 12.5px !important; }
    body.bz-app footer a, body.bz-app footer p, body.bz-app footer li, body.bz-app footer h4, body.bz-app footer h5 { font-size: 15px !important; }
}

/* BZ_FIX3 */
@media (max-width: 991px) {
    /* show every section immediately (no scroll animations on phones) */
    html body.bz-app [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; visibility: visible !important; }

    /* sliders: remove the 15px shift → equal space both sides */
    html body.bz-app .product-area .product-tab1-slider, html body.bz-app .product-area .product-tab2-slider { margin-left: 0 !important; margin-right: 0 !important; }
    html body.bz-app .product-area .slick-slide .slide-item { padding: 0 5px !important; }

    /* bigger cards: image fills the card */
    html body.bz-app .product-item.product-item .product-thumb img { padding: 4px !important; }
    html body.bz-app .product-item.product-item .product-info { padding: 12px 12px 14px !important; }

    /* readable type (beats the old theme rules) */
    html body.bz-app .product-area .product-item.product-item .product-info .title,
    html body.bz-app .product-area .product-item.product-item .product-info .title a { font-size: 15.5px !important; line-height: 1.5 !important; }
    html body.bz-app .product-area .product-item.product-item .product-info .prices .price { font-size: 17px !important; font-weight: 800 !important; }
    html body.bz-app .product-area .product-item.product-item .product-info .prices .price.text-decoration-line-through { font-size: 13px !important; }
    html body.bz-app .product-item.product-item a.jovio-card-add.jovio-card-add,
    html body.bz-app .product-item.product-item a.jovio-card-add.jovio-card-add * { font-size: 14px !important; font-weight: 700 !important; }
    html body.bz-app .product-item.product-item a.jovio-card-add.jovio-card-add { min-height: 44px !important; display: flex !important; align-items: center; justify-content: center; gap: 6px; }
}
