.font-primary {
    font-family: var(--font-main) !important;
}
html:not(.theme-light) body.color-mode-dark .font-primary { color: #ffffff; }

@media (min-width: 768px) {
    .tabs .tab-trigger {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    html:not(.theme-light) body.color-mode-dark .tabs .tab-trigger { color: #ffffff; }
}


html:not(.theme-light) body.color-mode-dark,
html:not(.theme-light) body.color-mode-dark .app-inner,
html:not(.theme-light) body.color-mode-dark .main-content,
html:not(.theme-light) body.color-mode-dark .product-availablity {
  color: #ffffff !important;
}

html:not(.theme-light) body.color-mode-dark strong,
html:not(.theme-light) body.color-mode-dark b,
html:not(.theme-light) body.color-mode-dark .product__description *,
html:not(.theme-light) body.color-mode-dark .tabs__product *:not(button):not(a),
html:not(.theme-light) body.color-mode-dark .s-product-card-content *,
html:not(.theme-light) body.color-mode-dark [style*="color:#000"],
html:not(.theme-light) body.color-mode-dark [style*="color: #000"],
html:not(.theme-light) body.color-mode-dark [style*="color:black"] {
  color: #f2f2f2 !important;
}
html:not(.theme-light) body.color-mode-dark strong.text-green-500 { color: #22c55e !important; }

html:not(.theme-light) .angel-ad,
html:not(.theme-light) .angel-ad * { color: #000000 !important; }

html:not(.theme-light) body.color-mode-dark .s-button-primary,
html:not(.theme-light) body.color-mode-dark .s-button-primary .s-button-text,
html:not(.theme-light) body.color-mode-dark .s-button-solid,
html:not(.theme-light) body.color-mode-dark .s-button-solid .s-button-text,
html:not(.theme-light) body.color-mode-dark .btn__text,
html:not(.theme-light) body.color-mode-dark .s-cart-summary-count,
html:not(.theme-light) body.color-mode-dark .tab-trigger.description-tab,
html:not(.theme-light) body.color-mode-dark .tab-trigger.reveiws-tab,
html:not(.theme-light) body.color-mode-dark a[style*="background-color:#fafafa"] {
  color: #0f0f0f !important;
}

html:not(.theme-light) body.color-mode-dark .text-gray-500,
html:not(.theme-light) body.color-mode-dark .da-ts { color: #d4d4d4 !important; }

html:not(.theme-light) body.color-mode-dark .bg-white:not(.header-inner):not(.angel-ad) {
  background-color: #0f0f0f !important;
  color: #ffffff !important;
}

.thanks-item{
    background:#fff;
    padding: 10px;
    border-radius: 15px;
}
.thanks-item *{
    color: #000 !important;
}

/* Scale Zone / Vondera - category row: same-size product cut-outs */
section[component-id="218415399"] .box-img { background:#f5f5f5; border-radius:16px; padding:12px 8px; }
section[component-id="218415399"] img { height:150px !important; width:100% !important; object-fit:contain !important; }
@media (max-width: 767px) {
  section[component-id="218415399"] img { height:110px !important; }
}

/* Scale Zone / Vondera - Light mode brand colours (store brand colour #fafafa is near-white) */
html.theme-light {
  --color-primary: #111111 !important;
  --color-primary-dark: #000000 !important;
  --color-primary-light: #333333 !important;
  --color-primary-reverse: #ffffff !important;
  --text-btn: #ffffff !important;
}

/* Scale Zone / Vondera - readable section subtitles in light mode */
html.theme-light .s-block__title p { color: #5b5b5b !important; }

/* Scale Zone / Vondera - polished product descriptions (light mode) */
html.theme-light .product__description{font-size:15px;line-height:1.9;color:#2b2b2b}
html.theme-light .product__description *{color:inherit !important;background-color:transparent !important;font-family:inherit !important}
html.theme-light .product__description p{margin:0 0 12px}
html.theme-light .product__description strong,html.theme-light .product__description b{color:#111 !important;font-weight:700}
html.theme-light .product__description h1,html.theme-light .product__description h2,html.theme-light .product__description h3,html.theme-light .product__description h4{font-size:17px !important;font-weight:800;color:#111 !important;margin:22px 0 12px;padding:10px 14px;background:#fffaf0 !important;border-inline-start:4px solid #c99a2e;border-radius:10px;line-height:1.5}
html.theme-light .product__description ul{list-style:none !important;padding:0 !important;margin:0 0 16px}
html.theme-light .product__description ul li{position:relative;padding:8px 34px 8px 12px;margin:6px 0;background:#fafafa !important;border-radius:10px;list-style:none !important}
html.theme-light .product__description ul li::before{content:"✓";position:absolute;right:10px;top:9px;width:18px;height:18px;border-radius:50%;background:#c99a2e;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
html.theme-light .product__description ol{list-style:none !important;counter-reset:mvstep;padding:0 !important;margin:0 0 16px}
html.theme-light .product__description ol li{counter-increment:mvstep;position:relative;padding:12px 50px 12px 14px;margin:8px 0;border:1px solid #eee3c8;background:#fff !important;border-radius:12px;list-style:none !important}
html.theme-light .product__description ol li::before{content:counter(mvstep);position:absolute;right:12px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#f6d77a,#c99a2e);color:#111;font-weight:800;font-size:14px;line-height:28px;text-align:center}
html.theme-light .product__description img{max-width:100%;height:auto;border-radius:12px;margin:10px 0}
html.theme-light .product__description table{width:100%;border-collapse:collapse;margin:10px 0 16px;font-size:14px}
html.theme-light .product__description td,html.theme-light .product__description th{border:1px solid #eee;padding:8px 10px}
html.theme-light .product__description hr{border:0;border-top:1px dashed #e3d5b0;margin:18px 0}

/* Scale Zone / Vondera - wholesale banner (square image) */
.mv-ws-banner{max-width:600px;margin-inline:auto !important}
.mv-ws-banner img{border-radius:16px}

/* Scale Zone / Vondera - hover fixes (primary bg turns black, keep icons readable) */
.faq-container:hover .faq-item,.faq-container input:checked + .faqs-list__item .faq-item{color:#fff !important}
.faq-container:hover .faqs-list__item{border-color:#c99a2e !important}
.s-social-link:hover a,.s-social-link:hover a *{color:#fff !important;fill:#fff !important}
.filters-trigger:hover,.filters-trigger:hover *{color:#fff !important}

/* Scale Zone / Vondera - review cards redesign (professional + animated) */
.s-block--testimonials{background:linear-gradient(180deg,#fffaf0 0%,#ffffff 75%);border-radius:20px}
.s-block--testimonials .s-slider-block__title h2{font-weight:800}
.s-block--testimonials .swiper-slide{padding-top:46px !important}
.s-block--testimonials .swiper-slide>div{position:relative;background:#fff !important;border:1px solid #eee3c8;border-radius:18px !important;box-shadow:0 8px 24px rgba(17,17,17,.06);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.s-block--testimonials .swiper-slide>div::before{content:"";position:absolute;top:0;right:0;left:0;height:4px;border-radius:18px 18px 0 0;background:linear-gradient(90deg,#f6d77a,#c99a2e,#f6d77a);background-size:200% 100%;animation:mvShine 3s linear infinite}
.s-block--testimonials .swiper-slide>div:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(201,154,46,.22)}
.s-block--testimonials .testimonial__avatar{width:78px !important;height:78px !important;padding:3px;background:linear-gradient(135deg,#f6d77a,#c99a2e) !important;box-shadow:0 6px 18px rgba(201,154,46,.35)}
.s-block--testimonials .testimonial__avatar img{border-radius:50%;border:3px solid #fff;background:#fff}
.s-block--testimonials .mv-initial{width:100%;height:100%;border-radius:50%;border:3px solid #fff;background:#111;color:#E0B84C;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;line-height:1}
.s-block--testimonials .testimonial__avatar + p{font-weight:800;color:#111 !important}
.s-block--testimonials .testimonial__rating{display:flex;flex-direction:column;align-items:center}
.s-block--testimonials .testimonial__rating::after{content:"✔ عميل موثّق";margin-top:8px;font-size:11.5px;font-weight:700;color:#16a34a;background:#ecfdf3;border:1px solid #bbf7d0;border-radius:999px;padding:2px 10px}
.s-block--testimonials .swiper-slide>div p.text-base{margin:4px 0 0}
.s-block--testimonials .testimonial__icon{color:#c99a2e !important;opacity:.28 !important}
.s-block--testimonials .swiper-slide-visible>div{animation:mvCardIn .7s cubic-bezier(.2,.8,.2,1) backwards}
.s-block--testimonials .swiper-slide-visible .s-rating-stars-btn-star{animation:mvStar .45s ease backwards}
.s-block--testimonials .swiper-slide-visible .s-rating-stars-btn-star:nth-child(2){animation-delay:.08s}
.s-block--testimonials .swiper-slide-visible .s-rating-stars-btn-star:nth-child(3){animation-delay:.16s}
.s-block--testimonials .swiper-slide-visible .s-rating-stars-btn-star:nth-child(4){animation-delay:.24s}
.s-block--testimonials .swiper-slide-visible .s-rating-stars-btn-star:nth-child(5){animation-delay:.32s}
@keyframes mvCardIn{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
@keyframes mvStar{from{opacity:0;transform:scale(.3) rotate(-40deg)}to{opacity:1;transform:none}}
@keyframes mvShine{from{background-position:0 0}to{background-position:200% 0}}
@media (prefers-reduced-motion: reduce){.s-block--testimonials *{animation:none !important;transition:none !important}}

/* Scale Zone / Vondera - offer box: keep the "most popular" tag on one line, clear of the 2-pack image */
.mv-opt .mv-tag{display:inline-block;white-space:nowrap;margin:2px 0}
.mv-opt .t{min-width:0}
.mv-dbl{margin-inline-end:4px}

/* Scale Zone / Vondera - B2B section polish */
.mv-b2b h2 b{display:block}
.mv-b2b-img img{object-position:center bottom}
@media (max-width:767px){.mv-b2b-img img{aspect-ratio:4/3 !important;object-position:center bottom}}

/* ===== Round 2 (2 Dec 2026): dark + muted gold identity ===== */
:root{--mv-bg:#0b0b0b;--mv-card:#151412;--mv-card2:#1c1a17;--mv-line:rgba(201,162,74,.28);--mv-gold:#c9a24a;--mv-gold2:#e6c878;--mv-txt:#f3ede0;--mv-sub:#b9b1a1}
.s-product-card-countdown,.s-block--bundle-personalized-shoppers-who-bought{display:none !important}

/* section titles: small twinkling gold star */
.s-block__title h2::before{content:"✦";display:inline-block;color:var(--mv-gold);font-size:.7em;margin-inline-end:8px;vertical-align:middle;animation:mvStar 3.2s ease-in-out infinite}
.s-block__title h2{color:var(--mv-txt) !important}
.s-block__title p{color:var(--mv-sub) !important}
@keyframes mvStar{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.15);text-shadow:0 0 10px rgba(230,200,120,.55)}}

/* category tiles */
section[component-id="218415399"] .box-img{background:radial-gradient(circle at 50% 38%,#2a241b,#131210 72%) !important;border:1px solid var(--mv-line);border-radius:16px}

/* product cards */
custom-salla-product-card,.s-product-card-entry{border-color:var(--mv-line) !important}
.s-product-card-image{background:#fff}

/* review cards */
.s-block--testimonials .swiper-slide>div{background:var(--mv-card) !important;border:1px solid var(--mv-line) !important;box-shadow:0 10px 26px rgba(0,0,0,.35) !important;color:var(--mv-txt)}
.s-block--testimonials .swiper-slide>div *{color:inherit}
.s-block--testimonials .testimonial__avatar img{border-color:var(--mv-card);background:var(--mv-card)}

/* my product-page / cart / popup components */
.mv-box,.mv-modal,.mv-cs,.mv-trust,.mv-rv-card,.mv-acc,.mv-pick,.mv-pkg,.mv-pen,.mv-addr,.mv-gift{background:var(--mv-card) !important;color:var(--mv-txt) !important;border-color:var(--mv-line) !important}
.mv-opt,.mv-cs-card,.mv-pkg-it,.mv-pkg-c,.mv-chip{background:var(--mv-card2) !important;color:var(--mv-txt) !important;border-color:rgba(255,255,255,.12) !important}
.mv-opt:hover,.mv-opt.on,.mv-pkg-c.on,.mv-chip.on{border-color:var(--mv-gold) !important;box-shadow:0 0 0 1px var(--mv-gold) inset}
:is(.mv-box,.mv-modal,.mv-cs,.mv-trust,.mv-rv-card,.mv-acc,.mv-pick,.mv-pkg,.mv-pen,.mv-addr,.mv-gift,.mv-opt,.mv-cs-card,.mv-pkg-it,.mv-pkg-c,.mv-chip) :is(p,span,small,li,strong,b,h3,h4,label,summary,em,div):not(.mv-tag):not([class*="gold"]){color:inherit}
:is(.mv-opt,.mv-cs-card,.mv-pkg-it,.mv-acc,.mv-trust) :is(small,del,s){color:var(--mv-sub) !important}
.mv-acc>summary{background:#1a1815 !important;color:var(--mv-txt) !important}
.mv-acc>summary::after{color:var(--mv-gold) !important}
.mv-trust i{background:var(--mv-gold) !important;color:#111 !important}
.mv-btn{background:linear-gradient(135deg,var(--mv-gold2),#b8923a) !important;color:#111 !important}
.mv-modal input,.mv-modal select,.mv-modal textarea{background:var(--mv-bg) !important;color:var(--mv-txt) !important;border-color:rgba(255,255,255,.16) !important}
.mv-modal .mv-x{color:var(--mv-txt) !important}
.mv-strip{background:linear-gradient(135deg,#f6d77a,#c99a2e) !important;color:#111 !important;font-weight:800 !important;border-bottom:0}
.mv-strip b{color:#111 !important;font-weight:900 !important}

/* salon / B2B block: soft starfield */
.mv-b2b-in{background:radial-gradient(1px 1px at 12% 22%,rgba(230,200,120,.7),transparent 60%),radial-gradient(1px 1px at 78% 14%,rgba(230,200,120,.6),transparent 60%),radial-gradient(1.5px 1.5px at 64% 70%,rgba(230,200,120,.5),transparent 60%),radial-gradient(1px 1px at 30% 82%,rgba(230,200,120,.55),transparent 60%),#121110 !important}

/* description + general text */
.product__description,.product__description *{color:var(--mv-txt)}
.product__description [style*="color"]{color:var(--mv-txt) !important;background-color:transparent !important}
.product__description [style*="120, 0, 0"]{color:var(--mv-gold2) !important}

@media(prefers-reduced-motion:reduce){.s-block__title h2::before{animation:none}}


/* Round 2b: gold primary in dark mode + dark reviews block */
html.dark{--color-primary:#c9a24a !important;--color-primary-dark:#a8832f !important;--color-primary-light:#e6c878 !important;--color-primary-reverse:#111111 !important;--text-btn:#111111 !important}
.s-block--testimonials{background:linear-gradient(180deg,#141210 0%,#0b0b0b 80%) !important;border:1px solid var(--mv-line)}
.s-block--testimonials .testimonial__rating::after{color:var(--mv-gold2) !important;background:rgba(201,162,74,.12) !important;border-color:rgba(201,162,74,.4) !important}
.s-block--testimonials .mv-initial{border-color:var(--mv-card) !important}

/* Round 2c: reserve the countdown strip height from first paint (stops the 39px page drop) */


/* Round 2d: outline buttons readable in every state (card add-to-cart was dark text on dark on hover) */
html.dark .s-button-primary-outline{color:var(--mv-gold2) !important;border-color:var(--mv-gold) !important}
html.dark .s-button-primary-outline:hover,html.dark .s-button-primary-outline:focus-visible,html.dark .s-button-primary-outline:active{background-color:var(--mv-gold) !important;color:#111 !important;fill:#111 !important}
html.dark .s-button-primary-outline:hover *{color:#111 !important}

/* Round 2e: concealer category shown in reverse (30 ml first), default sort only */
salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(1){order:12}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(2){order:11}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(3){order:10}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(4){order:9}
salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(5){order:8}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(6){order:7}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(7){order:6}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(8){order:5}
salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(9){order:4}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(10){order:3}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(11){order:2}salla-products-list[source-value="2114011039"][sort-by=""] .s-products-list-wrapper>:nth-child(12){order:1}
/* إخفاء شريط إعلان سلة في المتجر لأن شريط الصالون الذهبي ظاهر — يفضل ظاهر في صفحة الدفع */
.salla-advertisement{display:none !important}
/* خلفية الموقع الفخمة (ذهبي داكن) مع تدرج خفيف */
html{background:#0b0b0b !important}
html.dark body.color-mode-dark,html body.color-mode-dark,html body{background:transparent !important;background-color:transparent !important}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(11,11,11,.25) 0%,rgba(11,11,11,.5) 55%,rgba(11,11,11,.8) 100%),url("https://cdn.salla.sa/zvrRDr/6oCIW2YLn6o1tE5Sax5VhpJfzfaR2LeGPqvkZxR0.jpg") center top/cover no-repeat}

.store-footer__inner{background:rgba(11,11,11,.72) !important}
/* شريط الصالون: مرسوم بالـ CSS من أول لحظة علشان الصفحة متتحركش وهي بتحمّل */
.mv-strip{display:none !important}
.header-inner::before{content:"🎁 اطلب أي منتج، ولك خدمة مجانية في صالون MR.VAIB 🎁";display:flex;align-items:center;justify-content:center;height:39px;box-sizing:border-box;padding:0 8px;background:linear-gradient(135deg,#f6d77a,#c99a2e);color:#111;font-weight:900;font-size:clamp(12px,3.6vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 10px rgba(201,154,46,.35)}
/* إخفاء الوصف المختصر و"قراءة المزيد" تحت اسم المنتج — الوصف الكامل موجود تحت */
.main-content .short__description{display:none !important}
/* إخفاء مربعات تمارا وتابي وإمكان من صفحات المنتجات */
.main-content salla-installment{display:none !important}

/* إخفاء مربعات التقسيط (تمارا وتابي وإمكان) وطرق الدفع في صفحة المنتج — موجودة في الفوتر */
salla-installment{display:none !important}
body.product-single .s-block--payment{display:none !important}