/* ==========================================================================
   Moboplus Theme 2026 — global layer
   Boxed shell, header, mega menu, mobile drawer, footer, mobile tab bar.
   Loaded after style.css; presentation only.
   ========================================================================== */

@font-face {
    font-family: YekanFa;
    src: url(fonts/iranyekanweblightfanum.woff2) format('woff2'), url(fonts/iranyekanweblightfanum.ttf) format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: YekanFa;
    src: url(fonts/iranyekanwebregularfanum.woff2) format('woff2'), url(fonts/iranyekanwebregularfanum.ttf) format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: YekanFa;
    src: url(fonts/iranyekanwebmediumfanum.woff2) format('woff2'), url(fonts/iranyekanwebmediumfanum.ttf) format('truetype');
    font-weight: 600;
    font-display: swap;
}

:root {
    /* brand */
    --mp-primary: #5b3df5;
    --mp-primary-600: #4a2fd9;
    --mp-primary-700: #3b23b3;
    --mp-primary-50: #f0edff;
    --mp-primary-100: #e2dcff;
    --mp-grad: linear-gradient(135deg, #5b3df5 0%, #7c4dff 45%, #b14cf0 100%);
    --mp-accent: #ff7a1a;
    --mp-accent-600: #ea6400;
    --mp-accent-50: #fff1e6;
    --mp-hot: #ff3d6e;
    --mp-mint: #12b886;
    /* neutrals */
    --mp-ink: #0f1020;
    --mp-ink-2: #1a1b33;
    --mp-bg: #f4f4f9;
    --mp-surface: #ffffff;
    --mp-surface-2: #f6f6fb;
    --mp-border: #e9e9f2;
    --mp-text: #17182b;
    --mp-text-2: #555770;
    --mp-text-3: #9a9cb3;
    /* shape */
    --mp-radius-sm: 10px;
    --mp-radius: 16px;
    --mp-radius-lg: 24px;
    --mp-radius-xl: 32px;
    --mp-shadow-sm: 0 1px 2px rgba(15, 16, 32, .04), 0 2px 6px rgba(15, 16, 32, .04);
    --mp-shadow: 0 10px 30px -12px rgba(15, 16, 32, .14);
    --mp-shadow-lg: 0 24px 48px -18px rgba(76, 46, 230, .35);
    --mp-shell: 1280px;
    --mp-gutter: 20px;
    --mp-ease: cubic-bezier(.2, .7, .2, 1);
    --mp-sticky-top: 16px;
}

/* visually hidden, still read by search engines and screen readers */
.mp-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------- Base / boxed shell ---------- */
html {
    background: var(--mp-bg);
    scroll-behavior: smooth;
}
html body {
    max-width: calc(var(--mp-shell) + var(--mp-gutter) * 2) !important;
    margin: 0 auto !important;
    padding: 0 var(--mp-gutter);
    overflow-x: clip !important;
    background: var(--mp-bg);
    color: var(--mp-text);
    font-family: YekanFa, iranSansMedium, Tahoma, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body .btn, body input, body button, body select, body textarea, body .tooltip, body .popover {
    font-family: YekanFa, iranSansMedium, Tahoma, sans-serif;
}
html body a { transition: color .2s; }
html body a:hover, html body a:focus { color: var(--mp-primary); }
::selection { background: var(--mp-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--mp-primary); outline-offset: 2px; }
html.mp-drawer-open, html.mp-drawer-open body { overflow: hidden !important; }

/* ---------- Top bar ---------- */
.mp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 4px;
    font-size: 12.5px;
    color: var(--mp-text-2);
}
.mp-topbar__msg {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.mp-topbar__msg i {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-accent-50);
    color: var(--mp-accent-600);
    font-size: 12px;
}
.mp-topbar__links { display: flex; gap: 18px; }
.mp-topbar__links a { color: var(--mp-text-2); }
.mp-topbar__links i { margin-left: 6px; color: var(--mp-text-3); }

/* ---------- Header ---------- */
.mp-header {
    position: sticky;
    top: var(--mp-sticky-top);
    z-index: 1000;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(233, 233, 242, .9);
    border-radius: var(--mp-radius-lg);
    box-shadow: var(--mp-shadow-sm);
    transition: box-shadow .3s, border-radius .3s;
}
.mp-header.is-stuck {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 40px -20px rgba(15, 16, 32, .28);
}
/* when stuck, cover the gap above the header so page content doesn't show through it */
.mp-header.is-stuck:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: calc(var(--mp-gutter) * -1 - 1px);
    right: calc(var(--mp-gutter) * -1 - 1px);
    height: calc(var(--mp-sticky-top) + 1px);
    background: var(--mp-bg);
    pointer-events: none;
}
.mp-header__bar {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px 20px;
}
.mp-logo { flex: 0 0 auto; display: block; }
.mp-logo h1 { margin: 0; line-height: 0; font-size: 0; }
.mp-logo img { height: 46px; width: auto; display: block; }

