/* =====================================================================
   متجر التقسيط - طبقة التصميم المطوّرة (صفحة المتجر فقط)
   ---------------------------------------------------------------------
   كل القواعد هنا محصورة تحت .ins-shop (موجودة فقط على <main> بصفحة
   installment/shop) فلا تمسّ صفحات التقسيط الأخرى (بيانات العميل/المراجعة/
   النجاح) التي تشارك installment-shop.css الأساسي. يُحمَّل بعده مباشرة.
   ===================================================================== */

.ins-shop {
    --p: #670756;
    --p-600: #7a1468;
    --p-500: #883576;
    --p-300: #c9a3bf;
    --p-200: #e7d2e1;
    --p-100: #f4e8f1;
    --p-50: #fbf6fa;
    --ink: #1b1220;
    --ink-2: #2e2733;
    /* أغمق من السابق (#6e6573) - النص الثانوي كان باهتًا وصعب القراءة */
    --muted: #4f4855;
    --line: #eee5ec;
    --ok: #127a3a;
    --ok-bg: #eafaf0;
    --danger: #b42318;
    --danger-bg: #fef3f2;
    --grad: linear-gradient(135deg, #670756 0%, #8c2a78 100%);
    --radius-lg: 22px;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-xs: 0 1px 2px rgba(27, 18, 32, .05);
    --shadow-sm: 0 2px 8px rgba(27, 18, 32, .06);
    --shadow-md: 0 10px 30px -8px rgba(103, 7, 86, .18);
    --shadow-lg: 0 24px 48px -16px rgba(103, 7, 86, .28);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --header-h: 112px;

    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

.ins-shop :focus-visible {
    outline: 2px solid var(--p-500);
    outline-offset: 2px;
    border-radius: 10px;
}

.ins-shop a {
    text-decoration: none;
}

/* القالب العام يعطي كل <button> عرضًا كاملًا وخلفية وحدودًا - تصفير موحّد لأزرارنا */
.ins-shop .ins-reset-btn {
    width: auto;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* ===== شريط الأدوات العلوي (مكوّن مشترك - تحسين بصري هنا فقط) ===== */
.ins-shop .installment-utility-bar {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    margin-inline: -12px;
    padding-inline: 12px;
    transition: box-shadow .25s var(--ease);
}

.ins-shop .installment-utility-bar.is-scrolled {
    box-shadow: 0 8px 24px -14px rgba(27, 18, 32, .35);
}

.ins-shop .installment-utility-bar__link {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--p-50);
    border: 1px solid var(--p-100);
    transition: background .2s ease, border-color .2s ease;
}

.ins-shop .installment-utility-bar__link:hover {
    background: var(--p-100);
    text-decoration: none;
}

/* ===== الهيرو ===== */
.ins-shop .installment-hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 18px;
}

/* ===== شريط المزايا ===== */
.ins-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.ins-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}

.ins-feature:hover {
    transform: translateY(-2px);
    border-color: var(--p-200);
    box-shadow: var(--shadow-md);
}

.ins-feature__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--p-50);
    color: var(--p);
    font-size: 21px;
    box-shadow: inset 0 0 0 1px var(--p-100);
}

.ins-feature__title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}

.ins-feature__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

/* ===== مؤشر الخطوات (مكوّن مشترك - شكل مطوّر هنا فقط) ===== */
.ins-shop .installment-stepper {
    margin: 0 0 22px;
    padding: 16px 18px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.ins-shop .installment-stepper__title {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 12px;
}

.ins-shop .installment-stepper__connector {
    height: 3px;
    margin-top: 15px;
    background: var(--line);
}

.ins-shop .installment-stepper__connector--done {
    background: var(--grad);
}

.ins-shop .installment-stepper__dot {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    color: var(--muted);
    box-shadow: inset 0 0 0 2px var(--line);
}

.ins-shop .installment-stepper__item {
    font-size: 12px;
    gap: 7px;
}

.ins-shop .installment-stepper__label {
    color: var(--muted);
}

.ins-shop .installment-stepper__item--current .installment-stepper__dot {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 0 0 5px var(--p-100);
}

.ins-shop .installment-stepper__item--current .installment-stepper__label {
    color: var(--p);
    font-weight: 800;
}

/* ===== لوحة البحث + الأقسام ===== */
.ins-toolbar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    margin-bottom: 20px;
}

