/* IT Technology — ستايل صفحة المنتج وكروت المنتجات (طابع تقني: هاردوير / سوفتوير) */
:root {
    --it-ink: #132941;
    --it-text: #334155;
    --it-muted: #64748b;
    --it-line: #e3e9f1;
    --it-surface: #f6f8fb;
    --it-accent: #0176f9;
    --it-accent-2: #132941;
    /* ألوان التوفر: هادية ومريحة للعين */
    --it-in-bg: #e9f7ef;
    --it-in-text: #23774d;
    --it-in-line: #c4e8d3;
    --it-in-dot: #4cba82;
    --it-out-bg: #fdeeee;
    --it-out-text: #b14b48;
    --it-out-line: #f6cfcd;
    --it-out-dot: #e08a87;
    --it-mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

/* ---------- بادج التوفر ---------- */
.it-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

    .it-stock i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex: none;
    }

.it-stock--in {
    background: var(--it-in-bg);
    color: var(--it-in-text);
    border-color: var(--it-in-line);
}

    .it-stock--in i {
        background: var(--it-in-dot);
    }

.it-stock--out {
    background: var(--it-out-bg);
    color: var(--it-out-text);
    border-color: var(--it-out-line);
}

    .it-stock--out i {
        background: var(--it-out-dot);
    }

/* على الكارت: فوق الصورة */
.product-card .product-card__image {
    position: relative;
}

    .product-card .product-card__image > .it-stock {
        position: absolute;
        top: 10px;
        inset-inline-start: 10px;
        z-index: 2;
    }

/* ---------- كروت المنتجات ---------- */
.products-list .product-card,
.block-products-carousel .product-card {
    border: 1px solid var(--it-line);
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .products-list .product-card:hover,
    .block-products-carousel .product-card:hover {
        border-color: #b3d6fe;
        box-shadow: 0 10px 28px rgba(1, 118, 249, .14);
        transform: translateY(-2px);
    }

    .products-list .product-card .product-card__meta {
        font-family: var(--it-mono);
        font-size: 11px;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--it-accent);
    }

    .products-list .product-card .product-card__name a {
        color: var(--it-ink);
        font-weight: 500;
    }

        .products-list .product-card .product-card__name a:hover {
            color: var(--it-accent);
        }

    .products-list .product-card .product-card__price--current {
        color: var(--it-ink);
        font-weight: 700;
    }

    /* الوصف ظاهر على الكارت (القالب كان مخفيه في عرض الـ grid) */
    .products-list .product-card .product-card__features.it-card-desc {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        padding: 8px 16px 0;
        margin: 0;
        color: var(--it-muted);
        font-size: 13px;
        line-height: 1.65;
    }

/* ---------- صفحة المنتج ---------- */
.it-product .product__title {
    color: var(--it-ink);
    font-weight: 700;
    line-height: 1.35;
}

.it-product .product__card,
.it-product .product__info-card,
.it-product .product__tabs {
    border: 1px solid var(--it-line);
    border-radius: 14px;
    box-shadow: none;
}

.it-product .product__info-card {
    overflow: hidden;
}

    /* بادج Sale كان طالع بره الكارت (top سالب) فالـ overflow بيقصّه — ننزله جوه الكارت تحت الشريط الملوّن */
    .it-product .product__info-card .product__badge {
        top: 12px;
        left: 28px;
    }

    .it-product .product__info-card:has(.product__badge) .product__info-body {
        padding-top: 38px;
    }

    .it-product .product__info-card::before {
        content: "";
        display: block;
        height: 4px;
        background: linear-gradient(90deg, var(--it-accent), var(--it-accent-2));
    }

.it-product .product__prices-stock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.it-product .product__price--current {
    color: var(--it-ink);
    font-weight: 700;
}

.it-product .product__prices-stock .it-stock {
    font-size: 13px;
    padding: 6px 14px;
}

/* جدول البيانات السريعة كأنه spec sheet */
.it-product .product__meta table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--it-surface);
    border: 1px solid var(--it-line);
    border-radius: 10px;
    overflow: hidden;
}

.it-product .product__meta th,
.it-product .product__meta td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--it-line);
    vertical-align: middle;
}

.it-product .product__meta tr:last-child th,
.it-product .product__meta tr:last-child td {
    border-bottom: 0;
}