.mp-search {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}
.mp-search__icon {
    position: absolute;
    right: 18px;
    color: var(--mp-text-3);
    font-size: 15px;
    pointer-events: none;
}
.mp-search input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 108px;
    border: 1.5px solid transparent;
    border-radius: 16px;
    background: var(--mp-surface-2);
    color: var(--mp-text);
    font-size: 14px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.mp-search input::placeholder { color: var(--mp-text-3); }
.mp-search input:focus {
    outline: 0;
    background: #fff;
    border-color: var(--mp-primary);
    box-shadow: 0 0 0 5px var(--mp-primary-50);
}
.mp-search button {
    position: absolute;
    left: 6px;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--mp-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .2s, transform .2s var(--mp-ease);
}
.mp-search button:hover { filter: brightness(1.08); }
.mp-search button:active { transform: scale(.96); }

.mp-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mp-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 14px;
    border: 1.5px solid var(--mp-border);
    border-radius: 16px;
    background: #fff;
    color: var(--mp-text) !important;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--mp-ease);
}
.mp-action:hover {
    border-color: var(--mp-primary-100);
    box-shadow: 0 0 0 4px var(--mp-primary-50);
}
.mp-action > i { font-size: 17px; color: var(--mp-primary); }
.mp-action__caret { font-size: 10px !important; color: var(--mp-text-3) !important; }
.mp-action__label { white-space: nowrap; }
.mp-account .dropdown-menu {
    right: auto;
    left: 0;
    min-width: 190px;
    margin-top: 10px;
    padding: 6px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow);
}
.mp-account .dropdown-menu > li > a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--mp-text-2);
}
.mp-account .dropdown-menu > li > a i { margin-left: 8px; width: 16px; color: var(--mp-text-3); }
.mp-account .dropdown-menu > li > a:hover { background: var(--mp-primary-50); color: var(--mp-primary); }