.ins-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--p-50);
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 5px;
    padding-inline-start: 18px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ins-search:focus-within {
    background: #fff;
    border-color: var(--p-500);
    box-shadow: 0 0 0 4px var(--p-100);
}

.ins-search__icon {
    flex: 0 0 auto;
    color: var(--p-500);
    font-size: 17px;
}

/* تتغلّب على قاعدة الحقول العامة (.installment-page input:not(...):not(...)) */
.ins-shop .ins-search input.ins-search__input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14.5px;
    color: var(--ink);
}

.ins-shop .ins-search input.ins-search__input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.ins-search__clear {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
    box-shadow: var(--shadow-xs);
    transition: color .2s ease, background .2s ease;
}

.ins-search__clear:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

.ins-shop .ins-search__btn {
    flex: 0 0 auto;
    width: auto;
    height: 42px;
    padding: 0 26px;
    border: 0;
    margin: 0;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px -6px rgba(103, 7, 86, .55);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.ins-shop .ins-search__btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 20px -8px rgba(103, 7, 86, .6);
}

.ins-shop .ins-search__btn:active {
    transform: scale(.97);
}

/* منيو الأقسام داخل اللوحة */
.ins-shop .installment-categories-wrap {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 12px 0 0;
}

.ins-shop .installment-categories__scroll {
    position: relative;
    scroll-behavior: smooth;
    padding: 2px;
    /* تلاشٍ ناعم على الطرفين يوحي بوجود أقسام إضافية قابلة للتمرير */
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    padding-inline: 10px;
}

.ins-shop .installment-categories__item {
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    transition: all .2s var(--ease);
}

.ins-shop .installment-categories__item:hover {
    border-color: var(--p-300);
    color: var(--p);
    background: var(--p-50);
}

.ins-shop .installment-categories__item.is-active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px -6px rgba(103, 7, 86, .55);
}

.ins-shop .installment-categories__item--link {
    border-style: dashed;
    border-color: var(--p-300);
    background: var(--p-50);
    color: var(--p);
}

.ins-shop .installment-categories + .installment-categories {
    border-top-color: var(--line);
}

.ins-shop .installment-categories__sub-label {
    color: var(--muted);
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ins-shop .installment-categories--sub .installment-categories__item {
    background: var(--p-50);
    border-color: transparent;
}

/* ===== رأس النتائج + الترتيب ===== */
.ins-shop .installment-results-head {
    margin-bottom: 16px;
    gap: 12px;
}

.ins-shop .installment-results-head__title {
    font-size: 19px;
    color: var(--ink);
    flex-wrap: wrap;
}

.ins-shop .installment-results-head__count {
    background: var(--p-50);
    color: var(--p);
    border: 1px solid var(--p-100);
    font-size: 12px;
}

.ins-sort {
    display: inline-flex;
    padding: 4px;
    gap: 2px;
    background: #f5f1f4;
    border-radius: 999px;
}

.ins-sort__item {
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ins-sort__item:hover {
    color: var(--p);
}

.ins-sort__item.is-active {
    background: #fff;
    color: var(--p);
    box-shadow: var(--shadow-sm);
}

.ins-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
    font-size: 13px;
    color: var(--muted);
}

.ins-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px 5px 12px;
    padding-inline: 12px 6px;
    border-radius: 999px;
    background: var(--p-50);
    border: 1px solid var(--p-100);
    color: var(--p);
    font-weight: 700;
}

.ins-chip__x {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: var(--p);
    font-size: 10px;
}

.ins-chip__x:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ===== الحالة الفارغة ===== */
.ins-shop .installment-empty {
    padding: 48px 20px;
    border: 1.5px dashed var(--p-200);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--p-50), #fff);
    gap: 10px;
    margin-bottom: 18px;
}

.ins-empty__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    color: var(--p-500);
    font-size: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 6px;
}

.ins-empty__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
}

.ins-empty__text {
    margin: 0 0 6px;
    font-size: 13.5px;
    color: var(--muted);
}

.ins-btn-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--p);
    color: #fff !important;
    font-weight: 800;
    font-size: 13.5px;
    transition: filter .2s ease;
}

.ins-btn-soft:hover {
    filter: brightness(1.1);
}

/* ===== شبكة المنتجات ===== */
.ins-shop .installment-grid {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 16px;
}

.ins-shop .installment-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
    animation: ins-rise .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 45ms);
}

