@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

/* Calvane «لون العطر» v2 يشتغل على رائد وعطاء: متجر أبيض، نص أسود، ولكل عطر لونه (--cv من ملف JS). */
:root{--color-primary:#121212!important;--color-primary-dark:#000!important;--color-primary-light:#333!important;
  --color-primary-reverse:#fff!important;--font-main:'Almarai'!important;
  --cv-spectrum:linear-gradient(to left,#A04F08 0 12.5%,#CDBFA6 0 25%,#C5CBCB 0 37.5%,#55521A 0 50%,#66634A 0 62.5%,#0B4A4E 0 75%,#5F5A68 0 87.5%,#3C1672 0)}
body,body :not(i):not([class*="sicon"]){font-family:'Almarai',sans-serif!important}
body{background:#fff;color:#121212}

/* الهيدر */
body .store-header{border-top:6px solid transparent;border-image:var(--cv-spectrum) 1;border-width:6px 0 0}
body .store-header .main-nav-container{background:#fff;box-shadow:0 1px 0 #ececec}
body .top-navbar{background:#fff;border:0}

/* الهيدر مندمج مع المسرح بالرئيسية: شفاف بلون العطر، ويرجع أبيض بعد ما ينزل الزبون */
body .store-header{transition:background-color .6s ease}
body.cv-merge .store-header{background:var(--cv-head)!important;border:0!important}
body.cv-merge .store-header .top-navbar,body.cv-merge .store-header .main-nav-container,body.cv-merge .store-header .main-nav-container .inner{background:transparent!important;box-shadow:none!important;border:0!important}
body.cv-merge .store-header .main-nav-container :is(a,span,button,i,li,p):not(.s-cart-summary-count),body.cv-merge .store-header .top-navbar :is(a,span,button,i,p){color:var(--cv-head-ink)!important;-webkit-text-fill-color:var(--cv-head-ink)!important}
body.cv-merge .store-header button,body.cv-merge .store-header .s-button-element{background:transparent!important;border-color:color-mix(in srgb,var(--cv-head-ink),transparent 70%)!important}
body.cv-merge .store-header input{background:color-mix(in srgb,var(--cv-head-ink),transparent 88%)!important;border-color:transparent!important;color:var(--cv-head-ink)!important}
body.cv-merge .store-header input::placeholder{color:var(--cv-head-ink)!important;opacity:.75}
body.cv-merge .store-header .navbar-brand img{filter:brightness(0)}
body.cv-merge.cv-ink-light .store-header .navbar-brand img{filter:brightness(0) invert(1)}
body.cv-merge .store-header .sub-menu :is(a,span,li,p,i),body.cv-merge .store-header .s-search-results :is(a,span,li,p,i,h4){color:#121212!important;-webkit-text-fill-color:#121212!important}
@media (prefers-reduced-motion:reduce){body .store-header{transition:none}}

/* الأزرار */
body .s-button-primary,body .s-button-solid{background:#121212!important;border-color:#121212!important;border-radius:999px!important}
body .s-button-primary,body .s-button-primary *,body .s-button-solid,body .s-button-solid *{color:#fff!important;-webkit-text-fill-color:#fff!important}
body salla-add-product-button .s-button-element{border-radius:999px!important}

/* بطاقة المنتج */
body .s-product-card-entry{border:0!important;box-shadow:none!important;background:#fff}
body .s-product-card-image{background:var(--cv,#f3f3f3)!important;border-radius:18px!important;overflow:hidden;border-bottom:6px solid var(--cv,#f3f3f3)}
body .s-product-card-image img{background:none!important;border-radius:0!important}
body .s-product-card-out-of-stock .s-product-card-image img{filter:none!important;opacity:1!important}
body .s-product-card-content-title a{font-weight:800}

/* الرئيسية: نبنيها من JS ونخفي عناصر الثيم التجريبية */
body.index #main-content>.s-block{display:none!important}
body.index #main-content>.cv-home{display:block}
.cv-home{direction:rtl}

/* المسرح */
@property --stage{syntax:'<color>';inherits:true;initial-value:#A04F08}
.cv-stage{--stage-ink:#fff;position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;overflow:hidden;box-sizing:border-box;
  height:calc(100vh - var(--cv-top,72px));height:calc(100svh - var(--cv-top,72px));min-height:540px;max-height:980px;
  padding:12px 4px 12px;color:var(--stage-ink);
  background:var(--stage);
  transition:--stage .6s ease}
.cv-stage *{box-sizing:border-box}
body .cv-stage .cv-tag{margin:0;font-weight:400;font-size:clamp(15px,1.7vw,22px);line-height:1.6;color:var(--stage-ink)!important}
body .cv-stage .cv-name{margin:0;width:100%;max-width:1200px;text-align:center;white-space:nowrap;overflow:hidden;font-weight:800;
  font-size:clamp(54px,min(12vw,15vh),156px);line-height:1.36;position:relative;z-index:1;color:var(--stage-ink)!important}
.cv-figure{position:relative;flex:1;min-height:0;width:100%;container-type:size;display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:grab;user-select:none}
.cv-figure:active{cursor:grabbing}
.cv-shot{position:relative;flex:none;width:min(124cqh,132cqw);height:min(124cqh,132cqw);pointer-events:none}
.cv-shot img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;opacity:0;transform:translateY(18px) scale(.97);
  transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1);pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 48% 57% at 50% 50%,#000 76%,transparent 100%);mask-image:radial-gradient(ellipse 48% 57% at 50% 50%,#000 76%,transparent 100%)}
.cv-shot img.on{opacity:1;transform:none}
.cv-arrow{position:absolute;top:50%;z-index:2;width:52px;height:52px;margin-top:-26px;padding:0;border-radius:50%;cursor:pointer;
  border:1.5px solid color-mix(in srgb,var(--stage-ink),transparent 60%);background:transparent;color:var(--stage-ink)}
.cv-arrow::before{content:'';position:absolute;top:20px;width:10px;height:10px;border:solid currentColor;border-width:2px 2px 0 0}
.cv-prev{right:max(12px,calc(50% - 560px))}
.cv-prev::before{right:22px;transform:rotate(45deg)}
.cv-next{left:max(12px,calc(50% - 560px))}
.cv-next::before{left:22px;transform:rotate(-135deg)}
.cv-arrow:hover{background:color-mix(in srgb,var(--stage-ink),transparent 86%)}
.cv-panel,.cv-dial,.cv-stage .cv-tag{position:relative;z-index:2}
.cv-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(720px,100% - 24px)}
.cv-info p{margin:0}
body .cv-stage .cv-price{font-weight:800;font-size:clamp(24px,3vw,34px);line-height:1.4;white-space:nowrap;color:var(--stage-ink)!important}
.cv-stage .cv-price *{color:var(--stage-ink)!important}
.cv-price small,.cv-tile-price small{font-weight:400;font-size:13px;margin-inline-start:8px}
body .cv-stage .cv-sub{font-weight:400;font-size:14px;line-height:1.8;min-height:25px;color:var(--stage-ink)!important}
.cv-actions{display:flex;gap:10px;align-items:center}
.cv-buy{min-width:200px;min-height:50px}
.cv-stage .cv-buy salla-add-product-button{display:block;width:100%;margin:0}
body .cv-stage .cv-buy salla-add-product-button button{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:0 22px;
  border-radius:999px!important;border:0!important;background:var(--stage-ink)!important;color:var(--stage)!important;-webkit-text-fill-color:var(--stage)!important;
  font-weight:700;font-size:16px;cursor:pointer}
body .cv-stage .cv-buy salla-add-product-button button *{color:var(--stage)!important;-webkit-text-fill-color:var(--stage)!important}
body .cv-stage .cv-buy salla-add-product-button button:disabled{opacity:.66;cursor:default}
body .cv-stage .cv-more{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:88px;padding:0 20px;border-radius:999px;font-weight:700;font-size:15px;
  border:1.5px solid color-mix(in srgb,var(--stage-ink),transparent 45%);color:var(--stage-ink)!important;white-space:nowrap;text-decoration:none}
.cv-dial{display:flex;justify-content:center;direction:rtl}
.cv-dot{position:relative;width:44px;height:48px;padding:0;border:0;background:transparent;cursor:pointer}
.cv-dot i{position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:var(--cv);
  box-shadow:0 0 0 1.5px color-mix(in srgb,var(--stage-ink),transparent 35%);transition:transform .25s ease}
.cv-dot[aria-selected="true"] i{transform:scale(1.3);box-shadow:0 0 0 2px var(--stage),0 0 0 3.5px var(--stage-ink)}
.cv-dot[aria-selected="true"]::after{content:'';position:absolute;left:12px;right:12px;bottom:0;height:2px;background:var(--stage-ink);transform-origin:right;transform:scaleX(0)}
.cv-auto .cv-dot[aria-selected="true"]::after{animation:cv-fill 5s linear forwards}
@keyframes cv-fill{to{transform:scaleX(1)}}
.cv-stage button:focus-visible,.cv-stage a:focus-visible{outline:3px solid var(--stage-ink);outline-offset:2px}

/* الكمبيوتر: الاسم والشراء يمين، والعبوة كبيرة يسار على طول المسرح (يناسب الشاشات القصيرة) */
@media (min-width:900px){
  .cv-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto auto auto auto 1fr;column-gap:16px;row-gap:10px;justify-items:center;align-items:center;min-height:430px;padding:12px max(24px,calc(50% - 620px))}
  .cv-stage .cv-tag{grid-area:2/1}
  body .cv-stage .cv-name{grid-area:3/1;min-width:0;font-size:clamp(48px,min(7vw,15vh),124px)}
  .cv-panel{grid-area:4/1;flex-direction:column;justify-content:center;gap:10px}
  .cv-info{display:flex;align-items:baseline;gap:14px}
  .cv-dial{grid-area:5/1;margin-top:8px}
  .cv-figure{grid-area:1/2/-1/3;height:100%}
  .cv-shot{width:min(112cqh,124cqw);height:min(112cqh,124cqw)}
  .cv-prev{right:0}
  .cv-next{left:0}
}

/* ختم الضمان الذهبي: قرص مجسم يتمايل بهدوء ولمعة تمر عليه */
.cv-seal{perspective:600px;width:112px;height:112px;flex:none;direction:rtl}
.cv-coin{position:relative;overflow:hidden;box-sizing:border-box;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background:radial-gradient(circle at 34% 28%,#FFF4C6 0%,#F0D27A 30%,#C99C36 66%,#A97F22 100%);border:3px solid #F7E39C;
  box-shadow:inset 0 0 0 3px #A47B22,inset 0 0 0 5px #F3DA88,0 2px 0 #8E6A1C,0 4px 0 #75561A,0 6px 0 #5E4513,0 14px 24px rgba(0,0,0,.38);
  transform:rotateY(-16deg) rotateX(6deg);animation:cv-sway 6s ease-in-out infinite;color:#2E1F04}
.cv-coin::after{content:'';position:absolute;top:-40%;bottom:-40%;width:28%;left:-45%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);animation:cv-shine 4.5s ease-in-out infinite}
body .cv-coin small{display:block;font-weight:700;font-size:10.5px;line-height:1.35;color:#2E1F04!important}
body .cv-coin b{display:block;font-weight:800;font-size:27px;line-height:1.15;color:#2E1F04!important}
@keyframes cv-sway{0%,100%{transform:rotateY(-18deg) rotateX(7deg)}50%{transform:rotateY(18deg) rotateX(3deg)}}
@keyframes cv-shine{0%,55%{left:-45%}85%,100%{left:130%}}
.cv-figure .cv-seal{position:absolute;z-index:3;top:6%;left:max(14px,8%);pointer-events:none}
.cv-facts+.cv-seal,h1+.cv-seal{margin:4px 0 20px}
@media (max-width:640px){.cv-figure .cv-seal{width:88px;height:88px;top:2px;left:8px}body .cv-figure .cv-coin small{font-size:8.5px}body .cv-figure .cv-coin b{font-size:21px}}
@media (prefers-reduced-motion:reduce){.cv-coin{animation:none}.cv-coin::after{display:none}}

/* شبكة العطور */
.cv-grid{max-width:1200px;margin:0 auto;padding:46px 16px 56px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;box-sizing:border-box}
.cv-grid h2{grid-column:1/-1;font-weight:800;font-size:clamp(26px,4vw,40px);line-height:1.5;margin:0 0 4px;color:#121212}
body .cv-tile{display:block;background:var(--cv);color:var(--cv-text)!important;border-radius:22px;overflow:hidden;text-align:center;padding-bottom:18px;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease}
.cv-tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block;transition:transform .5s ease}
body .cv-tile strong{display:block;font-weight:800;font-size:clamp(17px,2vw,24px);line-height:1.6;padding:6px 8px 0;color:var(--cv-text)!important}
body .cv-tile span{display:block;font-weight:400;font-size:14px;line-height:1.8;min-height:25px;color:var(--cv-text)!important}
.cv-tile span *{color:var(--cv-text)!important}
.cv-tile:focus-visible{outline:3px solid #121212;outline-offset:3px}
@media (hover:hover){.cv-tile:hover{transform:translateY(-6px);box-shadow:0 18px 34px color-mix(in srgb,var(--cv),transparent 62%)}.cv-tile:hover img{transform:scale(1.06)}}
@media (max-width:900px){.cv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:34px 10px 40px}}
@media (max-width:640px){
  .cv-panel{flex-direction:column;gap:8px}
  .cv-info{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;justify-content:center}
  .cv-actions{width:100%}
  .cv-buy{flex:1;min-width:0}
  .cv-arrow{display:none}
  /* زر مساعدة سلة العائم كان يغطي «أضف للسلة»: يختفي والمسرح ظاهر ويرجع بعده */
  body.index.cv-merge ticketing-system{visibility:hidden!important}
}

/* صفحة المنتج: الزر والتفاصيل بلون العطر */
body.product-single .details-slider{background:var(--cv,#f5f5f5);border-radius:24px;overflow:hidden}
body.product-single .details-slider img{border-radius:0!important;background:none!important}
body.product-single h1{font-weight:800;font-size:30px;line-height:1.5}
body.product-single [id^="product-"] .price-wrapper{border-bottom:6px solid var(--cv,#121212);padding-bottom:10px;width:max-content}
body.product-single [id^="product-"] salla-add-product-button button:not(:disabled){background:var(--cv,#121212)!important;border-color:var(--cv,#121212)!important;color:var(--cv-text,#fff)!important;-webkit-text-fill-color:var(--cv-text,#fff)!important;min-height:52px;border-radius:999px!important;width:100%}
body.product-single [id^="product-"] salla-add-product-button button:not(:disabled) *{color:var(--cv-text,#fff)!important;-webkit-text-fill-color:var(--cv-text,#fff)!important}
.cv-facts{list-style:none;margin:6px 0 16px;padding:0;display:flex;gap:10px;flex-wrap:wrap}
.cv-facts li{background:var(--cv);border-radius:14px;padding:8px 18px;line-height:1.7}
body .cv-facts span{display:block;font-weight:400;font-size:13px;color:var(--cv-text)!important}
body .cv-facts strong{display:block;font-weight:800;font-size:16px;color:var(--cv-text)!important}
.cv-others{max-width:1200px;margin:34px auto 10px;width:100%;min-width:0}
.cv-others h2{font-weight:800;font-size:24px;line-height:1.6;margin:0 0 12px}
.cv-others-row{display:flex;gap:12px;overflow-x:auto;padding:6px 2px 12px;scroll-snap-type:x mandatory}
.cv-others a{flex:0 0 124px;scroll-snap-align:start;text-align:center;color:#121212;text-decoration:none}
.cv-others i{display:block;width:124px;height:124px;border-radius:20px;overflow:hidden;background:var(--cv);transition:transform .25s ease}
.cv-others img{width:100%;height:100%;object-fit:cover;display:block}
.cv-others span{display:block;font-weight:700;font-size:14px;line-height:2}
.cv-others a:focus-visible{outline:3px solid #121212;outline-offset:2px}
@media (hover:hover){.cv-others a:hover i{transform:translateY(-5px)}}
@media (prefers-reduced-motion:reduce){.cv-stage,.cv-shot img,.cv-dot i,.cv-tile,.cv-tile img,.cv-others i{transition:none!important}.cv-auto .cv-dot::after{animation:none!important}}

/* الفوتر */
body footer.store-footer,body footer.store-footer .footer-bottom,body .store-footer__inner{background:#121212!important}
body footer.store-footer,body footer.store-footer :not(i):not(svg):not(path){color:#f2f2f2!important}
body footer.store-footer{border-top:6px solid transparent;border-image:var(--cv-spectrum) 1;border-width:6px 0 0}
body footer.store-footer img[alt*="Calvane"],body footer.store-footer .footer-logo img{filter:brightness(0) invert(1)}

/* ================================================================ الإصدار 3: تفاصيل ومميزات */
.cv-home .cv-compare h2,.cv-home .cv-steps h2,.cv-home .cv-faq h2,.cv-sheet h2,.cv-steps h2{font-weight:800;font-size:clamp(24px,3.4vw,38px);line-height:1.6;margin:0 0 20px}

/* شريط المميزات */
.cv-perks{max-width:1200px;margin:0 auto;padding:34px 16px 4px;box-sizing:border-box;width:100%}
.cv-perks ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:20px 14px}
@media (min-width:900px){.cv-perks ul{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cv-perks li{border-top:8px solid #A04F08;padding-top:12px;min-width:0}
.cv-perks li:nth-child(2){border-color:#0B4A4E}
.cv-perks li:nth-child(3){border-color:#3C1672}
.cv-perks li:nth-child(4){border-color:#55521A}
.cv-perks b{display:block;font-weight:800;font-size:clamp(34px,4.6vw,58px);line-height:1.35}
.cv-perks .cv-perk-seal b{text-align:right}
body .cv-perks .cv-perk-seal b{color:#8A6410}
.cv-perks span{display:block;font-size:14px;font-weight:400;line-height:1.8;color:#3d3d3d}

/* الشبكة: الفلتر وزر المعاينة */
.cv-filter{grid-column:1/-1;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.cv-filter button{min-height:46px;min-width:76px;padding:0 20px;border-radius:999px;border:1px solid #cfcfcf;background:#fff;color:#121212;font-weight:700;font-size:15px;cursor:pointer}
.cv-filter button[aria-pressed="true"]{background:#121212;border-color:#121212;color:#fff}
.cv-card{position:relative;display:flex;min-width:0}
.cv-card[hidden]{display:none}
.cv-card>.cv-tile{flex:1;min-width:0}
.cv-tile-sub{font-style:normal;font-size:13px;font-weight:400;line-height:1.7}
.cv-peek{position:absolute;top:10px;inset-inline-start:10px;z-index:2;min-width:62px;min-height:44px;padding:0 12px;border-radius:999px;cursor:pointer;font-size:12px;font-weight:700;
  color:var(--cv-text);background:color-mix(in srgb,var(--cv),transparent 18%);border:1px solid color-mix(in srgb,var(--cv-text),transparent 55%)}

/* المعاينة السريعة */
dialog.cv-view{direction:rtl;box-sizing:border-box;width:min(900px,calc(100vw - 20px));max-width:none;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:0;margin:auto;border:0;border-radius:26px;overflow:auto;background:#fff;color:#121212}
dialog.cv-view[open]{display:grid;grid-template-columns:1fr 1fr}
dialog.cv-view::backdrop{background:rgba(10,10,10,.65)}
.cv-view figure{margin:0;background:var(--cv);display:flex;align-items:center;justify-content:center;min-height:0}
.cv-view figure img{width:100%;height:100%;max-height:70vh;object-fit:contain;display:block}
.cv-view-side{padding:26px 24px 22px;display:flex;flex-direction:column;gap:10px;min-width:0}
body .cv-view-side h3{margin:0;font-size:clamp(28px,4vw,44px);font-weight:800;line-height:1.5}
.cv-view-price{margin:0;font-size:26px;font-weight:800;display:flex;gap:10px;align-items:baseline}
.cv-view-price small{font-size:13px;font-weight:400}
.cv-view-buy button,.cv-side salla-add-product-button button,.cv-bar-buy button{min-height:48px;width:100%;border-radius:999px!important}
body .cv-view-buy button:not(:disabled),body .cv-bar-buy button:not(:disabled){background:var(--cv)!important;border-color:var(--cv)!important;color:var(--cv-text)!important;-webkit-text-fill-color:var(--cv-text)!important}
body .cv-view-buy button:not(:disabled) *,body .cv-bar-buy button:not(:disabled) *{color:var(--cv-text)!important;-webkit-text-fill-color:var(--cv-text)!important}
.cv-view-more{display:flex;align-items:center;justify-content:center;min-height:44px;color:#121212;font-weight:700;text-decoration:underline}
.cv-view-close{position:absolute;top:10px;left:10px;z-index:3;width:46px;height:46px;border-radius:50%;border:1px solid #ddd;background:#fff;color:#121212;font-size:24px;line-height:1;cursor:pointer}
@media (max-width:640px){
  dialog.cv-view[open]{grid-template-columns:1fr}
  .cv-view figure{height:34vh}
  .cv-view figure img{max-height:34vh}
  .cv-view-side{padding:12px 18px 14px;gap:6px}
}

/* صفوف المعلومات */
.cv-rows{margin:0;padding:0}
.cv-rows>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid color-mix(in srgb,currentColor,transparent 82%)}
.cv-rows dt{font-weight:400;font-size:13px;margin:0}
.cv-rows dd{font-weight:700;font-size:14px;margin:0;overflow-wrap:anywhere;text-align:right}

/* المقارنة */
.cv-compare{max-width:1000px;margin:0 auto;padding:30px 12px 40px;box-sizing:border-box;width:100%;text-align:center}
.cv-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.cv-side{background:var(--cv);color:var(--cv-text);border-radius:24px;padding:12px;display:flex;flex-direction:column;gap:8px;min-width:0;transition:background-color .4s ease}
.cv-side select{width:100%;min-height:46px;border-radius:999px;border:0;background-color:#fff;color:#121212;font-family:inherit;font-weight:800;font-size:15px;padding:0 14px;text-align:center}
.cv-side>img{width:100%;aspect-ratio:1;object-fit:contain;display:block}
.cv-side-body{display:flex;flex-direction:column;gap:10px;text-align:right}
body .cv-side-body :is(dt,dd,.cv-side-price,.cv-side-price i){color:var(--cv-text)!important}
.cv-side-price{margin:0;font-size:24px;font-weight:800;text-align:center}
body .cv-side-body salla-add-product-button button:not(:disabled){background:#fff!important;border-color:#fff!important;color:#121212!important;-webkit-text-fill-color:#121212!important}
body .cv-side-body salla-add-product-button button:not(:disabled) *{color:#121212!important;-webkit-text-fill-color:#121212!important}
body .cv-side-body salla-add-product-button button:disabled{background:rgba(255,255,255,.75)!important;color:#333!important;-webkit-text-fill-color:#333!important;border-color:transparent!important}
@media (max-width:480px){.cv-side{padding:8px;border-radius:18px}.cv-side .cv-rows>div{flex-direction:column;gap:0}}

/* طريقة الرش */
.cv-steps{background:#121212;color:#fff;padding:44px 16px;box-sizing:border-box;width:100%}
body .cv-steps h2{color:#fff!important;text-align:center}
.cv-steps ol{list-style:none;counter-reset:s;max-width:1200px;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:22px}
.cv-steps li{counter-increment:s;min-width:0}
.cv-steps li::before{content:counter(s,arabic-indic);display:block;font-weight:800;font-size:56px;line-height:1.3;color:#CDBFA6}
.cv-steps li:nth-child(2)::before{color:#E29A55}
.cv-steps li:nth-child(3)::before{color:#6CC3C8}
.cv-steps li:nth-child(4)::before{color:#B79BEA}
body .cv-steps strong{display:block;font-size:18px;font-weight:800;color:#fff!important;line-height:1.7}
body .cv-steps p{margin:4px 0 0;font-size:14px;font-weight:400;line-height:1.9;color:#e6e6e6!important}

/* الأسئلة */
.cv-faq{max-width:820px;margin:0 auto;padding:44px 16px 50px;box-sizing:border-box;width:100%}
.cv-faq h2{text-align:center}
.cv-faq details{border-bottom:1px solid #e4e4e4}
.cv-faq summary{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;font-weight:700;font-size:16px;list-style:none}
.cv-faq summary::-webkit-details-marker{display:none}
.cv-faq summary::after{content:'+';font-size:26px;font-weight:400;line-height:1}
.cv-faq details[open] summary::after{content:'−'}
.cv-faq p{margin:0 0 18px;line-height:2;font-size:15px;font-weight:400}
.cv-faq a{color:#121212;font-weight:700;text-decoration:underline;display:inline-block;padding:4px 0}

/* شفتها قبل */
.cv-seen{padding:0 16px;box-sizing:border-box}

/* ورقة العطر */
.cv-sheet{max-width:1200px;margin:30px auto 34px;width:100%;box-sizing:border-box;padding:0 16px;min-width:0}
.cv-sheet .cv-rows{border-top:8px solid var(--cv,#121212);display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));column-gap:34px}

/* شريط الشراء الثابت */
.cv-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;direction:rtl;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:12px;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;color:#121212;border-top:4px solid var(--cv,#121212);box-shadow:0 -10px 28px rgba(0,0,0,.12);
  transform:translateY(105%);visibility:hidden;transition:transform .3s ease,visibility 0s .3s}
.cv-bar.on{transform:none;visibility:visible;transition:transform .3s ease}
.cv-bar img{width:52px;height:52px;border-radius:12px;object-fit:cover;background:var(--cv);flex:none}
.cv-bar-text{flex:0 1 auto;display:flex;flex-direction:column;min-width:0;max-width:52%;line-height:1.7}
.cv-bar-text strong{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-bar-text span{font-size:14px;white-space:nowrap}
.cv-bar-buy{flex:1 1 120px;max-width:280px;min-width:120px;margin-inline-start:auto}
@media (min-width:900px){.cv-bar-buy{margin-inline-start:40px}}
body.cv-has-bar{padding-bottom:86px}
@media (max-width:640px){body.cv-bar-on ticketing-system{visibility:hidden!important}}

/* حسابات التواصل بالفوتر */
.cv-social{direction:rtl;max-width:1200px;margin:0 auto;padding:22px 16px 30px;display:flex;flex-direction:column;align-items:center;gap:12px}
.cv-social strong{font-weight:800;font-size:18px}
.cv-social div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.cv-social a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #8a8a8a;font-size:14px;text-decoration:none}
.cv-social a::before{content:'';width:12px;height:12px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 1px #888}
.cv-filter button:focus-visible,.cv-peek:focus-visible,.cv-view button:focus-visible,.cv-view a:focus-visible,.cv-faq summary:focus-visible,.cv-social a:focus-visible,.cv-side select:focus-visible{outline:3px solid #C9992E;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.cv-bar,.cv-bar.on,.cv-side{transition:none}}

/* ================================================================ الإصدار 4: خط المراعي وألوان نصوص مريحة */
:root{--cv-ink:#141414;--cv-soft:#454545;--cv-gold:#7A5A0C;--cv-gold-light:#E3C170;--cv-line:#E6E2DA}

/* على الأبيض: حبر واحد */
body.product-single h1,body .cv-grid h2,body .cv-compare h2,body .cv-faq h2,body .cv-sheet h2,body .cv-others h2{color:var(--cv-ink)!important}

/* المميزات: خط رفيع واحد بدل أربع ألوان، والذهبي للضمان بس */
.cv-perks li:nth-child(n){border-top:2px solid var(--cv-line)}
.cv-perks li.cv-perk-seal:nth-child(n){border-color:#C9A24A}
body .cv-perks .cv-perk-seal b{color:var(--cv-gold)!important}
.cv-perks span{color:var(--cv-soft)}

/* طريقة الرش: ذهبي واحد على الأسود */
.cv-steps li:nth-child(n)::before{color:var(--cv-gold-light)}
body .cv-steps p{color:#DEDEDE!important}

/* حسابات التواصل بدون نقط ملونة */
.cv-social a::before{display:none}

/* البحث المدمج بلون المسرح: نص واضح */
body.cv-merge .store-header input::placeholder{opacity:1}

/* زر «نفدت الكمية» مقروء بدل الزر الباهت */
body.index .cv-stage .cv-buy salla-add-product-button button:disabled{opacity:1!important;background:transparent!important;border:1.5px solid color-mix(in srgb,var(--stage-ink),transparent 45%)!important}
body.index .cv-stage .cv-buy salla-add-product-button button:disabled,body.index .cv-stage .cv-buy salla-add-product-button button:disabled *{color:var(--stage-ink)!important;-webkit-text-fill-color:var(--stage-ink)!important;opacity:1!important}
body.product-single salla-add-product-button button:disabled,body .cv-view salla-add-product-button button:disabled,body .cv-bar salla-add-product-button button:disabled,body .cv-home .cv-side-body salla-add-product-button button:disabled{opacity:1!important;background:#F2F0EC!important;border:1px solid #D6D1C7!important}
body.product-single salla-add-product-button button:disabled,body.product-single salla-add-product-button button:disabled *,body .cv-view salla-add-product-button button:disabled,body .cv-view salla-add-product-button button:disabled *,body .cv-bar salla-add-product-button button:disabled,body .cv-bar salla-add-product-button button:disabled *,body .cv-home .cv-side-body salla-add-product-button button:disabled,body .cv-home .cv-side-body salla-add-product-button button:disabled *{color:#454545!important;-webkit-text-fill-color:#454545!important;opacity:1!important}
/* بالمسرح الزر نفسه يقول «نفدت الكمية»، فما نكررها جنب السعر */
.cv-stage .cv-price small{display:none}