/* cart */
.mp-cart { position: relative; }
.mp-action--cart {
    background: var(--mp-ink);
    border-color: var(--mp-ink);
    color: #fff !important;
    padding: 0 16px 0 18px;
}
.mp-action--cart:hover {
    border-color: var(--mp-ink);
    box-shadow: 0 10px 24px -10px rgba(15, 16, 32, .55);
    transform: translateY(-1px);
}
.mp-cart__icon { position: relative; display: inline-flex; }
.mp-cart__icon i { font-size: 19px; color: #fff; }
.mp-action--cart .badge {
    position: absolute;
    top: -9px;
    right: -12px;
    left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    border: 2px solid var(--mp-ink);
    background: var(--mp-accent);
    color: #fff;
    font-size: 10.5px;
    line-height: 16px;
}
.mp-action--cart .mp-action__label { display: flex; flex-direction: column; }
.mp-action--cart small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.mp-action--cart .total_price { font-size: 12.5px; color: #fff; font-weight: 600; }
.mp-cart__panel.shopping_toggle {
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    width: 380px;
    max-width: calc(100vw - 32px);
    padding: 8px 8px 12px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-lg);
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(15, 16, 32, .3);
}
.mp-cart__panel .total_info {
    display: flex;
    justify-content: space-between;
    padding: 12px 10px;
    font-size: 13px;
    color: var(--mp-text-2);
}
.mp-cart__panel .items {
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mp-cart__panel .items li {
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid var(--mp-border);
}
.mp-cart__panel .cart-image {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--mp-surface-2);
}
.mp-cart__panel .item-name { font-size: 12.5px; color: var(--mp-text); }
.mp-cart__panel .item-price { font-size: 12px !important; color: var(--mp-primary) !important; }
.mp-cart__panel .item-quantity { font-size: 11.5px !important; color: var(--mp-text-3) !important; margin-right: 8px; }
.mp-cart__panel .empty-cart { padding: 28px 10px; text-align: center; color: var(--mp-text-3); margin: 0; }
.mp-cart__btns { padding: 12px 6px 0; }
.mp-cart__btns:after { content: ""; display: table; clear: both; }

/* burger (mobile / tablet) */
.mp-icon-btn {
    display: none;
    flex: 0 0 44px;
    height: 44px;
    border: 1.5px solid var(--mp-border);
    border-radius: 14px;
    background: #fff;
    color: var(--mp-text);
    font-size: 17px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ---------- Mega menu (desktop) ---------- */
.mp-nav.menu {
    background: transparent;
    border-top: 1px solid var(--mp-border);
    padding: 0 12px;
    max-height: 60px;
    transition: max-height .35s var(--mp-ease), opacity .25s, border-color .3s;
}
.mp-nav .main-menu { padding: 0; }
.mp-nav, .mp-nav .container-megamenu, .mp-nav .container-mega { display: flow-root; }
.mp-nav .navbar-default { background: transparent; border: 0; }
.mp-drawer__head { display: none; }
.mp-drawer-backdrop { display: none; }

@media (min-width: 992px) {
    .mp-header.is-compact .mp-nav.menu {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        border-color: transparent;
    }
    .container-megamenu.horizontal ul.megamenu > li { margin-left: 2px; }
    .container-megamenu.horizontal ul.megamenu > li > a {
        position: relative;
        padding: 18px 10px;
        font-size: 13px;
        font-weight: 600;
        color: var(--mp-text-2);
    }
    .container-megamenu.horizontal ul.megamenu > li > a:after {
        content: "";
        position: absolute;
        right: 10px;
        left: 10px;
        bottom: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--mp-grad);
        transform: scaleX(0);
        transition: transform .3s var(--mp-ease);
    }
    .container-megamenu.horizontal ul.megamenu > li:hover > a,
    .container-megamenu.horizontal ul.megamenu > li.active > a { color: var(--mp-primary); }
    .container-megamenu.horizontal ul.megamenu > li:hover > a:after { transform: scaleX(1); }
    .container-megamenu.horizontal ul.megamenu > li > a .caret { color: var(--mp-text-3); margin-right: 4px; }
    .container-megamenu.horizontal ul.megamenu li .sub-menu .content {
        margin-top: 6px;
        padding: 14px 18px;
        border: 1px solid var(--mp-border);
        border-radius: var(--mp-radius);
        background: #fff;
        box-shadow: 0 30px 60px -24px rgba(15, 16, 32, .3);
    }
    .container-megamenu.horizontal ul.megamenu li .sub-menu .content a {
        color: var(--mp-text-2);
        font-size: 13px;
        transition: color .15s, padding .2s var(--mp-ease);
    }
    .container-megamenu.horizontal ul.megamenu li .sub-menu .content a:hover {
        color: var(--mp-primary);
        padding-right: 6px;
    }
}

/* ---------- Buttons ---------- */
.custom_btn {
    border-radius: 12px;
    padding: 9px 16px;
    font-weight: 600;
    background: var(--mp-accent);
    transition: transform .2s var(--mp-ease), box-shadow .2s, filter .2s;
}
.custom_btn.blue { background: var(--mp-primary); }
.custom_btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 20px -10px rgba(255, 122, 26, .8);
}
.custom_btn.blue:hover { box-shadow: 0 10px 20px -10px rgba(91, 61, 245, .8); }

/* ---------- Footer ---------- */
.mp-footer {
    clear: both;
    margin-top: 56px;
    padding: 0;
    background: var(--mp-ink);
    color: rgba(255, 255, 255, .66);
    border-radius: var(--mp-radius-xl) var(--mp-radius-xl) 0 0;
    overflow: hidden;
    position: relative;
}
.mp-footer:before {
    content: "";
    position: absolute;
    top: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(124, 77, 255, .35), transparent);
    pointer-events: none;
}
.mp-footer a { color: rgba(255, 255, 255, .72); }
.mp-footer a:hover { color: #fff !important; }
.mp-footer__news {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 28px 0;
    padding: 22px 26px;
    border-radius: var(--mp-radius-lg);
    background: var(--mp-grad);
    color: #fff;
}
.mp-footer__news-text { display: flex; align-items: center; gap: 16px; }
.mp-footer__news-icon {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
    font-size: 21px;
}
.mp-footer__news-title { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.mp-footer__news-text small { color: rgba(255, 255, 255, .75); font-size: 12.5px; }
.mp-footer__news-form {
    flex: 0 1 420px;
    display: flex;
    padding: 5px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .16);
}
.mp-footer__news-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--mp-text);
    font-size: 13.5px;
}
.mp-footer__news-form input:focus { outline: 0; }
.mp-footer__news-form button {
    margin-right: 5px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--mp-ink);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.mp-footer .show-error { display: block; margin: 8px 28px 0; }