.ins-shop .installment-card:hover {
    transform: translateY(-4px);
    border-color: var(--p-200);
    box-shadow: var(--shadow-lg);
}

@keyframes ins-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.ins-shop .installment-card__image {
    padding: 18px;
    background:
        radial-gradient(120% 90% at 50% 15%, #fff 0%, var(--p-50) 70%, #f6eef4 100%);
    overflow: hidden;
}

.ins-shop .installment-card__image img {
    transition: transform .45s var(--ease), opacity .3s ease;
    mix-blend-mode: multiply;
}

.ins-shop .installment-card:hover .installment-card__image img {
    transform: scale(1.06);
}

.ins-shop .installment-card__image img.is-swapping {
    opacity: .25;
}

.ins-shop .installment-card__badge {
    top: 12px;
    inset-inline-start: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .92);
    color: var(--ok);
    font-size: 11px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

.ins-shop .installment-card__badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(18, 122, 58, .15);
}

.ins-shop .installment-card__badge--out {
    background: rgba(255, 255, 255, .92);
    color: #8a8390;
}

.ins-shop .installment-card__badge--out::before {
    box-shadow: none;
}

.ins-shop .installment-card.is-out .installment-card__image img {
    filter: grayscale(1);
    opacity: .55;
}

.ins-shop .installment-card__body {
    gap: 6px;
    padding: 14px 14px 16px;
}

.ins-shop .installment-card__brand {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--p-500);
}

.ins-shop .installment-card__name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 3em;
    color: var(--ink);
}

.ins-shop .installment-variants {
    gap: 6px;
    margin: 4px 0 2px;
}

.ins-shop .installment-variant-pill {
    width: 100%;
    margin: 0;
    padding: 8px 6px;
    font-size: 11.5px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    border-radius: 10px;
}

.ins-shop .installment-variant-pill:hover {
    border-color: var(--p-300);
    background: var(--p-50);
}

.ins-shop .installment-variant-pill.is-active {
    background: var(--p-50);
    color: var(--p);
    border-color: var(--p);
    box-shadow: inset 0 0 0 1px var(--p);
}

.ins-shop .installment-prices {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: auto;
    padding-top: 6px;
}

.ins-price__label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
}

.ins-shop .installment-prices__plan {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.2;
}

.ins-price__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--p-50);
    color: var(--p);
    font-size: 11px;
    font-weight: 800;
}

.ins-shop .installment-add {
    gap: 10px;
    margin-top: 8px;
}

.ins-shop .installment-add__colors:empty {
    display: none;
}

.ins-shop .installment-colors {
    gap: 10px;
    margin: 0;
}

.ins-shop .installment-colors__item {
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff;
    transition: box-shadow .2s ease, transform .15s ease;
}

.ins-shop .installment-colors__item:hover {
    transform: scale(1.1);
}

.ins-shop .installment-colors__item:has(input:checked) {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--p);
}

/* زر الإضافة للسلة: تعبئة خفيفة بلون الهوية، يمتلئ بالكامل عند المرور */
.ins-shop .installment-add .ins-add-btn {
    position: relative;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--p-50);
    color: var(--p);
    box-shadow: inset 0 0 0 1.5px var(--p-200);
    font-size: 14px;
    font-weight: 800;
    transition: background .25s var(--ease), color .25s ease, box-shadow .25s ease, transform .15s ease;
}

.ins-shop .installment-add .ins-add-btn i {
    font-size: 17px;
}

.ins-shop .installment-add .ins-add-btn:not(:disabled):hover {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 20px -8px rgba(103, 7, 86, .6);
}

.ins-shop .installment-add .ins-add-btn:not(:disabled):active {
    transform: scale(.97);
}

.ins-shop .installment-add .ins-add-btn:disabled {
    opacity: 1;
    background: #f4f3f5;
    color: #a39ca8;
    box-shadow: none;
    cursor: not-allowed;
}

.ins-shop .installment-add .ins-add-btn.is-loading {
    color: transparent;
    background: var(--p-50);
}

.ins-shop .installment-add .ins-add-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid var(--p-200);
    border-top-color: var(--p);
    animation: ins-spin .7s linear infinite;
}

.ins-shop .installment-add .ins-add-btn.is-added,
.ins-shop .installment-add .ins-add-btn.is-added:disabled {
    background: var(--ok-bg);
    color: var(--ok);
    box-shadow: inset 0 0 0 1.5px #b7ebc9;
}

