/*
 * تنسيقات قالب المتجر (layouts/app.blade.php)
 * كانت داخل الصفحة وتتحمل مع كل صفحة؛ الحين ملف ثابت يتخزن في متصفح الزبونة.
 * أي تعديل هنا يظهر تلقائيًا (رقم النسخة = وقت تعديل الملف).
 */
html { scroll-behavior: smooth; }
* { -webkit-tap-highlight-color: transparent; }

/* ══ الشريط الإعلاني المتحرك أعلى المتجر ══ */
.store-news-ticker {
    width: 100%;
    min-height: 34px;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10050;
    background: linear-gradient(90deg, #2e0b5e, #7a1585 52%, #2e0b5e);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 4px 15px rgba(46,11,94,.18);
    font-family: 'Cairo', 'Almarai', sans-serif;
    isolation: isolate;
    /* الإطار يسار→يمين حتى يبدأ الشريط من حافة معروفة في كل المتصفحات */
    direction: ltr;
}
.store-news-ticker::before,
.store-news-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 46px;
    z-index: 2;
    pointer-events: none;
}
.store-news-ticker::before {
    right: 0;
    background: linear-gradient(90deg, transparent, #2e0b5e);
}
.store-news-ticker::after {
    left: 0;
    background: linear-gradient(270deg, transparent, #2e0b5e);
}
.store-news-track {
    width: max-content;
    min-width: max-content;
    display: flex;
    align-items: center;
    direction: ltr;
    will-change: transform;
    /* يبقى النص ظاهرًا وثابتًا إلى أن يتم قياس عرضه الحقيقي. */
    opacity: 1 !important;
    visibility: visible !important;
    /* نفس نقطة بداية الحركة: النص يظهر فورًا بدون فراغ */
    transform: translate3d(-50%,0,0);
    animation: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.store-news-track.is-ready {
    opacity: 1;
    visibility: visible;
    animation: storeNewsTickerFallback 72s linear infinite !important;
}
.store-news-group {
    flex: 0 0 auto;
    min-width: max-content;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    /* أول رسالة على اليمين فتظهر أولًا والشريط يتحرك نحو اليمين */
    direction: rtl;
}
.store-news-item {
    min-height: 34px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none !important;
    direction: rtl;
}
.store-news-item::after {
    content: '';
    width: 5px;
    height: 5px;
    margin-right: 18px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 0 3px rgba(250,204,21,.16);
}
.store-news-icon {
    color: #facc15;
    font-size: 13px;
}
.store-news-item-coupon {
    color: #fff !important;
    font-weight: 900;
}
.store-news-item-coupon .store-news-icon {
    color: #fde047;
}
.store-coupon-code {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 1px 8px;
    border: 1px dashed rgba(255,255,255,.82);
    border-radius: 7px;
    background: rgba(255,255,255,.14);
    color: #fde047;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .6px;
    line-height: 1;
}
@keyframes storeNewsTickerFallback {
    /* تبدأ أول معلومة داخل الحافة مباشرة ثم تستمر الحركة نحو اليمين. */
    from { transform: translate3d(-50%,0,0); }
    to { transform: translate3d(0,0,0); }
}
@media (max-width: 767px) {
    /* خط أوضح على الهاتف (كان 10.5px) */
    .store-news-ticker { min-height: 38px; }
    .store-news-ticker::before,
    .store-news-ticker::after { width: 20px; }
    .store-news-item { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
    .store-news-icon { font-size: 14px; }
    .store-coupon-code { font-size: 12.5px; min-height: 24px; }
    .store-news-item::after { margin-right: 12px; }
}

/* إيقاف الشريط عند مرور الماوس أو لمسه (للنسخة الاحتياطية بدون Web Animations) */
.store-news-ticker.is-paused .store-news-track.is-ready {
    animation-play-state: paused !important;
}
@media (hover: hover) and (pointer: fine) {
    .store-news-ticker:hover .store-news-track.is-ready {
        animation-play-state: paused !important;
    }
}
.store-news-ticker { cursor: default; }
.store-news-ticker a.store-news-item { cursor: pointer; }

[v-cloak] { display: none !important; }

/* ══ عداد السلة ══ */
.header-icons-noti {
    background-color: #dc2626 !important;
    color: #fff !important;
    border-radius: 50%;
    min-width: 18px; height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}
.cart-label {
    font-size: 11px; color: #7a1585;
    margin-top: 2px; font-weight: 600;
    text-align: center; display: block;
}

/* ══ الشريط السفلي ثابت ══ */
.botton-navigation {
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 9999 !important;
}
.botton-navigation nav {
    display: flex !important;
    direction: rtl !important;
    justify-content: space-around !important;
    align-items: center !important;
    background: linear-gradient(105deg, #2e0b5e 0%, #5e1272 52%, #7a1585 100%) !important;
    border-top: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 15px 15px 0 0 !important;
    padding: 4px 4px 2px !important;
    padding-bottom: max(3px, env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -7px 24px rgba(46,11,94,.24) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.botton-navigation nav > a,
.botton-navigation nav > button {
    flex: 1 1 20% !important;
    min-width: 0 !important;
}
.botton-navigation .nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none !important;
    color: rgba(255,255,255,.65) !important;
    font-size: 11px; font-weight: 700;
    font-family: 'Cairo', sans-serif; padding: 4px 8px;
    transition: color .15s; min-width: 50px;
}

.store-bottom-nav .bottom-nav-link,
.store-bottom-nav .bottom-nav-button {
    position: relative;
    min-height: 43px;
    padding: 3px 2px 2px !important;
    border-radius: 10px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 9.5px !important;
    line-height: 1.15;
    font-weight: 800 !important;
    font-family: 'Almarai', sans-serif !important;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.store-bottom-nav .bottom-nav-link svg,
.store-bottom-nav .bottom-nav-button svg {
    stroke: currentColor !important;
}

.store-bottom-nav .bottom-nav-link:hover,
.store-bottom-nav .bottom-nav-link:focus,
.store-bottom-nav .bottom-nav-button:hover,
.store-bottom-nav .bottom-nav-button:focus,
.store-bottom-nav .bottom-nav-link.active,
.store-bottom-nav .bottom-nav-button.active {
    color: #fff !important;
    background: rgba(255,255,255,.14) !important;
    outline: none;
}

.store-bottom-nav .bottom-nav-link:active,
.store-bottom-nav .bottom-nav-button:active {
    transform: scale(.96);
}
.botton-navigation .nav-item svg {
    stroke: rgba(255,255,255,.65);
    transition: stroke .15s;
}
.botton-navigation .nav-item:hover,
.botton-navigation .nav-item.active { color: #fff !important; }
.botton-navigation .nav-item:hover svg,
.botton-navigation .nav-item.active svg { stroke: #fff !important; }

/* سلة بسيطة وواضحة في منتصف الشريط */
.bottom-nav-cart {
    position: relative;
    margin-top: 0 !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
}

.store-bottom-nav .bottom-nav-cart,
.store-bottom-nav .bottom-nav-cart:hover,
.store-bottom-nav .bottom-nav-cart:focus,
.store-bottom-nav .bottom-nav-cart:active,
.store-bottom-nav .bottom-nav-cart.active {
    background: rgba(255,255,255,.20) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 10px rgba(24,7,52,.16);
}

.bottom-nav-cart-icon {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    position: relative;
    transition: transform .18s ease;
}

.bottom-nav-cart-icon::before {
    content: none;
}

.bottom-nav-cart-icon svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
    stroke: #fff !important;
    filter: none;
}

.bottom-nav-cart-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 11px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    border: 0;
    line-height: 1.2;
    box-shadow: none;
}

.bottom-nav-cart:hover .bottom-nav-cart-icon,
.bottom-nav-cart:focus .bottom-nav-cart-icon {
    transform: translateY(-1px);
    box-shadow: none;
}

.bottom-nav-cart-badge {
    position: absolute;
    top: -9px;
    right: -19px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 20px;
    border: 2px solid #fff;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 900 11px/1 'Cairo', sans-serif;
    box-shadow: 0 3px 9px rgba(127,29,29,.42);
}

/* ══ تصميم الشريط السفلي: الصفحة الحالية بخط ذهبي + سلة دائرية بارزة ══ */
.store-bottom-nav .bottom-nav-link:hover,
.store-bottom-nav .bottom-nav-link:focus,
.store-bottom-nav .bottom-nav-button:hover,
.store-bottom-nav .bottom-nav-button:focus,
.store-bottom-nav .bottom-nav-link.active,
.store-bottom-nav .bottom-nav-button.active {
    background: transparent !important;
}
.store-bottom-nav .bottom-nav-link,
.store-bottom-nav .bottom-nav-button {
    font-size: 10px !important;
    padding-bottom: 6px !important;
}
.store-bottom-nav .bottom-nav-link.active,
.store-bottom-nav .bottom-nav-button.active {
    color: #fff !important;
}
.store-bottom-nav .bottom-nav-link.active::after,
.store-bottom-nav .bottom-nav-button.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: #facc15;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(250,204,21,.55);
}

.store-bottom-nav .bottom-nav-cart,
.store-bottom-nav .bottom-nav-cart:hover,
.store-bottom-nav .bottom-nav-cart:focus,
.store-bottom-nav .bottom-nav-cart:active,
.store-bottom-nav .bottom-nav-cart.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    justify-content: flex-end !important;
}
.store-bottom-nav .bottom-nav-cart .bottom-nav-cart-icon {
    width: 54px;
    height: 54px;
    margin-top: -26px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #f6eef6);
    border: 4px solid #5e1272;
    box-shadow: 0 8px 20px rgba(24,7,52,.35);
}
.store-bottom-nav .bottom-nav-cart .bottom-nav-cart-icon svg {
    width: 24px;
    height: 24px;
    stroke: #7a1585 !important;
}
.store-bottom-nav .bottom-nav-cart:active .bottom-nav-cart-icon {
    transform: scale(.94);
}
.store-bottom-nav .bottom-nav-cart .bottom-nav-cart-badge {
    top: -5px;
    right: -7px;
}
.store-bottom-nav .bottom-nav-cart-label {
    font-size: 10px;
}

/* زر المفضلة في الشريط السفلي */
.store-bottom-nav .bottom-nav-wish-icon { position: relative; display: inline-flex; }
.store-bottom-nav .bottom-nav-wish svg { color: #fda4af; stroke: #fda4af !important; }
.store-bottom-nav .bottom-nav-wish.has-items svg { fill: #fb7185; stroke: #fb7185 !important; }
.store-bottom-nav .bottom-nav-wish.active svg { stroke: #fff !important; }
.store-bottom-nav .bottom-nav-wish-badge {
    position: absolute; top: -13px; left: -22px; right: auto; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 20px; border: 2px solid #fff; background: #be123c; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font: 900 10px/1 'Cairo', sans-serif; box-shadow: 0 3px 9px rgba(127,29,29,.42);
}
.store-bottom-nav .bottom-nav-wish-badge[hidden] { display: none; }

/* التخفيضات أصبحت زرًا عاديًا في مكان السلة السابق. */
.store-bottom-nav .bottom-nav-offers svg {
    color: #fde047;
    stroke: #fde047 !important;
}
.store-bottom-nav .bottom-nav-offers.active svg,
.store-bottom-nav .bottom-nav-offers:hover svg,
.store-bottom-nav .bottom-nav-offers:focus svg {
    color: #fff;
    stroke: #fff !important;
}

/* ══ شريط «حسابي» ══ */
.store-bottom-nav.me-acc-nav { background: linear-gradient(105deg, #2e0b5e 0%, #5e1272 52%, #7a1585 100%) !important; }
.store-bottom-nav .me-acc-ico { position: relative; display: inline-flex; }
.store-bottom-nav .me-acc-alert {
    position: absolute; top: -8px; right: -13px; left: auto; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 20px; border: 2px solid #fff; background: #f59e0b; color: #1f0a40;
    display: flex; align-items: center; justify-content: center;
    font: 900 10px/1 'Cairo', sans-serif; box-shadow: 0 3px 9px rgba(0,0,0,.3);
    animation: meAccPulse 1.8s ease-in-out infinite;
}
.store-bottom-nav .me-acc-bal {
    position: absolute; top: -10px; right: -22px; left: auto; padding: 2px 6px; border-radius: 20px;
    background: #facc15; color: #1f0a40; border: 2px solid #fff;
    font: 900 9.5px/1.1 'Cairo', sans-serif; white-space: nowrap; direction: rtl; unicode-bidi: isolate;
    box-shadow: 0 3px 9px rgba(0,0,0,.3);
}
.store-bottom-nav.me-acc-nav .bottom-nav-link,
.store-bottom-nav.me-acc-nav .bottom-nav-button { font-size: 9.5px !important; letter-spacing: -.15px; white-space: nowrap; }
.store-bottom-nav.me-acc-nav .me-acc-menu-btn { border: 0; background: transparent; cursor: pointer; }
.store-bottom-nav.me-acc-nav .me-acc-wallet .me-acc-bal { top: -13px; right: 50%; transform: translateX(50%); padding: 2px 7px; font-size: 10px; }
.store-bottom-nav .me-acc-new .bottom-nav-cart-icon { background: linear-gradient(145deg, #ffffff, #fde7f6) !important; border-color: #5e1272 !important; }
.store-bottom-nav .me-acc-new .bottom-nav-cart-icon svg { stroke: #7a1585 !important; }
.store-bottom-nav .me-acc-new.active .bottom-nav-cart-icon { background: linear-gradient(135deg, #2e0b5e, #7a1585 55%, #d4129b) !important; border-color: #fff !important; }
.store-bottom-nav .me-acc-new.active .bottom-nav-cart-icon svg { stroke: #fff !important; }
@keyframes meAccPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .store-bottom-nav .me-acc-alert { animation: none; } }

@media(max-width: 767px) { body { padding-bottom: 58px; } }

/* ══ إشعار السلة ══ */
.cart-toast {
    position: fixed; bottom: calc(var(--store-bottom-nav-height, 58px) + 34px); left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: linear-gradient(135deg, #166534, #16a34a);
    color: #fff; padding: 10px 16px; border-radius: 12px;
    font-family: 'Cairo', sans-serif; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 26px rgba(22,101,52,.34);
    z-index: 99999; opacity: 0;
    transition: opacity .2s, transform .2s;
    white-space: nowrap; direction: rtl;
    pointer-events: none;
    overflow: hidden;
    max-width: calc(100% - 16px);
}
@media (max-width: 420px) { .cart-toast { padding: 9px 10px; gap: 6px; font-size: 12.5px; } .cart-toast a { padding: 3px 8px; } }
.cart-toast.above-mini { bottom: calc(var(--store-bottom-nav-height, 58px) + 92px); }
.cart-toast .cart-toast-close {
    width: 26px; height: 26px; flex: 0 0 26px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff; font: 900 16px/1 Arial, sans-serif; cursor: pointer;
}
.cart-toast .cart-toast-bar {
    position: absolute; right: 0; bottom: 0; height: 3px; width: 100%;
    background: rgba(255,255,255,.75); transform-origin: right;
}
.cart-toast.show .cart-toast-bar { animation: cartToastBar var(--toast-time, 7s) linear forwards; }
.cart-toast.is-paused .cart-toast-bar { animation-play-state: paused; }
@keyframes cartToastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.cart-toast.show {
    opacity: 1; transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.cart-toast a {
    background: #fff; color: #166534 !important;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 6px; text-decoration: none;
}
.cart-toast a:hover { background: #f0fdf4; color: #14532d !important; }

/* ══ النوافذ الجانبية للأقسام والسلة ══ */
.store-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 8, 31, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 10060; /* فوق الشريط الإعلاني (10050) حتى لا يغطي رأس السلة */
}

.store-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.store-side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    direction: rtl;
    transform: translateX(105%);
    transition: transform .26s cubic-bezier(.22,.61,.36,1);
    z-index: 10061;
    box-shadow: -14px 0 40px rgba(25, 8, 48, .22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Cairo', 'Almarai', sans-serif;
}

.store-side-drawer.is-open {
    transform: translateX(0);
}

.store-drawer-head {
    min-height: 72px;
    padding: 15px 16px;
    padding-top: max(15px, env(safe-area-inset-top));
    background: linear-gradient(135deg, #7a1585, #d4129b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
}

.store-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.store-drawer-head-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.store-drawer-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.store-drawer-subtitle {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,.72);
}

.store-drawer-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 11px;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.store-drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
    background: #faf9fc;
    -webkit-overflow-scrolling: touch;
}

.store-drawer-footer {
    flex: 0 0 auto;
    padding: 12px 14px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid #e9e2f2;
    background: #fff;
}

.drawer-category-list {
    display: grid;
    gap: 9px;
}

.drawer-category-link {
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ece1ee;
    background: #fff;
    color: #271738;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    transition: border-color .15s, transform .15s, background .15s;
}

.drawer-category-link:hover,
.drawer-category-link:focus {
    color: #7a1585;
    border-color: #d2b3d7;
    background: #f8f1f7;
    transform: translateX(-2px);
}

.drawer-category-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-category-arrow {
    color: #d4129b;
    font-size: 16px;
    font-weight: 900;
}

.drawer-cart-list {
    display: grid;
    gap: 10px;
}

.drawer-cart-item {
    display: grid;
    grid-template-columns: 68px minmax(0,1fr) 34px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 13px;
    border: 1px solid #e8e1ef;
    background: #fff;
}

.drawer-cart-image {
    width: 68px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1edf6;
}

.drawer-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.drawer-cart-name {
    display: block;
    color: #241334;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
    text-decoration: none !important;
    margin-bottom: 5px;
}

.drawer-cart-meta {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.drawer-cart-quantity {
    display: inline-grid;
    grid-template-columns: 31px minmax(34px, auto) 31px;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 3px;
    border: 1px solid #e2d8ef;
    border-radius: 10px;
    background: #faf5f9;
    direction: ltr;
}

.drawer-qty-btn {
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #7a1585;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(122,21,133,.08);
    transition: background .15s, color .15s, transform .15s;
}

.drawer-qty-btn:hover {
    background: #7a1585;
    color: #fff;
}

.drawer-qty-btn:active {
    transform: scale(.94);
}

.drawer-qty-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    background: #fff;
    color: #9ca3af;
}

.drawer-qty-value {
    min-width: 34px;
    text-align: center;
    color: #241334;
    font-size: 13px;
    font-weight: 900;
    direction: rtl;
}

.drawer-cart-price {
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 800;
}

.drawer-cart-unit-price {
    color: #64748b;
    white-space: nowrap;
}
.drawer-cart-old-price {
    color: #dc2626;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    margin-left: 3px;
}
.drawer-cart-new-price { color: #241334; font-weight: 900; }
.drawer-cart-new-price.is-sale { color: #15803d; font-size: 12.5px; }
.drawer-cart-save {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e9f8ef;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 10.5px;
    font-weight: 900;
    white-space: nowrap;
}
.drawer-cart-savings {
    margin-bottom: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px dashed #fca5a5;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.drawer-cart-savings b { font-weight: 900; }

/* الحد الأقصى المتوفر تحت أزرار الكمية */
.drawer-qty-max {
    margin-top: 5px;
    color: #b45309;
    font-size: 10.5px;
    font-weight: 800;
}

/* التوصيل المجاني داخل السلة الجانبية */
.drawer-free-ship {
    margin-bottom: 9px;
    padding: 8px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 11px;
    background: #f0fdf4;
}
.drawer-free-ship-text {
    margin-bottom: 6px;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}
.drawer-free-ship-text b { font-weight: 900; }
.drawer-free-ship.is-done .drawer-free-ship-text { font-weight: 900; }
.drawer-free-ship-bar {
    height: 7px;
    border-radius: 999px;
    background: #dcfce7;
    overflow: hidden;
}
.drawer-free-ship-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #15803d);
    transition: width .3s ease;
}

.drawer-track-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed #d4bbd8;
    border-radius: 12px;
    background: #fbf5fa;
    color: #271738 !important;
    text-decoration: none !important;
}
.drawer-track-icon { font-size: 22px; line-height: 1; }
.drawer-track-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.drawer-track-text b { color: #7a1585; font-size: 13.5px; font-weight: 900; }
.drawer-track-text small { color: #6b7280; font-size: 11px; font-weight: 700; }

.drawer-empty-track {
    margin-top: 14px;
    color: #7a1585 !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: underline !important;
}

.drawer-cart-line-total {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.drawer-cart-delete {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    background: #fff1f2;
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.drawer-empty {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b7280;
    padding: 24px 12px;
}

.drawer-empty-title { color: #241334; font-size: 16px; font-weight: 900; }
.drawer-empty-sub { margin-top: 5px; font-size: 12.5px; }
.drawer-empty-cta { width: min(100%, 280px); min-height: 48px !important; margin-top: 20px; font-size: 14px !important; }
.drawer-empty-links { display: flex; justify-content: center; gap: 8px; width: min(100%, 280px); margin-top: 10px; }
.drawer-empty-link { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; margin: 0; padding: 0 12px; border: 1px solid #e9dceb; border-radius: 11px; background: #fff; color: #7a1585 !important; font-family: inherit; font-size: 12.5px; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.drawer-empty-link:hover { border-color: #cbabd0; background: #fbf5fa; }

.drawer-empty-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: #f5ecf4;
    color: #7a1585;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.drawer-cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #241334;
}

.drawer-cart-total {
    color: #16a34a;
    font-size: 16px;
    font-weight: 900;
}

.drawer-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.drawer-action-btn {
    min-height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
}

.drawer-action-btn.secondary {
    background: #f6eef6;
    color: #7a1585;
    border: 1px solid #e4cfe7;
}

.drawer-action-btn.primary {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff !important;
    border: 1px solid #15803d;
    box-shadow: 0 6px 15px rgba(22,163,74,.22);
}
.drawer-action-btn.primary:hover,
.drawer-action-btn.primary:focus {
    background: linear-gradient(135deg, #16a34a, #166534);
    color: #fff !important;
}

.bottom-nav-button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    padding: 0;
}

.bottom-nav-button:hover,
.bottom-nav-button:focus {
    color: #fff;
    outline: none;
}

.bottom-nav-button svg {
    stroke: currentColor;
}

body.store-drawer-open {
    overflow: hidden !important;
    touch-action: none;
}

/*
 * على الهاتف تنتهي نافذتا الأقسام والسلة عند أعلى
 * الشريط السفلي، حتى يبقى الشريط ظاهرًا وقابلًا للضغط.
 * يتم تحديث القيمة فعليًا من JavaScript حسب ارتفاع الشريط.
 */
:root {
    --store-bottom-nav-height: 58px;
}

@media (max-width: 767px) {
    .store-drawer-overlay {
        bottom: var(--store-bottom-nav-height) !important;
    }

    .store-side-drawer {
        top: 0 !important;
        bottom: var(--store-bottom-nav-height) !important;
        height: auto !important;
        max-height: none !important;
    }

    /* دائرة السلة في منتصف الشريط السفلي بارزة للأعلى ~26px: نترك لها مكانًا */
    .store-drawer-footer {
        padding-bottom: 34px;
    }

    /* إن لم يوجد شريط سفلي داخل النافذة (سلة فارغة / الأقسام) */
    .store-drawer-body:last-child {
        padding-bottom: 40px;
    }
}

/* على الهاتف: نافذة السلة والأقسام بعرض الشاشة كاملة (متناسقة مع الصفحة) */
@media (max-width: 575.98px) {
    .store-side-drawer {
        width: 100% !important;
        box-shadow: none;
    }

    .store-drawer-head {
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .store-side-drawer,
    .store-drawer-overlay {
        display: none !important;
    }

    /* سلة التسوق تبقى متاحة على اللابتوب/الديسكتوب عبر أيقونة الهيدر */
    #cartDrawer { display: flex !important; }
    #cartDrawerOverlay { display: block !important; }
}

/* شريط الثقة المختصر */
.store-trust-bar {
    width: min(1180px, calc(100% - 24px));
    margin: 10px auto 4px;
    padding: 9px 13px;
    border: 1px solid #ece1ee;
    border-radius: 13px;
    background: #fff;
    color: #7a1585;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font: 800 11px 'Cairo', sans-serif;
    box-shadow: 0 4px 14px rgba(122,21,133,.06);
}
.store-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.store-trust-icon { color: #16a34a; font-size: 14px; }

/* شريط السلة الصغير فوق شريط الهاتف */
.mini-cart-fixed {
    position: fixed;
    left: 50%;
    bottom: calc(var(--store-bottom-nav-height, 58px) + 34px); /* فوق دائرة السلة البارزة */
    z-index: 10002;
    transform: translateX(-50%);
    width: min(440px, calc(100% - 18px));
    min-height: 42px;
    padding: 3px;
    border: 1px solid rgba(122,21,133,.16);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25,8,48,.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}
.mini-cart-open {
    flex: 1;
    min-width: 0;
    min-height: 31px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: #241334;
    display: flex;
    align-items: center;
    gap: 6px;
    font: 900 11px 'Cairo', sans-serif;
    cursor: pointer;
    text-align: right;
}
.mini-cart-open strong { color: #15803d; font-size: 12px; white-space: nowrap; }

/* تقدّم التوصيل المجاني فوق شريط السلة الصغير */
.mini-cart-ship {
    position: absolute;
    top: -12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 2px 9px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #166534;
    font: 800 10.5px/1.6 'Cairo', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 3px 10px rgba(22,101,52,.12);
}
.mini-cart-ship.is-done { font-weight: 900; }
.mini-cart-ship-bar {
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: #dcfce7;
    overflow: hidden;
}
.mini-cart-ship-bar b {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #15803d);
    transition: width .3s ease;
}
.mini-cart-checkout {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #15803d;
    border-radius: 9px;
    background: linear-gradient(135deg,#22c55e,#15803d);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font: 900 11px 'Cairo', sans-serif;
    white-space: nowrap;
    box-shadow: 0 7px 17px rgba(22,163,74,.28);
    transition: transform .15s ease, filter .15s ease;
}
.mini-cart-checkout:hover,
.mini-cart-checkout:focus {
    color: #fff !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .mini-cart-fixed { display: none !important; }
}

@media (max-width: 767px) {
    /* في صفحة المنتج نعرض شريط السلة بدل شريط الشراء عند امتلاء السلة. */
    body:has(.mini-cart-fixed) .sp-fixed-buy-bar {
        display: none !important;
    }
}

/* شوهد مؤخرًا */
.recently-viewed-wrap {
    width: min(1180px, calc(100% - 24px));
    margin: 28px auto 8px;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}
.recently-viewed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.recently-viewed-title { margin: 0; color: #241334; font-size: 15px; font-weight: 900; }
.recently-viewed-clear { border: 0; background: transparent; color: #d4129b; font: 800 10px 'Cairo',sans-serif; cursor: pointer; }
.recently-viewed-list { display: flex; gap: 10px; overflow-x: auto; padding: 2px 1px 9px; scrollbar-width: thin; }
.recently-viewed-card { flex: 0 0 132px; overflow: hidden; border: 1px solid #e8e1ef; border-radius: 13px; background: #fff; color: #241334; text-decoration: none !important; box-shadow: 0 4px 14px rgba(122,21,133,.06); }
.recently-viewed-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; display: block; background: #f1edf6; }
.recently-viewed-info { padding: 8px; }
.recently-viewed-code { color: #6b7280; font-size: 9px; font-weight: 800; }
.recently-viewed-price { margin-top: 3px; color: #15803d; font-size: 12px; font-weight: 900; }

/* ══ المفضلة ══ */
.wishlist-wrap { border-color: #f3d3dc !important; background: linear-gradient(135deg, #fff, #fff7f9) !important; }
.wishlist-wrap .recently-viewed-title::before { content: '❤️ '; }
.wishlist-card { position: relative; }
.wishlist-remove {
    position: absolute; top: 6px; left: 6px; z-index: 2;
    width: 26px; height: 26px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.95); color: #be123c;
    font: 900 14px/26px Arial, sans-serif; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.me-wish-btn {
    position: absolute; top: 10px; left: 10px; z-index: 7;
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: rgba(255,255,255,.95);
    box-shadow: 0 4px 12px rgba(0,0,0,.14); cursor: pointer;
    font-size: 18px; line-height: 1; transition: transform .15s ease;
}
.me-wish-btn:active { transform: scale(.9); }
.me-wish-btn.is-on { background: #fff0f3; }
.me-wish-btn svg { width: 19px; height: 19px; }
.footer-about-link { color: #fff !important; text-decoration: underline !important; font-weight: 800; }

/* ══ الفوتر: معلومات الثقة + روابط مرتبة ══ */
.store-footer {
    margin-top: 35px;
    background: linear-gradient(90deg, #7a1585, #d4129b);
    color: rgba(255,255,255,.82);
    direction: rtl;
    text-align: center;
    font-family: 'Almarai', 'Cairo', Arial, sans-serif;
    padding: 18px 16px 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.store-footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
    max-width: 760px;
}
.store-footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.store-footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 700;
}
.store-footer-contact a { color: #fff !important; font-size: 12.5px; text-decoration: none !important; }
.store-footer-contact a:hover { text-decoration: underline !important; }
.store-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
    font-size: 12.5px;
}
.store-footer-links a {
    padding: 2px 10px;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
}
.store-footer-links a:hover { text-decoration: underline !important; }
.store-footer-links a + a { border-right: 1px solid rgba(255,255,255,.3); }
.store-footer-copy { margin-top: 10px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.78); }
.store-footer-dev { margin-top: 4px; font-size: 10.5px; font-weight: 400; color: rgba(255,255,255,.62); }
@media (max-width: 767px) {
    /* الشريط السفلي الثابت (وشريط السلة الصغير لو ظاهر) ما يغطيش آخر سطر في الفوتر */
    .store-footer { padding-bottom: 74px; }
    body:has(.mini-cart-fixed) .store-footer { padding-bottom: 150px; }
    .store-footer-chip { font-size: 11px; padding: 5px 10px; }
}

/* ══ الشريط العلوي — تصميم احترافي (تغييرات بصرية فقط) ══ */
.header1 { background: #fff; font-family: 'Cairo', 'Almarai', sans-serif; }

.header1 .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 22px;
    background: linear-gradient(90deg, #2e0b5e, #7a1585 55%, #2e0b5e);
}

.header1 .topbar-social { display: flex; align-items: center; gap: 6px; }

.header1 .topbar-social .topbar-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    color: #fff !important;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
}

.header1 .topbar-social .topbar-social-item:hover {
    background: rgba(255,255,255,.26);
    transform: translateY(-1px);
}

.header1 .topbar-social .topbar-social-item.text-muted {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none !important;
    margin-right: 4px;
    padding-right: 6px;
    border-right: 1px solid rgba(255,255,255,.22);
    transform: none !important;
}

.header1 .topbar-social .topbar-social-item.text-muted small {
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 700;
}

.header1 .topbar-child2 .topbar-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.4);
    background: transparent;
    color: #fff !important;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: all .15s ease;
}

.header1 .topbar-child2 .topbar-social-item:hover {
    background: #fff;
    border-color: #fff;
    color: #7a1585 !important;
}

/*
 * الشريط المتحرك (sticky) كان يغطي الشريط العلوي في الكمبيوتر
 * (أيقونات التواصل كانت مخفية تحته). ننزل الهيدر الثابت تحته بـ margin
 * لأن سكربت القالب يتحكم في top أثناء التمرير.
 */
body:has(.store-news-ticker) .header1 .container-menu-header { margin-top: 35px; }

/* زر «تتبع طلبي» في الشريط العلوي (مكان رابط الإدارة القديم) */
.header1 .topbar-child2 .topbar-track {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 29px;
    padding: 0 12px;
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    font: 800 11.5px 'Cairo', 'Almarai', sans-serif;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.header1 .topbar-child2 .topbar-track svg { flex: 0 0 auto; }
.header1 .topbar-child2 .topbar-track:hover,
.header1 .topbar-child2 .topbar-track:focus {
    background: #fff;
    border-color: #fff;
    color: #7a1585 !important;
}

/* ══ أيقونة السلة بجانب الشعار — تظهر فقط من شاشات اللابتوب فصاعدًا ══ */
.header1 .header-cart-wrap {
    display: none;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .header1 .header-cart-wrap { display: inline-flex; }
}

.header1 .header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #7a1585, #d4129b);
    color: #fff !important;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(122,21,133,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.header1 .header-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(122,21,133,.32);
}

.header1 .header-cart-icon {
    position: relative;
    display: inline-flex;
    font-size: 18px;
    line-height: 1;
}

.header1 .header-cart-badge {
    position: absolute;
    top: -9px;
    left: -11px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff !important;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.header1 .header-cart-label { white-space: nowrap; }

/* ══ «حسابي» + رصيد المحفظة — يمين الشعار من شاشات اللابتوب فصاعدًا ══ */
.header1 .wrap_header .header-acc-btn {
    display: none;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    gap: 9px;
    padding: 6px 8px 6px 14px;
    border: 1.5px solid #ece2f3;
    border-radius: 999px;
    background: #fff;
    color: #2e0b5e !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(122,21,133,.10);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.header1 .wrap_header .header-acc-btn:hover { border-color: #c9a6d8; box-shadow: 0 6px 18px rgba(122,21,133,.18); transform: translateY(calc(-50% - 1px)); }
@media (min-width: 768px) {
    .header1 .wrap_header .header-acc-btn { display: inline-flex; }
}
.header1 .header-acc-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #2e0b5e, #7a1585 55%, #d4129b);
    color: #fff; font-size: 14px; font-weight: 700;
}
.header1 .header-acc-label { white-space: nowrap; }
.header1 .header-acc-bal {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 999px;
    background: #fdf3d4; color: #6b4a00; font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.header1 .header-acc-bal b { font-family: 'Montserrat', 'Cairo', sans-serif; direction: ltr; unicode-bidi: isolate; }

.header1 .wrap_header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(122,21,133,.09);
    position: relative;
    z-index: 6;
}

.header1 .wrap_header a { display: inline-flex; text-decoration: none !important; }
.header1 .wrap_header img { transition: transform .18s ease; }
.header1 .wrap_header a:hover img { transform: scale(1.035); }

.header1 .wrap_header_mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(122,21,133,.08);
}

.header1 .wrap_header_mobile .logo-mobile { display: inline-flex; text-decoration: none !important; }

@media (max-width: 767px) {
    .header1 .topbar { padding: 6px 14px; }
    .header1 .topbar-social .topbar-social-item,
    .header1 .topbar-child2 .topbar-social-item { width: 26px; height: 26px; font-size: 11.5px; }
    .header1 .topbar-social .topbar-social-item.text-muted small { font-size: 10px; }
}