.mp-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr;
    gap: 36px;
    padding: 40px 28px 28px;
}
.mp-footer__logo {
    height: 58px;
    width: auto;
    margin-bottom: 16px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
}
.mp-footer__about p { font-size: 13px; font-weight: 300; line-height: 2.1; text-align: justify; }
.mp-footer__title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.mp-footer__links { margin: 0; padding: 0; list-style: none; }
.mp-footer__links li { margin-bottom: 10px; font-size: 13px; }
.mp-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.mp-footer__links a:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    transition: background .2s, transform .2s;
}
.mp-footer__links a:hover:before { background: var(--mp-accent); transform: scale(1.4); }
.mp-footer__contact { font-size: 13px; line-height: 2.2; }
.mp-footer__contact li { list-style: none; padding: 0; }
.mp-footer__contact i {
    color: var(--mp-accent) !important;
    font-size: 15px !important;
    width: 22px;
    padding-left: 0 !important;
    margin-left: 6px;
}
.mp-footer__contact li { display: block; margin-bottom: 10px; }
.mp-footer__contact > span:after { content: ""; display: block; margin-bottom: 10px; }
.mp-footer__social { display: flex; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.mp-footer__social li { margin: 0 !important; }
.mp-footer__social img {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    transition: background .2s, transform .2s var(--mp-ease);
}
.mp-footer__social a:hover img { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.mp-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-trust__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 92px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.mp-trust__item img { max-width: 100%; max-height: 100%; height: auto !important; margin: 0 !important; }
.mp-trust__item:empty { display: none; }
.mp-footer__bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}
.mp-totop {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .2s var(--mp-ease);
}
.mp-totop:hover { background: var(--mp-primary); transform: translateY(-2px); }

/* whatsapp */
html body .my_whatsapp {
    left: 22px;
    bottom: 26px;
    width: 52px;
    height: 52px;
    box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .6);
    transition: transform .25s var(--mp-ease);
}
html body .my_whatsapp img { width: 100%; height: 100%; }
html body .my_whatsapp:hover { transform: scale(1.08); }