@keyframes ins-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== الترقيم ===== */
.ins-shop .installment-pagination {
    margin-top: 28px;
}

.ins-shop .installment-pagination .page-link {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px !important;
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: #fff;
    transition: all .2s ease;
}

.ins-shop .installment-pagination .page-link:hover {
    border-color: var(--p-300);
    color: var(--p);
    background: var(--p-50);
}

.ins-shop .installment-pagination .page-item.active .page-link {
    background: var(--grad);
    box-shadow: 0 6px 14px -6px rgba(103, 7, 86, .55);
}

.ins-shop .installment-pagination p.small {
    display: none;
}

/* ===== السلة الجانبية ===== */
/* البطاقة عمود flex: رأس ثابت + منطقة قابلة للتمرير (المنتجات/الكوبون/الخيارات) + ذيل
   ثابت (الإجمالي وزر المتابعة) - فالزر ظاهر دائمًا والبطاقة لا تتجاوز ارتفاع الشاشة. */
.ins-shop .installment-cart {
    top: calc(var(--header-h) + 8px);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-h) - 24px);
    max-height: calc(100dvh - var(--header-h) - 24px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow .3s ease;
}

.ins-shop .installment-cart.is-pulse {
    animation: ins-pulse .9s var(--ease);
}

@keyframes ins-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(136, 53, 118, .45), var(--shadow-md);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(136, 53, 118, 0), var(--shadow-md);
    }
}

.ins-shop .installment-cart__title {
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--ink);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.ins-shop .installment-cart__title i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--p-50);
    color: var(--p);
    font-size: 17px;
}

.ins-shop .installment-cart__count {
    margin-inline-start: auto;
    background: var(--grad);
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
}

/* غلاف أسطر السلة (يُستبدل محتواه عبر AJAX) - يمرّر المساحة لجزأيه: التمرير والذيل */
.ins-shop .installment-cart .js-cart-lines {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ins-cart__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 16px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--p-200) transparent;
    overscroll-behavior: contain;
}

.ins-cart__footer {
    flex: 0 0 auto;
    padding: 12px 16px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 20px -18px rgba(27, 18, 32, .35);
}

/* سطر سلة مضغوط: صورة | (الاسم، السعر، عداد الكمية) | حذف - في صف واحد */
.ins-shop .installment-cart__line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    animation: ins-rise .35s var(--ease) both;
    transition: opacity .2s ease;
}

.ins-shop .installment-cart__line:last-of-type {
    border-bottom: 0;
}

.ins-shop .installment-cart__thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 4px;
    border-radius: 12px;
    background: var(--p-50);
    box-shadow: inset 0 0 0 1px var(--p-100);
    object-fit: contain;
}

.ins-shop .installment-cart__info {
    flex: 1 1 auto;
    min-width: 0;
}

.ins-shop .installment-cart__info .name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.ins-shop .installment-cart__info .meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted);
}

.ins-shop .installment-cart__info .meta .installment-swatch {
    margin: 0;
}

.ins-shop .installment-cart__controls {
    margin-top: 8px;
}

.ins-shop .installment-cart__remove {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #a39ca8;
    font-size: 14px;
    opacity: 1;
    transition: color .2s ease, background .2s ease;
}

.ins-shop .installment-cart__remove:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.ins-shop .installment-qty {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 2px;
    gap: 0;
}

.ins-shop .installment-qty__btn {
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--p-50);
    color: var(--p);
    font-size: 16px;
    transition: background .2s ease;
}

.ins-shop .installment-qty__btn:not(:disabled):hover {
    background: var(--p-100);
}

.ins-shop .installment-qty__value {
    min-width: 32px;
    font-size: 13.5px;
    font-weight: 800;
}

.ins-shop .installment-cart__empty {
    padding: 26px 8px 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    gap: 4px;
}

.ins-shop .installment-cart__empty small {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #9a92a0;
}

.ins-shop .installment-cart__empty-icon {
    width: 76px;
    height: 76px;
    padding: 18px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--p-50);
    color: var(--p-300);
}

/* الكوبون */
.ins-shop .installment-coupon {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed var(--p-200);
    border-radius: var(--radius-sm);
    background: var(--p-50);
}

.ins-shop .installment-coupon:has(.installment-coupon__applied) {
    padding: 0;
    border: 0;
    background: none;
}