.it-product .product__meta th {
    width: 38%;
    color: var(--it-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.it-product .product__meta td {
    color: var(--it-ink);
    font-family: var(--it-mono);
    font-size: 13px;
}

.it-product .product__actions-item--addtocart .btn-primary {
    background: var(--it-accent);
    border-color: transparent;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

    .it-product .product__actions-item--addtocart .btn-primary:hover {
        background: var(--it-ink);
    }

.it-product .product-gallery__thumbnails-item {
    border-radius: 8px;
}

/* التابات + الوصف */
.it-product .product-tabs__list {
    padding: 0 12px;
    background: var(--it-surface);
    border-radius: 14px 14px 0 0;
}

.it-product .product-tabs__item a {
    color: var(--it-muted);
    font-weight: 500;
}

.it-product .product-tabs__item--active a {
    color: var(--it-accent);
}

.it-product .product-tabs__content {
    border-top-color: var(--it-line);
}

.it-product .product-tabs__pane--active {
    padding: 32px 40px 40px;
}

.it-product .it-desc {
    max-width: none;
    color: var(--it-text);
    font-size: 15.5px;
    line-height: 1.95;
}

    /* الوصف الكامل (مش المختصر) كله bold، حتى لو جواه تاجات من المحرر */
    .it-product .it-desc,
    .it-product .it-desc * {
        font-weight: 700;
    }

    .it-product .it-desc p {
        margin: 0;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .it-product .it-desc img,
    .it-product .it-desc table {
        max-width: 100%;
        height: auto;
    }

.it-product .spec__row {
    border-color: var(--it-line);
}

.it-product .spec__value {
    font-family: var(--it-mono);
    font-size: 13px;
    color: var(--it-ink);
}

/* توسيع الوصف: التابات بعرض الصفحة كله بدل ما تبقى محشورة جنب كارت السعر */
@media (min-width: 1200px) {
    .it-product.product--layout--sidebar .product__info {
        grid-row: 1 / 3;
    }

    .it-product.product--layout--sidebar .product__tabs {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

@media (max-width: 767.98px) {
    .it-product .product-tabs__pane--active {
        padding: 20px 18px 26px;
    }

    .it-product .it-desc {
        font-size: 14.5px;
        line-height: 1.85;
    }
}

/* ---------- ألوان الهوية على باقي الموقع: #132941 (كحلي) + #0176f9 (أزرق) ---------- */
.btn-primary:hover {
    border-color: var(--it-ink);
    background: var(--it-ink);
}

.search__button--start {
    background-color: var(--it-accent);
    color: #fff;
    fill: #fff;
}

    .search__button--start:hover {
        background-color: #0160cc;
    }

    .search__button--start:active {
        background-color: #014fa8;
    }

/* الشريط التاني في الهيدر (المنيو) بنفس لون الفوتر */
.header__navbar {
    background: linear-gradient(135deg, var(--it-accent), var(--it-ink));
    border-top-color: transparent;
}

/* اللوجو لما يظهر بدل صورة بايظة (img-fallback.js): يظهر كامل وأصغر من غير قص — الصور العادية زي ما هي */
img.img-fallback-logo {
    box-sizing: border-box;
    padding: 12%;
    object-fit: scale-down !important;
}

.site-footer {
    background: linear-gradient(135deg, var(--it-accent), var(--it-ink));
    color: #b6c2d1;
}

.site-footer__bottom {
    background-color: #0e1f33;
    color: #b6c2d1;
}

/* =====================================================================
   الهيدر: شريط بحث دائري + إخفاء زرار Select Product + أيقونات أصغر
   ===================================================================== */
/* الزرار مخفي بالـ CSS بس (عدّاد المقارنة countcomparison جواه ولسه الكود بيستخدمه) */
.search__button--start,
.search__dropdown--vehicle-picker,
.search__decor {
    display: none !important;
}

.search__body {
    height: 44px;
    max-width: 620px;
}

.search__input {
    border: 1px solid var(--it-line);
    border-radius: 999px;
    background-color: #f3f6fa;
    padding-inline: 20px 52px;
    font-size: 14px;
}

    .search__input:hover {
        border-color: #cfdbe8;
    }

    .search__input:focus {
        background-color: #fff;
        border-color: var(--it-accent);
        box-shadow: 0 0 0 4px rgba(1, 118, 249, .12);
        outline: 0;
    }

.search__box,
.search__shadow {
    border-radius: 22px;
}

.search__button--end {
    top: 5px;
    inset-inline-end: 5px;
    inset-inline-start: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--it-accent);
    color: #fff;
    transition: background-color .2s;
}

    .search__button--end:hover {
        background: var(--it-ink);
        color: #fff;
    }

    /* الـ svg من غير viewBox فالتصغير بالـ scale مش بالـ width */
    .search__button--end svg {
        transform: scale(.72);
    }

.indicator__icon svg {
    transform: scale(.82);
}

.departments__button {
    border-radius: 10px;
}

.mobile-search__input {
    border-radius: 999px;
}

/* =====================================================================
   كارت المنتج (الشكل من برّه)
   ===================================================================== */
body {
    background: #f5f7fa;
}

.product-card,
.products-list .product-card,
.block-products-carousel .product-card {
    border: 1px solid var(--it-line);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .product-card:hover,
    .products-list .product-card:hover,
    .block-products-carousel .product-card:hover {
        border-color: #b3d6fe;
        box-shadow: 0 14px 30px rgba(19, 41, 65, .10);
        transform: translateY(-3px);
    }

/* مساحة الصورة: بلاطة رمادي فاتح بحواف دائرية */
.product-card--layout--grid .product-card__image,
.products-list[data-layout=grid] .product-card .product-card__image {
    margin: 10px 10px 0;
    border-radius: 12px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-card .product-card__image .image__tag {
    mix-blend-mode: multiply;
    transition: transform .35s, opacity .2s;
}

.product-card:hover .product-card__image .image__tag {
    transform: scale(1.05);
}

/* المنتج غير المتوفر: الصورة باهتة شوية */
.product-card:has(.it-stock--out) .product-card__image .image__tag {
    opacity: .55;
    filter: grayscale(.6);
}

/* بادج التوفر تحت في الصورة (فوق كان بيركب على بادج الحالة) */
.product-card .product-card__image > .it-stock {
    top: auto;
    bottom: 10px;
}

.products-list[data-layout=table] .product-card .product-card__image > .it-stock,
.products-list[data-layout=list] .product-card .product-card__image > .it-stock {
    position: static;
    margin-top: 6px;
}

.product-card .product-card__fit {
    display: none;
}

/* بادج الحالة (New / Used) كبسولة كحلي */
.product-card .tag-badge {
    height: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--it-ink);
    color: #fff;
    font-size: 10px;
    letter-spacing: .06em;
}

    .product-card .tag-badge:before {
        display: none;
    }

.product-card .product-card__meta {
    font-family: var(--it-mono);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--it-accent);
}

.product-card--layout--grid .product-card__name,
.products-list[data-layout=grid] .product-card .product-card__name {
    font-size: 15px;
    line-height: 1.4;
}

    .product-card--layout--grid .product-card__name a,
    .products-list[data-layout=grid] .product-card .product-card__name a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        min-height: 2.8em;
        color: var(--it-ink);
        font-weight: 600;
    }

.product-card .product-card__name a:hover {
    color: var(--it-accent);
}

.product-card--layout--grid .product-card__footer,
.products-list[data-layout=grid] .product-card .product-card__footer {
    margin-top: 10px;
    padding: 12px 14px 14px;
    border-top: 1px dashed var(--it-line);
}

.product-card .product-card__price--current {
    color: var(--it-accent);
    font-size: 18px;
    font-weight: 700;
}

/* زرار السلة: مربع أزرق ظاهر دايمًا */
.product-card .product-card__addtocart-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    background: var(--it-accent);
    color: #fff;
    box-shadow: 0 6px 14px rgba(1, 118, 249, .28);
    transition: background-color .2s, transform .15s;
}

    .product-card .product-card__addtocart-icon:before {
        display: none;
    }

    .product-card .product-card__addtocart-icon:hover {
        background: var(--it-ink);
        color: #fff;
    }

    .product-card .product-card__addtocart-icon:active {
        transform: scale(.94);
    }

    .product-card .product-card__addtocart-icon svg {
        transform: scale(.85);
    }

/* زرار المفضلة: دايرة بيضا عايمة */
.product-card--layout--grid .product-card__action,
.products-list[data-layout=grid] .product-card .product-card__action {
    margin: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(19, 41, 65, .14);
}

/* =====================================================================
   الصفحة الرئيسية: السلايدر + عناوين الأقسام + البانرات
   ===================================================================== */
.block-slideshow {
    margin-top: 18px;
}

.block-slideshow__item {
    border-radius: 22px;
}

.block-slideshow__item-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    border-radius: 999px;
    background: #fff;
    color: var(--it-ink);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(19, 41, 65, .22);
}

    .block-slideshow__item-button:hover,
    .block-slideshow__item-button:active {
        background: var(--it-accent);
        color: #fff;
    }

.block-slideshow__carousel .owl-carousel button.owl-dot:before {
    border-radius: 999px;
    transition: width .25s, background-color .25s;
}

/* عنوان القسم: شرطة زرقا + خط أكبر + أسهم مربعة بحواف دائرية */
.section-header__body {
    align-items: center;
    margin-bottom: 22px;
}

.section-header__title {
    top: 0;
    padding-inline-start: 14px;
    color: var(--it-ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.01em;
}

    .section-header__title:before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 4px;
        bottom: 4px;
        width: 4px;
        border-radius: 4px;
        background: var(--it-accent);
    }

.section-header__divider {
    height: 1px;
    margin-top: 14px;
    background: var(--it-line);
}

.section-header .arrow__button {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
}

    .section-header .arrow__button:before {
        left: 0;
        width: 100%;
        border-radius: 10px;
        transform: none;
    }

.section-header__arrow--next {
    margin-inline-start: 6px;
}

.block-banners__item {
    border-radius: 18px;
}

    .block-banners__item .block-banners__item-image img {
        transition: transform .5s;
    }

    .block-banners__item:hover .block-banners__item-image img {
        transform: scale(1.04);
    }

.block-banners__item-button.btn {
    border-radius: 999px;
    padding-inline: 18px;
}

.block-posts-carousel .post-card,
.block-products-columns .product-card {
    border-radius: 14px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .block-slideshow__item {
        border-radius: 16px;
    }

    .section-header__title {
        font-size: 20px;
    }
}

/* =====================================================================
   it-card — كارت المنتج الجديد (ماركب مستقل عن كارت القالب القديم)
   الترتيب: البراند + المفضلة ← الاسم ← النجوم ← الصورة ← السعر + زرار السلة
   ===================================================================== */
.it-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--it-line);
    border-radius: 18px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .it-card:hover {
        border-color: #b3d6fe;
        box-shadow: 0 16px 34px rgba(19, 41, 65, .10);
        transform: translateY(-3px);
    }

    .it-card a,
    .it-card a:hover {
        text-decoration: none;
    }

.products-list__item > .it-card {
    flex-grow: 1;
}

/* ترتيب الكارت: البراند ← الصورة ← اسم المنتج تحتها ← الوصف ← السعر */
.it-card__top {
    order: -2;
}

.it-card__media {
    order: -1;
}

.it-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
}