/* ---------- Search sheet (mobile) ---------- */
.mp-search-sheet.mobile_menu_box {
    background: rgba(244, 244, 249, .97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 100001;
    opacity: 0;
    transition: opacity .25s, visibility .25s;
}
.mp-search-sheet.mobile_menu_box.open { opacity: 1; }
.mp-search-sheet .top_part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: transparent;
}
.mp-search-sheet .top_part span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mp-search-sheet .top_part span i { font-size: 17px; }
.mp-search-sheet .top_part img { width: auto; height: 34px; }
.mp-search-sheet .box_content { padding: 12px 16px; }
.mp-search-sheet .mp-search input { background: #fff; height: 54px; }

/* ---------- Product card ---------- */
.mp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .35s var(--mp-ease), box-shadow .35s var(--mp-ease), border-color .3s;
}
.mp-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 26px 46px -22px rgba(15, 16, 32, .35);
}
.mp-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    margin: 8px 8px 0;
    padding: 12px;
    border-radius: 16px;
    background: var(--mp-surface-2);
    overflow: hidden;
}
.mp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .6s var(--mp-ease);
}
.mp-card:hover .mp-card__media img { transform: scale(1.07); }
.mp-card.is-out .mp-card__media img { filter: grayscale(1); opacity: .5; }
.mp-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
}
.mp-badge--off { background: linear-gradient(135deg, #ff5c8a, #f0346a); box-shadow: 0 6px 14px -6px rgba(240, 52, 106, .8); }
.mp-badge--muted { background: rgba(15, 16, 32, .75); }
.mp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 14px 0;
}
.mp-card__body > a { text-decoration: none !important; }
.mp-card__title {
    margin: 0 0 14px;
    min-height: 3.4em;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--mp-text) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.mp-card:hover .mp-card__title { color: var(--mp-primary) !important; }
/* price + buy button: frosted-glass bar flush with the bottom of the card */
.mp-card__foot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 62px;
    margin: auto -14px 0;
    padding: 10px 14px;
}
/* hairline highlight along the top edge of the glass */
.mp-card__foot > :first-child:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 122, 26, .35), rgba(255, 255, 255, .9) 50%, rgba(91, 61, 245, .35));
}
/* soft color blobs that the glass blurs */
.mp-card__foot:before {
    content: "";
    position: absolute;
    inset: -40% -10%;
    z-index: -2;
    background:
        radial-gradient(45% 100% at 10% 65%, rgba(91, 61, 245, .42), transparent 70%),
        radial-gradient(40% 90% at 92% 35%, rgba(255, 122, 26, .32), transparent 70%),
        radial-gradient(35% 80% at 52% 115%, rgba(177, 76, 240, .3), transparent 70%),
        #f3f1fb;
    filter: blur(14px);
    transition: transform .6s var(--mp-ease), opacity .4s;
}
/* the frosted layer */
.mp-card__foot:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .25));
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(91, 61, 245, .06);
}
.mp-card:hover .mp-card__foot:before { transform: translateX(-8%) scale(1.1); }
.mp-card.is-out .mp-card__foot:before { opacity: .35; filter: blur(14px) grayscale(1); }
.mp-card__price { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.5; }
.mp-card__price b { font-weight: inherit; }
.mp-card__price .price {
    font-family: YekanFa, sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--mp-text);
    white-space: nowrap;
}
.mp-card__price .offered {
    display: block;
    font-size: 12px;
    font-weight: 300;
    color: var(--mp-text-3);
}
.mp-card__price .price.is-sale { display: flex; flex-direction: column; line-height: 1.35; }
.mp-card__price .price.is-sale b { color: var(--mp-hot); }
.mp-card__price .price.is-sale .offered { font-size: 11.5px; font-weight: 400; text-decoration: line-through; }
.mp-card__na { font-size: 13px; font-weight: 600; color: var(--mp-text-3); }
.mp-card__cta {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-ink);
    color: #fff !important;
    font-size: 15px;
    transition: background .25s, transform .25s var(--mp-ease), box-shadow .25s;
}
.mp-card:hover .mp-card__cta {
    background: var(--mp-primary);
    box-shadow: 0 10px 20px -8px rgba(91, 61, 245, .8);
}
.mp-card__cta:active { transform: scale(.92); }
.mp-card.is-out .mp-card__cta { background: var(--mp-surface-2); color: var(--mp-text-3) !important; box-shadow: none !important; }


/* discount countdown (inside the card image) */
.mp-card .mp-countdown {
    position: absolute;
    right: 8px;
    left: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 16px -10px rgba(240, 52, 106, .7);
    direction: ltr;
}
.mp-card .mp-countdown > i { color: var(--mp-hot); font-size: 12px; }
.mp-card .countdown-timer { display: flex; gap: 3px; direction: ltr; }
.mp-card .countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 26px;
    padding: 2px 3px;
    border-radius: 7px;
    background: linear-gradient(135deg, #ff5c8a, #f0346a);
    color: #fff;
    line-height: 1.15;
}
.mp-card .cd-num { font-size: 11.5px; font-weight: 600; }
.mp-card .cd-unit { font-size: 8px; opacity: .85; }

/* cards inside the old bootstrap column wrappers (search, tags, related products) */
[class*="col-"] > .mp-card { margin-bottom: 20px; }

@media (max-width: 767px) {
    .mp-card { border-radius: 18px; }
    .mp-card__media { margin: 6px 6px 0; padding: 8px; border-radius: 14px; }
    .mp-card__body { padding: 10px 10px 0; }
    .mp-card__foot { min-height: 46px; margin: auto -10px 0; padding: 8px 8px 8px 8px; gap: 4px; }
    .mp-card__title { font-size: 12px; margin-bottom: 8px; }
    .mp-card__price .price { font-size: 11px; letter-spacing: -.2px; }
    .mp-card__cta { flex: 0 0 28px; height: 28px; border-radius: 9px; font-size: 11.5px; }
    .mp-badge { top: 12px; right: 12px; padding: 1px 8px; font-size: 10.5px; }
    .mp-card__price .price { white-space: normal; } /* wraps only when a long price does not fit */
    .mp-card:hover { transform: none; }
    .mp-card .mp-countdown { right: 4px; left: 4px; bottom: 4px; padding: 4px; gap: 3px; }
    .mp-card .mp-countdown > i { display: none; }
    .mp-card .countdown-block { min-width: 22px; padding: 1px 2px; }
    .mp-card .cd-num { font-size: 10px; }
    .mp-card .cd-unit { font-size: 7px; }
}