.ins-shop .installment-coupon__toggle-label {
    justify-content: space-between;
    font-size: 13px;
}

.ins-shop .installment-coupon__toggle-label::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 11px;
    transition: transform .2s ease;
}

.ins-shop .installment-coupon__toggle[open] .installment-coupon__toggle-label::after {
    transform: rotate(180deg);
}

.ins-shop .installment-coupon__toggle-label span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ins-shop .installment-coupon__form input.form-control {
    height: 40px !important;
    border-radius: 10px;
    border-color: var(--line);
    font-size: 13px;
    text-transform: uppercase;
}

.ins-shop .installment-coupon__form .installment-btn-outline {
    width: auto;
    margin: 0;
    height: 40px;
    border-radius: 10px;
    background: var(--p);
    color: #fff;
    border: 0;
}

.ins-shop .installment-coupon__applied {
    border-radius: var(--radius-sm);
}

.ins-shop .installment-coupon__remove {
    margin: 0;
}

/* خيارات التقسيط (تابي/إمكان/تمام) - قسم مطوي بشعارات الشركات بدل بطاقات طويلة دائمة */
.ins-plans {
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
}

.ins-plans__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    transition: background .2s ease;
}

.ins-plans__summary::-webkit-details-marker {
    display: none;
}

.ins-plans__summary:hover {
    background: var(--p-50);
}

.ins-plans__logos {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ins-plans__logos img {
    width: 38px;
    height: 24px;
    padding: 3px 4px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.ins-plans__logos img + img {
    margin-inline-start: -6px;
}

.ins-plans__text {
    flex: 1 1 auto;
    min-width: 0;
}

.ins-plans__chev {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--muted);
    transition: transform .2s ease;
}

.ins-plans[open] .ins-plans__chev {
    transform: rotate(180deg);
}

.ins-plans__body {
    padding: 0 12px 12px;
}

.ins-plans__body .installment-tabby-promo {
    margin-top: 0;
}

/* ملخص التكلفة (داخل الذيل الثابت) */
.ins-shop .installment-cart__breakdown {
    margin: 0 0 8px;
    padding-top: 0;
    border-top: 0;
    gap: 6px;
}

.ins-shop .installment-cart__breakdown-row span {
    font-size: 13.5px;
    color: var(--muted);
}

.ins-shop .installment-cart__breakdown-row span:last-child {
    color: var(--ink);
    font-weight: 700;
}

.ins-shop .installment-cart__breakdown-row--discount span:last-child {
    color: var(--ok);
}

.ins-shop .installment-cart__total {
    margin-top: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--p-50), #fff);
    box-shadow: inset 0 0 0 1px var(--p-100);
}

.ins-shop .installment-cart__total span {
    font-size: 14px;
    color: var(--ink-2);
}

.ins-shop .installment-cart__total strong {
    font-size: 20px;
    color: var(--p);
    font-weight: 800;
}

.ins-shop .ins-checkout-btn {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 12px 22px -10px rgba(103, 7, 86, .7);
    transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
}

.ins-shop .ins-checkout-btn:hover {
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 16px 26px -10px rgba(103, 7, 86, .75);
}

.ins-shop .ins-checkout-btn:active {
    transform: scale(.98);
}

.ins-shop .ins-checkout-btn i {
    transition: transform .2s ease;
}

.ins-shop .ins-checkout-btn:hover i {
    transform: translateX(-4px);
}

.ins-shop .ins-checkout-btn.is-disabled {
    background: #f1eff2;
    color: #a39ca8;
    box-shadow: none;
    pointer-events: none;
}

.ins-shop .installment-cart__trust {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.ins-shop .installment-cart__trust i {
    color: var(--ok);
}

.ins-shop .installment-provider-promo-card {
    border-color: var(--line);
    box-shadow: none;
    border-radius: var(--radius-sm);
}

/* ===== نافذة السلة (جوال) ===== */
.ins-shop #installment-cart-modal .modal-content {
    border: 0;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ins-shop #installment-cart-modal .modal-header {
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--line) !important;
}

.ins-shop #installment-cart-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: var(--ink);
}

.ins-shop #installment-cart-modal .modal-title i {
    color: var(--p);
}

.ins-shop #installment-cart-modal .btn-close {
    width: 32px;
    height: 32px;
    margin: 0;
    margin-inline-start: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #f5f1f4;
    background-size: 10px;
    opacity: 1;
}