.it-card__brand {
    max-width: calc(100% - 40px);
    padding: 3px 9px;
    border-radius: 6px;
    background: #eaf3ff;
    color: var(--it-accent);
    font-family: var(--it-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .it-card__brand:empty {
        visibility: hidden;
    }

.it-card__fav {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f6fa;
    color: #c0cad6;
    transition: background-color .2s, color .2s;
}

    .it-card__fav svg {
        fill: currentColor;
    }

    .it-card__fav:hover,
    .it-card__fav--on {
        background: #fdeeee;
        color: #e0484a;
    }

/* العنوان كامل من غير قص */
.it-card__name {
    display: block;
    overflow-wrap: anywhere;
    min-height: 2.8em;
    margin-top: 10px;
    color: var(--it-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

    .it-card__name:hover {
        color: var(--it-accent);
    }

.it-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-top: 6px;
    color: #d5dce5;
    font-size: 15px;
    line-height: 1;
}

    .it-stars .on {
        color: #f5a524;
    }

    .it-stars b {
        margin-inline-start: 6px;
        color: var(--it-muted);
        font-size: 12px;
        font-weight: 600;
    }

.it-card__media {
    position: relative;
    display: block;
    margin-top: 12px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: #f1f5f9;
    overflow: hidden;
}

    .it-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        padding: 10px;
        object-fit: contain;
        mix-blend-mode: multiply;
        transition: transform .35s, opacity .2s;
    }

.it-card:hover .it-card__media img {
    transform: scale(1.05);
}

.it-card--out .it-card__media img {
    opacity: .55;
    filter: grayscale(.6);
}

.it-card__media .it-stock {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
}

.it-card__tags {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.it-tag {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--it-ink);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.it-tag--sale {
    background: #e0484a;
}

/* الوصف: كامل من غير قص، كل سطر نقطة، والكلام على الشمال. بياخد المساحة الفاضية عشان الفوتر يفضل تحت والكروت متساوية */
.it-card__desc,
.it-rel__desc {
    flex-grow: 1;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    color: #000000;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
}

    .it-card__desc li,
    .it-rel__desc li {
        position: relative;
        padding-left: 14px;
    }

        .it-card__desc li + li,
        .it-rel__desc li + li {
            margin-top: 3px;
        }

        .it-card__desc li::before,
        .it-rel__desc li::before {
            content: "";
            position: absolute;
            left: 1px;
            top: .62em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--it-accent);
        }

/* كروت السلايدر كلها بنفس الطول (أطول كارت في الصف) */
.block-products-carousel .owl-carousel .owl-stage {
    display: flex;
}

.block-products-carousel .owl-carousel .owl-item {
    display: flex;
    flex-shrink: 0;
}

/* ---------- Related Products في صفحة المنتج: أعمدة ثابتة عشان كل الصفوف تبقى على خط واحد ---------- */
.it-related .product-card__name a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.it-related .product-card .product-card__features.it-rel__desc {
    display: block;
    margin: 0;
    font-size: 13px;
}

@media (min-width: 1200px) {
    .it-related.products-list[data-layout=table] .product-card .product-card__info {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.5fr) 120px;
        align-items: center;
        padding: 0;
    }

        .it-related.products-list[data-layout=table] .product-card .product-card__info > * {
            align-self: stretch;
            width: auto;
            margin: 0;
            padding: 0 16px;
            border-left: 0;
        }

        .it-related.products-list[data-layout=table] .product-card .product-card__info > * + * {
            border-left: 1px solid var(--it-line);
        }

    .it-related.products-list[data-layout=table] .product-card .product-card__name {
        display: flex;
        align-items: center;
    }

    .it-related.products-list[data-layout=table] .product-card .product-card__features.it-rel__desc {
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 3;
    }

    /* التقييم آخر عمود قبل السعر، تحت عنوان Rating بالظبط */
    .it-related.products-list[data-layout=table] .product-card .product-card__rating {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--it-line);
    }

    .it-related.products-list[data-layout=table] .products-list__column--meta {
        width: 110px;
    }

    .it-related.products-list[data-layout=table] .products-list__column--rating {
        width: 120px;
    }
}