/* ---------- Breadcrumb ---------- */
html body .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0 !important;
    background: transparent;
    font-size: 12.5px;
}
html body .breadcrumb > li { display: inline-flex; align-items: center; gap: 4px; }
html body .breadcrumb > li + li:before {
    content: "\f053";
    font-family: "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 8px;
    padding: 0 4px;
    color: var(--mp-text-3);
}
html body .breadcrumb > li > a { color: var(--mp-text-2); }
html body .breadcrumb > li:last-child > a { color: var(--mp-text); font-weight: 600; }
html body .breadcrumb > li > a:hover { color: var(--mp-primary); }

/* ---------- Pagination ---------- */
.mp-pagination.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 6px;
    border-radius: 18px;
    background: var(--mp-surface);
    box-shadow: var(--mp-shadow-sm);
}
.mp-pagination.pagination a {
    float: none;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-text-2);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.mp-pagination.pagination a:hover:not(.active):not(.disabled) { background: var(--mp-primary-50); color: var(--mp-primary); }
.mp-pagination.pagination a.active {
    background: var(--mp-grad);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(91, 61, 245, .8);
}
.mp-pagination.pagination a.disabled { opacity: .35; pointer-events: none; }
.mp-pagination.pagination .mp-pagination__arrow { font-size: 11px; background: var(--mp-surface-2); }
.mp-pagination.pagination .mp-pagination__dots { pointer-events: none; }

/* generic button */
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: var(--mp-grad);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 10px 22px -10px rgba(91, 61, 245, .8);
    transition: transform .2s var(--mp-ease), filter .2s;
}
.mp-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ---------- Blog post card (part/blog) ---------- */
.mp-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border: 1px solid var(--mp-border);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .35s var(--mp-ease), box-shadow .35s var(--mp-ease), border-color .3s;
}
.mp-post:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 46px -22px rgba(15, 16, 32, .35); }
.mp-post__media.blog_card {
    display: block;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--mp-surface-2);
    overflow: hidden;
    box-shadow: none;
}
.mp-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mp-ease); }
.mp-post:hover .mp-post__media img { transform: scale(1.05); }
.mp-post__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 16px 14px; }
.mp-post__title.blog_title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--mp-text) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.mp-post:hover .mp-post__title { color: var(--mp-primary) !important; }
.mp-post__excerpt {
    font-size: 13px;
    line-height: 2;
    color: var(--mp-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--mp-border);
    font-size: 12px;
    color: var(--mp-text-3);
}
.mp-post__meta i { margin-left: 5px; }
.mp-post__more { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--mp-primary); font-weight: 600; }
.mp-post__more i { margin: 0; font-size: 10px; transition: transform .25s var(--mp-ease); }
.mp-post:hover .mp-post__more i { transform: translateX(-4px); }