/* ===== الإشعارات (بدل alert) =====
   بطاقة فاتحة بهوية الموقع (بدل الشريط الداكن): صورة المنتج + علامة نجاح + "عرض السلة".
   سطح المكتب: أعلى اليسار تحت أيقونة السلة بشريط الأدوات (مصدر الحدث بصريًا).
   الجوال: أعلى الشاشة بالعرض، فلا تغطّي شريط السلة والزر "التالي" بالأسفل. */
.ins-toasts {
    position: fixed;
    top: calc(var(--header-h, 112px) + 4px);
    left: 24px;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(380px, calc(100vw - 24px));
    pointer-events: none;
}

.ins-toast {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 48px -16px rgba(27, 18, 32, .28), 0 2px 6px rgba(27, 18, 32, .06);
    color: var(--ink);
    overflow: hidden;
    animation: ins-toast-in .4s var(--ease) both;
}

.ins-toast.is-leaving {
    animation: ins-toast-out .25s ease forwards;
}

.ins-toast__media {
    position: relative;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    padding: 5px;
    border-radius: 14px;
    background: var(--p-50);
    box-shadow: inset 0 0 0 1px var(--p-100);
}

.ins-toast__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ins-toast__media--icon {
    display: grid;
    place-items: center;
    color: var(--p);
    font-size: 24px;
}

.ins-toast__badge {
    position: absolute;
    bottom: -5px;
    inset-inline-end: -5px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    animation: ins-pop .45s .15s var(--ease) both;
}

.ins-toast__text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    padding-top: 2px;
}

.ins-toast__title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--ok);
}

.ins-toast__sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.ins-shop .ins-toast__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 8px 0 0;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 12px -6px rgba(103, 7, 86, .6);
    transition: filter .2s ease;
}

.ins-shop .ins-toast__action:hover {
    filter: brightness(1.1);
}

.ins-shop .ins-toast__close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #a39ca8;
    font-size: 12px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ins-shop .ins-toast__close:hover {
    background: #f5f1f4;
    color: var(--ink);
}

/* شريط الوقت المتبقي: ينكمش حتى الإغلاق، ويتوقّف عند مرور الماوس */
.ins-toast__progress {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform-origin: right;
    animation: ins-toast-progress var(--dur, 4000ms) linear forwards;
}

.ins-toast:hover .ins-toast__progress {
    animation-play-state: paused;
}

.ins-toast--error .ins-toast__title {
    color: var(--danger);
}

.ins-toast--error .ins-toast__media {
    background: var(--danger-bg);
    box-shadow: inset 0 0 0 1px #fecdca;
    color: var(--danger);
}

.ins-toast--error .ins-toast__progress {
    background: #ef4444;
}