.it-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--it-line);
}

.it-card__desc + .it-card__foot {
    margin-top: 12px;
}

.it-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .it-price strong {
        color: var(--it-ink);
        font-size: 19px;
        font-weight: 700;
        line-height: 1.2;
    }

    .it-price small {
        color: var(--it-muted);
        font-size: 12px;
        font-weight: 600;
    }

    /* السعر قبل الخصم: تحت السعر بالأحمر */
    .it-price del {
        margin-top: 2px;
        color: #d9484a;
        font-size: 13px;
    }

.it-card__cart {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    /* ميكس اللونين: أزرق → كحلي */
    background: linear-gradient(135deg, var(--it-accent), var(--it-ink));
    color: #fff;
    box-shadow: 0 6px 12px rgba(1, 118, 249, .22);
    transition: box-shadow .2s, transform .15s, filter .2s;
}

    .it-card__cart svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .it-card__cart:hover {
        color: #fff;
        filter: brightness(1.12);
        box-shadow: 0 8px 16px rgba(1, 118, 249, .34);
    }

    .it-card__cart:active {
        transform: scale(.94);
    }

/* الكارت الجديد شكله واحد، فأزرار تبديل العرض (grid / list / table) ملهاش لازمة */
.view-options__layout {
    display: none;
}

@media (max-width: 575.98px) {
    .it-card {
        padding: 10px;
        border-radius: 14px;
    }

    .it-card__name {
        font-size: 13.5px;
    }

    .it-price strong {
        font-size: 16px;
    }

    .it-card__cart {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .it-card__media .it-stock {
        font-size: 10.5px;
        padding: 3px 8px;
    }
}