/* ---------- 404 page ---------- */
.mp-404 { clear: both; padding-top: 22px; }
.mp-404__card {
    position: relative;
    overflow: hidden;
    padding: 40px 24px 36px;
    border-radius: var(--mp-radius-xl);
    background: var(--mp-surface);
    box-shadow: var(--mp-shadow-sm);
    text-align: center;
}
.mp-404__art { position: relative; display: inline-block; margin-bottom: 8px; padding: 10px 30px; }
.mp-404__blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; animation: mpFloat 7s ease-in-out infinite; }
.mp-404__blob--a { width: 180px; height: 180px; top: -30px; right: -20px; background: #b9a8ff; }
.mp-404__blob--b { width: 150px; height: 150px; bottom: -30px; left: -10px; background: #ffc59a; animation-delay: -3.5s; }
@keyframes mpFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(10px, -12px) scale(1.08); } }
.mp-404__digits {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    font-size: 150px;
    font-weight: 600;
    line-height: 1;
    background: var(--mp-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -4px;
}
.mp-404__zero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    margin: 0 4px;
    border-radius: 50%;
    background: var(--mp-grad);
    color: #fff;
    font-size: 46px;
    box-shadow: 0 24px 50px -18px rgba(91, 61, 245, .7);
    animation: mpTilt 4s ease-in-out infinite;
}
.mp-404__zero i { -webkit-text-fill-color: #fff; }
@keyframes mpTilt { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.mp-404__title { margin: 10px 0 8px; font-size: 24px; font-weight: 600; color: var(--mp-text); }
.mp-404__text { max-width: 520px; margin: 0 auto 24px; font-size: 14px; line-height: 2.1; color: var(--mp-text-2); text-align: center; }
.mp-404__search.mp-search { max-width: 520px; margin: 0 auto; }
.mp-404__search input { height: 56px; }
.mp-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.mp-404__actions .mp-btn { height: 50px; padding: 0 24px; display: inline-flex !important; }
.mp-404__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.mp-404__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 12px;
    border-radius: var(--mp-radius-lg);
    background: var(--mp-surface);
    box-shadow: var(--mp-shadow-sm);
    text-align: center;
    text-decoration: none !important;
    transition: transform .3s var(--mp-ease), box-shadow .3s;
}
.mp-404__link:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow); }
.mp-404__link span {
    width: 50px;
    height: 50px;
    margin-bottom: 6px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-primary-50);
    color: var(--mp-primary);
    font-size: 19px;
    transition: background .3s, color .3s;
}
.mp-404__link:hover span { background: var(--mp-grad); color: #fff; }
.mp-404__link strong { font-size: 14px; font-weight: 600; color: var(--mp-text); }
.mp-404__link small { font-size: 12px; color: var(--mp-text-3); }

@media (max-width: 767px) {
    .mp-404 { padding-top: 12px; }
    .mp-404__card { padding: 28px 16px; border-radius: 24px; }
    .mp-404__digits { font-size: 92px; letter-spacing: -2px; }
    .mp-404__zero { width: 74px; height: 74px; font-size: 28px; }
    .mp-404__title { font-size: 19px; }
    .mp-404__text { font-size: 13px; }
    .mp-404__search.mp-search { order: 0; }
    .mp-404__search button { display: inline-block !important; }
    .mp-404__search input { padding-left: 108px; }
    .mp-404__actions .mp-btn { flex: 1 1 100%; }
    .mp-404__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-404__blob, .mp-404__zero { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .mp-header__bar { gap: 14px; }
    .mp-action--account .mp-action__label { display: none; }
    .mp-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* tablet + mobile: drawer navigation */
@media (max-width: 991px) {
    /* backdrop-filter would trap the fixed drawer inside the header */
    .mp-header {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    html.mp-drawer-open .mp-header { z-index: 100002; }
    html.mp-drawer-open .mp-header__bar { opacity: .35; pointer-events: none; }
    .mp-icon-btn { display: inline-flex; }
    .mp-nav.menu { border: 0; padding: 0; max-height: none; }
    .mp-nav .navbar-header { display: none !important; }

    html body .megamenu-wrapper {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0;
        width: 320px !important;
        max-width: 86vw;
        height: 100% !important;
        padding: 0 !important;
        border: 0;
        background: #fff !important;
        z-index: 100002;
        overflow-y: auto;
        visibility: hidden;
        transform: translate3d(105%, 0, 0) !important;
        transition: transform .4s var(--mp-ease), visibility .4s !important;
        box-shadow: -24px 0 60px -20px rgba(15, 16, 32, .35);
        border-radius: var(--mp-radius-lg) 0 0 var(--mp-radius-lg);
    }
    html body .megamenu-wrapper.so-megamenu-active {
        visibility: visible;
        transform: translate3d(0, 0, 0) !important;
    }
    .mp-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--mp-border);
    }
    .mp-drawer__head img { height: 36px; width: auto; }
    html body #remove-megamenu {
        display: flex !important;
        visibility: visible !important;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
        background: var(--mp-surface-2);
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
    .megamenu-wrapper ul.megamenu { padding: 8px 10px 90px; margin: 0; }
    .megamenu-wrapper ul.megamenu > li {
        float: none !important;
        margin: 0 !important;
        border-bottom: 1px solid var(--mp-border);
    }
    .megamenu-wrapper ul.megamenu > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 10px !important;
        font-size: 14px !important;
        font-weight: 600;
        color: var(--mp-text) !important;
    }
    .megamenu-wrapper ul.megamenu > li .sub-menu { width: 100% !important; }
    html body .responsive ul.megamenu > li.click:before,
    html body .responsive ul.megamenu > li.hover:before,
    html body .responsive ul.megamenu > li.active .close-menu {
        top: 9px;
        left: 6px;
        width: 32px;
        height: 32px;
        padding: 0;
        border-radius: 10px;
        background: var(--mp-surface-2);
        color: var(--mp-primary);
        font-size: 12px;
        line-height: 32px;
        text-align: center;
    }
    html body .responsive ul.megamenu > li.active .close-menu:before { color: var(--mp-primary); font-size: 12px; }
    html body .responsive ul.megamenu > li.active > a { background: transparent; color: var(--mp-primary) !important; }
    html body .responsive ul.megamenu > li > a .caret { display: none; }
    .megamenu-wrapper ul.megamenu > li .sub-menu .content {
        margin: 0 0 10px;
        padding: 6px 12px !important;
        border-radius: 12px;
        background: var(--mp-surface-2) !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .megamenu-wrapper ul.megamenu > li .sub-menu .content a {
        display: block;
        padding: 6px 0;
        font-size: 13px;
        color: var(--mp-text-2) !important;
        text-align: right !important;
    }
    .mp-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100001;
        background: rgba(15, 16, 32, .45);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    html.mp-drawer-open .mp-drawer-backdrop { opacity: 1; visibility: visible; }
}

/* mobile */
@media (max-width: 767px) {
    :root { --mp-gutter: 12px; }
    .mp-topbar { padding: 8px 0; font-size: 11.5px; }
    .mp-topbar__msg i { flex-basis: 22px; height: 22px; }
    :root { --mp-sticky-top: 10px; }
    .mp-header {
        border-radius: 20px;
    }
    .mp-header__bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px 12px;
    }
    .mp-logo { margin-left: auto; }
    .mp-logo img { height: 34px; }
    .mp-search {
        order: 10;
        flex: 1 0 100%;
        max-width: none;
    }
    .mp-search input { height: 46px; padding-left: 16px; border-radius: 14px; }
    .mp-search button { display: none; }
    .mp-action { height: 44px; padding: 0 12px; border-radius: 14px; }
    .mp-action--account { display: none; }
    .mp-account { display: none; }
    .mp-action--cart .mp-action__label { display: none; }
    .mp-cart__panel.shopping_toggle { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; }

    /* bottom tab bar */
    html body .mobile_menu.mp-tabbar {
        display: flex;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        padding: 6px;
        gap: 4px;
        border-radius: 22px;
        background: rgba(15, 16, 32, .92);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 40px -12px rgba(15, 16, 32, .5);
        z-index: 100000;
    }
    .mp-tabbar > a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 7px 0 6px;
        border-radius: 16px;
        color: rgba(255, 255, 255, .6) !important;
        font-size: 10.5px;
        text-decoration: none !important;
        cursor: pointer;
        transition: background .2s, color .2s;
    }
    .mp-tabbar > a i { color: inherit !important; font-size: 18px !important; }
    .mp-tabbar > a.is-active, .mp-tabbar > a:active {
        background: rgba(255, 255, 255, .1);
        color: #fff !important;
    }
    .mp-tabbar > a.is-active i { color: #b9a8ff !important; }
    .mp-tabbar__icon { position: relative; display: inline-flex; }
    .mp-tabbar .badge {
        position: absolute;
        top: -6px;
        left: -12px;
        min-width: 18px;
        padding: 2px 5px;
        background: var(--mp-accent);
        color: #fff;
        font-size: 10px;
    }
    html body .my_whatsapp { bottom: 96px; left: 14px; width: 46px; height: 46px; }

    .mp-footer { margin-top: 36px; border-radius: 26px 26px 0 0; }
    .mp-footer__news {
        flex-direction: column;
        align-items: stretch;
        margin: 14px 14px 0;
        padding: 18px;
    }
    .mp-footer__news-form { flex-basis: auto; }
    .mp-footer__grid { grid-template-columns: 1fr; gap: 26px; padding: 30px 18px 20px; }
    .mp-footer__bottom { padding: 16px 18px 100px; font-size: 11.5px; }
}

/* ghost button variant */
.mp-btn.mp-btn--ghost {
    background: #fff;
    color: var(--mp-text) !important;
    border: 1.5px solid var(--mp-border);
    box-shadow: none;
}
.mp-btn.mp-btn--ghost:hover { border-color: var(--mp-primary); color: var(--mp-primary) !important; }

/* ---------- Logos: size by height only, never stretch ---------- */
.mp-logo img,
.mp-drawer__head img,
.mp-footer__logo,
.mp-search-sheet .top_part img,
.mp-checkout-head__logo img,
.mp-auth__logo img {
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    aspect-ratio: auto;
}
.mp-logo img { height: 48px; }
.mp-footer__logo { height: 62px; box-sizing: border-box; }
@media (max-width: 767px) {
    .mp-logo img { height: 36px; }
}