@keyframes ins-toast-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@keyframes ins-pop {
    from {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@keyframes ins-toast-in {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ins-toast-out {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(.97);
    }
}

/* رسائل الجلسة */
.ins-shop .alert {
    border: 0;
    border-radius: var(--radius);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== التابلت ===== */
@media (max-width: 991px) {
    .ins-shop .installment-cart {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .ins-shop .installment-cart .ins-cart__scroll {
        overflow: visible;
    }

    .ins-shop .installment-cart .ins-cart__footer {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

/* نافذة السلة (جوال): هيكل flex صريح بدل الاعتماد على modal-dialog-scrollable -
   رأس ثابت + قائمة المنتجات وحدها تتمرّر + ذيل (الإجمالي والمتابعة) ثابت خارج منطقة
   التمرير. سابقًا كان الذيل ملتصقًا داخل منطقة التمرير نفسها فيغطّي آخر المنتجات. */
.ins-shop #installment-cart-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
}

.ins-shop #installment-cart-modal .modal-header {
    flex: 0 0 auto;
}

.ins-shop #installment-cart-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.ins-shop #installment-cart-modal .js-cart-lines {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ins-shop #installment-cart-modal .ins-cart__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ins-shop #installment-cart-modal .ins-cart__footer {
    flex: 0 0 auto;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

/* ===== الجوال ===== */
@media (max-width: 767px) {
    .ins-shop {
        padding-bottom: 104px;
    }

    .ins-shop .installment-utility-bar__link {
        padding: 6px 10px;
    }

    .ins-shop .installment-hero-image {
        border-radius: 18px;
        margin-bottom: 14px;
    }

    .ins-features {
        gap: 8px;
        margin-bottom: 16px;
    }

    .ins-feature {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 14px 8px;
    }

    .ins-feature__icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 12px;
    }

    .ins-feature__title {
        font-size: 12.5px;
        line-height: 1.4;
    }

    .ins-feature__text {
        display: none;
    }

    .ins-shop .installment-stepper {
        padding: 14px 10px 12px;
        margin-bottom: 16px;
    }

    .ins-shop .installment-stepper__item {
        font-size: 10.5px;
    }

    .ins-shop .installment-stepper__connector {
        margin-top: 15px;
    }

    .ins-toolbar {
        padding: 10px;
        border-radius: 18px;
        margin-bottom: 16px;
    }

    .ins-search {
        padding-inline-start: 14px;
    }

    .ins-shop .ins-search input.ins-search__input[type="search"] {
        height: 38px;
        font-size: 14px;
    }

    .ins-shop .ins-search__btn {
        height: 38px;
        width: 38px;
        padding: 0;
        justify-content: center;
    }

    .ins-search__btn-text {
        display: none;
    }

    .ins-shop .installment-categories__item {
        padding: 7px 13px;
        font-size: 12.5px;
    }

    .ins-shop .installment-results-head {
        flex-direction: column;
        align-items: stretch;
    }

    .ins-shop .installment-results-head__title {
        font-size: 16.5px;
    }

    .ins-sort {
        display: flex;
    }

    .ins-sort__item {
        flex: 1 1 0;
        text-align: center;
        padding: 7px 6px;
        font-size: 12px;
    }

    .ins-shop .installment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ins-shop .installment-card {
        border-radius: 18px;
    }

    .ins-shop .installment-card:hover {
        transform: none;
        box-shadow: var(--shadow-xs);
    }

    .ins-shop .installment-card:hover .installment-card__image img {
        transform: none;
    }

    .ins-shop .installment-card__image {
        padding: 12px;
    }

    .ins-shop .installment-card__badge {
        top: 8px;
        inset-inline-start: 8px;
        font-size: 10px;
        padding: 3px 8px;
    }

    .ins-shop .installment-card__body {
        padding: 10px 10px 12px;
        gap: 4px;
    }

    .ins-shop .installment-card__name {
        font-size: 13px;
    }

    .ins-shop .installment-prices__plan {
        font-size: 17px;
    }

    .ins-price__tag {
        font-size: 10px;
        padding: 2px 7px;
    }

    .ins-shop .installment-add .ins-add-btn {
        height: 40px;
        font-size: 13px;
    }

    .ins-shop .installment-variant-pill {
        font-size: 10.5px;
        padding: 7px 4px;
    }

    /* display:flex على بطاقة السلة يتغلّب على إخفائها بالجوال في الملف الأساسي - نعيده هنا */
    .ins-shop .installment-cart-aside .installment-cart {
        display: none;
    }

    /* شريط السلة السفلي: بعرض الشاشة كاملًا (كان مضغوطًا يمينًا لترك مكان لواتساب فكان
       زر "التالي" يُقصّ). زر واتساب العائم يُرفع فوق الشريط بدلًا من ذلك (انظر أدناه). */
    .ins-shop .installment-cart-bar {
        left: 0;
        right: 0;
        bottom: 0;
        gap: 12px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 20px 20px 0 0;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -10px 30px -12px rgba(27, 18, 32, .28);
    }

    .ins-shop .installment-cart-bar__info {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        margin: 0;
        gap: 10px;
    }

    .ins-shop .installment-cart-bar__thumb {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: var(--p-50);
    }

    .ins-shop .installment-cart-bar__thumbs .installment-cart-bar__thumb:not(:first-child) {
        margin-inline-start: -14px;
    }

    .ins-shop .installment-cart-bar__thumb--more {
        background: var(--ink-2);
        font-size: 11.5px;
    }

    .ins-shop .installment-cart-bar__total {
        display: block;
        font-size: 16px;
        font-weight: 800;
        color: var(--ink);
        white-space: nowrap;
    }

    .ins-shop .installment-cart-bar__label {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--p);
        font-size: 12px;
        font-weight: 700;
    }

    .ins-shop .installment-cart-bar__label i {
        font-size: 10px;
    }

    .ins-shop .installment-cart-bar__info.is-empty {
        justify-content: center;
        cursor: default;
    }

    .ins-shop .installment-cart-bar__info.is-empty .installment-cart-bar__label {
        color: var(--muted);
        font-size: 13px;
    }

    .installment-cart-bar__empty-icon {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--p-50);
        color: var(--p);
        font-size: 16px;
    }

    /* زر "التالي": واضح وبحجم لمس مريح (48px) وعرض أدنى ثابت فلا يُقصّ أبدًا */
    .ins-shop .ins-bar-next {
        flex: 0 0 auto;
        min-width: 116px;
        height: 48px;
        padding: 0 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 14px;
        background: var(--grad);
        color: #fff;
        font-size: 15.5px;
        font-weight: 800;
        box-shadow: 0 10px 20px -8px rgba(103, 7, 86, .7);
        transition: transform .15s ease, filter .2s ease;
    }

    .ins-shop .ins-bar-next:hover,
    .ins-shop .ins-bar-next:focus {
        color: #fff;
    }

    .ins-shop .ins-bar-next:active {
        transform: scale(.97);
    }

    /* الجوال: أعلى الشاشة بالعرض الكامل - بعيدًا عن شريط السلة وزر "التالي" بالأسفل */
    .ins-toasts {
        top: calc(10px + env(safe-area-inset-top, 0px));
        left: 10px;
        right: 10px;
        width: auto;
    }

    .ins-toast {
        padding: 12px 12px 14px;
        border-radius: 16px;
    }

    .ins-toast__media {
        width: 50px;
        height: 50px;
    }
}

/* زر واتساب العائم (من القالب العام، خارج <main>): على جوال صفحة المتجر فقط يُرفع فوق
   شريط السلة السفلي بدل أن يغطّي زر "التالي"، ويُخفى أثناء فتح أي نافذة (كان يغطّي
   زر المتابعة داخل نافذة السلة لأن z-index له 10000). */
@media (max-width: 767px) {
    body:has(main.ins-shop) #whatsapp-button {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.modal-open:has(main.ins-shop) #whatsapp-button {
        display: none !important;
    }

    /* نافذة السلة كـ Bottom Sheet: تنزلق من الأسفل بعرض الشاشة، أسهل للإبهام */
    .ins-shop #installment-cart-modal .modal-dialog {
        margin: 0;
        max-width: none;
        min-height: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end;
    }

    .ins-shop #installment-cart-modal.fade .modal-dialog {
        transform: translateY(100%);
        transition: transform .32s var(--ease);
    }

    .ins-shop #installment-cart-modal.show .modal-dialog {
        transform: none;
    }

    .ins-shop #installment-cart-modal .modal-content {
        width: 100%;
        max-height: 88vh;
        max-height: 88dvh;
        border-radius: 24px 24px 0 0 !important;
    }

    /* مقبض السحب المرئي أعلى النافذة (إشارة بصرية أنها لوحة سفلية) */
    .ins-shop #installment-cart-modal .modal-header {
        position: relative;
        padding-top: 22px;
    }

    .ins-shop #installment-cart-modal .modal-header::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 40px;
        height: 4px;
        margin-left: -20px;
        border-radius: 999px;
        background: #ddd4da;
    }
}

@media (max-width: 380px) {
    .ins-sort__item {
        font-size: 11px;
    }

    .ins-shop .installment-prices__plan {
        font-size: 15.5px;
    }
}

/* ===== وضوح النصوص =====
   خط الموقع يُرسم رفيعًا عند عدم تحديد الوزن، فكانت النصوص الثانوية تبدو باهتة. */
.ins-shop {
    font-weight: 500;
}

.ins-feature__text,
.ins-price__label,
.ins-active-filters,
.ins-empty__text,
.ins-shop .installment-cart__info .meta,
.ins-shop .installment-cart__breakdown-row span,
.ins-shop .installment-cart__trust,
.ins-shop .installment-stepper__label {
    font-weight: 600;
    color: var(--muted);
}

.ins-shop .installment-stepper__item--current .installment-stepper__label {
    color: var(--p);
}

.ins-shop .installment-cart__breakdown-row span:last-child {
    color: var(--ink);
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .ins-shop *,
    .ins-shop *::before,
    .ins-shop *::after {
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
    }

    /* شريط وقت الإشعار هو مؤقّت إغلاقه وليس زخرفة - تقصيره كان سيغلق الإشعار فورًا */
    .ins-shop .ins-toasts .ins-toast__progress {
        animation-duration: var(--dur, 4000ms) !important;
    }
}
